Background
We would like to add Most Visited Categories to Year in Review.
Requirements
- Display Top 5 categories
- Filter categories by those with 2+ spaces
- https://wikimedia.slack.com/archives/C4DDMJ9CH/p1757438083153039
- IF there are no categories with 2+ spaces, recalculate without 2+ spaces filter.
- Show a minimum of 3 categories, otherwise hide the slide.
Additional Context
Note
The image in the file will be updated once we receive new files from the contractor
Test notes
- Delete all Wikipedia apps on device. Fresh install the app (White icon, 7.8.5). Ensure device is logged in.
- Navigate to a bunch of different articles on EN Wikipedia.
- Enable YIR v3 in dev settings
- Navigate to profile
- Year in review
- Scroll through the slides until you see categories slide
- Make sure category names have at least 2 spaces.
- Repeat steps 1 - 6, in step 2 navigate to articles on a wiki that doesn't have spaces in their categories (like Japanese Wiki). Confirm you still see categories slide with Japanese categories.