Page MenuHomePhabricator

[BUG] Images reviewed in the Popular tab still present in Personal uploads
Closed, ResolvedPublicBUG REPORT

Description

When reviewing the suggestions in the "Popular" tab and then moving to the "Personal Uploads" tab, you can see that the reviewed images are still present in the queue and the page need to be refreshed.

Steps to Reproduce:

  • Upload an image
  • Review suggestions in the "Popular" tab of the uploaded image
  • Switch to the "Personal uploads" tab without refreshing the page

Actual Results:

The reviewed images are still present in the queue

Expected Results:

The reviewed images aren't present in the queue

Event Timeline

Thanks for pointing this out. I think we're going to need to do a new query on every tab change, plus ensure that only one query is happening at any given time. Because of this and the difficulty of keeping the "Image X of Y for review" heading up to date, I think it makes sense to move all query logic into the top-level component (SuggestedTagsPage) so we're only ever running one query at a time and it's easy to determine the current number of results. I'm working on refactoring that component and SuggestedTagsCardstack today.

Change 543932 had a related patch set uploaded (by Anne Tomasevich; owner: Anne Tomasevich):
[mediawiki/extensions/MachineVision@master] Move query to top-level component

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

Change 543932 merged by jenkins-bot:
[mediawiki/extensions/MachineVision@master] Move query to top-level component

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

Ramsey-WMF subscribed.

Can't reproduce this so considering it done.