Repository navigation
Description
The workflow
I use bb Desktop with both the built-in This Mac server and an additional bb Connect server. While working in the app, I want to see which server owns the entire current UI and switch that top-level context without leaving the sidebar.
Today the switch requires opening the macOS Window → Server menu and choosing the other server. That works, but the control is distant from the app context it replaces.
What happens today
bb Desktop already maintains the available server list, active target, authentication, persistence, and switching behavior in the native shell. The selector is exposed only through Window → Server, alongside Set Server URL….
The rendered app receives no server-target state or action through BbDesktopApi, so it cannot present the same native operation in app chrome. Browser and single-server users correctly have no need for this control.
Observed on bb Desktop 0.40.1-nightly.33210961407.1 with This Mac and one bb Connect server.
What you would expect
Add a compact server selector beside the sidebar's back/forward navigation controls:
- Render it only in bb Desktop when at least two server targets are available.
- Show the active server in the trigger tooltip/accessibility label.
- Open a menu listing the same server targets as Window → Server, with the active target checked.
- Route selection through the existing native
setActiveServerTargetpath so authentication, persistence, failure handling, and page loading remain owned by the Desktop shell. - Keep it absent in browsers and for Desktop users with only This Mac.
This placement reflects the scope: changing server replaces the whole bb UI rather than navigating within the current server.
Context and alternatives
A server-provided plugin is the wrong ownership boundary because it is loaded by the server being switched away from and cannot access the Desktop client's configured-server registry through the public SDK. A content-script or private-bridge workaround would be brittle and security-sensitive.
The smallest core implementation appears to be an optional, backward-compatible Desktop bridge contract carrying the current target list plus a fixed IPC method for selecting a target, consumed by a focused sidebar-header component. The existing macOS menu remains available.
I searched open and closed issues for server switch sidebar and server selector and found no duplicate.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 5, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Type Feature, Priority Low, Effort High; labels:
desktop,ui.No reproduction report or pull request was created because the final Type is not Bug.
Switch servers from the sidebar footer (get-bb#7892)