Overview:
Deleting a parent task used to leave its subtasks live. On mobile they still showed up in search; on web they were hidden but still existed. Now deleting a task deletes its whole subtask tree, and restoring it brings back exactly what was deleted with it.
The Problem
Web and mobile delete tasks through the bulk update path, which deleted only the tasks it was sent, so subtasks were left behind under a deleted parent.
Restoring a subtask from Audit Logs could restore every task from the same bulk delete, including other parents and their subtasks.
Subtask counts on the parent didn’t come back after a restore, and task counts were off after a bulk delete.
What’s New
  • Delete cascades to subtasks:
    Deleting a task deletes all of its subtasks at every level, from web, mobile, bulk actions and the API.
  • Smart restore:
    Restoring a task brings back only the subtasks deleted together with it. A subtask the user had deleted separately stays deleted.
  • Restore from Audit Logs and Bulk Actions:
    Restoring one task restores only that task and its subtree, not everything from the same bulk delete. If a task is already restored, an “Already restored” message appears.
  • Clearer delete and restore modals:
    The modals now say that subtasks are deleted and restored with their parent.
  • Accurate counts:
    Subtask counts on the parent update after a delete or restore, and task counts stay correct after a bulk delete.
How It Works
A new background worker reacts whenever a task is deleted or restored. It updates that task’s direct subtasks, and each subtask’s change triggers the next level down, so large subtask trees are handled without slowing down the delete itself.
Why It Matters
No more orphaned subtasks showing up in search or reports, and an accidental delete can be undone cleanly without restoring unrelated work.
1-bulk-delete-modal
2-single-task-delete-modal
3-audit-logs-restore-confirmation
4-audit-logs-already-restored (1)
5-bulk-actions-restore-modal
6-bulk-actions-already-restored