Page MenuHomePhabricator

CX Unified Dashboard: Favorite suggestions display current languages instead of the suggestion languages
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

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

  1. Go to CX unified dashboard
  2. Bookmark a suggestion by clicking on the "bookmark" icon inside the suggestion card. The suggestion will be added in the favorite suggestions section, above regular suggestions.
  3. Change the target language.

What happens?:
The displayed target language inside the favorite suggestion card is updated, too.

What should have happened instead?:
The languages displayed inside the favorite suggestion card should be the source/target languages of the favorite suggestion, not the currently selected languages.

Screencast from production el wiki


Derived Requirement

Ensure that favorite suggestion cards in the CX Unified Dashboard always display the original source and target languages of the suggestion, regardless of the currently selected languages.

Test Result - Beta|Prod

Status: ✅ PASS / ❓Need More Info / ❌ FAIL
Environment: beta/xyzwiki
OS: macOS Sequoia 15.6.1
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure Favorite Suggestion Cards Retain Original Languages

  1. Open the CX Unified Dashboard.
  2. Locate a suggestion and bookmark it by clicking the "bookmark" icon inside the suggestion card.
  3. Confirm that the suggestion is added to the "Favorite suggestions" section above regular suggestions.
  4. Change the target language in the dashboard.
  5. ✅❓❌⬜ AC1: Confirm that the favorite suggestion card continues to display the original source and target languages of the suggestion, not the newly selected current languages.

Test Case 2: Ensure Consistency Across Multiple Favorite Suggestions

  1. Open the CX Unified Dashboard.
  2. Bookmark multiple suggestions with different source and target languages.
  3. Confirm they appear in the "Favorite suggestions" section.
  4. Change the target language in the dashboard.
  5. ✅❓❌⬜ AC2: Confirm that each favorite suggestion card displays its own original source and target languages, not the current selection.

Test Case 3: Ensure Regular Suggestions Update Language Context Separately

  1. Open the CX Unified Dashboard.
  2. Change the target language in the dashboard.
  3. ✅❓❌⬜ AC3: Confirm that regular (non-favorited) suggestion cards update to reflect the newly selected source/target language context.

QA Results - TestWiki

ACStatusDetails
1T404045#11174627
2T404045#11174627
3T404045#11174627

Event Timeline

ngkountas triaged this task as Medium priority.
ngkountas set the point value for this task to 1.
ngkountas changed the task status from Open to In Progress.Sep 9 2025, 9:00 AM
ngkountas moved this task from Prioritized to In-progress on the LPL Hypothesis board.

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

[mediawiki/extensions/ContentTranslation@master] CX favorite suggestions: Use suggestion langs instead of current langs

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

Change #1186449 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX favorite suggestions: Use suggestion langs instead of current langs

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

Change #1186648 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250909

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

Change #1186650 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ContentTranslation@wmf/1.45.0-wmf.18] CX3 Build 1.0.0+20250909

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

Change #1186648 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 1.0.0+20250909

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

Change #1186650 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@wmf/1.45.0-wmf.18] CX3 Build 1.0.0+20250909

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

Mentioned in SAL (#wikimedia-operations) [2025-09-10T13:47:56Z] <kartik@deploy1003> Started scap sync-world: Backport for [[gerrit:1186650|CX3 Build 1.0.0+20250909 (T374886 T394998 T399122 T399125 T399133 T403730 T404045 T404093)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-10T13:54:25Z] <kartik@deploy1003> sbisson, kartik: Backport for [[gerrit:1186650|CX3 Build 1.0.0+20250909 (T374886 T394998 T399122 T399125 T399133 T403730 T404045 T404093)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-10T14:12:05Z] <kartik@deploy1003> Finished scap sync-world: Backport for [[gerrit:1186650|CX3 Build 1.0.0+20250909 (T374886 T394998 T399122 T399125 T399133 T403730 T404045 T404093)]] (duration: 24m 08s)

@ngkountas Confirmed that favorite suggestion cards in the CX Unified Dashboard always display the original source and target languages of the suggestion, regardless of the currently selected languages, as seen below. I will move this to Sign-Off. Thanks for all your work!

Test Result - Test Wiki

Status: ✅ PASS
Environment: Test Wiki
OS: macOS Sequoia 15.6.1
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://test.wikipedia.org/w/index.php?title=Special:ContentTranslation&filter-type=topic&filter-id=music&active-list=suggestions&from=en&to=gn&unified-dashboard=true#/

Test Steps

Test Case 1: Ensure Favorite Suggestion Cards Retain Original Languages

  1. Open the CX Unified Dashboard.
  2. Locate a suggestion and bookmark it by clicking the "bookmark" icon inside the suggestion card.
  3. Confirm that the suggestion is added to the "Favorite suggestions" section above regular suggestions.
  4. Change the target language in the dashboard.
  5. AC1: Confirm that the favorite suggestion card continues to display the original source and target languages of the suggestion, not the newly selected current languages.
DesktopMobile
2025-09-11_14-55-47.mp4.gif (910×618 px, 1 MB)

Test Case 2: Ensure Consistency Across Multiple Favorite Suggestions

  1. Open the CX Unified Dashboard.
  2. Bookmark multiple suggestions with different source and target languages.
  3. Confirm they appear in the "Favorite suggestions" section.
  4. Change the target language in the dashboard.
  5. AC2: Confirm that each favorite suggestion card displays its own original source and target languages, not the current selection.

See AC2

Test Case 3: Ensure Regular Suggestions Update Language Context Separately

  1. Open the CX Unified Dashboard.
  2. Change the target language in the dashboard.
  3. AC3: Confirm that regular (non-favorited) suggestion cards update to reflect the newly selected source/target language context.

2025-09-11_14-53-45.mp4.gif (956×1 px, 2 MB)

GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF moved this task from Needs QA to Design Signoff on the LPL Hypothesis board.
SGautam_WMF subscribed.

Looks fine to me so moving it to product signoff