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

Use the checkbox-toggleall component for the course participation report

XMLWordPrintable

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-65949-master
    • Hide
      Requirement
      1. A course with some activities (e.g. assignment)
      2. One or more students enrolled in the course who participated in any activity (e.g. submitted an assignment)
      3. One or more students enrolled, but are inactive.
      Test
      1. Log in as a teacher.
      2. In a course, open the course menu and go click More....
      3. Under Reports, click "Course participation"
      4. Choose an activity module (e.g. an assignment)
      5. Under "Show only", choose "Student"
      6. Press "Go"
      7. Check the particpation report table.
      8. Confirm that you see a master checkbox for the Select column.
      9. Confirm that without any item being selected on initial load, the "With selected users..." select box at the bottom of the table is rendered as disabled.
      10. Check the behaviour of master checkbox in the Select column.
      11. Confirm that:
        • When it's ticked, all users become selected
        • When you untick it, all users become deselected
      12. Check the behaviour of "Select all 'No'" master button.
      13. Confirm that:
        • When it's clicked, all users with "No" under the "All actions" column become selected and that it's button text becomes "Deselect all 'No'"
        • When you click it again with all users selected, all users with "No" under the "All actions" column become deselected and that it's button text becomes "Select all 'No'"
      14. Check the effect of clicking of one or more grade item checkboxes.
      15. Confirm that:
        • When you tick all items:
          • the master checkbox on the Select column gets ticked.
          • The "Select all 'No'" button text becomes "Deselect all 'No'"
        • When all users are selected you untick at least one user's checkbox, the master checkbox becomes unticked.
        • When all "No" users are selected you untick at least one "No" user's checkbox, the master button's text becomes "Select all 'No'".
      16. Check the behaviour of the "With selected users..." select box.
      17. Confirm that:
        • When at least one user is selected, the select box is enabled.
        • When there's no user selected, the select box is disabled.
        • When you select an option (e.g. Send message), the "Send message to N people" modal dialogue will be shown.
      Show
      Requirement A course with some activities (e.g. assignment) One or more students enrolled in the course who participated in any activity (e.g. submitted an assignment) One or more students enrolled, but are inactive. Test Log in as a teacher. In a course, open the course menu and go click More... . Under Reports, click " Course participation " Choose an activity module (e.g. an assignment) Under " Show only ", choose " Student " Press " Go " Check the particpation report table. Confirm that you see a master checkbox for the Select column. Confirm that without any item being selected on initial load, the " With selected users... " select box at the bottom of the table is rendered as disabled. Check the behaviour of master checkbox in the Select column. Confirm that: When it's ticked, all users become selected When you untick it, all users become deselected Check the behaviour of " Select all 'No' " master button. Confirm that: When it's clicked, all users with " No " under the " All actions " column become selected and that it's button text becomes " Deselect all 'No' " When you click it again with all users selected, all users with " No " under the " All actions " column become deselected and that it's button text becomes " Select all 'No' " Check the effect of clicking of one or more grade item checkboxes. Confirm that: When you tick all items: the master checkbox on the Select column gets ticked. The " Select all 'No' " button text becomes " Deselect all 'No' " When all users are selected you untick at least one user's checkbox, the master checkbox becomes unticked. When all " No " users are selected you untick at least one " No " user's checkbox, the master button's text becomes " Select all 'No' ". Check the behaviour of the " With selected users... " select box. Confirm that: When at least one user is selected, the select box is enabled. When there's no user selected, the select box is disabled. When you select an option (e.g. Send message), the " Send message to N people " modal dialogue will be shown.
    • 1

      Who is this for?
      • Moodle users who can manage a course (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 participation report page. This aims to improve the UI and UX by replacing the "Select all" and "Deselect all" buttons in the grade categories with a master checkbox-toggleall checkbox for toggling the checked states of entries in the course participation report table.

        1. Select options 2.png
          Select options 2.png
          32 kB
        2. Select options 1.png
          Select options 1.png
          22 kB
        3. Screenshot_2.png
          Screenshot_2.png
          108 kB
        4. Screenshot_1.png
          Screenshot_1.png
          136 kB
        5. participation-report-before.png
          participation-report-before.png
          33 kB
        6. participation-report-after-none-selected.png
          participation-report-after-none-selected.png
          31 kB
        7. participation-report-after-allno-selected.png
          participation-report-after-allno-selected.png
          32 kB

            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:
            5 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, 10 minutes
                2h 10m

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