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

Create JS confirmation dialogue that returns a promise, use in Report builder

    XMLWordPrintable

Details

    Description

      This proposal came from a chat with dobedobedoh while Andrew was reviewing MDL-73090

      We can improve the usage of Notification.confirm to use the new method being added here that acts in the same manner but returns a promise, so it can be used as part of the promise chain and avoids deep nesting when defining the saveCallback callback

      Andrew also recommends the use of string prefetching, to improve UX and reduce number of requests required to get UI element strings

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Mikel Martín Corrales Mikel Martín Corrales
              Ilya Tregubov Ilya Tregubov
              CiBoT CiBoT
              David Matamoros, Paul Holden, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 2 hours, 20 minutes
                  2h 20m