-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
3.10.1
-
MOODLE_310_STABLE
-
MDL-70830-master
-
0
-
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
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.