As part of the work to support translating in multiple sessions on mobile (more details in parent ticket: T319180), this ticket proposes to adjust the behaviour when leaving a translation based on the auto-saving status.
Currently, trying to leave a translation shows always a warning (T270484). This will change:
- Trying to leave a translation where there are changes pending to be saved should show an alert warning the user that changes may get lost.
- Trying to leave when changes are saved, or when there is no change made yet, should just return to the dashboard without warning.
This ticket requires the basic autosaving (T322517) to be in place. The next step in this work track will be to support continuing a translation.