Repository navigation
feat(app): choose each server's terminal shell from its menu - #63539
Conversation
…re are several servers
There was a problem hiding this comment.
Looks sound. Type-check (tsc -b) and the settings/servers unit tests pass. I couldn't load the web Servers page here (no Playwright browsers), so I'm relying on your screenshots for how it looks.
The submenu uses the same createShellOptions and createServerShellController as the old row, and it only shows while serverPagesConnection is ready. Settings search still finds the selected server's row through data-action on the ⋯ trigger. Other callers of ServerRowMenu and ServerRowMenuView don't pass shell, so they're unaffected, and the single-server Preferences section is unchanged.
Public API: unchanged (app UI only).
Minor: the action prop on ShellSetting (and its comment about "the other servers' rows") is now unused and could be dropped.
There was a problem hiding this comment.
The earlier minor point is addressed: the unused action prop and its stale comment are gone from ShellSetting. Its only remaining caller is the single-server Preferences section, which passed no action, so behaviour is unchanged. tsc -b in packages/app passes. Public API: unchanged. Nothing new to raise.
…#258) Ports anomalyco/opencode#63539 (PRE-09): - In multi-server Settings > Servers, removes the inline Terminal shell setting row below each server card and adds a Terminal shell radio submenu inside each reachable server's `...` row menu (matching packages/app/src/settings/servers/servers.tsx and packages/app/src/servers/registry/row-menu.tsx). - Keeps the single-server Settings > Server view unchanged (Connection card with Edit-only menu plus Preferences card with inline Terminal shell picker). - Preserves Settings search reveal targeting (`settings-shell` / `settings-shell:<key>`) on multi-server rows and loads a server's shell list on demand if the row menu opens before initial shells load.
Summary
On the Servers settings page, when there is more than one server, each server's terminal shell is now chosen from its
⋯menu (Terminal shell submenu, current shell checked) instead of a separate row under every server card. With a single server, the Server page keeps its Preferences section with the Terminal shell row unchanged.⋯trigger carries the search target).Checks
bun typecheck(packages/app): passesbun run lint:changed origin/dev: 0 problemssettings.spec.ts"single-server settings expose scoped pages without a server picker": passes (failed once on a cold Vite start, passed on rerun)settings.spec.ts"several servers share one selected server across per-server pages": passesScreenshots
Before (base
dev), shell picker per server card:After, shell in the server menu:
After, server cards without the shell row: