Add remove button to worktrees in dashboard #91
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#91
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Intake: fixed by
f6df2c23Each 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, which41158f7cadded ("feat(dashboard): remove a worktree from the browser"). That control runs the project's own./iw rm <key> --no-promptthroughPOST /api/worktrees/:issueId/remove. Both commits are on main.The cards on the waiting board have no Remove button. This is intentional:
f6df2c23keeps 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.