#####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
- Modules should be as following:
- 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
- Monthly edits 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
- Not tappable
- No time-limit on data
- Contains the elements
- Total Edits
- Thanks Received
- Best Edit Streak
- Last time edited
- Your recent activity (last 30 days)
- Filter data to last 30 days
- Views on articles you’ve edited
- Filter data to last 30 days
**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
- Graph for "Your recent activity"
- Graph for "Views on articles you've edited"
NOTE: Empty state will be built on separate user story {T407672}
####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