[CONTEDIT-53] Add basic safe-guard when closing the article editor UI Created: 16/Mar/17  Updated: 08/Sep/17  Resolved: 24/Mar/17

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Improvement Priority: Neutral
Reporter: Andreas Weder Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File Warning shown before closing the editor.bmml     PNG File Warning shown before closing the editor.png     PNG File Warning when deleting an article.png    
Issue Links:
Relates
relates to CONTEDIT-23 Quickly publish article on the web Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Initial Article editor
Sprint: Basel 88
Story Points: 3

 Description   

We should warn the user that he should safe changes before closing the editor. Currently, if you close the editor, all changes you haven't saved are lost.

As a first measurement, we simply show a warning dialog asking you whether you want to really close the editor, if you click on the "cancel" button or the "x" on the tab. This dialog looks and works similarly to the "delete" dialogs we have in content apps such as "Articles" app.

Goals

  • If you click on "cancel", I see a warning dialog informing me that by closing the editor, all unsaved changes are lost.
  • If you click on the "x" of a tab showing the article editor, I see the same light dialog.

What we don't need

  • Please do NOT invest in a feature detecting unsaved changes, as there's plenty of other stuff to do before the first release.

Generated at Mon Feb 12 00:16:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.