Page MenuHomePhabricator

SX: Card for already translated segments not working properly for titles
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Visit Section Translation application and select a page or section to translate
  2. Proceed to the "Pick a sentence" step
  3. Apply the translation for the title
  4. Now the template/sentence next to the title should be highlighted. Click on the title again.

What happens?:
The card for already translated segments appears at the bottom of the screen but it seems broken. The "Your translation" message, the "X% edited by you" message and the user icon are missing, while the progress bar is obviously misaligned and doesn't follow its design specifications.

What should have happened instead?:
The contents of the card should be properly displayed as defined in the design specifications of this card: https://phabricator.wikimedia.org/T260128

Screencast of the issue in Greek wiki:

Event Timeline

ngkountas triaged this task as Medium priority.

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix TranslatedSegmentCard for page/section titles

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

Change 906586 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix TranslatedSegmentCard for page/section titles

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

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

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

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

Change 911252 merged by jenkins-bot:

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

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