Add sidebar fixed-item visibility controls - #2478
Open
brsbl wants to merge 4 commits into
Open
Conversation
….com:get-bb/bb into bb/sidebar-top-region-item-toggles-thr_2e2gbjx943 # Conflicts: # apps/app/src/components/sidebar/AppSidebar.tsx # apps/app/src/components/sidebar/ProjectList.tsx # apps/app/src/components/sidebar/SidebarThreadSearchPanel.test.tsx
brsbl
added a commit
to brsbl/bb
that referenced
this pull request
Aug 26, 2026
brsbl
changed the base branch from
bb/sidebar-splits-thr_2e2gbjx943
to
bb/build-search-palette-layer-thr_z45dnp4jyw
August 26, 2026 19:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong
The sidebar’s two fixed top-region rows—New thread and Extensions—had no item-level visibility preferences. The legacy hidden-plugin preference could also still contain the built-in
__builtin__/toolskey, so introducing an Extensions preference without a one-time, order-independent handoff would either resurface a previously hidden row or consume unrelated plugin-page state.What changed
Sidebar itemscheckbox group last in Display options and keeps the menu open while toggling__builtin__/toolsentry to Extensions off, preserving plugin-page keys for the plugin-list migrationNo server state, server files, wire contracts, or daemon protocol fields changed.
Before (parent PR #2474 head
23c1937624d5f3a408ba7be3876a461658a03790)Display options ended at Sidebar sections; New thread and Extensions had no item-level controls.
After (this PR head
7071a5a492b58bf0403792ea8c1e8786c8e41468)Sidebar items renders last, with both fixed rows checked by default and no new sidebar chrome.
Toggling Extensions removes only that fixed row; New thread and the rest of the sidebar remain unchanged.
How you verified
pnpm exec turbo run typecheck: 76/76 tasks passedscripts/bb-dev-app current: five toggle cycles, menu retention, hard reload, persisted state, 1440×900 and 1024×768 layouts, light/dark themes, and legacytoolsmigration; zero runtime exceptionsFixes: Updated Sidebar Spec — top-region item toggles layer
BB-Thread-ID: thr_2e2gbjx943