alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
17 stars 6 forks source link

[User Story]: Enhance Element Management with Undo and Confirm Deletion Options #436

Open kallewesterling opened 2 months ago

kallewesterling commented 2 months ago

Role

As an assurance case editor

Desired Feature

I want to have an undo option and a confirmation prompt when deleting elements to prevent accidental data loss and offer a way to revert changes

Benefit

So that I can manage assurance case elements more securely and efficiently, reducing the risk of unintentional modifications

Acceptance Criteria

GIVEN I am using the assurance case editor, WHEN I select to delete an element, THEN a confirmation prompt should appear asking if I am sure about the deletion, AND the prompt should include a checkbox option 'Do not ask me again' for users who prefer to disable future prompts.

GIVEN I have deleted an element, WHEN I realize it was a mistake, THEN I should be able to use an undo option to restore the element immediately.

Dependencies

Technical Notes

Definition of Done