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

Use the checkbox-toggleall component for the course participants page

XMLWordPrintable

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-65950-master
    • Hide
      Requirement
      1. A course with a teacher and several students enrolled.
      Test
      1. Log in as a teacher in a course.
      2. Go to the course's participants page.
      3. Check the table of course participants
      4. Confirm that you see a checkbox on the column header of the table's first column. Let's call this the master checkbox.
      5. Confirm that without any item being selected on initial load, the "With selected users..." select box is rendered as disabled.
      6. Check the behaviour of the master checkbox.
      7. Confirm that:
        • When it's ticked, all users become selected and its hidden label becomes "Deselect all" (you might wanna inspect using the dev tools of your browser)
        • When everything's selected and you untick it, all users become deselected and its hidden label becomes "Select all"
      8. Check the effect of clicking of one or more checkboxes beside each attempt.
      9. Confirm that:
        • When you tick all checkboxes, the master checkbox becomes ticked and its hidden label becomes "Deselect all"
        • When all checkboxes are ticked and you untick at least one checkbox, the master checkbox becomes unticked and its hidden label becomes "Select all"
      10. Check the behaviour of the "With selected users..." select box.
      11. Confirm that:
        • When at least one checkbox is selected, the select box is enabled.
        • When there's no checkbox selected, the select box is disabled.
      Show
      Requirement A course with a teacher and several students enrolled. Test Log in as a teacher in a course. Go to the course's participants page. Check the table of course participants Confirm that you see a checkbox on the column header of the table's first column. Let's call this the master checkbox. Confirm that without any item being selected on initial load, the " With selected users... " select box is rendered as disabled. Check the behaviour of the master checkbox. Confirm that: When it's ticked, all users become selected and its hidden label becomes " Deselect all " (you might wanna inspect using the dev tools of your browser) When everything's selected and you untick it, all users become deselected and its hidden label becomes " Select all " Check the effect of clicking of one or more checkboxes beside each attempt. Confirm that: When you tick all checkboxes, the master checkbox becomes ticked and its hidden label becomes " Deselect all " When all checkboxes are ticked and you untick at least one checkbox, the master checkbox becomes unticked and its hidden label becomes " Select all " Check the behaviour of the " With selected users... " select box. Confirm that: When at least one checkbox is selected, the select box is enabled. When there's no checkbox selected, the select box is disabled.
    • 1

      Who is this for?
      • Moodle users who can a manage course participants (e.g. teachers, course managers, etc)
      What is the problem that you're trying to solve?
      • The inconsistent way of checking items on a list throughout Moodle
      Why does it need solving?
      • A consistent way of checking items on a list would provide a better user experience
      How does this issue tackle the problem?
      • The patch for this issue will implement the usage of the checkbox-toggleall output component in the course participants. This aims to improve the UI and UX by replacing the "Select all" and "Deselect all" buttons in the course participants page with a master toggle-all checkbox for toggling the checked states of checkboxes of the users in the course participation report table.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Mihail Geshoski Mihail Geshoski
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 15 minutes
                2h 15m

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