Repository navigation
fix(bots): move New bot's Use chat defaults link to the footer, muted - #49486
Merged
orca-remote-automation[bot] merged 6 commits intoNov 26, 2026
Merged
Conversation
orca-remote-automation
Bot
requested a review
from brennanb2025
as a code owner
November 26, 2026 03:27
added 5 commits
November 25, 2026 19:34
…ate after a reset
… defaults link truncates
…runcating label; locale fixtures assert one row
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
BotAgentLaunchPickergetsshowReset(default on) and exportsbotAgentSetupOnDefaults, the unchanged reset logic, so the footer and the inline link share it. Only New bot'sfieldslayout hides the inline link; bot settings, automations and the Import dialog keep theirs.NewBotDialogFooter.tsx(the dialog was at the line cap), with the same protected-copy marker. The link gets a title naming what it resets.chatDefaults340/480,chatDefaultsTemplate340andchatDefaultsFocus340show 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.
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.
Empty name with a model picked, 340 (Template hidden, one row):

Keyboard focus, 340:

Testing
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:changedpasses.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
Notes
Renderer-only; no platform, SSH or mobile impact.
Checklist
pnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)