Redesign worktree card for clearer next actions #118
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#118
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?
Rethink the worktree card design:
Intake: needs-input
1. Where must the card get each worktree's "next step"?
The review-state card already has an
available_actionsfield (core/model/ReviewStateValidator.scala:376-381). The dashboard does not read it. The card now shows the status text and subtext from review-state (WorktreeCardRenderer.scala#L905-L916). It also shows the tracker status, the git status and the PR.available_actionsthat the workflow writes. The dashboard decides nothing, but a worktree with no review-state gets no next step.Recommended: a) — the workflow already writes this data, so the dashboard keeps no second copy of the workflow rules.
2. What can the "action buttons" do?
The card now has only links: Repo, PR and Zed (WorktreeCardRenderer.scala#L560-L650). Buttons that run commands overlap open issues #91 (remove button), #477 (one orchestration for worktree commands) and #354 (send instructions to an agent).
Recommended: a) — it changes the least and does not get ahead of #477.
3. Must this be an interactive design slice with you, or an unattended change from a written spec?
The issue says "rethink" and "reduce cognitive load". It is difficult to judge that without a person who looks at a prototype.
Recommended: a) — "clearer" and "less cognitive load" are fit judgements that only you can make.
Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.