studyopenings icon indicating copy to clipboard operation
studyopenings copied to clipboard

Confirm deletions before doing them. Or add undo.

Open jven opened this issue 7 years ago • 2 comments

Right now deleting a move and deleting a repertoire are irreversible actions so accidentally doing them can lose a lot of data.

Either add an "Are you sure?" warning or make these actions undoable.

jven avatar Jan 03 '19 16:01 jven

This was reported once by a user:

"I lost my repertoire by clicking the trash icon and there is no ctrl Z or way to go back :("

jven avatar Jan 05 '19 04:01 jven

I added an "Are you sure" dialog for deleting repertoires in abde78ca6fa7697da50b5ca70523ff16f47fa0f7.

Should be able to do the same for deleting nodes from the TreeModel. Maybe the dialog can be shown only if deleting >= 5 moves or so.

jven avatar Feb 01 '19 07:02 jven