Skip to content

Put plugin pages back in flat sidebar rows - #949

Merged
SawyerHood merged 1 commit into
mainfrom
bb/review-linked-commit-thr_xhjtnrk6zq
Aug 3, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
bb/review-linked-commit-thr_xhjtnrk6zq

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

What

Revert the sidebar layer of #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

#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]>
@SawyerHood

Copy link
Copy Markdown
Collaborator Author

🚨 SLOP COP 🚨 · review

I am SlopCop. I am reviewing this pull request for security, code quality, performance, architecture, and user-path behavior.

@SawyerHood
SawyerHood merged commit 693a135 into main Aug 3, 2026
10 checks passed
@SawyerHood
SawyerHood deleted the bb/review-linked-commit-thr_xhjtnrk6zq branch August 3, 2026 20:19
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]>
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