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
- Show tooltip only once, on article or explore feed profile icon
- "Got it" dismisses tooltip but not profile badge states
- Show tooltip after someone has ignored or closed the New feature announcement (will be built in T376316)
- Show when someone returns to Explore or Article view after having navigated away from YiR (clicks done, clicks a link, clicks donate from a slide)
- Add tooltip impression event to analytics (deck)
Designs
Engineering Notes
- Create and display a tooltip using our existing component WMFTooltipViewController.
- Create a new user defaults flag for tracking if a user has already seen this tooltip before.
- Create a new simple boolean flag in WiR data controller for tracking if a user needs to try to see a tooltip.
- In WiR coordinator, when user performs an action in WiR that causes WiR to dismiss prematurely, after WiR has dismissed but before we navigate them away, set simple boolean flag = true.
- Also, when dismissing feature announcement, check user defaults flag, present tooltip if flag is no. Set user defaults flag to yes after presentation.
- Then in Explore & Article viewDidAppear, present tooltip if simple boolean flag = true and user defaults flag = false. Set user defaults flag to true, simple boolean flag to false after tooltip presentation.
