Background
The Random Article module shows a single card featuring a randomly selected Wikipedia article.
Every For You card shares the same persistent chrome: Wikipedia logo (top left), Community tab access, language switcher dropdown (showing user-configured languages + link to language settings; changing language refreshes the module content in the selected language without leaving the module), and notification bell. The bottom navigation bar is always visible.
The three-dot more menu on each card surfaces four options: Save, Share, Hide card, Hide module, and Customize interests.
User Story
As a Wikipedia reader who enjoys serendipitous discovery, I want to be surprised by a random article, so that I can stumble onto topics I would never have searched for myself.
Requirements
- This module displays ONE randomly selected Wikipedia article
- The random article updates every day, unless the user hard-refreshes the feed
- If a user chooses to "hide this card", replace the random article with a new one or hide the random module for that day
- The card displays: reason label ('Random article'), article title, three-dot more menu, and a short text excerpt (Paragraph).
- The article's top image is used as a full-bleed background. If no image exists, a gradient background is shown.
- Tapping the card navigates the user to the full article.
- The three-dot more menu on this card includes the standard options: Save, Share, Hide module, Customize interests.
- Provide a shuffle button
- On tap, lead to the existing randomizer experience
- When the user navigates back from the randomizer to the feed. It should still be the same randomized article they originally saw
- Add module into settings screen (Order: Based on your interests, Because You Read, Continue Reading, Places of Interest, Discover Recommendations, Random, Games)
- [If released before full community update] Remove Randomizer from legacy/current Explore feed community tab
- Add relevant instrumentation for module
Nice to have
- Incorporate shake to shuffle gesture tutorial & functionality within the feed as well (Shaking device on feed updates random article in feed) [T431048: [M] Add shake to shuffle on Randomizer]