Background
The Apps team plans to explore if a personalized Wikipedia Year 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.
Task
This task is to build the UI paging component view for the Year in Review paging flow to match designs in Figma. A separate task for the entry point, introduction and closing screens, and the data populating this paging component will be created later. For now a new item in the profile view as an entry point will suffice (badge is not necessary at this point).
Notes:
- New component UI work must live in WMFComponents. Component must theme properly and fonts must scale properly.
- The elements aligned to the bottom (Continue, Learn more buttons, Hashtag card, Share button, paging indicators, Next button) might need to pin to the bottom. The image, title text, and body text will likely need to be scrollable for smaller screens. (Confirm this assumption with design).
- Build with SwiftUI if possible.
- Do not add any animations yet, just a static image for the component.
Before we merge the PR: We need to either remove the entry point in profile, or add a developer feature flag for the entry point (task TBD).
- Test Notes
- To have entry point, test in build 170 OR uncomment lines 178-199 in WMFProfileViewModel - this PR has the entry point commented out
QA Notes
- Install app
- Ensure device region in iOS settings is set to Mexico or Italy
- Ensure primary app language is set to Spanish, Italian or English
- Tap through rabbit hole to build up 6+ articles in the History tab if needed
- Enable year in review feature flag in app developer settings menu
- Background / foreground the app to trigger report creation.
- Year in Review entry point should appear in Profile menu
- Test year in review slides according to Figma. Done button, next button, theming, and dynamic type should work. Note the final donate slide (T376073) will not yet be in place.






