Closed
Bug 773658
Opened 12 years ago
Closed 12 years ago
Kuma: Template editor - Add warning before discarding edits
Categories
(developer.mozilla.org Graveyard :: Wiki pages, defect, P1)
developer.mozilla.org Graveyard
Wiki pages
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sheppy, Assigned: davidwalsh)
Details
Sometimes you hit the discard button just to avoid adding an additional save on your template because you don't think you made any changes. Sometimes, it turns out you're wrong and you did. Please add a warning confirmation if there were in fact changes.
Comment 1•12 years ago
|
||
Thanks for reporting this, Sheppy.
I would avoid the temptation to use a simple confirmation box -- users learn to ignore them, and instead habituate to clicking the "proceed as usual" button. Have you ever clicked "Yes" in a confirmation box only to realize you have no idea what you agreed to? Same principle.
Instead, I would prefer a GMail-like undo interface: http://docs.moodle.org/dev/images_dev/6/6c/gmail-undo-example.png
Updated•12 years ago
|
Priority: -- → P3
Reporter | ||
Comment 2•12 years ago
|
||
That would work fine too, although I suspect it's harder to implement. If we could get a confirmation dialog added for the short term, that would at least be an improvement.
Also, this needs to be done for discarding anything, not just templates; renaming this bug accordingly.
Summary: Kuma: Template editor - Add warning before discarding a changed template → Kuma: Template editor - Add warning before discarding edits
Reporter | ||
Comment 3•12 years ago
|
||
Also, now that I realize this isn't just about templates, but all edits, this needs to be a bit higher priority; adjusting.
Priority: P3 → P1
Comment 5•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/e271ce7b647546fbd5b99cb4030bf09d322cbe75
fix bug 773658 - Show message before leaving page
https://github.com/mozilla/kuma/commit/1225939903033ee2f7d5e8007a58051dff72cdab
Merge pull request #504 from darkwing/kuma-templates-773658
fix bug 773658 - Show message before leaving page
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
verified fixed https://developer.allizom.org/en-US/docs/onetwo. Sorry about the false alarm David. I just had to clear my cache
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Website → Landing pages
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•