####Background
The Apps team plans to explore if a personalized Wikipedia in Review feature that displays insights about a user's reading history, editing history, and donation history is engaging for App users, and inspires them to make a donation to the Wikimedia Foundation.
####Requirements
- T- Show total edits made on Wikipedia globally (since registration date)for 2024 up to 500, for their primary language wiki in the App
- Show registration date- Display 500+ if they have more than 500 edits
- Only display if user has more than 1 or more edits
- Only show to logged-in users
- If user has no edits, or is not logged in, show collective slide
Nice to have
- Show primary language code in dynamic illustration
- Show edits for 2024, for their primary language wiki in the App (ok if only shows total under 500), and displays 500+ if they have more
####Designs
| {F57583385} | {F57598612}
| Personalized | Collective
Updated copy:
You've edited 150 times
You've edited Wikimedia projects 150 times since joining on August 20, 2020. Thank you for being one of the volunteer editors making a difference on Wikimedia projects around the world.
####Engineering Notes
- (data half) Upon app resume, pull persisted slide item object for this slide identifier. If evaluated = no, they are logged in, AND remote config does not have a personalized slide kill switch, proceed with fetching their global edit count and registration date ([[ https://en.wikipedia.org/w/api.php?action=query&format=json&meta=globaluserinfo&formatversion=2&guiprop=editcount | example ]]). Store data in persisted report model from T376041. Then set evaluated = yes. If edit count > 0, set display = yes.
- (UI half) Ensure that when we create the view models before presenting slides (see T376044), fetch the persisted model from previous bullet point. If display = yes, build a slide view model for this data (using the report model's metadata). Ensure slide view model is inserted into the correct order, and that associated collective "fallback" slide is NOT inserted.