thiemowmde added a comment.

The current UI was implemented via https://gerrit.wikimedia.org/r/252430 and https://gerrit.wikimedia.org/r/256711, tracked in T87757: [Story] Add icons to text in toolbars.

There is an unintentional "flash of unstyled content" (FOUC) happening because the relevant CSS (currently in the file jquery.wikibase.toolbaritem.css) is loaded to late, via _javascript_ instead of in the pages head. To solve this specific problem we can simply move the styles to one of the #mediawiki-resourceloader modules that are currently loaded in the head (via ParserOutput::addModuleStyles in EntityParserOutputGenerator::addModules). I would argue the styles belong to jquery.wikibase.sitelinkgroupview.css, because the sitelinkgroupview template is where the "mw-collapsible" class is added. I will upload a tiny patch for this.

A more defined design as shown in the images above must still be implemented, and I think this here is the right ticket for this.


TASK DETAIL
https://phabricator.wikimedia.org/T158059

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde
Cc: thiemowmde, Hanna_Petruschat_WMDE, Aklapper, Lea_Lacroix_WMDE, Jonas, Lydia_Pintscher, Jan_Dittrich, Lahi, Gq86, GoranSMilovanovic, QZanden, JGirault, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to