Repository navigation
Stop mounting panel sidebar accessories in the navigation rail - #4989
Merged
SawyerHood merged 1 commit intoOct 6, 2026
Merged
Conversation
The rail drew each plugin panel's sidebar accessory on top of its icon, clipped to 2rem. Accessories are sized for the trailing column of a sidebar row, so counts overlapped the icon and were cut off. The rail is now icon-only; sidebar rows are unchanged. Co-Authored-By: Claude Code <[email protected]>
SawyerHood
deleted the
bb/disable-panel-numbers-when-using-nav-rail-thr_jkmht94hj5
branch
October 6, 2026 01:50
This was referenced Oct 23, 2026
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.
Human comments
What was wrong
With the
navigationRailexperiment on, the rail mounted each plugin panel'sexperimental_sidebarAccessoryon top of the panel's icon, clipped to 2rem (#4964). Accessories are sized for the trailing column of a sidebar row (4rem by 1.25rem), so a count or short status overlapped the icon and was cut off.What changed
AppNavRail.tsx): the rail is icon-only. It no longer mounts panel sidebar accessories, so an accessory's queries and subscriptions do not run there either.docs/api_to_audit.md, the plugin-authoringfrontend-core-slots.mdreference, andbb-guide-plugins.mdnow say the rail does not mount accessories.No plugin API change. With the rail on, an accessory's value is not shown anywhere on wide viewports, because the rail replaces the rows that carry it.
How you verified
AppNavRail.test.tsx: new case registers a panel with an accessory and asserts the rail neither mounts it nor shows its text. It fails before the change (the accessory mounted once) and passes after.pnpm exec turbo run test --filter=@bb/app -- src/components/sidebar/AppNavRail.test.tsx src/components/layout/AppLayoutSidebar.test.tsxpasses (16 tests).pnpm exec turbo run typecheck lint --filter=@bb/apppasses.pnpm exec turbo run test --filter=@bb/server -- test/services/plugins/plugin-authoring-docs.test.tspasses.🤖 Generated with Claude Code