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

Use the checkbox-toggleall component for the gradebook setup page

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Future Dev
    • Fix Version/s: None
    • Component/s: Gradebook, Usability
    • Testing Instructions:
      Hide
      Setup
      1. In a course, follow the "Grades" item on the navigation panel.
      2. Click on the "Setup" tab.
      3. Create grade categories and grade items with the following structure:

        Course
          Grade item 1
          Grade category A
            Grade item A1
            Grade item A2
            Grade category AA
              Grade item AA1
              Grade item AA2
          Grade category B
            Grade item B1
            Grade item B2
          Grade item 2
          Grade item 3
        

      Test
      1. Check the Select column
      2. Confirm that for each grade category, you see master checkboxes that correspond to the grade categories.
      3. Confirm that without any item being selected on initial load, the "Move selected items" select box at the bottom of the table is rendered as disabled.
      4. Check the behaviour of master checkboxes.
      5. Confirm that:
        • When it's ticked, all grade items and grade categories under it become selected (e.g. if you tick "Grade category A" Grade items A1, A2, AA1 and AA2 will be ticked)
        • When you untick it, all grade items and grade categories under it become deselected (e.g. if you untick "Grade category A" Grade items A1, A2, AA1 and AA2 will be unticked)
      6. Check the effect of clicking of one or more grade item checkboxes.
      7. Confirm that:
        • When you tick all grade items under a certain category, the grade category checkbox becomes ticked (e.g. ticking grade items AA1 and AA2 will cause Grade category AA to be ticked. Clicking A1 and A2 subsequently ticks Grade category A as well.
        • When all grade items under a certain category are ticked and you untick at least one grade item, the grade categories that the grade item belongs to become unticked. (e.g. if A1, A2, AA1, AA2 are all ticked and you untick AA2, grade categories AA and A will be unticked)
      8. Check the behaviour of the "Move selected items" select box.
      9. Confirm that:
        • When at least one grade item is selected, the select box is enabled.
        • When there's no grade item selected, the select box is disabled.
      Show
      Setup In a course, follow the " Grades " item on the navigation panel. Click on the " Setup " tab. Create grade categories and grade items with the following structure: Course Grade item 1 Grade category A Grade item A1 Grade item A2 Grade category AA Grade item AA1 Grade item AA2 Grade category B Grade item B1 Grade item B2 Grade item 2 Grade item 3 Test Check the Select column Confirm that for each grade category, you see master checkboxes that correspond to the grade categories. Confirm that without any item being selected on initial load, the " Move selected items " select box at the bottom of the table is rendered as disabled. Check the behaviour of master checkboxes. Confirm that: When it's ticked, all grade items and grade categories under it become selected (e.g. if you tick " Grade category A " Grade items A1, A2, AA1 and AA2 will be ticked) When you untick it, all grade items and grade categories under it become deselected (e.g. if you untick " Grade category A " Grade items A1, A2, AA1 and AA2 will be unticked) Check the effect of clicking of one or more grade item checkboxes. Confirm that: When you tick all grade items under a certain category, the grade category checkbox becomes ticked (e.g. ticking grade items AA1 and AA2 will cause Grade category AA to be ticked. Clicking A1 and A2 subsequently ticks Grade category A as well. When all grade items under a certain category are ticked and you untick at least one grade item, the grade categories that the grade item belongs to become unticked. (e.g. if A1, A2, AA1, AA2 are all ticked and you untick AA2, grade categories AA and A will be unticked) Check the behaviour of the " Move selected items " select box. Confirm that: When at least one grade item is selected, the select box is enabled. When there's no grade item selected, the select box is disabled.
    • Pull Master Branch:
      MDL-65948-master
    • Story Points:
      1

      Description

      Who is this for?
      • Moodle users who can manage the grade book (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 "Gradebook setup" page. This aims to improve the UI and UX by replacing the "All / None" links in the grade categories with master checkboxes for toggling the checked states of the grade items under the corresponding grade category.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                jpataleta Jun Pataleta
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Barbara Ramiro, Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 20 minutes
                  1h 20m