Skip to content

Fix branch picker empty-state spacing - #3252

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-branch-loading-and-empty-thr_zcfaydpu7u
Sep 8, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-branch-loading-and-empty-thr_zcfaydpu7u

Conversation

@ymichael

@ymichael ymichael commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The loaded-empty branch picker followed a terminal fallback that omitted the Branches section and used double vertical padding (py-6), while the loading state rendered within the section with the standard compact row spacing.

What changed

Loaded-empty results without a current selection now remain in the options section, preserving the Branches heading and the same spacing as loading. The terminal fallback also uses the compact row padding. Added an Empty states Ladle story and a regression test.

How you verified

  • pnpm exec turbo run test --filter=@bb/app -- --run src/components/pickers/BranchPicker.scroll.test.tsx
  • pnpm exec turbo run typecheck --filter=@bb/app
  • pnpm exec turbo run lint --filter=@bb/app (passes with existing warnings)
  • Captured before/after Ladle screenshots using SawyerHood/doobie.

Fixes #

AGENT GENERATED

@ymichael
ymichael merged commit 7eb9dd5 into main Sep 8, 2026
25 of 26 checks passed
@ymichael
ymichael deleted the bb/fix-branch-loading-and-empty-thr_zcfaydpu7u branch September 8, 2026 16:50
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