Closed Bug 1289846 Opened 9 years ago Closed 6 years ago

Ask to confirm when the user clicks the Discard button

Categories

(developer.mozilla.org Graveyard :: Editing, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sheppy, Unassigned)

Details

(Keywords: in-triage)

Currently, when you click the Discard button while editing, your changes are immediately thrown away. This button can be clicked by mistake (I've done it many times), resulting in a loss of work. We should present a box asking the user to confirm that they wish to throw away their changes before doing so. Ideally this box would indicate how much changed in some way, either with a changed word count or even a scrollable pane with a diff (which would be *awesome*).
The confirmation should ideally also be skipped if there have been no changes.
Priority: -- → P3
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.