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

Reset: Improve form wording and remove advanced elements

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_405_STABLE
    • MDL-81872-main
    • Hide

      Setup

      1. Download the attached gitpod-basic-scenario.feature.
      2. Run the following command to create a course with a few subsection activities:

        php admin/tool/generator/cli/runtestscenario.php --feature="absolute/path/to/file.feature"
        

      It might fail while trying to create the users if sx and tx users already exist in your local instance. If that's the case, this error can be ignored.

       

      Testing scenario

      1. Login as admin.
      2. Go to the course "Custom sections course".
      3. Go to "More > Course reuse > Reset".
      4. Click the Expand all link.
      5. Check "Delete" is displayed in the left column and the texts after the checkboxes doesn't contain Delete/Remove.
      6. In Forums, uncheck All posts.
      7. Check "Delete posts from" and a few more fields are displayed.
      8. Select again "All posts".
      9. Check "Delete posts from" and the rest of the fields are hidden.
      10. Check the content in the "Reset not supported" is "These activities can't be reset".
      11. Check none of the sections have the "Show more..." option.
      12. Select all the checkboxes available in the form.
      13. Click the Reset course button.
      14. Check the second column is named "Reset".
      15. Check the content in the third column (Status) is Done for most of the rows.
      16. Check the contents in the Reset column are consistent with the text displayed on the previous page (without displaying any action; only the content reset is displayed).
      17. Check the row for External tools displays the text "Reset not supported" in red with a red cross.
      Show
      Setup Download the attached gitpod-basic-scenario.feature . Run the following command to create a course with a few subsection activities: php admin/tool/generator/cli/runtestscenario.php --feature="absolute/path/to/file.feature" It might fail while trying to create the users if sx and tx users already exist in your local instance. If that's the case, this error can be ignored.   Testing scenario Login as admin. Go to the course "Custom sections course". Go to "More > Course reuse > Reset". Click the Expand all link. Check "Delete" is displayed in the left column and the texts after the checkboxes doesn't contain Delete/Remove. In Forums, uncheck All posts. Check "Delete posts from" and a few more fields are displayed. Select again "All posts". Check "Delete posts from" and the rest of the fields are hidden. Check the content in the "Reset not supported" is "These activities can't be reset". Check none of the sections have the "Show more..." option. Select all the checkboxes available in the form. Click the Reset course button. Check the second column is named "Reset". Check the content in the third column (Status) is Done for most of the rows. Check the contents in the Reset column are consistent with the text displayed on the previous page (without displaying any action; only the content reset is displayed). Check the row for External tools displays the text "Reset not supported" in red with a red cross.
    • 2
    • HQ 2024 Sprint I2.1 Moppies

      The following improvements will help users to get a better experience when using the course reset feature:

      • Remove "Delete" from all the options, to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information.
      • Remove all the advanced elements in the form because in that case, they don't make sense.
      • Improve the summary page:
        • Replace "OK" with "Done".
        • Rename the Task column to Reset.
        • Make consistent all the messages.
        • Review styling for notifyerror (they are not accessible).

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Laurent David Laurent David
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 3 hours, 35 minutes
                2d 3h 35m

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