When restoring page edit data a visual notification should be shown above the edit form (e.g. where the "you're not logged in" banner is shown) notifying users that the form contents that they're seeing has been restored from the saved version and is not the current page data.
The notification should have the title "Changes recovered" and text "Your unsaved changes have been automatically recovered." This is the text that VisualEditor uses in the same situation.
It should also have the option of un-restoring, and returning to the actual page data. Un-restoring should delete the restored data (because the user is declaring that they no longer want it).
The primary action in the notification should be to 'show changes', which opens the diff. This should work equally well when live preview is enabled.
Dismissing the notification can be done by clicking it or discarding the changes.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | https://phabricator.wikimedia.org/T342721 here |