Page MenuHomePhabricator

Activity Tab: Display statistics from Growth impact module
Closed, ResolvedPublic8 Estimated Story Points

Description

Note: these were pulled just for the users's primary language

This encompasses everything from the designs that is provided by the impact module, including:

  • Edit count by day (can be summed by month)
  • Pageviews of articles edited
  • Total edit count
  • Total thanks received
  • Best Edit Streak
  • Article edited with most views
  • Last time edited
  • All Time Views on articles edited

Figma: https://www.figma.com/design/MXUBnIJvHfMBHhPZta7yRm/Android---%3E-Activity-Tab?node-id=75-3473&t=9oRa7kYLcIu8T4wQ-4

Event Timeline

Seddon set the point value for this task to 8.Jul 29 2025, 4:19 PM
Seddon triaged this task as Medium priority.Aug 19 2025, 3:04 PM
cooltey updated the task description. (Show Details)
JTannerWMF subscribed.

I've updated this task to reflect that the suggested edit CTA should show up when monthly contributions are 0 instead

ABorbaWMF subscribed.

Testing on 2.7.50547-r-2025-09-09

Tested on Pixel 6 on Android 15 and OnePlus 8 on Android 13.

I found a few issues here:

  1. Navigate to Activity tab
  2. View the Contributions this month
  3. View All time impact, total edits
  4. View the last edited date
  5. Tap make an edit
  6. Make some edits (I added 2 short descriptions, and added 1 image and caption)
  7. Return to Activity tab and view the items in steps 2, 3, and 4

Expected: new edits reflect on the activity screen.
Actual: new edits are not reflected

Edits this month, 3 today:

Screenshot_2025-09-10-13-49-51-08_2c49f68a4a6b3359d2a6bd122cb3bac6.jpg (1,080×2,400 px, 316 KB)

Activity tab after edits. Note edits this month, total edits, and last edited date have not updated:

Screenshot_2025-09-10-13-40-14-39_2c49f68a4a6b3359d2a6bd122cb3bac6.jpg (1,080×2,400 px, 367 KB)

Hi @ABorbaWMF and cc @JTannerWMF

Yes, this is something expected. The growthexperiments/v0/user-impact endpoint has a limit of 10 API calls a day, and we had a cache logic that only updates the data if the last update is over 12 hours ago.

Moving to PM signoff. @JTannerWMF, we may want to explain to the user that updates are in 12-hour increments.

@Dbrant similar question here: Is a month calendar? Or previous 30 days

@Dbrant similar question here: Is a month calendar? Or previous 30 days

This is by calendar month.

@Dbrant could you confirm this is how it's working for each item?

  • Most viewed since your edit: no time frame?
  • Contributions this month
    • Edits this month: Current calendar month?
    • Edits last month: Last calendar month?
  • All time impact: no time frame?
  • Your recent activity (last 30 days): T-30 days?
  • Views on articles you’ve edited: T-30 days?

@Dbrant could you confirm this is how it's working for each item?

  • Most viewed since your edit: no time frame? ✅
  • Contributions this month
    • Edits this month: Current calendar month? ✅
    • Edits last month: Last calendar month? ✅
  • All time impact: no time frame? ✅*with a tiny caveat: The "total thanks" and "longest streak" is based on your most recent 1000 edits, due to technical limitations of this API. (the Web version of the Growth impact module mentions this.)
  • Your recent activity (last 30 days): T-30 days? ✅
  • Views on articles you’ve edited: T-30 days? ✅