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
- Present survey only once, after someone has completed the Year in Review flow
- Allow users to select an option AND leave text feedback
- Results should be sent to analytics (work will be done in T376302)
- Ensure survey is presented in these scenarios
- After someone has viewed the closing donate slides (T376073)
- After someone has donated from the in-app Webview of "learn more about our work" from the last slide and returned
- After someone has donated from the last slide's donate option in the top left and returned from Web via "Return" or has seen the donation confirmation toast
Designs
Engineering Notes
- Tweak WMFSurveyView component to allow a configuration for single-select in the first section (by default it seems to be multi-select).
- Create new user defaults flag to track whether they saw this survey or not.
- Create a new simple boolean flag in WiR data controller for tracking if a user needs to try to see a tooltip.
- If user has tapped "Continue" on last slide (T376073), before WiR dismissal, set new simple boolean flag = true.
- If user has tapped "Donate" on last slide (T376073), after WiR dismissal but before navigating to donate, set new simple boolean flag = true.
- In Explore or Article viewDidAppear, if new simple boolean flag = true and user defaults flag in bullet point 2 = false, display survey view. Set user defaults flag = true and new simple boolean flag = false after presentation.
- Work for where we POST this response (will be sent to analytics) will be done in T376348
