Skip to content

Move the desktop Server menu under bb → Desktop Settings - #4274

Merged
ymichael merged 1 commit into
mainfrom
bb/test-desktop-settings-server-menu-on-m5-thr_apek8qrctk
Sep 24, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/test-desktop-settings-server-menu-on-m5-thr_apek8qrctk

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The desktop app's Server switcher (saved servers, Add Server…, Set Server URL…) was only in Window → Server. That's an odd place for app-level configuration, and people looking in the bb app menu next to Settings didn't find it.

What changed

  • apps/desktop/src/menu.ts: the bb app menu gets a Desktop Settings submenu (after Settings…) containing the Server submenu. Window → Server stays as an alias built from the same createServerMenuItems(args). Each copy has its own menu item ID (bb-desktop-settings-server-menu, bb-server-menu), and installApplicationMenu attaches the menu-will-show refresh hook to both, so the server list stays current whichever copy is opened.
  • apps/desktop/test/menu.test.ts: a new test checks that Desktop Settings → Server shows the same items as Window → Server, and that selecting a server and Add Server… from the new location call the right handlers.
  • apps/desktop/README.md: the Saved servers section now points to the new location and mentions the Window alias.

No wire, CLI, or protocol changes.

How you verified

  • pnpm exec turbo run test typecheck --filter=@bb/desktop: typecheck passes and 435 tests pass. In that full parallel run test/preload-build.test.ts failed once. It passes on its own (vitest run test/preload-build.test.ts test/menu.test.ts: 9/9) and doesn't touch the menu code.
  • Manual check of the packaged desktop app on macOS still to come.

AGENT GENERATED

🤖 Generated with Claude Code

Window → Server stays as an alias for the same submenu.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ymichael
ymichael merged commit 5eeeab4 into main Sep 24, 2026
18 checks passed
@ymichael
ymichael deleted the bb/test-desktop-settings-server-menu-on-m5-thr_apek8qrctk branch September 24, 2026 18:19
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