Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50328

Allow competencies to be assigned to a user learning plan

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide

      login with user having [planmanage, planview] (capabilities)
      create a new plan go back to the list and click on your new learning plan link

      1. click on add competency button you should see the competency Picker , add a competency
      2. make sure that the list list is refreshed with the new competency added
      3. add another competency from competency picker
      4. move the competency 1 to the competency 2 (drag and drop)
      5. refresh the page and make sure that the new order is correct

      Unit Tests:

      vendor/bin/phpunit --filter test_remove_competency_from_plan
      

      vendor/bin/phpunit --filter test_add_competency_to_plan
      

      vendor/bin/phpunit --filter test_reorder_plan_competency
      

      Show
      login with user having [planmanage, planview] (capabilities) create a new plan go back to the list and click on your new learning plan link click on add competency button you should see the competency Picker , add a competency make sure that the list list is refreshed with the new competency added add another competency from competency picker move the competency 1 to the competency 2 (drag and drop) refresh the page and make sure that the new order is correct Unit Tests: vendor/bin/phpunit --filter test_remove_competency_from_plan vendor/bin/phpunit --filter test_add_competency_to_plan vendor/bin/phpunit --filter test_reorder_plan_competency
    • Affected Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-50328_master
    • Story Points:
      5
    • Sprint:
      Team Beards Sprint 7, Team Beards Sprint 10, CBE Sprint 1

      Description

      Followup from MDL-49460.

      This issue assumes that there already is a competency picker, or existing code, to select a competency using Javascript.

      Also, this issue should allow for a user to remove a competency from a plan. Implement reordering if you wish to, otherwise please raise a follow-up.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              taboubii Issam Taboubi
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Frédéric Massart
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: