You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the "Delete all tasks" option in the navbar can be triggered even when there are no tasks available for the selected user. This leads to confusing behavior, as the user expects an action only when tasks actually exist.
Expected Behavior
The delete action should only run when tasks are present.
If no tasks exist, the user should be clearly informed with a message or toast.
Actual Behaviour
The delete action is still triggered even when no tasks exist.
There is no clear indication that there were no tasks to delete.
Steps to Reproduce
Select a user/email that has no tasks.
Click on "Delete all tasks" from the navbar.
Observe that the delete action is triggered even though no tasks exist.
Environment
Browser: (e.g., Chrome)
OS: macOS
Bug Screenshots
When no tasks exist and delete is clicked:
Screen.Recording.2025-12-09.at.2.06.05.PM.mov
Additional Context
This results in a confusing user experience, as users may think their data was deleted when no tasks were actually present. Adding a guard with a user-facing message improves clarity and UX.
Description
Currently, the "Delete all tasks" option in the navbar can be triggered even when there are no tasks available for the selected user. This leads to confusing behavior, as the user expects an action only when tasks actually exist.
Expected Behavior
Actual Behaviour
Steps to Reproduce
Environment
Bug Screenshots
When no tasks exist and delete is clicked:
Screen.Recording.2025-12-09.at.2.06.05.PM.mov
Additional Context
This results in a confusing user experience, as users may think their data was deleted when no tasks were actually present. Adding a guard with a user-facing message improves clarity and UX.