spawn form: the branch field's label duplicates the mode radios #94

Closed
opened 2026-08-24 14:28:12 +01:00 by naps62-yolo · 0 comments
Collaborator

With the worktree section open the box currently reads:

☐ Create git worktree
  ( ) New branch   ( ) Existing branch
  Branch [________]

Three controls say "branch" and none of them says which. The field labelled Branch is the new branch name in one mode and an existing branch picker in the other; both are literally <label>Branch</label> in the markup (.wt-new-wrap and .wt-exist-wrap), with one hidden at a time. Reading the form, you cannot tell what the field wants.

Make the label say what the field is in the mode it belongs to — the new-branch input and the existing-branch select need distinct, self-explanatory labels — or drop the mode radios and let one control carry both meanings.

Whichever way it goes, the same wording applies to the TUI draft pane so the two clients do not describe the same field differently.

Depends on: the worktree-collapse issue, which edits the same fieldset markup.

With the worktree section open the box currently reads: ``` ☐ Create git worktree ( ) New branch ( ) Existing branch Branch [________] ``` Three controls say "branch" and none of them says which. The field labelled `Branch` is the *new branch name* in one mode and an *existing branch picker* in the other; both are literally `<label>Branch</label>` in the markup (`.wt-new-wrap` and `.wt-exist-wrap`), with one hidden at a time. Reading the form, you cannot tell what the field wants. Make the label say what the field is in the mode it belongs to — the new-branch input and the existing-branch select need distinct, self-explanatory labels — or drop the mode radios and let one control carry both meanings. Whichever way it goes, the same wording applies to the TUI draft pane so the two clients do not describe the same field differently. Depends on: the worktree-collapse issue, which edits the same fieldset markup.
naps62-yolo added this to the Spawn v2 milestone 2026-08-24 14:28:12 +01:00
naps62-yolo added the area/tuiarea/webtype/fixdifficulty/easy labels 2026-08-24 14:28:12 +01:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Reference: naps62/maestro#94