Repository navigation
Description
Summary
At phone touch widths, the collapsed follow-up composer keeps its primary action at 32px while the new-thread composer uses 40px. Starting voice input with an empty draft also expands the follow-up composer and leaves unnecessary space above the recording controls.
Versions and environment
- Source baseline:
4b8574b5e3da3733efd9c6cd63012373f9071cc3(includes merged Add one-tap Send during voice dictation #4551). - macOS, Node 22.23.1; isolated
pnpm start:worktreestore and synthetic Codex thread. - Headless Chromium, 390 × 844 CSS pixels, touch enabled. Capture fixture supplies synthesized speech to the browser's real MediaRecorder; this is not a physical-phone or iOS test.
Steps to reproduce
- Run the source app at the baseline commit in a fresh store and create an idle thread.
- Open the thread at a 390 × 844 touch viewport; leave the follow-up draft empty and unfocused.
- Measure the primary voice button and compare it with the empty new-thread composer.
- Start voice input with an empty draft; measure the composer again.
- Cancel recording, enter
Review the compact composer., blur the draft, and start recording again to verify existing text stays visible.
Expected vs actual
Observed source-app measurements:
Collapsed primary touch action: 32 × 32 px
Empty composer before recording: 50 px tall
Empty composer during recording: 156 px tall
Expected: touch actions match the 40px new-thread actions, and empty recording/transcription keeps the composer at its compact height. A nonempty draft should stay visible while recording.
Evidence
The component forces expansion whenever voice controls are active:
bb/apps/app/src/components/promptbox/PromptBoxInternal.tsx
Lines 1366 to 1367 in 4b8574b
| const showCompactLayout = | |
| compact?.isCompact === true && !showVoiceActionGroup; |
An unlayered container rule independently forces follow-up primary actions to 2rem, overriding their touch sizing:
Lines 488 to 494 in 4b8574b
| [data-follow-up-composer] [data-promptbox-submit-action] { | |
| width: 2rem; | |
| height: 2rem; | |
| margin-left: 0; | |
| padding: 0; | |
| } | |
Screenshot access requires Michael's existing BB account session. Investigation: BB thread thr_qbgqwhee67.
What you ruled out
- shorter default composer in split panes #2932 requests general automatic composer density in split panes; this report concerns voice-triggered expansion and touch action sizing.
- Mobile follow-up composer hides environment and context footer when expanded #3601 concerns the hidden environment/context footer, which this change does not address.
- Voice input from phone over bb Connect captures laptop microphone #4382 concerns which physical microphone captures audio. No physical capture claim is made here.
- One-click Send during voice dictation #4422 was fixed by Add one-tap Send during voice dictation #4551 and concerns sending dictated input; preserve its Stop-to-draft and Send behavior.
- The 32px issue also exists in CSS outside the React component, so component previews alone do not prove the actual follow-up fix.
AGENT GENERATED

Activity
Match compact composer touch actions and keep empty recording compact (…