Skip to content

Fix thread title crowding in phone headers - #5100

Merged
ymichael merged 2 commits into
mainfrom
bb/keep-the-thread-title-readable-in-the-phone-head-thr_jbpjxbm8dt
Oct 7, 2026
Merged

ymichael merged 2 commits into
mainfrom
bb/keep-the-thread-title-readable-in-the-phone-head-thr_jbpjxbm8dt

Conversation

@ymichael

@ymichael ymichael commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

At phone widths, the editor split button and Commit action stayed in the
thread header, squeezing the title. Responsive action overflow only applied
to narrow split panes.

The SDK npm guard also packed missing declarations in filtered CI builds: its
Turbo command built runtime files without explicitly generating bundled types.

What changed

Use the existing overflow menu for workspace and Git actions at compact
viewport widths (up to 767px), preserving visible buttons on desktop and
existing narrow split pane behavior. Phone users gain title space at the
cost of one extra tap to reach these actions.

Make the SDK guard explicitly run build:types alongside build so filtered CI
compares a complete package against npm. No SDK API or published content changes.

How you verified

  • Captured and reviewed before/after real header components in a temporary
    Ladle story at 390px with touch sizing and 1280px desktop width.
  • Confirmed the fixture title fits in full on phones and desktop rendering
    is unchanged. Clicked both overflow actions and confirmed their callbacks.
  • Saved screenshots and the verification fixture in thread storage.
  • pnpm exec turbo run typecheck lint --filter=@bb/app passed; lint reported
    250 existing warnings and no errors.
  • SDK typecheck passed through Turbo. The npm version guard reproduced the
    missing-declaration failure before the fix and passed afterward, confirming
    the packed files and manifest match published SDK 0.6.26.
  • git diff --check passed. Native iOS Safari was not tested.

AGENT GENERATED

## What was wrong

At phone widths, the editor split button and Commit action stayed in the
thread header, squeezing the title. Responsive action overflow only applied
to narrow split panes.

## What changed

Use the existing overflow menu for workspace and Git actions at compact
viewport widths (up to 767px), preserving visible buttons on desktop and
existing narrow split pane behavior. Phone users gain title space at the
cost of one extra tap to reach these actions.

## How you verified

- Captured and reviewed before/after real header components in a temporary
  Ladle story at 390px with touch sizing and 1280px desktop width.
- Confirmed the fixture title fits in full on phones and desktop rendering
  is unchanged. Clicked both overflow actions and confirmed their callbacks.
- Saved screenshots and the verification fixture in thread storage.
- pnpm exec turbo run typecheck lint --filter=@bb/app passed; lint reported
  250 existing warnings and no errors.
- git diff --check passed. Native iOS Safari was not tested.

> AGENT GENERATED
@ymichael
ymichael force-pushed the bb/keep-the-thread-title-readable-in-the-phone-head-thr_jbpjxbm8dt branch from 5880fa2 to 9468f3b Compare October 7, 2026 17:54
## What was wrong

Filtered CI builds could leave SDK bundled declarations absent. The npm guard
only built runtime files and incorrectly reported missing types as published
package drift.

## What changed

Request build:types alongside build in the guard's Turbo command.

## How you verified

The local npm guard failed before the change and passed after it, confirming
packed contents match SDK 0.6.26. SDK typecheck passed through Turbo, and
git diff --check passed.

> AGENT GENERATED
@ymichael
ymichael merged commit 8fefb49 into main Oct 7, 2026
48 checks passed
@ymichael
ymichael deleted the bb/keep-the-thread-title-readable-in-the-phone-head-thr_jbpjxbm8dt branch October 7, 2026 18:08
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