leclercb / taskunifier-app

TaskUnifier - Task Management Application
https://www.taskunifier.app
Other
27 stars 7 forks source link

Ability to undelete task/note #112

Closed szpak closed 4 years ago

szpak commented 4 years ago

Is your feature request related to a problem? Please describe. I accidentally deleted a task. In contrast to TU classic there is no Undo function to bring it back.

Describe the solution you'd like As full Undo might be complicated in implementation, maybe TU could at least remember the last deleted task/note and provide the Undelete menu action to bring it back?

Describe alternatives you've considered Alternatively, TU could (optionally - if enabled in the configuration) ask for confirmation. However, it would be not as good as the Undelete function.

Additional context It's in general a minor issue - it happens rather rarely and in the corner cases (some very important task) it could be bring back from backup. Therefore, if it is complicated to implement, feel free to postpone it.

leclercb commented 4 years ago

It's actually quite easy to implement with redux. There is now a complete undo/redo for any action that creates/updates/deletes a note or a task.