Issue/Description:
Add a Delete option inside the task edit context drawer that deletes the task and automatically dismisses the drawer upon deletion.
Additionally, implement a temporary undo mechanism for deletions (e.g., 5 seconds), similar to the behavior implemented in Files. This would improve usability and prevent accidental permanent deletions.
Expected Behavior:
- A
Delete option should be available within the edit context drawer.
- Upon deletion, the drawer should automatically dismiss.
- A temporary undo option (e.g., snackbar with ~5s timeout) should appear, allowing the user to restore the deleted task.
Other Notes:
The undo action should restore the task to its original list and state.
Issue/Description:
Add a
Deleteoption inside the task edit context drawer that deletes the task and automatically dismisses the drawer upon deletion.Additionally, implement a temporary undo mechanism for deletions (e.g., 5 seconds), similar to the behavior implemented in Files. This would improve usability and prevent accidental permanent deletions.
Expected Behavior:
Deleteoption should be available within the edit context drawer.Other Notes:
The undo action should restore the task to its original list and state.