Page MenuHomePhabricator

Discarding a selected suggestion returns to “Ongoing” Instead of “Suggestions” Screen on Mobile
Closed, ResolvedPublic

Description

Description

When using the section translation tool (SX), if a user is viewing the suggestions screen and selects a suggestion to translate, they see additional information about that suggestion. If, at this point, the user decides to discard the suggestion, they are then returned to their Ongoing translations list, rather than being taken back to the Suggestions screen they were on originally.

Steps to reproduce:

  • On mobile, select one of the suggestions to translate.
  • On the following screen, tap the option(x) to discard the suggestion (decide not to translate).
  • Observe that you are taken to the ongoing translations screen instead of remaining in suggestions.
Expected Behavior:

If a user is in the suggestions screen and chooses to discard a suggestion, the tool should not alter the user’s current context. The user should remain in or be returned to the suggestions screen.

Note: We assume this won’t be a problem for new mobile users because, without existing Ongoing translations, they have no Ongoing screen to return to.

Derived Requirement

Ensure that when a user discards a selected suggestion in the Section Translation tool on mobile, they are returned to the "Suggestions" screen, maintaining their current context, rather than being redirected to the "Ongoing" translations screen.

Test Steps

Test Case 1: Ensure User is Returned to "Suggestions" Screen After Discarding a Selected Suggestion

  1. Navigate to the Special:ContentTranslation page on mobile (https://test.m.wikipedia.org/w/index.php?title=Special:ContentTranslation).
  2. Select a suggestion to translate from the "Suggestions" screen.
  3. On the following screen, tap the option (x) to discard the suggestion (decide not to translate).
  4. ✅❓❌⬜ AC1: Confirm that the user is returned to the "Suggestions" screen, not the "Ongoing" translations screen, after discarding the suggestion.

QA Results - Test Wiki

ACStatusDetails
1T382742#10529798

Event Timeline

ngkountas triaged this task as Medium priority.
ngkountas edited projects, added: SectionTranslation; removed: ContentTranslation.
ngkountas moved this task from Backlog to Core workflow on the SectionTranslation board.
ngkountas moved this task from Backlog to In-progress on the LPL Hypothesis board.

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

[mediawiki/extensions/ContentTranslation@master] Preserve active tab URL parameter when returning to dashboard

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

Change #1107947 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Preserve active tab URL parameter when returning to dashboard

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

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

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

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

Change #1112249 merged by jenkins-bot:

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

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

@ngkountas Confirmed that the user is returned to the "Suggestions" screen, not the "Ongoing" translations screen, after discarding the suggestion as seen in the gifs below. I will move this to sign-off. Thanks for all your work!

Test Result - TestWiki

Status: ✅ PASS
Environment: TestWiki
OS: macOS Sonoma 15.3
Browser: Chrome 132
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure User is Returned to "Suggestions" Screen After Discarding a Selected Suggestion

  1. Navigate to the Special:ContentTranslation page on mobile (https://test.m.wikipedia.org/w/index.php?title=Special:ContentTranslation).
  2. Select a suggestion to translate from the "Suggestions" screen.
  3. On the following screen, tap the option (x) to discard the suggestion (decide not to translate).
  4. AC1: Confirm that the user is returned to the "Suggestions" screen, not the "Ongoing" translations screen, after discarding the suggestion.
MobileDesktop
2025-02-06_09-34-57.mp4.gif (868×958 px, 1 MB)
2025-02-06_09-36-03.mp4.gif (870×952 px, 2 MB)
GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF moved this task from Needs QA to Design Signoff on the LPL Hypothesis board.