Skip to content

fix(bots): move New bot's Use chat defaults link to the footer, muted - #49486

Merged
orca-remote-automation[bot] merged 6 commits into
mainfrom
orca-remote-automation/herring
Nov 26, 2026
Merged

orca-remote-automation[bot] merged 6 commits into
mainfrom
orca-remote-automation/herring

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

In the New bot dialog, "Use chat defaults" was loud and took its own row under the Agent picker. Now it is a small muted link on the button row, left of Create.

What Changed

  • Before: dark 13px link under the Agent select, adding a row to the form.
  • After: 12px muted link in the footer row, left edge on the dialog content edge (the Computer select's), same baseline as Create. Hover: foreground + underline. Keyboard focus: ring. Create stays right-aligned. The dialog is shorter.
  • BotAgentLaunchPicker gets showReset (default on) and exports botAgentSetupOnDefaults, the unchanged reset logic, so the footer and the inline link share it. Only New bot's fields layout hides the inline link; bot settings, automations and the Import dialog keep theirs.
  • New bot's footer moved to NewBotDialogFooter.tsx (the dialog was at the line cap), with the same protected-copy marker. The link gets a title naming what it resets.
  • While the link shows, the Template button hides (Template replaces the dialog, so it was already offered only before anything is chosen); this keeps the footer on one row at 340px. After the link resets, focus moves to Create (or to the Agent picker when Create is disabled) instead of the dialog's top. The footer stays on one row in every locale: the link truncates with an ellipsis while Back and Create keep their labels. The link also hides while the Agent field shows a placeholder (no agents, WSL waking or setting up), as the inline link did.
  • Fixtures chatDefaults340/480, chatDefaultsTemplate340 and chatDefaultsFocus340 show the link after picking a model.

Why

The link competed with the selects. On the button row it reads as a secondary action and the form reads as Computer and Agent. Checked against how comparable products handle this.

Linked Issue

N/A (internal design request).

Visual Proof

Component fixtures (seeded, 2x). After shots are from head e806327. Hover can't be captured headless.

Before (main) After
480 light
480 dark
340 light
340 dark

Shared-link bot (Ask permission), 340: link, Back and Create on one row. In longer locales the link truncates with an ellipsis instead of wrapping the footer.

Light Dark
English
German
Spanish
Russian

Empty name with a model picked, 340 (Template hidden, one row):

Keyboard focus, 340:

Testing

  • I manually tested these changes locally (component fixtures, light/dark, 340px and 480px; picking a model shows the link, clicking it clears the model and hides it)
  • Automated tests added/updated, or explained why not below: UI-only layout change; no unit test per repo rules
  • Every added test fails without this change and avoids the test anti-patterns (none added)

Measured on the 2x shots: link left edge = Computer select left edge, Create right edge = Agent select right edge, link text and Create label occupy the same pixel rows. No wrapping at 340px. pnpm check:changed passes.

Performance

None, because this only moves an existing button within the dialog; no new state, effects or subscriptions.

Risk

Low. Visual only in the New bot dialog; reset behaviour is the same function as before. Back out with a plain revert.

Level: Low

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Renderer-only; no platform, SSH or mobile impact.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I stated the risk
  • Before/after screenshots attached
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@orca-remote-automation
orca-remote-automation Bot merged commit def8e80 into main Nov 26, 2026
58 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.

0 participants