PostHog / PostHog/posthog

Allow deleting tasks from the sidebar without archiving first

Open
#76,196 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/desktop
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

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:

  1. Right-click → Archive
  2. Open Archived tasks
  3. 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.

Image

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the sidebar right-click context menu and compare its existing Archive actions with the Delete action available for archived tasks. Add the active-task Delete entry and confirmation flow, including worktree removal when present. Done means deletion is confirmed, the task is permanently removed, and it disappears from the sidebar immediately.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.