fix(maestro): distinct labels for the worktree branch field (#94)
The new-branch name input and the existing-branch picker both had a literal <label>Branch</label>, on top of "New branch"/"Existing branch" mode radios — reading the form gave no clue what the field wanted. Kept the mode radios (they name the choice, not the field) and gave each field its own label: "New branch name" for the text input, "Pick a branch" for the select.
This commit is contained in:
@@ -176,11 +176,11 @@ export function createSpawnForm(opts: SpawnFormOptions): SpawnFormHandle {
|
||||
</label>
|
||||
</div>
|
||||
<label class="wt-new-wrap">
|
||||
Branch
|
||||
New branch name
|
||||
<input name="worktree_branch" type="text" placeholder="feat/foo" autocomplete="off" />
|
||||
</label>
|
||||
<label class="wt-exist-wrap" hidden>
|
||||
Branch
|
||||
Pick a branch
|
||||
<select class="branch-select"></select>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user