Page MenuHomePhabricator

CX Unified Dashboard: Infinite loading indicator in published tab when navigating from a section selector after a wiki redirect
Closed, ResolvedPublicBUG REPORT

Description

As illustrated in the below video, I am at ml.wiki, published sections. I have published articles to ml and he. I chose to add a section to a published article in he. CX takes me to he.wikipedia.org. Upon landing in he.wikipedia.org, page redirects to section selector. For any reason, if I cancel the section selection screen, I am back to dashboard- So far good. But the published sections is empty and does not load. I see progress indicator.

Derived Requirement

Ensure that when navigating from the section selector after a wiki redirect in the CX Unified Dashboard, the Published tab correctly loads the published sections instead of displaying an infinite loading indicator.

Test Steps

Test Case 1: Ensure the Published tab loads correctly after canceling section selection following a wiki redirect

  1. Navigate to the CX Unified Dashboard on testwiki.
  2. Switch to the Published tab and verify that published sections are listed.
  3. Select a published article that exists in another wiki language (ex. en -> esp).
  4. Go to Suggestions tab and switch the language target (ex. "esp" to now "fr")
  5. Now go back to the Published section and choose the article in a different language (ex. en -> esp)
  6. Click the +<section name of the article> , which will bring you to the confirmation screen
  7. Verify that the language is still "en" to "esp"
  8. Close out by clicking on "X" on the article
  9. ✅❓❌⬜ AC1: Confirm that the Published tab correctly loads the published sections and does not show an infinite loading indicator.

QA Results - Test Wiki

ACStatusDetails
1T387110#10681284

Event Timeline

Nikerabbit triaged this task as Medium priority.Feb 27 2025, 9:01 AM
Nikerabbit moved this task from Needs Triage to Bugs on the ContentTranslation board.
Nikerabbit added a project: LPL Hypothesis.

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

[mediawiki/extensions/ContentTranslation@master] Fix published translation fetching after wiki redirection

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

Change #1125190 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Fix published translation fetching after wiki redirection

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

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

[mediawiki/extensions/ContentTranslation@master] Remove undefined vue exports to unbreak dev mode

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

Change #1127081 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Remove undefined vue exports to unbreak dev mode

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

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

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

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

Change #1128494 merged by jenkins-bot:

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

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

@ngkountas Confirmed that the Published tab correctly loads the published sections and does not show an infinite loading indicator as seen in the gifs. I will move this to sign-off. Thanks for all your work!

Test Result - TestWiki

Status: ✅ PASS
Environment: TestWiki
OS: macOS Sequoia 15.4
Browser: Chrome 134
Device: MBA
Emulated Device: NA

Test Artifact(s):
Special:ContentTranslation

Test Steps

Test Case 1: Ensure the Published tab loads correctly after canceling section selection following a wiki redirect

  1. Navigate to the CX Unified Dashboard on testwiki.
  2. Switch to the Published tab and verify that published sections are listed.
  3. Select a published article that exists in another wiki language (ex. en -> esp).
  4. Go to Suggestions tab and switch the language target (ex. "esp" to now "fr")
  5. Now go back to the Published section and choose the article in a different language (ex. en -> esp)
  6. Click the +<section name of the article> , which will bring you to the confirmation screen
  7. Verify that the language is still "en" to "esp"
  8. Close out by clicking on "X" on the article
  9. AC1: Confirm that the Published tab correctly loads the published sections and does not show an infinite loading indicator.
DesktopMobile
2025-03-26_13-41-14.mp4.gif (1×1 px, 2 MB)
2025-03-26_14-03-39.mp4.gif (946×1 px, 1 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.