Allow quickly undoing accidentally marked as done #1702

Closed
opened 2020-02-18 05:49:00 +00:00 by jtojnar · 2 comments
Contributor

When I accidentally click a checkbox of some task, it is marked as done and the only recourse is finding it in the list and unmarking it again.

It would be nice if the “The task was successfully marked as done.” notification contained an “Undo” button allowing us to quickly revert mistakes.

When I accidentally click a checkbox of some task, it is marked as done and the only recourse is finding it in the list and unmarking it again. It would be nice if the “The task was successfully marked as done.” notification contained an “Undo” button allowing us to quickly revert mistakes.
Owner

That sounds like a good idea.

The library we're using for notifications has support for custom markup, we'll probably need to use that and create an "undo" button with callback for callers.

https://github.com/euvl/vue-notification

That sounds like a good idea. The library we're using for notifications has support for custom markup, we'll probably need to use that and create an "undo" button with callback for callers. https://github.com/euvl/vue-notification
Owner

I've added a button to undo a task to the success notification in 5972476735.

I've added a button to undo a task to the success notification in https://kolaente.dev/vikunja/frontend/commit/597247673518bff2012c6dae503fd27b46f7d555.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1702
No description provided.