Skip to content

Shrink sidebar thread provider marks to 14 px - #6399

Merged
ymichael merged 1 commit into
mainfrom
bb/shrink-sidebar-provider-icons-to-14-px-thr_5u3h3upgxi
Oct 27, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/shrink-sidebar-provider-icons-to-14-px-thr_5u3h3upgxi

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The provider icon before each sidebar thread title rendered at 16 px (size-4). Most provider marks are solid and fill their whole box, so they read about 1.6x the title's cap height and heavier than the 16 px outline action icons on the right. Thread titles also started 2 px before the names in worktree group rows at the same depth (86 vs 88 px).

What changed

plugins/thread-list/app/rows/ThreadRow.tsx: the provider mark is now 14 px (size-3.5) inside the existing 16 px slot, and the gap after it goes from mr-1.5 to mr-2.

  • The mark's center stays on the tree guide line and lines up with the worktree row icons (center at +8 px).
  • Thread titles now start exactly where worktree names do, 2 px further right than before.

Per-provider logo artwork is unchanged. The Plugin Guide wireframes and Ladle stories don't render this icon, and no tests assert its size.

How you verified

  • pnpm exec turbo run typecheck lint test --filter=bb-plugin-thread-list: 474 tests pass.
  • In an isolated pnpm dev instance, with project organization and two worktree groups holding Claude Code, Codex, Pi, opencode and Hermes Agent threads, measured in CSS px from the left edge:
Icon center Title start
Worktree group row 72 88
Thread row, main 72 86
Thread row, this PR 72 88

Nested rows match too (center 96, title 112). The marks measure 14 px wide.

  • Compared dark and light screenshots of main and this branch.

AGENT GENERATED

🤖 Generated with Claude Code

Most provider marks are solid and fill their box, so at 16 px they read
heavier than the title text and the outline row action icons. Draw the
mark at size-3.5 inside the existing 16 px slot so its center stays on
the tree guide line and the worktree row icons, and widen the gap to
mr-2 so thread titles start where worktree names do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ymichael
ymichael merged commit 0528e64 into main Oct 27, 2026
44 checks passed
@ymichael
ymichael deleted the bb/shrink-sidebar-provider-icons-to-14-px-thr_5u3h3upgxi branch October 27, 2026 21:36
alexandre-vl added a commit to alexandre-vl/bb that referenced this pull request Oct 30, 2026
Main moved the gap after the provider mark from 6 px to 8 px (get-bb#6399), so sibling titles start 24 px into the icon slot. The disclosure that replaces a parent's provider mark still ended at 22 px; its trailing gap now matches.
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