Actions
Patch #43259
openConvert jstoolbar to ES modules and class syntax.
Status:
New
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Description
This patch is based on a branch from #43165, with minor modifications.
- Converting the entire library to ES modules eliminates the risk of variable name collisions.
- Refactored
jstoolbarfrom the old prototype-based syntax to a more readable class syntax. - Switched DOM element creation from JavaScript to ERB, which makes preparing and cloning DOM elements easier by using the
<template>element. - Moved all
jstoolbarlocales toconfig/localesto simplify i18n. * Added the missingtasklistlocale for bothjaanden. - Integrated the
list-autofillcontroller intojstoolbaras both controllers are used in the same places.
Applying this patch along with #42521 enables the implementation of #40310.
This patch can be applied to r24014
Files
Updated by Marius BĂLTEANU about 2 months ago
- Assignee set to Marius BĂLTEANU
- Target version set to 7.0.0
I'm assigning this 7.0.0 in order to review the changes.
Actions