Page MenuHomePhabricator

Unified Dashboard: Section suggestions are populated by published translations
Closed, ResolvedPublicBUG REPORT

Description

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

  • 1. Go to SX/Unified dashboard. Have some published translations.
  • 2. Go to "Published" Dashboard list. Wait a little bit for the application to load section suggestions for already published translations.
  • 3. Go to "Suggestions" Dashboard list, and refresh the suggestions.

What happens?:
Published articles exist inside the section suggestions list.

What should have happened instead?:
Published articles should not be listed in the suggestions list. In case the user wants to start a new section translation for an already published translation, they can do so through "Published" dashboard list.

Screencast from greek (el) production wiki:

Derived Requirement

Published articles should not appear in the "Suggestions" dashboard list in the SX/Unified Dashboard. Users can initiate new section translations for published articles through the "Published" dashboard list.

BDD

Feature: Exclude published articles from the section suggestions list

Scenario: Published articles appearing in section suggestions list
  Given a user has published translations in the SX/Unified Dashboard
  When the user views the "Suggestions" dashboard list and refreshes suggestions
  Then published articles should not appear in the section suggestions list

Scenario: Starting a new section translation from the "Published" dashboard
  Given a user has published translations in the SX/Unified Dashboard
  When the user navigates to the "Published" dashboard list
  Then the user should be able to start a new section translation for any published article

Test Steps

Test Case 1: Verify that published articles do not appear in the suggestions list

  1. Navigate to the SX/Unified Dashboard.
  2. Ensure you have some published translations listed under the "Published" Dashboard list.
  3. Go to the "Suggestions" dashboard list.
  4. Refresh the suggestions and wait for the application to load new suggestions.
  5. ✅❓❌⬜ AC1: Confirm that no published articles are present in the section suggestions list.

Test Case 2: Verify that the user can start new section translations from the "Published" dashboard

  1. Navigate to the SX/Unified Dashboard.
  2. Go to the "Published" dashboard list.
  3. Select any published article.
  4. Start a new section translation for that published article.
  5. ✅❓❌⬜ AC2: The user should be able to initiate a new section translation for the selected published article through the "Published" dashboard list.

QA Results - Test Content Translation

ACStatusDetails
1T374559#10184987
2T374559#10184987

Event Timeline

ngkountas triaged this task as Medium priority.

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

[mediawiki/extensions/ContentTranslation@master] Unified dashboard: Remove published articles from section suggestion list

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

Change #1072272 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Unified dashboard: Remove published articles from section suggestions list

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

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

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

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

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

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

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

Change #1075030 abandoned by Nik Gkountas:

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

Reason:

Abandoned in favor of Iac0466a3d2bd906a33c1c6052a92b3be98f5b028

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

Change #1075231 merged by jenkins-bot:

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

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

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

[mediawiki/extensions/ContentTranslation@wmf/1.43.0-wmf.24] CX3 Build 0.2.0+20240925

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

Change #1075567 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@wmf/1.43.0-wmf.24] CX3 Build 0.2.0+20240925

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

Mentioned in SAL (#wikimedia-operations) [2024-09-25T14:22:59Z] <kartik@deploy1003> Finished scap sync-world: Backport for [[gerrit:1075567|CX3 Build 0.2.0+20240925 (T374387 T370746 T368422 T374567 T355780 T374559 T374886 T375410)]] (duration: 14m 06s)

@ngkountas Published articles are not listed in the suggestions list, as seen in the gif. Also, I was able to start a new translation in the "Published" dashboard list, as seen in the video. Thanks for all your work! I will move this to Done.

Test Result - Test Content Translation

Status: ✅ PASS
Environment: Test Content Translation
OS: macOS Sonoma 15.0
Browser: Chrome 129
Device: MBA
Emulated Device: NA

Test Artifact(s):

https://test.wikipedia.org/w/index.php?title=Special:ContentTranslation&active-list=suggestions&from=es&to=en

Test Steps

Test Case 1: Verify that published articles do not appear in the suggestions list

  1. Navigate to the SX/Unified Dashboard.
  2. Ensure you have some published translations listed under the "Published" Dashboard list.
  3. Go to the "Suggestions" dashboard list.
  4. Refresh the suggestions and wait for the application to load new suggestions.
  5. ✅ AC1: Confirm that no published articles are present in the section suggestions list.

gif

2024-09-27_15-20-02.mp4.gif (984×1 px, 3 MB)

Test Case 2: Verify that the user can start new section translations from the "Published" dashboard

  1. Navigate to the SX/Unified Dashboard.
  2. Go to the "Published" dashboard list.
  3. Select any published article.
  4. Start a new section translation for that published article.
  5. ✅AC2: The user should be able to initiate a new section translation for the selected published article through the "Published" dashboard list.

GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF subscribed.