Skip to content

Fix inconsistent sidebar row backgrounds - #2781

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-strange-sidebar-colors-thr_qs8j8rew2z
Aug 31, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-strange-sidebar-colors-thr_qs8j8rew2z

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Sticky section headers and parent thread rows explicitly used bg-sidebar, while transparent leaf rows inherited the sidebar content scroll surface. When that surface was rendered over the canvas, the two paths resolved to visibly different backgrounds.

What changed

Added bg-sidebar to SidebarContent so transparent rows and sticky rows share the same theme-derived surface. Added a focused component regression test for that styling contract. This is UI-only and introduces no host daemon protocol or wire changes.

How you verified

  • pnpm exec turbo run test --filter=@bb/app -- --run src/components/ui/sidebar.test.tsx — 22 tests passed.
  • pnpm exec turbo run typecheck lint --filter=@bb/app — typecheck passed; lint completed with 0 errors and 173 existing warnings.
  • Dev-browser visual and computed-style checks confirmed parent, child, and standalone rows resolve to the same sidebar surface.

No linked issue.

AGENT GENERATED

@ymichael
ymichael merged commit fb05e93 into main Aug 31, 2026
15 checks passed
@ymichael
ymichael deleted the bb/fix-strange-sidebar-colors-thr_qs8j8rew2z branch August 31, 2026 23:45
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