-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve how JavaScript works in GOV.UK Frontend #1389
Comments
Previous body of issue: GoalWe can publish more complex components involving JavaScript, in a consistent way that can be adopted by service teams. WhyDoing this work allows us to publish more complex components like modal dialogue and autocomplete, both of which we know are needed by users. Related stories
|
JS Squad to decide which of the epics in this card to work on at the present moment in time and move them into the epics column. |
Closing this as the scope is too broad to be useful at the minute (there's always more we can do to improve!) and the few remaining stories are better covered in other epics (or are epics themselves): |
What
We know there are issues with our current JavaScript setup, code and tooling which we should improve. Some of this work will help us unlock future work, i.e: more complex components (like modals) and supporting translations.
Preliminary work
Internationalisation
Allow strings in our component JavaScript to be customised, to allow for text in other languages (eg: Welsh).
Reduce Internet Explorer support
We're aiming to reduce IE support in future major versions of GOV.UK Frontend.
Figure out what our component JavaScript should look like and how it should behave
We should consider how we handle modern JavaScript features, typing, public and private properties, event listening, state management, styling, interactions with apps and third-party frameworks, and our component API.
Document our JavaScript
We need to figure out what our documentation will look like, and we need to actually publish that documentation.
Improve tooling
Improve testing
Resources
The text was updated successfully, but these errors were encountered: