Page MenuHomePhabricator

Refresh option stops working after several uses
Closed, ResolvedPublic2 Estimated Story Points

Description

Taping on the option to refresh suggestions in Section translation stops providing new results after a few attempts:

The expected result is for the suggestions to update with new results after each press of the refresh button. If the system does not get enough results, cycling through the different pages of results is expected instead of getting stuck in the last one.


Related scenarios to verify

  • In T296624#7621976 a case was mentioned where "refresh" only updated the "articles to expand" part but keeps the same list for "articles to create". We may want to make sure that the approach used for refreshing keeps both types of the suggestion cycling appropriately regardless of the number of results available for each of them.
  • In T296517#7608610 another case was mentioned where refreshing seems not to work when the user gets back to the dashboard after closing the confirmation step.

Event Timeline

santhosh set the point value for this task to 2.Apr 5 2022, 6:00 AM

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

[mediawiki/extensions/ContentTranslation@master] SX Dashboard: Fix refresh button to work after multiple clicks

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

Change 790728 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX Dashboard: Fix refresh button to work after multiple clicks

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

Change 791830 had a related patch set uploaded (by Santhosh; author: Santhosh):

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

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

Change 791830 merged by jenkins-bot:

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

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

I did refresh for at least 10 times and each time there are suggestions that are displayed