Skip to content

Remove desktop multi-server UI; target servers from the native menu - #628

Merged
SawyerHood merged 1 commit into
mainfrom
bb/multiple-server-connections-thr_n6agkqm3ca
Jul 12, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
bb/multiple-server-connections-thr_n6agkqm3ca

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

Summary

  • remove the desktop multi-server feature now that multi-machine covers it: ServerRail sidebar switcher, Settings › Servers, server tiles, the bbDesktop.servers preload API/IPC, the multi-entry servers.json registry, per-window active-server state, the per-server renderer view cache (reverts the Cache desktop server renderers #618 rescoping of browser views/IPC/reload shortcuts), status/attention polling, and the autoConnectToLocalServer setting
  • server targeting now lives entirely in the native Window ▸ Server menu: "This Mac", the bb Connect account servers (synced main-process-side from the local server's connect plugin, authenticated with the existing Connect session-cookie handshake), and an optional custom URL entered through a native "Set Server URL…" dialog
  • the target is global (switching reloads all windows), persisted to server-target.json; the local runtime always starts, with popout/system-config sync/auto-update pinned to it

Test plan

  • pnpm exec turbo run typecheck (whole workspace, 45/45)
  • pnpm exec turbo run test --filter=@bb/app --force (1379 tests)
  • pnpm exec turbo run typecheck test --filter=@bb/desktop --force (196 tests, incl. new server-target and reworked connect-sync coverage)
  • pnpm run package && pnpm run smoke:packaged in apps/desktop (packaged app boots, preload bridge answers)

Risk

  • old servers.json entries are not migrated; previously added manual/connect servers reset to "This Mac" and can be re-picked from the menu
  • entering a custom URL no longer probes reachability; an unreachable server shows a load error and you switch back via the menu
  • the menu-open freshness trigger for the Connect list is best-effort (menu-will-show); the list also refreshes on runtime start and every 10 minutes

🤖 Generated with Claude Code

Multi-machine support replaced the desktop app's multi-server workflow, so
the in-app surfaces are gone: the ServerRail sidebar switcher, Settings >
Servers, server tiles, the bbDesktop.servers preload API and IPC, the
multi-entry server registry (servers.json), per-window active-server state,
the per-server renderer view cache (#618 rescoping reverted), server
status/attention polling, and the autoConnectToLocalServer setting.

Server targeting now lives entirely in Window > Server: "This Mac", the
bb Connect account servers (synced main-process-side via the local server's
connect plugin, authenticated with the existing Connect session handshake),
and an optional custom URL entered through a native "Set Server URL..."
dialog. The target is global, persisted to server-target.json, and the
local runtime always starts, with popout/system config/updates pinned to it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@SawyerHood
SawyerHood merged commit 62eb837 into main Jul 12, 2026
10 checks passed
@SawyerHood
SawyerHood deleted the bb/multiple-server-connections-thr_n6agkqm3ca branch July 12, 2026 16:10
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