Background
In the prototype of Year in Review, there was a slide for logged-in users that showed the number of articles they read this year. We want to update the copy and logic of the slide.
Requirements
- ✅ The personalized data for this slide should be frozen/cached upon open of the YiR. Calculate the report for this slide when the user first opens Year in Review. After that, if they view more articles / spend more time, this slide should not update (We don't want users to manipulate their YiR). If the user turns off YiR in Settings and turns it back on, this can recalculate.
- i.e. If I open my Year in Review on December 6th, my articles data is for January 1 - December 6th, 2025. If open it again on December 18th, it does not change.
- ✅ Only display the personalized version of this slide to logged-in users with more than 5 articles in their history, and who have spent 1+ minutes looking at articles. If a user is not eligible for the personalized version, they should see the collective version.
- ✅ Update look & feel to match Figma
- ✅Title should include the following variables
- Minutes spent
- # of articles read
- Year
- The first paragraph (50%) should use the formula provided by @SNowick_WMF to place what percent the user is in for readers globally: https://docs.google.com/spreadsheets/d/1fzdsQbC41Cw9bUH_n7CWx3O7WCLVs4dWaQQ_SXhROf8/edit?gid=542339239#gid=542339239. Do not show this paragraph if the user is not in the top 50% or better.
- The first paragraph should also include:
- Average amount of articles users
✅ The second paragraph should update based on language
- Show the collective reading hours for English Wikipedia
- Show the the non-EN collective text about # of languages available
Designs
Personalized versions
EN: https://www.figma.com/design/DHj33gafvUmkiUahLSJgIM/Android---%3E-Year-in-Review-v3?node-id=15-5783&t=J1OrRJqTrMJGK5fk-4
Non-EN https://www.figma.com/design/DHj33gafvUmkiUahLSJgIM/Android---%3E-Year-in-Review-v3?node-id=15-5713&t=J1OrRJqTrMJGK5fk-4
Collective versions
EN: https://www.figma.com/design/DHj33gafvUmkiUahLSJgIM/Android---%3E-Year-in-Review-v3?node-id=18-6683&t=J1OrRJqTrMJGK5fk-4
Non-EN: https://www.figma.com/design/DHj33gafvUmkiUahLSJgIM/Android---%3E-Year-in-Review-v3?node-id=18-6565&t=J1OrRJqTrMJGK5fk-4
Reference
iOS Implementation: T402702
