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

Update content bank upload button to open file picker in a popup instead of new page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Testing scenario 1: Upload in a modal form

      1. Login as admin.
      2. Access to the Content bank.
      3. Click the Upload button.
      4. Check a modal form is open to "Upload content".
      5. Upload an H5P file (you can use accordion.h5p attached).
      6. Save changes.
      7. Check you're redirected to the view.php page and the H5P content is displayed.
      8. In the content bank cog, select "Replace with file".
      9. Check a modal form is open to "Upload content".
      10. Upload an H5P file (you can use arithmetic-quiz.h5p attached).
      11. Save changes.
      12. Check you're redirected to the view.php page and the H5P content is displayed and it's different from the previous one.
      Show
      Testing scenario 1: Upload in a modal form Login as admin. Access to the Content bank. Click the Upload button. Check a modal form is open to "Upload content". Upload an H5P file (you can use accordion.h5p attached). Save changes. Check you're redirected to the view.php page and the H5P content is displayed. In the content bank cog, select "Replace with file". Check a modal form is open to "Upload content". Upload an H5P file (you can use arithmetic-quiz.h5p attached). Save changes. Check you're redirected to the view.php page and the H5P content is displayed and it's different from the previous one.
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-67999-311
    • Pull Master Branch:
      MDL-67999-master
    • Sprint:
      Moppies Kanban

      Description

      When the user clicks on the content bank Upload button file picker should be triggered in a modal instead of in a new page.

        Attachments

        1. MDL-67999_Test Passed.png
          MDL-67999_Test Passed.png
          198 kB
        2. contentbank_prototype_39.png
          contentbank_prototype_39.png
          211 kB
        3. arithmetic-quiz.h5p
          731 kB
        4. accordion.h5p
          530 kB

          Issue Links

            Activity

              People

              Assignee:
              sarjona Sara Arjona (@sarjona)
              Reporter:
              amaia Amaia Anabitarte
              Peer reviewer:
              Marina Glancy Marina Glancy
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 10 minutes
                  1d 10m