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

Move "Import" preset form to a modal

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75188-master
    • Hide

      Tested using behat. No manual tests needed.

      Manual test (optional) for new feature:

      1. Login as an admin.
      2. Go to a course and add a new database activity.
      3. Go to the preset page.
      4. Click on "Import" button.
      5. Confirm a popup appears to select a file.
      6. Use the sample-preset.zip file attached to the issue.
      7. Click on "Import".
      8. Confirm that the field mapping page is not displayed (not fields are present in the database).
      9. Confirm on the fields page, that the new fields are imported.
      10. Confirm on the templates page, that the templates are imported

      .

      Show
      Tested using behat. No manual tests needed. Manual test (optional) for new feature: Login as an admin. Go to a course and add a new database activity. Go to the preset page. Click on "Import" button. Confirm a popup appears to select a file. Use the sample-preset.zip file attached to the issue. Click on "Import". Confirm that the field mapping page is not displayed (not fields are present in the database). Confirm on the fields page, that the new fields are imported. Confirm on the templates page, that the templates are imported .
    • 2
    • HQ 2-week review sprint

    Description

      When the user clicks on the "Import" action, the form to upload the file should be triggered in a modal instead of on a new page.

      Attachments

        1. confirm_page.png
          32 kB
          Sara Arjona (@sarjona)
        2. image-2022-08-11-15-58-40-462.png
          27 kB
          Amaia Anabitarte

        Issue Links

          Activity

            People

              laurent.david@moodle.com Laurent David
              sarjona Sara Arjona (@sarjona)
              Carlos Escobedo Carlos Escobedo
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 5 hours, 30 minutes
                  1w 5h 30m

                  Clockify

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