Summary
Add a Delete action to the task sidebar right-click menu so users can permanently remove a task without archiving it first.
Problem
I keep my sidebar clean and delete tasks often. Today, deleting a task from the sidebar requires:
- Right-click → Archive
- Open Archived tasks
- Right-click → Delete
That’s slow for a common cleanup flow. Tools like Cursor expose delete directly in the sidebar context menu; PostHog Code should too.
Archiving is useful when you might restore later. For “I’m done, get this out of my list,” archive-then-delete is unnecessary friction.
Desired behavior
- Right-click a task in the sidebar
- See Delete next to Archive / Archive prior tasks
- Confirm in a dialog
- Task is permanently removed (including worktree when present)
- Task disappears from the sidebar immediately
Current behavior
- Sidebar context menu has Pin, Rename, Archive, Archive prior tasks, etc.
- Delete is only available for archived tasks
- Active tasks cannot be deleted directly from the sidebar
Summary
Add a Delete action to the task sidebar right-click menu so users can permanently remove a task without archiving it first.
Problem
I keep my sidebar clean and delete tasks often. Today, deleting a task from the sidebar requires:
That’s slow for a common cleanup flow. Tools like Cursor expose delete directly in the sidebar context menu; PostHog Code should too.
Archiving is useful when you might restore later. For “I’m done, get this out of my list,” archive-then-delete is unnecessary friction.
Desired behavior
Current behavior