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

Use the checkbox-toggleall component for the gradebook setup page

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-65948-master
    • Hide
      Setup
      1. Log in as admin
      2. Go to Site administration / Grades / Grade category settings
      3. Select all options under "Available aggregation types"
      4. Save the changes
      5. In a course, follow the "Grades" item on the navigation panel.
      6. Click on the "Setup" tab.
      7. 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.
      Other aggregation types
      1. Go back to the View > Grader report tab.
      2. Turn editing on.
      3. Click on the cog on each grade category and change the aggregation type to "Mean of grades".
      4. Save the changes.
      5. Go back to the gradebook setup page and repeat the checkbox selection test above.
      6. Repeat this test for the other grade aggregation types.
      Show
      Setup Log in as admin Go to Site administration / Grades / Grade category settings Select all options under " Available aggregation types " Save the changes 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. Other aggregation types Go back to the View > Grader report tab. Turn editing on. Click on the cog on each grade category and change the aggregation type to " Mean of grades ". Save the changes. Go back to the gradebook setup page and repeat the checkbox selection test above. Repeat this test for the other grade aggregation types.
    • 1

      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.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Bas Brands Bas Brands
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            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 - 1 day, 55 minutes
                1d 55m

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