Skip to content

fix(composer): larger fonts and Enter-to-advance in new-workspace dialog#920

Merged
AmethystLiang merged 1 commit intomainfrom
fix-new-worktree-card
Apr 21, 2026
Merged

fix(composer): larger fonts and Enter-to-advance in new-workspace dialog#920
AmethystLiang merged 1 commit intomainfrom
fix-new-worktree-card

Conversation

@AmethystLiang
Copy link
Copy Markdown
Contributor

Summary

  • Bump field fonts in the Cmd+N New Workspace dialog so labels/inputs aren't cramped (labels text-xs, inputs text-sm h-9, incl. Note and Setup script labels).
  • Enter on Workspace Name now moves focus to the Agent combobox instead of doing nothing.
  • Enter on the Agent combobox trigger (closed) submits the form via a new optional onTriggerEnter prop, guarded by createDisabled.
  • Small pt-3 on the fields container so the form sits slightly lower under the dialog header.

Test plan

  • Open Cmd+N, verify labels/inputs are legible and aligned.
  • Type a workspace name, press Enter → focus lands on Agent combobox trigger.
  • With the Agent combobox closed, press Enter → workspace is created.
  • Cmd/Ctrl+Enter submit still works globally inside the dialog.
  • Agent combobox still opens on ArrowDown/ArrowUp and seeds query on printable chars.

Bumps labels to text-xs and inputs to text-sm/h-9 so fields aren't
cramped in the Cmd+N composer. Enter on the Workspace Name field now
moves focus to the Agent combobox; Enter on the Agent trigger (closed)
submits via new optional onTriggerEnter prop, guarded by createDisabled.
@AmethystLiang AmethystLiang merged commit 55d15f4 into main Apr 21, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant