This task involves the work with showing people a warning of some kind when they are at risk of losing / discarding the comments and topics they are drafting with mobile DiscussionTools
Behavior
Meta
- OS: iOS 15.5
- Browser: Safari
Reproduction Steps
- Using the mobile site, visit a talk page on a wiki where the mobile Reply and New Topic Tools are available. E.g. https://ht.m.wikipedia.org/wiki/Diskisyon_Itilizat%C3%A8:PPelberg_(WMF) .
- Tap the Ajouter une discussion to open the New Topic Tool or a [ répondre ] link to open the Reply Tool
- Type some text into the tool you opened in "2."
- Tap a link that will take you to another page. E.g. the username of someone who has commented on the page.
Actual
- ❗️You are taken, without interruption, to the URL of the page linked within the link you tapped in "4."
Expected
- ✅ Upon tapping the link in "4." a message of some sort appears ask you to confirm that you'd like to navigate away from the page and lose the comment/topic you started drafting in "3."
Done
- "Expected" behavior is implemented