⚓ T361655 Allow navigating back to edit state from Preview in new talk page topic
Page MenuHomePhabricator

Allow navigating back to edit state from Preview in new talk page topic
Closed, ResolvedPublicBUG REPORT

Description

Steps to recreate:

  1. Navigate to an existing talk page
  2. Create a new topic
  3. Tap Next to view the message preview
  4. Tap back

Expected Result:

  • The talk page message editing state appears, with what I had already typed
  • If I navigated back again the edit state, I would see the confirmation if I'm sure I want to exit and lose my draft.

Actual Result:

  • Dialog box asks you "Are you sure you want to exit?" The subject and content will not be saved
  • Choosing Yes brings me back to the talk page and I am not able to edit my message

Event Timeline

This has also added the dialog box (Are you sure you want to exit) when a user navigates back after starting a reply to a comment.
It looks like the reply is automatically saved after navigating away to another page and returning to the talk page, but lost if you close the app completely. Although it's a slightly different behavior than creating a new topic, I think it's ok to be on the safe side and have the dialog box for both.