User story
As a logged-in reader of Wikipedia, I want to be able to see a summary of my recent reading and saving behavior so that I feel more connected with Wikipedia and feel motivated to keep using the app every week.
Requirements
- Add the modules in the activity tab should be as follows.
- Time Spent reading this week
- Monthly Reading Insights
- Articles read
- Articles Saved
- Top categories
- Update Navigation bar to read Activity instead of History
- Require user to have an account to see activity
- logged-out state will be built in T407010
- Logged-out users should continue to have History
- Insights should cover all app languages, except where necessary they can be solely based on the primary app language
Time spent
- Show total time spent reading this week in hours and minutes.
- Resetting time spent for the week should be based on local device timing
- Calculate a week as the past 7 days
- Show time spent even if they have 0 minutes
- Header should include user name
- Include "On Wikipedia iOS"
Articles read
- Show total articles read this month (for the last 30 days to match Android)
- Show date of last read article, if it was today show the timestamp (Match device time format)
- Tapping on the module should take the reader down to Timeline (timeline will be built in T407009)
- If there is no reading history, keep the module and show "0" (Empty state CTA will be added on separate story)
- Nice to have
- Show graph (consult with Android if necessary to match logic)
Articles saved
- Show total articles that were saved or saved to a reading list this month (Month = Last 30 days)
- Show date of last saved article in local time format. If it was the current day, show timestamp.
- Month should be based on device's local time
- Show article images if availalbe
- If there is no article image, it is acceptable to not show a circle for the article
- Tapping on the module should take the reader to the Saved tab
- If there is no Saved history, keep the module and show "0" (Empty state CTA will be added on separate story)
Categories
- Show up to 3 "Top categories" this month (minimum 1). Hide the categories module entirely if they have 0.
- Selection of categories should match Android implementation which does:
- Show top categories for the calendar month
- Show categories even if someone has only visited the page once
- We do not need to filter for interesting categories (2+ spaces) as we did in YiR
- Selection of categories should match Android implementation which does:
- Nothing happens when tapping on categories (will be added in task for creating Categories screen)
- Categories are cleared if someone clears their reading history
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
- Remember scroll position in the activity tab when someone clicks on a module and then returns
Testing Notes
- Please test in the latest 7.8.5 Wikipedia app in TestFlight.
- Developer settings "Show Activity Tab" at the bottom will trigger the History tab to change into the Activity tab.