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

Improve mapping workflow when using a preset

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75492-master
    • Hide

      Mainly covered by behat and unit tests.

      Some manual test to confirm that nothing has been "broken" on the behavior that should be fixed on MDL-76083:

      1. As an admin create a course with a database activity.
      2. Navigate to "Fields" and create a new 'number' type field.
      3. Navigate to "Presets"
      4. Click on "Image gallery" preset radio button and click on "Use preset" button.
      5. Confirm an "Apply preset Image gallery?" dialogue is shown.
      6. Click on "Apply preset" button.
      7. Confirm that the number field is still there and three more fields from Image preset had been created.
      Show
      Mainly covered by behat and unit tests. Some manual test to confirm that nothing has been "broken" on the behavior that should be fixed on MDL-76083 : As an admin create a course with a database activity. Navigate to "Fields" and create a new 'number' type field. Navigate to "Presets" Click on "Image gallery" preset radio button and click on "Use preset" button. Confirm an "Apply preset Image gallery?" dialogue is shown. Click on "Apply preset" button. Confirm that the number field is still there and three more fields from Image preset had been created.
    • 2
    • HQ Sprint 1.1 Moppies

    Description

      Following prototype, we should add a new modal dialogue when using a preset from Presets and Preset preview pages that needs to perform some changes on the database fields.

      • Apply preset button should apply the default mapping without asking.
      • Map fields button should redirect user to the currently existing mapping page for them to be able to change default values.
      • Cancel button should cancel the import/use preset process.

      The mapping workflow for databases with no entries has been already changed on MDL-75140.

       

      Attachments

        1. deletingfields.png
          deletingfields.png
          33 kB
        2. dialogue_MDL-75492.png
          dialogue_MDL-75492.png
          45 kB
        3. image.png
          image.png
          5 kB
        4. image-2022-08-16-13-05-02-993.png
          image-2022-08-16-13-05-02-993.png
          22 kB
        5. image-2022-08-22-16-24-24-902.png
          image-2022-08-22-16-24-24-902.png
          16 kB
        6. image-2022-08-22-16-26-38-647.png
          image-2022-08-22-16-26-38-647.png
          15 kB
        7. image-2022-08-22-16-45-13-951.png
          image-2022-08-22-16-45-13-951.png
          11 kB
        8. image-2022-08-23-11-29-05-914.png
          image-2022-08-23-11-29-05-914.png
          22 kB
        9. image-2022-08-31-08-04-31-039.png
          image-2022-08-31-08-04-31-039.png
          30 kB
        10. image-2022-09-08-11-38-34-242.png
          image-2022-09-08-11-38-34-242.png
          24 kB
        11. image-2022-09-19-12-34-10-827.png
          image-2022-09-19-12-34-10-827.png
          59 kB
        12. image-2022-09-19-12-34-32-638.png
          image-2022-09-19-12-34-32-638.png
          45 kB
        13. image-2022-09-19-12-40-20-685.png
          image-2022-09-19-12-40-20-685.png
          17 kB
        14. image-2022-10-17-17-34-07-784.png
          image-2022-10-17-17-34-07-784.png
          56 kB
        15. image-2022-10-25-13-16-23-557.png
          image-2022-10-25-13-16-23-557.png
          29 kB
        16. image-2022-10-25-13-18-21-735.png
          image-2022-10-25-13-18-21-735.png
          24 kB
        17. number_field_MDL-75492.png
          number_field_MDL-75492.png
          35 kB

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              amaia Amaia Anabitarte
              Mathew May Mathew May
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              John Edward Pedregosa John Edward Pedregosa
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 weeks, 1 day, 2 hours, 2 minutes
                  3w 1d 2h 2m