Page MenuHomePhabricator

SX Dashboard: Suggestions are not fetched when canceling translation with preselected page
Closed, ResolvedPublicBUG REPORT

Description

As shown in the screencast below, when user visits a Section Translation URL with pre-selected page title (e.g. https://test.m.wikipedia.org/w/index.php?title=Special:ContentTranslation&page=Advent%20wreath&from=en&to=ar&sx=true), and then clicks on the close icon inside "Confirm translation" step, the page and section suggestions are not being filled inside the dashboard.

Additionally, the pre-selected suggestion is always shown inside the section suggestion list, even if the target page doesn't exist (and thus it belongs to the page suggestions).

Screen Recording 2021-11-29 at 1.28.10 PM.gif (820×388 px, 2 MB)

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] SX: Fix suggestion loading after canceling preselected translation

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

Change 742442 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix suggestion loading after canceling preselected translation

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

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

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211210

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

Change 745934 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211210

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

The main issue described seems fixed. However, I noticed that taping on "refresh" only updates the "articles to expand" part but keeps the same list for "articles to create".

After multiple refresh actions both lists get stuck, but that seems to be more of a general issue and a separate ticket needs to be created.

@ngkountas, should the first issue be addressed on this ticket or maybe on the new one?