Page MenuHomePhabricator

Distill UI styling for late loaded JS enhancements into OOUI or a MediaWiki core module
Open, Needs TriagePublic

Assigned To
None
Authored By
TheDJ
Apr 26 2017, 10:07 AM
Referenced Files
None
Tokens
"Love" token, awarded by gabriel-wmde."Love" token, awarded by Jan_Dittrich.

Description

The recent changes filter project has JS-only elements that are late loaded into the page, but that we need to reserve visual space for using CSS. VE has a similar late loading of controls in edit mode.

And I basically just implemented something similar for a print control: https://gerrit.wikimedia.org/r/#/c/350197/

I think that this will be more common pattern as more JS elements are added to our UI, that might need some time to be generated, and that we should probably implement some centralised style and class naming convention for it.