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

Introduce an Activities and Resources tab

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      • 1 site with this patch applied
      • 1 course

      Test:

      1. Navigate to your course
      2. Turn editing on
      3. Under any section select "Add an activity"
      4. Confirm that you see the following tabs "All, Activities, Resources" in this exact order
      5. Confirm that the "All" tab is automatically opened
      6. Confirm that you see the following modules:
        Assignment
        Book
        Chat
        Choice
        Database
        External tool
        Feedback
        File
        Folder
        Forum
        Glossary
        H5P
        IMS content package
        Label
        Lesson
        Page
        Quiz
        SCORM package
        Survey
        URL
        Wiki
        Workshop
      7. Click on 'Activities'
      8. Confirm that you see the following modules:
        Assignment
        Chat
        Choice
        Database
        External tool
        Feedback
        Forum
        Glossary
        H5P
        Lesson
        Quiz
        SCORM package
        Survey
        Wiki
        Workshop
      9. Click on 'Resources'
      10. Confirm that you see the following modules:
        Book
        File
        Folder
        IMS content package
        Label
        Page
        URL
      11. Star the "Label" module
      12. Confirm that the "Starred" nav item now exists before the "All" nav item
      13. Close the Chooser
      14. Open the chooser
      15. Confirm that you see the following tabs "Starred, All, Activities, Resources" in this exact order
      16. Confirm that the "Starred" tab is automatically opened
      17. Confirm that you see the "Label" module
      18. Close the chooser
      19. Go to "Site administration > Courses > Recommended activities.
      20. Recommend the H5P module by checking the checkbox next to it.
      21. Return to the course
      22. Under any section select "Add an activity"
      23. Confirm that you see the following tabs "Starred, All, Activities, Resources, Recommended" in this exact order
      24. Unstar the "Label" module
      25. Close the chooser
      26. Open the chooser
      27. Confirm that the "All" tab is automatically opened
      Show
      Setup 1 site with this patch applied 1 course Test: Navigate to your course Turn editing on Under any section select "Add an activity" Confirm that you see the following tabs "All, Activities, Resources" in this exact order Confirm that the "All" tab is automatically opened Confirm that you see the following modules: Assignment Book Chat Choice Database External tool Feedback File Folder Forum Glossary H5P IMS content package Label Lesson Page Quiz SCORM package Survey URL Wiki Workshop Click on 'Activities' Confirm that you see the following modules: Assignment Chat Choice Database External tool Feedback Forum Glossary H5P Lesson Quiz SCORM package Survey Wiki Workshop Click on 'Resources' Confirm that you see the following modules: Book File Folder IMS content package Label Page URL Star the "Label" module Confirm that the "Starred" nav item now exists before the "All" nav item Close the Chooser Open the chooser Confirm that you see the following tabs "Starred, All, Activities, Resources" in this exact order Confirm that the "Starred" tab is automatically opened Confirm that you see the "Label" module Close the chooser Go to "Site administration > Courses > Recommended activities. Recommend the H5P module by checking the checkbox next to it. Return to the course Under any section select "Add an activity" Confirm that you see the following tabs "Starred, All, Activities, Resources, Recommended" in this exact order Unstar the "Label" module Close the chooser Open the chooser Confirm that the "All" tab is automatically opened
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Story Points:
      3
    • Sprint:
      Moodlenet massive mop-up 2

      Description

      Based on review feedback we want to make the following changes because we do want to be able to display activities and resources in their own individual tabs:

      1. Add a separate tab for just Activities and one for just Resources
      2. Tabs are to be ordered like this: Starred, All, Activities, Resources, Recommended
      3. Default tab to be open when the activity chooser opens: All
        1. If there are starred items then this tab should be show first.
        2. Otherwise the All tab should be show first.
          1. The recommended tab is now not part of the default focus workflow.
      4. Tab styling needs to be improved when they are stacked (e.g. you get 2 rows in a narrow screen) to make it clearer which tab you are on

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mathewmay Mathew May
              Reporter:
              sanderbangma Sander Bangma
              Peer reviewer:
              Mihail Geshoski
              Integrator:
              Adrian Greeve
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

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

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 5 hours, 2 minutes
                  2d 5h 2m