Skip to content

Add sidebar fixed-item visibility controls - #2478

Open
brsbl wants to merge 10 commits into
bb/build-search-palette-layer-thr_z45dnp4jywfrom
bb/sidebar-top-region-item-toggles-thr_2e2gbjx943
Open

Add sidebar fixed-item visibility controls#2478
brsbl wants to merge 10 commits into
bb/build-search-palette-layer-thr_z45dnp4jywfrom
bb/sidebar-top-region-item-toggles-thr_2e2gbjx943

Conversation

@brsbl

@brsbl brsbl commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

What was wrong

The fixed top rows had no single ownership surface for visibility and order. Controls were buried in Display options, Automations was outside the same preference model, and hiding every item could leave unnecessary structure behind.

What changed

  • adds a top-chrome Customize control with a dedicated Sidebar items menu
  • owns New thread, Extensions, and Automations in one ordered, client-local preference
  • applies checkbox changes live while the menu remains open
  • supports pointer drag reorder and persists it across reload
  • collapses the whole top region when all three rows are hidden while keeping Customize available
  • keeps Display options focused on organization, sorting, and lifecycle filters, including the Manual label

No server state, wire contract, or daemon protocol changes are introduced by this layer.

Visual evidence

Exact comparison: 4a70ddfa811e1cbc2e9f59be17beb4b1ce84d6f866cf39b68e813c195e39ecdb022cb5ffbf0292c5.

Before — exact base 4a70ddfa811e1cbc2e9f59be17beb4b1ce84d6f8

The fixed rows have no top-chrome customization entry point.

Before — no Customize control

After — exact head 66cf39b68e813c195e39ecdb022cb5ffbf0292c5

The same root state adds Customize without changing the default rows.

After — Customize in top chrome

After — menu and live reorder

After — three owned rows reordered with Automations first

After — empty top region

After — all rows hidden while Customize remains

How you verified

  • Google Chrome for Testing 151.0.7922.71, exact branch web apps from scripts/bb-dev-app, light theme, /, 1440×900.
  • Toggled New thread, Extensions, and Automations individually; each updated live and the menu stayed open.
  • Hid all three and observed the top region collapse while Customize remained usable.
  • Dragged Automations above New thread; both menu and sidebar reordered, and the order persisted after reload.
  • Display options showed By project, By machine, Manual, Updated at, Created at, Alphabetical, and lifecycle filters. No page or console errors were recorded.

Fixes: N/A — Updated Sidebar top-region customization layer.

BB-Thread-ID: thr_2e2gbjx943

AGENT GENERATED

brsbl added 2 commits August 26, 2026 05:05
….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
brsbl changed the base branch from bb/sidebar-splits-thr_2e2gbjx943 to bb/build-search-palette-layer-thr_z45dnp4jyw August 26, 2026 19:23
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