Background / Description
The In the News module surfaces articles that have been substantially updated to reflect recent or current events of wide interest. It connects Wikipedia's encyclopedic content to the news cycle and gives readers a reliable, neutral reference point for understanding current events. This is one of the highest-value modules for readers who turn to Wikipedia to get context on what's happening in the world.
User Story
As a reader browsing the Community feed, I want to see articles tied to current news events, so that I can quickly find Wikipedia's coverage of what's happening in the world today.
Requirements
- The module should display the title "In the news" with the subtitle "Articles that have been substantially updated to reflect recent or current events of wide interest"
- Content should be displayed as a horizontally scrollable card carousel, each card showing a thumbnail image and a short summary of the news event provided by the community, or the lede. Do not machine generate a summary
- Content should be sourced from the user's selected language wiki. If the module does not exist in the selected language wiki it should be hidden
- Tapping on any card can use the existing "In the news" list view
Design Link
Figma link: module →
on tap
Note: in the file you will find specs for cases where an article picture is not present.
Android task for reference
https://phabricator.wikimedia.org/T418906
Toni Handoff Notes
Based on progress at PR https://github.com/wikimedia/wikipedia-ios/pull/5995
Things remaining todo:
UI needs to be fine-tuned. Ensure UI fits our patterns (WMFFont, WMFLocalizedString, etc), lays out properly on multiple devices sizes + iPad, lays out well on rotation. Theming works. Voice Over works.
The module should display the title "In the news" with the subtitle "Articles that have been substantially updated to reflect recent or current events of wide interest"
Needs subtitle.
Content should be displayed as a horizontally scrollable card carousel, each card showing a thumbnail image and a short summary of the news event provided by the community, or the lede.
Module is currently horizontally scrollable, but is missing images. Should be able to figure out an image from the response model returned from the data controller fetchCommunity method.
Tapping on any card can use the existing "In the news" list view
Need to navigate to this full list view. NOTE: the full news list view is an old crusty legacy view. We can probably map these models to what the old view accepts, and push on the old view. But ideally, we can rewrite the old legacy view as well into SwiftUI / WMFComponents (T413388).