Show all the different kinds of messages and warnings in context.
Use cases:
- When editing a page that has edit recovery data available, indicate that the data has been recovered. This is tracked in: T342721: Show toast notification when restoring edit data
- When editing a full page and there is already data for one or more sections of that page, show a warning. With an option to delete the section data? Part of this is tracked in: T344410: Decide how we are going to handle editing sections
- When editing a section and there is already data for the full page. Option to switch to editing that section?
The next ones depend on how we handle T342738 (i.e. when separate data is saved when logged-in vs logged-out):
- When editing a page while logged in that you previously edited both while logged in and logged out, explain that there are two possible states to restore.
- When editing while logged out but there exists data for the logged-in user, show a brief warning and suggest they log in. (This might be a bad idea, as it alerts possibly a different person to the existence of the data.)
Give a general overview of stored data:
- Add a link to the personal menu that opens a page that lists ''all'' data that's stored for edit recovery. This could be a list of page titles, with a toggle for each to expand a diff view of the change, and a way to delete each list item. Also, a 'delete all' button somewhere prominent. This is all tracked in: T347673: Create special page to list all recovery data