Page MenuHomePhabricator

[L] Activity tab (user story) logged-in readers
Closed, ResolvedPublic

Description

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
  • 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.

Related Objects

Event Timeline

HNordeenWMF updated the task description. (Show Details)
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF renamed this task from [Sub-Epic] Activity tab logged-in reader user story to Activity tab (user story) logged-in readers.Oct 28 2025, 10:14 PM
HNordeenWMF removed a project: Epic.

@HNordeenWMF Just some suggestions to be a bit more explicit:

Require user to have an account to see activity

Could add something like (logged-out state will be built in T407010). Until that is built we can ensure the logged-out state is blank.

Tapping on the module should take the reader down to Timeline.

Could add something like (timeline will be built in T407009). This means this task can't fully be completed until timeline is done, just FYI.

Show up to 3 "Top categories" this month (minimum 1)

Just want to get an assumption of mine out there. Maybe "Minimum 1. Hide the categories module entirely if they have 0."

@HNordeenWMF FYI I added a couple of more questions in this area, when they are hashed out can you make sure the requirements are updated?

https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6?node-id=353-2715&m=dev#1490535425
https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6?node-id=353-2715&m=dev#1490549316

We also should have some design or direction for iPad layout and landscape (iPad or iPhone). This view could be very wide on the largest iPad sizes.

@HNordeenWMF I also want to capture how Voice Over should read for some of these labels.

https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6?node-id=353-2715&m=dev#1490587935

The saved & categories module feel more straight-forward. I assume we will hide the saved articles images from Voice Over, if you agree.

HNordeenWMF updated the task description. (Show Details)
HNordeenWMF updated the task description. (Show Details)

@HNordeenWMF Just some suggestions to be a bit more explicit:

Require user to have an account to see activity

Could add something like (logged-out state will be built in T407010). Until that is built we can ensure the logged-out state is blank.

Tapping on the module should take the reader down to Timeline.

Could add something like (timeline will be built in T407009). This means this task can't fully be completed until timeline is done, just FYI.

Show up to 3 "Top categories" this month (minimum 1)

Just want to get an assumption of mine out there. Maybe "Minimum 1. Hide the categories module entirely if they have 0."

@Tsevener I've updated the task

@HNordeenWMF I also want to capture how Voice Over should read for some of these labels.

https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6?node-id=353-2715&m=dev#1490587935

The saved & categories module feel more straight-forward. I assume we will hide the saved articles images from Voice Over, if you agree.

I can't open this since I don't have dev mode - @SChekfa-WMF can make a decision there

HNordeenWMF renamed this task from Activity tab (user story) logged-in readers to [L] Activity tab (user story) logged-in readers.Oct 29 2025, 7:47 PM

Please see "Testing Notes" in task description for design review testing notes.

These items must be fixed before the ticket moves to QA

  • T409352 Logged-in readers Design review: Must-fix (P0) items
  • T409356 Design review bug: With dynamic text, reading module cut off up top, user cannot scroll up/down

These items are nice to have fixes for future sprints

  • T409355 [Spike] Design review bug: Border missing between first and second category on iPhone only
  • T409357 Logged-in readers Design review: Nice to fix (P2) items

@Tsevener — @HNordeenWMF and I discussed that, to avoid confusion in the design sign-off lane, we'll keep the user story tickets in the "Did not pass design" lane while the subtickets that Haley created from the design sign-off spreadsheet are being worked on. as I review those subtickets, I'll return here and check off the subtickets as they pass design review. then, once all those subtickets have been reviewed, i'll move the larger user story into Ready for QA.

does that process work for you?

ABorbaWMF subscribed.

Looks good in terms of items being present and counts appearing correct; however, much of the functionality is not yet in. Moving this to signoff. Tested on 7.8.5 (5873). Tested on iPhone 16 on iOS 26, iPad 12.9 on iPadOS 26, and iPhone 11 on iOS 18.