Add remove button to worktrees in dashboard #91

Closed
opened 2026-01-04 12:10:11 +00:00 by mprihoda · 1 comment
mprihoda commented 2026-01-04 12:10:11 +00:00 (Migrated from github.com)

Add a 'Remove' button to each worktree card in the dashboard that would trigger 'iw rm' to remove the worktree. This would allow users to clean up completed worktrees directly from the UI without needing to use the CLI.

Add a 'Remove' button to each worktree card in the dashboard that would trigger 'iw rm' to remove the worktree. This would allow users to clean up completed worktrees directly from the UI without needing to use the CLI.
Member

Intake: fixed by f6df2c23

Each worktree card on the project page has a Remove control (f6df2c23, "feat(dashboard): Remove on the project page worktree cards"). It uses the same confirm and dirty-worktree path as the detail page, which 41158f7c added ("feat(dashboard): remove a worktree from the browser"). That control runs the project's own ./iw rm <key> --no-prompt through POST /api/worktrees/:issueId/remove. Both commits are on main.

The cards on the waiting board have no Remove button. This is intentional: f6df2c23 keeps a destructive control away from the actions a human must do there, and a test enforces it. If you want Remove on those cards too, reopen this issue or open a new one.

Intake: fixed by f6df2c23 Each worktree card on the project page has a Remove control (f6df2c23, "feat(dashboard): Remove on the project page worktree cards"). It uses the same confirm and dirty-worktree path as the detail page, which 41158f7c added ("feat(dashboard): remove a worktree from the browser"). That control runs the project's own `./iw rm <key> --no-prompt` through `POST /api/worktrees/:issueId/remove`. Both commits are on main. The cards on the waiting board have no Remove button. This is intentional: f6df2c23 keeps a destructive control away from the actions a human must do there, and a test enforces it. If you want Remove on those cards too, reopen this issue or open a new one.
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
iterative-works/iw-cli#91
No description provided.