Page MenuHomePhabricator

Close button not working when landing on confirmation step
Closed, ResolvedPublicBUG REPORT

Description

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

  • Land on the unified dashboard confirmation step from an external entry point
  • Click on the 'x' button on the top right corner

What happens?:

  • nothing

What should have happened instead?:

  • Go to the unified dashboard. In this way, the specific pre-selected article is discarded but users can still participate in translation with a different configuration.

Derived Requirement

Ensure that clicking the close ('x') button on the confirmation step redirects users to the unified dashboard, discarding the pre-selected article while allowing users to participate in translation with a different configuration.

Test Steps

Test Case 1: Ensure close button redirects to unified dashboard

  1. Open Wikipedia and navigate to the unified dashboard confirmation step from an external entry point.
  2. Click on the 'x' button on the top right corner.
  3. ✅❓❌⬜ AC1: Confirm that the user is redirected to the unified dashboard.

QA Results - Test Wiki

ACStatusDetails
1T387126#10634913

Event Timeline

Pginer-WMF moved this task from Backlog to Prioritized on the LPL Hypothesis board.
Pginer-WMF lowered the priority of this task from High to Medium.Feb 25 2025, 2:13 PM

I'd propose for the "X" to direct the user to the dashboard.
The rationale for this:

  • It may be convenient to have a way to access the dashboard. For example, a user may follow a link to translate that happens to include a specific article pre-selected. If the user wants to translate but a different article, the user can discard the dialog and start a new translation. Otherwise, they'd have to leave and figure out how to get to the translation too again.
  • Moving back to wherever the user was can be tricky, especially in cases where the user starts with an external link (e.g. shared though a chat app). If users want to go back, they can always use the browser button.

Change #1122637 had a related patch set uploaded (by Eamedina; author: Eamedina):

[mediawiki/extensions/ContentTranslation@master] Fix confirmer close button when coming from external link

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

Change #1122637 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Fix confirmer close button when coming from external link

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

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

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

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

Change #1124141 merged by jenkins-bot:

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

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

@eamedina Mobile stays on desktop mode even when the URL has ".m" and on a mobile device as seen in the gif.

Test Result - TestWiki

Status: ❌ FAIL
Environment: TestWiki
OS: macOS Sonoma 15.3.1
Browser: Chrome 134
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure close button redirects to unified dashboard

  1. Open Wikipedia and navigate to the unified dashboard confirmation step from an external entry point.
  2. Click on the 'x' button on the top right corner.
  3. AC1: Confirm that the user is redirected to the unified dashboard.
DesktopMobile
2025-03-12_17-17-50.mp4.gif (600×940 px, 1 MB)
{
2025-03-12_17-16-10.mp4.gif (598×938 px, 1 MB)

@eamedina Confirmed that the user is redirected to the unified dashboard as seen from 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.1
Browser: Chrome 134
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Ensure close button redirects to unified dashboard

  1. Open Wikipedia and navigate to the unified dashboard confirmation step from an external entry point (ex. open a new tab and paste the URL confirmation).
  2. Click on the 'x' button on the top right corner.
  3. AC1: Confirm that the user is redirected to the unified dashboard.
DesktopMobile
2025-03-13_14-57-43.mp4.gif (768×1 px, 1 MB)
2025-03-13_14-56-49.mp4.gif (782×956 px, 1 MB)
GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF moved this task from In-progress to Design Signoff on the LPL Hypothesis board.