Repository navigation
Put plugin pages back in flat sidebar rows - #949
Merged
Merged
Conversation
#888 moved plugin-contributed pages into a collapsible "Plugins" section inside the scrolling sidebar content, and split the built-in row out into a separate Extensions button. The section broke drag reorder for the rows it wrapped. Restore the pre-#888 sidebar: flat plugin nav rows in fixed chrome above the thread list, with the built-in row leading the list and sharing the same order and hide preferences. Two changes on top of the revert: - The built-in row is named "Extensions", not "Tools". Its internal id stays "tools", so an order or hidden list a user already saved keeps naming the same row. - The Automations row is no longer filtered out while the toolsHub experiment is on. Extensions no longer contains Automations, so the filter would leave the page with no sidebar entry. Tests: @bb/app typecheck, lint, and 2327 tests pass. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Collaborator
Author
|
🚨 SLOP COP 🚨 · I am SlopCop. I am reviewing this pull request for security, code quality, performance, architecture, and user-path behavior. |
amadad
pushed a commit
to amadad/bb
that referenced
this pull request
Aug 14, 2026
## What Revert the sidebar layer of get-bb#888. - Delete `PluginNavSidebarSection.tsx`. There is no collapsible **Plugins** group any more. - `AppSidebar` mounts `PluginNavSidebarItems` again as flat rows in fixed chrome above `SidebarContent`, not inside the thread scroll area. - Remove `pluginNavSidebarCollapsedAtom` and its `bb.sidebar.pluginNavCollapsed` storage key. - Remove the separate **Extensions** button from `ProjectListActionButtons`. - Restore `seedLeadingNavPanelKeys()`, so the built-in row stays on top for users who already reordered their rows. Two changes on top of the revert: - The built-in row is named **Extensions**, not **Tools**. Its internal id stays `"tools"`, so an order or hidden list a user already saved keeps naming the same row. - The Automations row is no longer filtered out while the `toolsHub` experiment is on. Extensions no longer contains Automations, so the filter would leave the page with no sidebar entry. ## Why The section wrapper broke drag reorder for the rows inside it. The flat list also matches what users expect: plugin pages sit beside **New thread**, with hidden rows in the **More (N)** disclosure. ## Validation - `pnpm exec turbo run typecheck --filter=@bb/app` — passed. - `pnpm exec turbo run test --filter=@bb/app --force` — 307 files, 2327 tests passed. - `pnpm exec turbo run lint --filter=@bb/app` — 0 errors (149 pre-existing warnings). - Manual QA on a dev instance with Docs, GitHub, Memory, Tasks, Automations, and Workflows installed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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
Revert the sidebar layer of #888.
PluginNavSidebarSection.tsx. There is no collapsible Plugins group any more.AppSidebarmountsPluginNavSidebarItemsagain as flat rows in fixed chrome aboveSidebarContent, not inside the thread scroll area.pluginNavSidebarCollapsedAtomand itsbb.sidebar.pluginNavCollapsedstorage key.ProjectListActionButtons.seedLeadingNavPanelKeys(), so the built-in row stays on top for users who already reordered their rows.Two changes on top of the revert:
"tools", so an order or hidden list a user already saved keeps naming the same row.toolsHubexperiment is on. Extensions no longer contains Automations, so the filter would leave the page with no sidebar entry.Why
The section wrapper broke drag reorder for the rows inside it. The flat list also matches what users expect: plugin pages sit beside New thread, with hidden rows in the More (N) disclosure.
Validation
pnpm exec turbo run typecheck --filter=@bb/app— passed.pnpm exec turbo run test --filter=@bb/app --force— 307 files, 2327 tests passed.pnpm exec turbo run lint --filter=@bb/app— 0 errors (149 pre-existing warnings).🤖 Generated with Claude Code