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

Convert JS to AMD ES6 modules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.11
    • Other

      Description

      The Javascript included in the plugin is written using the Shifted YUI format which has been deprecated and is no longer accepted for new code included in core.

      Severity

      High. Moodle LMS is actively working to remove older Javascript with the aim to remove support for it in a future release.

      Proposed solution

      The Javascript code located in yui/src should be rewritten as ES6 modules which are located in amd/src. This body of work has several side benefits as it will allow for removal of old and unused, code, and improved consistency with other interactions in core.

      Difficulty

      Medium. Whilst this activity may be potentially time-consuming, it should not be a difficult task.

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 minutes
                6m

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