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

Use the checkbox-toggleall component for the lesson activity

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8
    • 3.8
    • Lesson
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-65937-master
    • 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"
    • 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. lesson-after-all-selected.png
          lesson-after-all-selected.png
          78 kB
        2. lesson-after-none-selected.png
          lesson-after-none-selected.png
          77 kB
        3. lesson-before.png
          lesson-before.png
          75 kB
        4. MDL-65937_01.png
          MDL-65937_01.png
          124 kB
        5. MDL-65937_02.png
          MDL-65937_02.png
          81 kB

        Issue Links

          Activity

            People

              jpataleta Jun Pataleta
              jpataleta Jun Pataleta
              Mihail Geshoski Mihail Geshoski
              Andrew Lyons Andrew Lyons
              Jennifer Bauzon Jennifer Bauzon
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                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