Page MenuHomePhabricator

[M] Activity tab (user story): Add articles saved to timeline
Closed, ResolvedPublic3 Estimated Story Points

Description

User story

As a logged-in reader of Wikipedia, I want to see my saved articles represented within my timeline, so that the timeline is a more comprehensive summary of my recent activity

Requirements
  • ✅ Add articles saved into the timeline at the bottom of the Activity tab
  • ✅ Add icons that differentiate saved articles from viewed articles
  • ✅ Saved articles should only be included in the timeline for logged-in users (should be done in T407010)
  • ✅ Saved articles show up under the day that they were saved, in chronological order, intermixed with articles viewed
  • ✅ Tapping on an article that you've saved takes you to that article
  • ✅ Saved items should clear from the timeline if they delete the article from their saved, or reading list, or if the "Erase saved articles" in Settings
  • ✅ No swipe action offered on saved article items

Boilerplate requirements

  • Should lay out well with long translations. Truncate, wrap text, or scroll where necessary.
  • Should change colors according to multiple themes
  • Should navigate easily and have understandable accessibility labels for Voice Over
  • Should lay out well on larger font sizes. Truncate, wrap text, or scroll where necessary.

Nice to have:

  • Long-press preview on items in Timeline with Open, Save for later, and Share (same as current "History" longpress)
Designs

https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/App---%3E-Activity-Tab?node-id=355-1631&t=oLmEycZgBYD4WSQE-4

Reference

Android implementation: T399767

Engineering notes
  • Add a method in ActivityTabDataController to fetch saved articles from SavedArticlesDataController created in https://phabricator.wikimedia.org/T407013. Use a fetch limit of 1,000. Integrate them into the timeline data / bucketing from T407009, so that they appear under the correct day.
  • Ensure activity tab data refreshes when coming back to it after visiting an article. If we set up all of our view model @Published properties properly, we should be able to retain scroll position and have a new item smoothly animate into the timeline. A good test case here is to visit a *viewed* article from the timeline > tap the saved icon in the bottom article toolbar > go back. A new saved timeline item should appear in the timeline.
  • Ensure the correct saved icon appears as the left-side icon.
  • Ensure no swipe options or long press preview occurs on saved items.
  • Upon tapping saved row, ensure navigation to article view still occurs.
Testing Notes

These fixes are in the TestFlight Wikipedia app 7.8.7, starting in build 5894 (this can also be tested in a later build number).

Event Timeline

Tsevener renamed this task from Activity tab (user story): Add articles saved to timeline to [M] Activity tab (user story): Add articles saved to timeline.Nov 10 2025, 6:49 PM
Tsevener set the point value for this task to 3.Nov 10 2025, 6:53 PM
ABorbaWMF subscribed.

Looks good on 7.8.7 (5896). Tested on iPhone 16 on iOS 26, iPad Pro on iPadOS 26, and iPhone 11 on iOS 18.

@Mazevedo for articles coming in through syncing upon freshly logging in on a device: is the intended behavior 1 or 2?

  1. Synced saved articles appear on the day they were imported via syncing
  2. Synced saved articles appear under the day they were saved originally

@HNordeenWMF
It should be #2, Synced saved articles appear under the day they were saved originally