Page MenuHomePhabricator

Navigation stuck at the confirm translation step when trying to go back
Closed, ResolvedPublic

Description

Users selecting a suggestion to translate may decide to go with a different one instead (e.g., after seeing the sections available to translate). Currently it is not possible to return to the dashboard, leaving the user trapped in a look when they hit the "X" to close or the back button.

Steps to reproduce:

  1. Access the The Section translation dashboard in the test instance
  2. Select one suggestion and click on "select sections to translate" at the confirmation step.
  3. Click the "X" icon to close the section selection step.
  4. At the confirmation step click on the "X" button or the device back button, as may times as you want.
  5. Observe that you cannot return to the dashboard.

Screencast:
This video illustrates the issue:

For a quick look this is the gif export:

ezgif-6-8e42bf0a8629.gif (600×600 px, 2 MB)

(note that the loop in the gif may be misleading, it is not possible to return to the dashboard)

Event Timeline

Change 662726 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Fix redirection loop from SXArticleSelector to CXDashboard

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

Change 662726 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Fix redirection loop from SXArticleSelector to CXDashboard

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

Note that there is a similar issue when landing to this step directly through the URL: T274271: close button doesn't redirect.
Sharing in case this is also solved or it is easier to solve for it at the same time.