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

Replace the modals with dropdowns in the search widgets in the grade reports

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75837-master-4
    • Hide
      1. Login as admin.
      2. Create a course.
        • Set Group mode = 'Separate groups'
      3. Enrol several students in the course and add some of them to the created groups
      4. Navigate to the Gradebook (Grades)
      5. Go to the User report.
      6. Click on the group selector (also test this by pressing enter/space/down arrow using the keyboard)
        1. confirm that the selector opens in a dropdown
        2. confirm that the immediate focus is on the search input element
      7. Try to search for an item user the search input.
        1. confirm that only relevant results are displayed
        2. confirm that there is a 'clear search' option on the search input element
      8. Click on the 'clear search' element
        1. confirm that the value in the search input is cleared
        2. confirm that all available results are displayed
        3. confirm that you cannot see the 'clear search' option
      9. While the focus on the search element, press tab using the keyboard
        1. confirm that the focus now shifts on the list of results
        2. confirm that you can navigate through the items in the list using up/down arrow keys
      10. Press Esc
        1. confirm that the modal closes and the focus is back on the selector's trigger element.
      11. Repeat steps 6-10 with the user selector in the User report and confirm that everything works as expected.
      12. Repeat steps 6-10 with the grade selector in the Single view report (Grade > Single view > Grade items) and confirm that everything works as expected.
      13. Repeat steps 6-10 with the user selector in the Single view report (Grade > Single view > Users) and confirm that everything works as expected.
      Show
      Login as admin. Create a course. Set Group mode = 'Separate groups' Enrol several students in the course and add some of them to the created groups Navigate to the Gradebook (Grades) Go to the User report. Click on the group selector (also test this by pressing enter/space/down arrow using the keyboard) confirm that the selector opens in a dropdown confirm that the immediate focus is on the search input element Try to search for an item user the search input. confirm that only relevant results are displayed confirm that there is a 'clear search' option on the search input element Click on the 'clear search' element confirm that the value in the search input is cleared confirm that all available results are displayed confirm that you cannot see the 'clear search' option While the focus on the search element, press tab using the keyboard confirm that the focus now shifts on the list of results confirm that you can navigate through the items in the list using up/down arrow keys Press Esc confirm that the modal closes and the focus is back on the selector's trigger element. Repeat steps 6-10 with the user selector in the User report and confirm that everything works as expected. Repeat steps 6-10 with the grade selector in the Single view report (Grade > Single view > Grade items) and confirm that everything works as expected. Repeat steps 6-10 with the user selector in the Single view report (Grade > Single view > Users) and confirm that everything works as expected.
    • 4
    • Team Alpha - Review Sprint 0, Team Alpha - Holding pattern, HQ Team Alpha - Sprint 1.1

    Description

      Given the prototypes for the gradebook, we need to migrate away from my initial work within modals to a new dropdown type of factory.

      I purposefully built the current implementation based upon modals so that we had something working and so that we could migrate it easier into a new factory.

      Within this issue, we are aiming on creating the initial factory and perhaps migrating the gradebook work. If not this'll be a followup.

      Attachments

        Issue Links

          Activity

            People

              Geshoski Mihail Geshoski
              mathewmay Mathew May
              Mathew May Mathew May
              Jake Dallimore Jake Dallimore
              John Edward Pedregosa John Edward Pedregosa
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 1 day, 5 hours, 50 minutes Remaining Estimate - 1 hour, 40 minutes
                  1h 40m
                  Logged:
                  Time Spent - 1 day, 5 hours, 50 minutes Remaining Estimate - 1 hour, 40 minutes
                  1d 5h 50m