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

Rewrite form/shortforms as AMD module

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Sprint:
      Internationals - 3.11 Sprint 7, Internationals - 3.11 Sprint 8, Internationals - 3.11 Sprint 9, Internationals - 4.0 Sprint 1, HQ Team International Sprint 2, HQ Team International Sprint 3

      Description

      The current shortforms implementation was written in the days of YUI and contains a couple of limitations which did not have a solution when it was first written.

      One of these is the requirement that all strings be included in the page whether they are to be used or not.

      This issue looks to rewrite the shortforms JS as an AMD module in the ES6+ style, and to remove the requirement to include the strings in every page regardless of their use.

      This will also help us to reduce our YUI code.

      The current shortforms JS does make use of some JS events, and so it blocked by MDL-70990 which standardises our use of custom JS events in Moodle.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: