Skip to content

feat(settings): choose each server's terminal shell from its row menu - #258

Merged
Hona merged 1 commit into
devfrom
ws7/server-shell-menu
Nov 20, 2026
Merged

Hona merged 1 commit into
devfrom
ws7/server-shell-menu

Conversation

@Hona

@Hona Hona commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Ports PRE-09 (anomalyco/opencode#63539, packages/app/src/settings/servers/servers.tsx & packages/app/src/servers/registry/row-menu.tsx):

  • features/settings/src/pages/servers.rs:
    • In multi-server Settings › Servers, removes the inline Terminal shell row from every server card and moves each reachable server's Terminal shell picker into a radio-style Terminal shell submenu inside that server's ... row menu (placed directly after Edit, showing Auto (Default), acceptable shells, and (terminal only) shells).
    • Keeps single-server Settings › Server unchanged (Connection card + Preferences card with inline Terminal shell selector and no submenu in ...).
    • Preserves Settings search reveal targeting (settings-shell / settings-shell:<key>) on multi-server rows and loads a server's shell list on demand if its menu opens before initial shells finish loading.

Screenshots

Single-server Settings › Server (... menu keeps Edit only; inline Terminal shell stays under Preferences, matching official live-settings-servers-row-menu):

Multi-server Settings › Servers (dark 1x — inline shell rows removed; Terminal shell radio submenu inside row ... menu):

Multi-server Settings › Servers (light 1x):

Verification

  • pwsh scripts/guardrails.ps1: 5/5 passed.
  • cargo clippy --no-deps -p opencode-feature-settings -- -D warnings: 0 warnings.
  • cargo check --workspace & pwsh scripts/web.ps1 -Check: passed (web clock: 1005 files in 46 crates).
  • Live verification (proof/ws7/pr2/summary.json, light & dark at 1x & 1.5x):
    • Single-server: inline Preferences › Terminal shell present, no submenu in ... menu, 0 stale-region warnings.
    • Multi-server (2 live servers): 0 inline shell rows, Terminal shell submenu lists Auto (Default), PowerShell 7, Git Bash, and Command Prompt (terminal only), clicking PowerShell 7 sends PATCH /api/experimental/config {"shell":"PowerShell 7"} to the target server, 0 stale-region warnings.

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.
@Hona
Hona merged commit d4f6db6 into dev Nov 20, 2026
@Hona
Hona deleted the ws7/server-shell-menu branch November 20, 2026 08:50
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

Hona added a commit that referenced this pull request Nov 20, 2026
…ing (#266)

- Fold verified fleet PRs #247, #251, #252, #253, #254, #255, #256, #257,
  #258, #260, #261, #262, #263, #264, and #265 (Rune #1290 PRE-11 / #1296)
  into docs/upstream-sync/ledger.{json,md}
- Audit upstream anomalyco/opencode through 92d35f8e18 (+9 commits past
  bf683129fa), adding UP-107..UP-113 and assigning UP-106/UP-108/UP-111 to
  BROWSER-UI
- Update scripts/upstream-sync-check.ts to skip pure *.fixture.* test files
  and route browser UI/history vs extensions commits to BROWSER-UI and WS-9
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