Page MenuHomePhabricator

Suggested edits: mobile homepage not updated when edit type filter changes
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Navigate to Special:Homepage on mobile
  • Click on See all suggestions from Suggested edits section
  • Use types of edits filter to select a different edit type (make sure number of articles found is different from previous)
  • Navigate using back button to Special:Homepage on mobile

What happens?:
The number of suggestions is not updated in the title/subheader. Also if the new type selection is from 0 to N or the opposite from N to 0 articles, the homepage section is not updated accordingly.

What should have happened instead?:
Suggested edits section in the homepage should be accordingly updated. It should show the section in the "empty" state if no articles are available for that type of edits or in the "not empty" state showing the first task card of the refreshed collection of tasks.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

Event Timeline

Sgs changed the task status from Open to In Progress.Feb 17 2022, 12:50 PM
Sgs claimed this task.
Sgs moved this task from Incoming to In Progress on the Growth-Team (Sprint 0 (Growth Team)) board.

Change 763835 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] [WIP] Suggested edits: update homepage preview after filters change

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

kostajh triaged this task as Medium priority.Mar 2 2022, 1:57 PM

Change 763835 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Suggested edits: update homepage preview after filters change

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

Etonkovidova subscribed.

Checked on testwiki wmf.25 - works as expected.