#####User story
As a Wikipedia editor, I want my activity tab to include statistics about my editing on my primary language Wiki similar to how I see on my newcomer homepage, so that I can understand the impact I’m having on the Wikis.
####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
- Add the modules that pull data from the Growth Impact API
- Insights should be for their primary language Wikipedia, and the language Wikipedia should be notated in the Header
- Add **Most viewed since your last edit **
- Include number of views
- Tapping on an article listing takes you to the article
- No time-limit on data
- Add **Contributions this month** module
- Edits this month: Edits from the current calendar month
- Edits last month: Edits from last calendar month
- Tapping on the module should lead to an in-app webview of their contributions (primary language Wiki OK)
- All time impact module - will be done on a separate user story T412070
**TS Changes**
~~While the Growth impact module API call is in progress, still show empty / blank editing modules with a centered spinner in each one.~~
~~If the call fails:~~
~~If server responds with an error, replace spinner with an error label in the module (need mock for this).~~
~~If user doesn't have an Internet connection, replace spinner with an error label in the module ([[ https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=932-1379&t=pGJhRMc3swC19z7j-4 | figma ]]) Also present our existing "No internet connection" toast/snackbar at the top. (screenshot).~~
For loading state: See discussion at https://wikimedia.slack.com/archives/C4DDMJ9CH/p1768424041628099
For no connection error: We are using our existing "No internet connection" snackbar, built in {T407676}
**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
- Graph for contributions this month
- The largest number fills up the entire width, and the smaller number is drawn in proportion to that larger number. Even if that largest number is only 1 edit, it fills the entire width.
- If there are no edits, the bar does not show
NOTE: Empty state will be built on separate user story {T407672}
NOTE: All time impact module will be built on separate user story T412070
####Designs
With Charts: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=355-1631&t=AgNtmUPGd1BDt8k0-4
Backup chartless version: https://www.figma.com/design/2ShBsmgWuzsDAeTafyKzg6/iOS---%3E-Activity-Tab?node-id=757-2397&p=f&t=AgNtmUPGd1BDt8k0-0
####Reference
T399629
####Engineering notes