Page MenuHomePhabricator

Activity Tab: Monthly Reading Insights
Closed, ResolvedPublic3 Estimated Story Points

Description

Context

The Android team is AB Testing an activity tab inclusive of reading insights against the existing edit tab. The goal is to deepen engagement and increase retention of readers.

Requirements

  • Title section Monthly Reading Insights
    • Include Articles Read for the month
    • Include Articles Saved for the month
  • If articles read, article saved or categories is 0, display a call-to-action for users to discover their recommended articles for the week. When users click the CTA they should be taken to the Reading Lists tab.

figma

Event Timeline

Dbrant updated the task description. (Show Details)
Dbrant added a subscriber: SChekfa-WMF.
Dbrant set the point value for this task to 3.Aug 11 2025, 4:41 PM
Seddon triaged this task as Medium priority.Aug 12 2025, 3:08 PM

@Dbrant thank you for working on this!

some notes for improvement:

  1. on dark and black themes, it seems that the W in the the W icons for imageless articles under "articles saved this month" are faded. could we fix this so that they're black:

Screenshot_20250823-031617.png (2×1 px, 174 KB)
Screenshot_20250823-031335.png (2×1 px, 174 KB)

  1. i cleared my history so that i would have 0 articles read for this month, but i'm not seeing the call-to-action for users to discover their recommended articles for the week appear:

Screenshot_20250823-031617.png (2×1 px, 174 KB)

some notes for improvement:

  1. on dark and black themes, it seems that the W in the the W icons for imageless articles under "articles saved this month" are faded. could we fix this so that they're black:

doh! 👍

  1. i cleared my history so that i would have 0 articles read for this month, but i'm not seeing the call-to-action for users to discover their recommended articles for the week appear:

Screenshot_20250823-031617.png (2×1 px, 174 KB)

done! 👍

APK: https://github.com/wikimedia/apps-android-wikipedia/actions/runs/17220579551/artifacts/3847673898

this looks good, TY!

just one last thing: i'm realizing the buttons here don't match with the other buttons in dark and black modes on the app — can the "Discover through Wikipedia" button used here actually pull the same coloring as other buttons in light and dark mode, as in can it be white text rather than black text, pulling <paper> to match the other buttons such as these:

Screenshot 2025-09-03 at 3.02.53 PM.png (378×814 px, 47 KB)

@Dbrant

Working for me on 2.7.50547-r-2025-09-09

Tested on Pixel 6 on Android 15 and OnePlus 8 on Android 13. Tested on all themes. Tested adding and removing saved articles and lists

@Dbrant could you please document how "Top categories this month" is chosen /
calculated?

@Dbrant could you please document how "Top categories this month" is chosen /
calculated?

For the current month, we display the most-visited categories, in descending order.
(i.e. based on the user having visited articles that were in the same category)

@Dbrant got it, and

  1. did ya'll add any filtering to categories with 2+ spaces as we are doing for Year in Review?
  2. Do you show a category where someone only visited once? (From testing I think yes)
  3. Is a month here the previous 30 days? Or calendar months
  1. did ya'll add any filtering to categories with 2+ spaces as we are doing for Year in Review?

There is no filtering for categories.

  1. Do you show a category where someone only visited once? (From testing I think yes)

Yes

  1. Is a month here the previous 30 days? Or calendar months

This is in fact for the calendar month.

@Dbrant ok here's where I need confirmation

  1. Articles read this month - pulling for the last 30 days?
  2. Articles saved this month - pulling for the last 30 days?
  3. Top categories this month - pulling for the calendar month?

If so, I think it would make sense for Android to make categories the last 30 days to match implementation across (i'll create a task if that's what we decide)

  1. Articles read this month - pulling for the last 30 days?

Yep, T-30 days.

  1. Articles saved this month - pulling for the last 30 days?

Same.

  1. Top categories this month - pulling for the calendar month?

Yes, this is in fact for the calendar month, not the last 30 days.

If so, I think it would make sense for Android to make categories the last 30 days to match implementation across (i'll create a task if that's what we decide)

This would actually not be possible, because of the way we persist categories visited. They are stored in a separate table, and bucketed into calendar months. (They are not tied to specific pageviews. If they were, it would create very negative performance penalties.)

Ok, thanks @Dbrant. Since the definition of a month is fluctuating, I'll add this to our FAQ page.