What's requested:
Currently, when a user reaches visual editor through the mobile apps (while using the returntoapp=true parameter), it automatically redirects to a url like this upon edit publish and edit abandon: wikipedia://en.wikipedia.org/wiki/Cat?saved=true&revision=1234. See T422075: [SPIKE] Decide on and implement return to app parameter for background on this work.
Apps now do not want to automatically redirect in these instances, and instead display a blue banner along the top that says "Back to the app". You can view designs in the Figma linked at this parent task: T431857: [User Story] Visual Editor: App return journey from web.
Figma link here: https://www.figma.com/design/ZhMT1jiTjWfDhKB713cDfX/Visual-Editor-Hand-off?node-id=991-1623&p=f&t=5BA96IBPnI4EN127-0
This banner should display at the top of the article when the user either successfully posts an edit or if they abandon the edit. Upon tap of this blue banner, the redirect to wikipedia://en.wikipedia.org/wiki/Cat?saved=true&revision=1234 should trigger.
Why it's requested:
User testing was done on this flow, and it was unanimous that users want to be able to choose for themselves if they go back to the app. Link to user testing report here: https://docs.google.com/document/d/1oGUtSbTe4DfFKejO29BFm_jUw94ATcg6wpgH2VdD6-Q/edit?usp=sharing
Deadline for request:
As soon as possible please - our deadline in Asana for the hypothesis launch is September
Other helpful information:
Single screen taken from Figma for info but please see the link too:
