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

Add admin page for recommending activities

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Covered by unit and behat tests.

      Manual testing

      1. Log in as an administrator.
      2. Go to "Site administration > Courses > Activity chooser.
      3. Check that you can see a list of activities.
      4. "Recommend" some activities by checking the checkbox next to them.
      5. Refresh the page.
      6. Check that the activities that you recommended are still checked.
      7. Repeat the above steps using the manager account and confirm everything passes again.
      Show
      Covered by unit and behat tests. Manual testing Log in as an administrator. Go to "Site administration > Courses > Activity chooser. Check that you can see a list of activities. "Recommend" some activities by checking the checkbox next to them. Refresh the page. Check that the activities that you recommended are still checked. Repeat the above steps using the manager account and confirm everything passes again.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67262-master-2
    • Story Points:
      3
    • Sprint:
      Activity Sprint 4, Activity Sprint 5, Activity Sprint 6, Activity Sprint 7

      Description

      Related user stories:

      User stories Approaches
      As an admin, I can set recommended elements to users(teachers/managers) Site Admin setting page with the list of all activities. Any activity that is present on the page should have the ability to be recommended.

      Acceptance criteria

      • A settings page in Site administration menu should be available which allows the administrator to select any activity as recommended. Barbara to confirm where to place this in the admin tree.
      • The administrator can also remove the recommendation for activities from the activity chooser from the settings page.
      • H5P installation of activities to be dealt with in a different issue.
      • behat tests for recommending activities on the admin page.
      • Unit tests for any functions methods created through this issue.
      • Use the favourites API to store this information.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              peterdias Peter Dias
              Peer reviewer:
              Mathew May
              Integrator:
              Jun Pataleta
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 4 days, 6 hours, 11 minutes
                  1w 4d 6h 11m