Skip to content

Right panel polish: stable toggle, no-reflow open/close, tab-strip cleanup - #438

Merged
SawyerHood merged 2 commits into
get-bb:mainfrom
lnittman:bb/right-panel-polish
Jun 28, 2026
Merged

SawyerHood merged 2 commits into
get-bb:mainfrom
lnittman:bb/right-panel-polish

Conversation

@lnittman

@lnittman lnittman commented Jun 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #435.

  • Stable toggle + full-width thread header. One toggle that holds position across open/close; on a thread, a full-width header bar above the split so its actions stay pinned to the window edge.
  • No-reflow open/close. Content is held at the panel's open width and the panel clips it in (root compose and threads), so it slides instead of reflowing. Same easing, still interruptible.
  • Tab-strip cleanup. Pin the + to the left, arrows ride the edge fade, cached scroll capacity for smooth narrow-width scrolling, pill padding/radius/hover tidied.

No new deps, nothing touching the token system. @bb/app typecheck and tests green. Checked across drawer, popout, conversation-collapse, macOS desktop chrome, and drag-resize.

Screen.Recording.2026-06-27.at.5.30.54.PM.mov

lnittman and others added 2 commits June 27, 2026 17:28
…flow open/close

- One right-panel toggle that stays put across open/close instead of unmounting
  and reappearing shifted.
- On a thread, the header is a full-width bar above the split, so its
  right-aligned actions stay pinned to the window edge instead of riding the
  timeline pane's width as the panel opens.
- Open/close slides at a fixed width on both surfaces (root compose and threads):
  the content is held at the panel's open width and the panel's flex width clips
  it in, so it never reflows. Pure layout (no transform/opacity), so it can't
  desync on the GPU and stays interruptible like the left sidebar. The panel uses
  overflow-clip (not a scroll container, so an input autofocus can't offset the
  content), the left border rides the content so it slides out with the panel,
  and the closed panel is inert.
- Resize tracks the held-width content; the resize handle and its hover highlight
  sit on the border.
- Deletes the rendering paths this rework orphaned: the unreachable non-swipe
  inline branch (both surfaces slide now) and the per-panel macOS traffic-light
  reserve prop (the full-width header owns that reserve).

No new deps, nothing touching the token system.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…lling

- `+` stays on the left instead of drifting right with each new tab; the overflow
  arrows ride the edge fade instead of a solid tile over the edge tab; tab pills
  get tightened icon/close padding, a nested close-tile radius, no doubled hover
  tile on inactive tabs, and instant hover.
- Smooth scrolling at narrow widths: cache scroll capacity (no scrollWidth read
  per scroll event, re-measured on resize, tab-list change, and once web fonts
  settle) and rAF-throttle the handler, keep the edge fades/chevrons mounted and
  toggle opacity instead of mounting/unmounting them each edge crossing, memoize
  the sortable tab tree, and stop the wheel handler from hijacking native
  horizontal trackpad gestures. Hidden chevrons are disabled + aria-hidden so the
  always-mounted controls stay out of assistive tech.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@SawyerHood
SawyerHood merged commit c48386d into get-bb:main Jun 28, 2026
5 checks passed
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.

Right panel polish: toggle jump, open/close reflow, tab-strip rough edges

2 participants