Lucas_Werkmeister_WMDE added a comment.
I suggest we add the `display: none` portion of the styles through `OutputPage::addModuleStyles()`, so that it’s loaded independent of ResourceLoader. This both helps users without JavaScript (who can’t use the bridge anyways) and also should prevent a brief flash of visible buttons before the ResourceLoader styles are loaded. On the other hand, the `display: inline` part can be loaded via ResourceLoader, as part of the app or init module (not yet sure which would be more appropriate – probably init?). TASK DETAIL https://phabricator.wikimedia.org/T235152 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Michael, Lucas_Werkmeister_WMDE, abian, Aklapper, Lydia_Pintscher, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
