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

Convert IconSystem to ESM

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.3
    • JavaScript

    Description

      The IconSystem code is written as older AMD modules and very hard to follow.

      We should update it to ESM classes using Maps and first-class Promises.
      We should also add a Factory method - currently we do the actual factory work in core/templates which is just wrong.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Paul Holden Paul Holden
              Jun Pataleta Jun Pataleta
              Jun Pataleta Jun Pataleta
              Votes:
              1 Vote for this issue
              Watchers:
              3 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 - 4 hours, 41 minutes
                  4h 41m

                  Clockify

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