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

Support categories/tabs in the activity chooser

XMLWordPrintable

    • MOODLE_39_STABLE
    • MDL-67321-latest
    • Hide

      Notes:

      1. Test on various supported browsers
      2. Make sure to revert the patch after the test

      Setup:

      1. Apply the patch file attached to this MDL
        1. cd to your Moodle directory
        2. git apply 0001-MDL-67321-DO-NOT-COMMIT-Set-dummy-data-for-starred-a.patch
      2. Create one course

      Test:

      1. Navigate to the created course
      2. Turn editing on
      3. Select "Add an activity or resource" under any section
      4. Confirm that three tabs are shown ("Starred", "Recommended", "Activities")
      5. Confirm that you can click on any of the tab buttons and get different results
      6. Confirm that you can tab to the "Starred" tab button
      7. Confirm that you can Not tab to either "Recommended" or "Activities" tab buttons
      8. Confirm that when you have focus on the "Starred" tab button that pressing tab moves focus to tab itself that contains modules
      9. Confirm when you have focus on the "Starred" tab button that you can press left / right to select a new tab button
        1. Press an arrow key to a tab nav button that is not currently active
        2. Press enter
        3. Confirm the tab content changes
      10. Focus on a tab button
      11. Press either home or end keys
      12. Confirm focus moves to the relevant end of the tab button list
      13. Press Enter on a tab.
      14. Confirm that the appropriate panel for the tab gets opened.
      15. Press Shift-Tab and select another tab using the left/right arrow keys.
      16. Press the spacebar.
      17. Confirm that the appropriate panel for the tab gets opened.
      Show
      Notes: Test on various supported browsers Make sure to revert the patch after the test Setup: Apply the patch file attached to this MDL cd to your Moodle directory git apply 0001- MDL-67321 -DO-NOT-COMMIT-Set-dummy-data-for-starred-a.patch Create one course Test: Navigate to the created course Turn editing on Select "Add an activity or resource" under any section Confirm that three tabs are shown ("Starred", "Recommended", "Activities") Confirm that you can click on any of the tab buttons and get different results Confirm that you can tab to the "Starred" tab button Confirm that you can Not tab to either "Recommended" or "Activities" tab buttons Confirm that when you have focus on the "Starred" tab button that pressing tab moves focus to tab itself that contains modules Confirm when you have focus on the "Starred" tab button that you can press left / right to select a new tab button Press an arrow key to a tab nav button that is not currently active Press enter Confirm the tab content changes Focus on a tab button Press either home or end keys Confirm focus moves to the relevant end of the tab button list Press Enter on a tab. Confirm that the appropriate panel for the tab gets opened. Press Shift-Tab and select another tab using the left/right arrow keys. Press the spacebar. Confirm that the appropriate panel for the tab gets opened.
    • 3
    • Activity Sprint 6, Activity Sprint 7

      This issue relies on the list of activities (and their associated metadata) provided by changes in MDL-67290.

      This issue is scoped with:

      1. Translating the list of activities, via display logic, into a template context for the activity chooser template
        • Context should provide tabs/categories each of which contain activities. For now, hard limited to just 'Activities'
        • Context should indicate which cat/tab is the focus (initially, just the 'activities' tab but this will change once favourites and recommendations tabs are added in the respective issues)
      2. Updating the template code to render the tabs provided by the context, including selection of the in focus tab.

            mathewmay Mathew May
            abgreeve Adrian Greeve
            Mihail Geshoski Mihail Geshoski
            Jun Pataleta Jun Pataleta
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 1 minute
                2d 4h 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.