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

Use the checkbox-toggleall component for the lesson activity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: Lesson
    • Testing Instructions:
      Hide
      1. Create a lesson activity.
      2. Add a multichoice question page.
      3. Log in as a student and answer the question in the lesson activity.
      4. Do the same for another student
      5. As a teacher, go to the "Reports" tab
      6. Confirm that there is a "Select all attempts" checkbox on the attempts column header.
      7. Click on it
      8. Confirm that the master checkbox's label becomes "Deselect all attempts"
      9. Confirm that all attempt checkboxes are checked.
      10. Confirm that the "With selected attempts..." select menu becomes enabled when there's at least one item selected, and disabled when there's no item selected.
      11. Click on "Deselect all attempts"
      12. Confirm that the checkboxes become unchecked.
      13. Tick all of the attempts manually
      14. Confirm that when the attempts are all checked, the master checkbox gets checked as well and that its label becomes "Deselect all attempts"
      Show
      Create a lesson activity. Add a multichoice question page. Log in as a student and answer the question in the lesson activity. Do the same for another student As a teacher, go to the "Reports" tab Confirm that there is a "Select all attempts" checkbox on the attempts column header. Click on it Confirm that the master checkbox's label becomes "Deselect all attempts" Confirm that all attempt checkboxes are checked. Confirm that the "With selected attempts..." select menu becomes enabled when there's at least one item selected, and disabled when there's no item selected. Click on "Deselect all attempts" Confirm that the checkboxes become unchecked. Tick all of the attempts manually Confirm that when the attempts are all checked, the master checkbox gets checked as well and that its label becomes "Deselect all attempts"
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-65937-master
    • Story Points:
      1

      Description

      Who is this for?
      • Moodle users who can manage lesson activities (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 which aims to improve the UI and UX by:
        • having a master checkbox for toggling the checked states of the checkbox elements in the items list.
        • making the "With selected" select box enabled only when there's at least one item selected.

        Attachments

        1. MDL-65937_02.png
          MDL-65937_02.png
          81 kB
        2. MDL-65937_01.png
          MDL-65937_01.png
          124 kB
        3. lesson-before.png
          lesson-before.png
          75 kB
        4. lesson-after-none-selected.png
          lesson-after-none-selected.png
          77 kB
        5. lesson-after-all-selected.png
          lesson-after-all-selected.png
          78 kB

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                jpataleta Jun Pataleta
                Peer reviewer:
                Mihail Geshoski
                Integrator:
                Andrew Nicols
                Tester:
                Jennifer Bauzon
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

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