Page MenuHomePhabricator

SX Block Template Adaptation: "No equivalent template" card is displayed until template translation is loaded
Closed, ResolvedPublic

Description

As it is demonstrated in the below screencast, when a block template is being translated inside "Pick a sentence" step, the card for "No equivalent template" is displayed until the translation is loaded. This can be misleading for the users, especially in cases when translation takes some time to be loaded. Instead of the "No equivalent template" banner, a loading indicator should be displayed to let users know that the translation is still being loaded.

Event Timeline

Change 790740 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX block templates: Fix spinner to be displayed until translation is loaded

https://gerrit.wikimedia.org/r/790740

Change 790740 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX block templates: Fix spinner to be displayed until translation is loaded

https://gerrit.wikimedia.org/r/790740

Change 791830 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20220516

https://gerrit.wikimedia.org/r/791830

Change 791830 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20220516

https://gerrit.wikimedia.org/r/791830

Testing status: QA PASS

Using the above stated article and similar article the template loads up in a timely fashion and prevents users from seeing the erroneous no template message