Skip to content

fix(bots): offer Chat default first in New bot's Agent menu, not the footer - #49644

Merged
orca-remote-automation[bot] merged 4 commits into
mainfrom
bots/chat-default-agent-menu
Nov 26, 2026
Merged

orca-remote-automation[bot] merged 4 commits into
mainfrom
bots/chat-default-agent-menu

Conversation

@orca-remote-automation

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

Copy link
Copy Markdown
Contributor

ELI5

New bot's "Use chat defaults" link sat in the footer, away from the agent it resets. Now "Chat default" is the first choice in the Agent menu, and the Agent field reads "Chat default" while it is chosen.

Files Added Deleted Net
Test 0 0 0 0
Prod 25 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​337 $\color{#cf222e}{\Huge{\mathbf{−}}}$​210 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​127

What Changed

  • Removed the footer link from fix(bots): move New bot's Use chat defaults link to the footer, muted #49486. The New bot footer is back to Template, Back and Create.
  • The Agent menu's first row is Chat default (muted dot), above a separator and the agent tabs. It is checked when nothing is chosen. Picking it clears the agent, model, options and permission choices, so the bot follows the computer's default agent on your chat defaults (a kept "Ask" from a shared link becomes "Same as chats", as Use chat defaults did). Focus returns to the Agent field.
  • While it is chosen, the field shows a muted dot and "Chat default" in muted text. Its accessible name is "Select agent, Chat default". Agent fields elsewhere now also name their shown agent this way.
  • Search lists Chat default too. ArrowUp/Shift+Tab from the agent tabs reach the row, and ArrowDown/Tab return to the tabs.
  • Shared form picker: a choice flagged leading renders over the agent tabs, and an optional triggerIcon gives a muted placeholder label. The menu needs 40px more room below before it opens downward. In short windows the search and two model rows stay whole and the menu scrolls instead of clipping.
  • "Chat default" is short in each locale and fits the 340px field (de "Wie im Chat", es "Del chat", ru "Как в чатах"). The unused footer hint string is removed.

Why

The owner asked for this to live with the agent choice, not the footer. Checked against how comparable products handle this.

Linked Issue

N/A (internal design follow-up to #49486).

Visual Proof

Component fixtures from head 9200878 (seeded data). Left: a model picked, menu open. Right: nothing chosen, Chat default checked.

Menu open, 480

Light Dark

Menu open, 340

Light Dark

Field after picking Chat default (480 and 340)

Light Dark

de / es / ru at 340: field after picking, and menu open

Testing

  • Component fixtures at 340/480, light/dark, and de/es/ru. The fixtures check that Chat default leads the menu, its checked state, and that the field label fits on one line with focus on the field.
  • Headless Chromium at 900×400/510 (en/es/ru, New bot from a link and the source-control recipe picker): search fully visible and clickable, model list at least 72px, menu scrolls.
  • pnpm check:changed passes (format, lint, typecheck, related unit tests, ratchets, localization).
  • No new unit test: this is UI wiring.

Performance

None, because this only adds one menu row and a few class names to a dropdown that renders while it is open.

Risk

Level: Low. The riskiest part is the shared form agent picker: it now scrolls in very short windows and keeps two model rows, and its trigger's accessible name includes the shown agent. A plain revert backs it out; no saved data changes.

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 paths change.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I stated the risk
  • Screenshots attached
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered
  • pnpm check:changed passes; CI covers the rest

@orca-remote-automation
orca-remote-automation Bot force-pushed the bots/chat-default-agent-menu branch 2 times, most recently from e9d3eed to e983266 Compare November 26, 2026 10:51
@orca-remote-automation
orca-remote-automation Bot force-pushed the bots/chat-default-agent-menu branch from e983266 to a65f21b Compare November 26, 2026 12:23
@orca-remote-automation
orca-remote-automation Bot merged commit 44c6468 into main Nov 26, 2026
57 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