Page MenuHomePhabricator

Wikidata logo takes too long to appear on the Query UI on Firefox
Open, LowestPublic

Description

As an ... I want to ... in order to ...

Problem: The Wikidata Query UI takes a long time to load completely on Firefox Quantum and, after some changes to make the UI configurable, one of the last elements to appear is the logo (together with the language). Until the page is completely loaded it shows a white rectangle instead of the logo. This may be related to the fact that the logo is an SVG and the language icon is also an SVG.

Example:

Screenshots/mockups:

logo.gif (367×800 px, 94 KB)

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria:

  • The logo is displayed while the rest of the page is loading to be functional.

Open questions:

Event Timeline

abian renamed this task from Wikidata logo takes too long to appear to Wikidata logo takes too long to appear on the Query UI.Jan 23 2019, 11:49 PM
abian renamed this task from Wikidata logo takes too long to appear on the Query UI to Wikidata logo takes too long to appear on the Query UI on Firefox.Jan 23 2019, 11:55 PM
abian updated the task description. (Show Details)
abian lowered the priority of this task from Low to Lowest.Feb 11 2019, 9:42 PM

This is due to the logo being replaced in JS.
this was caused in T212210

One step forward would be T211474: Make query service logo and favicon have a placeholder image (not wikidata logo).

But the even better solution for 3rd parties would be to service this as a node service of some sort allowing injection of config rather than serving it as a static website.
Briefly discussed in T192006#4940590 and some other related tickets.