Page MenuHomePhabricator

Activity Tab (Eng Subtask): Timeline of articles viewed - Data
Closed, ResolvedPublic3 Estimated Story Points

Description

  • Fetch data
    • Add a method in ActivityTabDataController to fetch page views. Using WMFPageViewsDataController, fetch an array of page views (we’ll need to make a new method in WMFPageViewsDataController that simply returns an array of new WMFPageView objects, which has a timestamp and WMFPage property). Use a fetchLimit of 1,000 to the NSFetchRequest.
    • Make another method in ActivityTabDataController to fetch summary data (article description + image) using WMFData's WMFArticleSummaryDataController. This will be called later from the timeline item views when they appear on screen.
    • Add page views to an ordered array, bucketed by date before returning to activity tab caller. Ensure same-day dupe articles are deduped.

Event Timeline

Tsevener triaged this task as Medium priority.
Tsevener set the point value for this task to 5.
Tsevener renamed this task from Activity Tab (Eng Subtask): Timeline of Behavior - Data to Activity Tab (Eng Subtask): Timeline of articles viewed - Data.Nov 10 2025, 8:06 PM
Tsevener reopened this task as Open.
Tsevener updated the task description. (Show Details)
Tsevener changed the point value for this task from 5 to 3.