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

Use the checkbox-toggleall component for the SCORM package activity

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Setup
      1. Create a SCORM activity.
      2. Download the RuntimeMinimumCalls_SCORM12.zip and attach it to your SCORM activity.
      3. Login as a student and attempt the SCORM activity. Do this for at least one more student. Feel free to do multiple attempts as well.
      4. Login as the teacher again and go to the SCORM activity.
      5. Open the "Reports" tab.
      Test
      1. Check the "Basic report" tab
      2. Confirm that you see a checkbox on the column header of the attempts table's first column. Let's call this the master checkbox.
      3. Confirm that without any item being selected on initial load, the "Delete selected attempts" button is rendered as disabled.
      4. Check the behaviour of the master checkbox.
      5. Confirm that:
        • When it's ticked, all attempts become selected and its hidden label becomes "Deselect all" (you might wanna inspect using the dev tools of your browser)
        • When everything's selected and you untick it, all attempts become deselected and its label becomes "Select all"
      6. Check the effect of clicking of one or more checkboxes beside each attempt.
      7. Confirm that:
        • When you tick all checkboxes, the master checkbox becomes ticked and its hidden label becomes "Deselect all"
        • When all checkboxes are ticked and you untick at least one checkbox, the master checkbox becomes unticked and its hidden label becomes "Select all"
      8. Check the behaviour of the "Delete selected attempts" button.
      9. Confirm that:
        • When at least one checkbox is selected, the button is enabled.
        • When there's no checkbox selected, the button is disabled.
      10. Repeat the test for the "Interactions report" and the "Objectives report" pages.
      Show
      Setup Create a SCORM activity. Download the RuntimeMinimumCalls_SCORM12.zip and attach it to your SCORM activity. Login as a student and attempt the SCORM activity. Do this for at least one more student. Feel free to do multiple attempts as well. Login as the teacher again and go to the SCORM activity. Open the " Reports " tab. Test Check the "Basic report" tab Confirm that you see a checkbox on the column header of the attempts table's first column. Let's call this the master checkbox. Confirm that without any item being selected on initial load, the " Delete selected attempts " button is rendered as disabled. Check the behaviour of the master checkbox. Confirm that: When it's ticked, all attempts become selected and its hidden label becomes " Deselect all " (you might wanna inspect using the dev tools of your browser) When everything's selected and you untick it, all attempts become deselected and its label becomes " Select all " Check the effect of clicking of one or more checkboxes beside each attempt. Confirm that: When you tick all checkboxes, the master checkbox becomes ticked and its hidden label becomes " Deselect all " When all checkboxes are ticked and you untick at least one checkbox, the master checkbox becomes unticked and its hidden label becomes " Select all " Check the behaviour of the " Delete selected attempts " button. Confirm that: When at least one checkbox is selected, the button is enabled. When there's no checkbox selected, the button is disabled. Repeat the test for the " Interactions report " and the " Objectives report " pages.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-65946-master
    • Story Points:
      1
    • Sprint:
      Sprint 2 - Experimental

      Description

      Who is this for?
      • Moodle users who can manage SCORM package 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 in the "Reports" page of the SCORM package activity. This aims to improve the UI and UX by:
        • having a master checkbox for toggling the checked states of the checkbox elements in the attempts table of the "Reports" page.
        • making the action button "Delete selected attempts" button enabled only when there's at least one item selected.

        Attachments

        1. scorm-before.png
          scorm-before.png
          59 kB
        2. scorm-after.png
          scorm-after.png
          121 kB
        3. RuntimeMinimumCalls_SCORM12.zip
          346 kB
        4. Confirmed and verified.png
          Confirmed and verified.png
          337 kB

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                jpataleta Jun Pataleta
                Peer reviewer:
                Dan Marsden
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Gladys Basiana
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Barbara Ramiro, Jake Dallimore, Jun Pataleta
              • 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 - 2 hours, 10 minutes
                  2h 10m