Skip to content

Fix narrow composer buttons - #4619

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-broken-follow-up-composer-submit-button-thr_t8un27rsmp
Oct 1, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-broken-follow-up-composer-submit-button-thr_t8un27rsmp

Conversation

@ymichael

@ymichael ymichael commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

PR #4585 (c1d72f0ee2) removed the narrow follow-up composer’s fixed width/height to allow 40px touch controls, but retained its padding reset. The narrow follow-up composer also hides submit labels. Expanded icon-only buttons then shrink to the glyph width while retaining their normal height: the microphone was 16 × 40 pixels on touch screens.

What changed

Give submit actions in the existing compact container query an automatic width and a 1:1 aspect ratio. This preserves the existing 32px desktop and 40px touch heights and makes the microphone, send, and stop controls square in collapsed and expanded follow-up composers. Two CSS declarations; no API, CLI, schema, or host-daemon protocol change.

How you verified

  • pnpm start:worktree --dryrun and pnpm start:worktree built and launched the actual production source app at commit 20f204214b0b12bd4333ab8da93dd5eb48f750cb; fresh isolated data and one idle thread fixture, no provider turn.
  • Chromium touch emulation: collapsed and expanded microphone/send buttons are 40 × 40. Restoring the prior CSS in the same source app reproduces the expanded microphone at 16 × 40; matched screenshots are in the originating thread storage.
  • Narrow desktop follow-up: collapsed and expanded submit buttons are 32 × 32; new-thread microphone/send controls retain 32px desktop and 40px touch sizing, with empty and typed drafts.
  • iOS 26.5 Simulator Safari on iPhone 17 Pro: collapsed follow-up microphone visibly square. Expanded Safari and recording/transcription are not covered; no simulator input driver is available. Touch emulation is distinct from the Safari screenshot.
  • Final-head CI passed, including all three app shards. App-3 initially failed a sidebar hide-menu assertion at NavigationPlugin.test.tsx:557; all 51 tests in that file passed locally, and rerunning only that CI job passed. No test or sidebar change was needed.
  • pnpm exec turbo run lint --filter=@bb/app: passed, with existing warnings and zero errors. pnpm exec oxfmt --check apps/app/src/app.css and git diff --check: passed.

AGENT GENERATED

@ymichael
ymichael merged commit e815d41 into main Oct 1, 2026
32 of 33 checks passed
@ymichael
ymichael deleted the bb/fix-broken-follow-up-composer-submit-button-thr_t8un27rsmp branch October 1, 2026 15:24
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