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

Add a dialogue message warning that the importation, backup and restore process of a course can be long and prevent clicking twice on the import

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 2.1, 2.2, 2.5
    • Backup, JavaScript
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_25_STABLE
    • MDL-31403-master
    • Hide

      Tell users to not click many times on the button

      Show
      Tell users to not click many times on the button
    • Easy
    • Hide
      1. Log in as a teacher in a course
      2. Begin the import steps
      3. At the last step, that of confirmation, click on the button "Perform import"
      4. A confirm dialogue should appear
      5. If the "Cancel" or the "Close" button is clicked, the confirm dialogue is closed (this should also work with the Escape and Return keys)
      6. If the "Perform backup" is clicked, the confirm dialogue is closed and a progress bar dialogue is displayed with this properties:
        1. No "Close" button, so impossible to close it.
        2. The animated gif of the progress bar should be animated on all browser
        3. The progress bar dialogue should be always centered on the screen when we scroll or resize it.
      7. Repeat the steps for backup and restore step. The only differences should be on the backup, restore and import strings.
      8. Test this on all supported browsers.
      Show
      Log in as a teacher in a course Begin the import steps At the last step, that of confirmation, click on the button "Perform import" A confirm dialogue should appear If the "Cancel" or the "Close" button is clicked, the confirm dialogue is closed (this should also work with the Escape and Return keys) If the "Perform backup" is clicked, the confirm dialogue is closed and a progress bar dialogue is displayed with this properties: No "Close" button, so impossible to close it. The animated gif of the progress bar should be animated on all browser The progress bar dialogue should be always centered on the screen when we scroll or resize it. Repeat the steps for backup and restore step. The only differences should be on the backup, restore and import strings. Test this on all supported browsers.

      Currently, if we click twice on the button that performs the import, the modules can import as many times as there are clicks.

      In addition, there is no mention that indicates the time that this process can take. Indeed, when importing a large course, the process can take several minutes.

      It should therefore either add a message with a flag indicating that the loading process can be long while disabling the import button after clicking either implemented the progress bar used for example when importing language packs.

      Please note that the same kind of improvement should be made during the backup.

      To Reproduce:

      1. Log in as a teacher in a course
      2. Begin the import steps
      3. At the last stage, that of confirmation, click several times on the button "Perform import"
      4. The course modules to be imported will be included several times

        1. MDL-31403_confirm.png
          20 kB
          Gilles-Philippe Leblanc
        2. MDL-31403_progressbar.png
          18 kB
          Gilles-Philippe Leblanc

            dobedobedoh Andrew Lyons
            leblangi Gilles-Philippe Leblanc
            Andrew Lyons Andrew Lyons
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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