This is to implement a card for the feed that shows a reading suggestion based on current news events.
This shall retrieve the news content from the corresponding MCS endpoint.
This is to implement a card for the feed that shows a reading suggestion based on current news events.
This shall retrieve the news content from the corresponding MCS endpoint.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
In the News card: add interactivity | apps/android/wikipedia | master | +509 -57 | |
In the News card view/model classes | apps/android/wikipedia | master | +459 -8 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Dbrant | T129076 Implement Feeds in the Android app. | |||
Resolved | • Mholloway | T129084 [Feeds] Implement "in the news" card. | |||
Resolved | • Mholloway | T132767 [Feeds] Implement Content Service endpoint for "in the news" |
possible sub-tasks: data collection; separate functionality per language; processing.
A couple of notes on the issue of the In the News thumbnail:
*There is one, sometimes, but not always.
*When there is one, it appears to be indicated by an italicized parenthetical phrase in the blurb to which it pertains.
**It's not marked in any particularly reliable way, such as an element ID or class, but also isn't a situation that can't be handled with a trusty regex. ;)
*The thumbnail size on enwiki is too small, so we'd probably end up having to add a MW API call in the content service to get a bigger one.
Kaity's mock for the card didn't include a thumbnail (maybe since it's not always the case that there is one), but it might be nice to have in the card when present and is worth thinking about.
Change 296488 had a related patch set uploaded (by Mholloway):
In the News card view/model classes
Change 296792 had a related patch set uploaded (by Mholloway):
WIP: In the News card: add interactivity