Background
The team is testing an activity tab that would add reading insights to existing history tab with the goal of deepening engagement and increasing retention of readers.
Requirements
- Show total articles read this month (Use calendar month to match Android)
- Show date of last read article, if it was today show the timestamp (Match device time format)
- Month should be based on device's local time
- Tapping on the module should take the reader down to Timeline
- If there is no reading history, keep the module and show "0" (Empty state CTA will be added on separate ticket T407672)
Nice to have
- Show graph (consult with Android if necessary to match logic)
- Each bar represents 1 week in the calendar month
- The week with the most reading is the highest, all others are scaled down in relation
- Weeks that have happened/are currently happening are "active"/green
- Weeks that have not happened yet are "inactive"/grey
Designs
Reference
Android implementation: T399748
Engineering notes
- Add method to ActivityTabDataController, internally have it use WMFPageViewsDataController to pull counts for the last month.