Repository navigation
Add one-tap Send during voice dictation - #4551
Merged
Merged
Conversation
mattwynne
force-pushed
the
feature/voice-stop-and-send
branch
from
September 30, 2026 06:18
91d46db to
efc435e
Compare
Keep the pressed completion button at full strength with the spinner while transcribing, add Add to draft / Send tooltips, use the composer's configured submit icon for Send, and point the mobile webview probe at the renamed add-to-draft label. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Sep 30, 2026
ymichael
added a commit
that referenced
this pull request
Sep 30, 2026
…#4585) ## Human comments ## What was wrong At phone touch widths, the compact follow-up composer used 32px actions while the new-thread composer used 40px. Both the compact action utility and an unlayered follow-up container rule forced the smaller size. Voice activity also unconditionally expanded the composer, even when there was no draft content to show. See #4584. ## What changed - Match compact touch actions to the existing 40px new-thread sizing and remove the follow-up CSS size override. - Keep empty recording and transcription in the single-row composer; expand for text, attachments, or pending uploads so existing draft content remains visible. - Give compact recording controls the full row and hide the empty editor visually and from accessibility traversal. - Preserve the Stop-to-draft, Send-after-transcription, cancellation, and failure behavior introduced by merged #4551. No voice hooks, transport contracts, server policy, SDK, or CLI behavior changed. ## How you verified - `pnpm exec turbo run test --filter=@bb/app -- src/components/promptbox/VoiceRecordingBar.test.tsx src/components/promptbox/usePromptVoice.test.tsx src/components/promptbox/PromptBoxInternal.test.tsx src/hooks/useVoiceInput.test.tsx` — 165 tests passed. - `pnpm exec turbo run lint typecheck --filter=@bb/app` — passed; lint reports existing warnings and no errors. - `git diff --check` — passed. - Final CI on `4c60862a20046cbbf026770453cdd1f43f6e0acb`: 17 successful checks, 3 skipped, no failures or pending jobs. The skipped jobs include iOS and Android flows; no physical-device claim is made. - Actual source app, isolated `pnpm start:worktree`, seeded idle thread, Chromium 390 × 844 with touch: compact primary action and recording controls are 40 × 40px; empty recording stays 50px tall (baseline: 156px). - At 320px and 430px touch widths, all three 40px recording controls remain on screen and usable. Nonempty text and uploaded attachments stay visible; cancel recording preserves text, cancel transcription leaves the empty draft untouched. - A real Codex transcription followed by voice Send produces exactly one `/send` request containing the preexisting draft, transcript, and retained attachment; the agent replies `compact voice send verified.`, and the draft clears. Stop run measures 40 × 40px. - Matched source-app before/after screenshots and QA details are in the originating BB thread storage, `HANDOFF.md`. The labeled capture fixture supplies synthesized speech to the real browser recorder; physical microphones and Safari/iOS are not verified. Fixes #4584 > AGENT GENERATED
bborn
added a commit
to bborn/bb
that referenced
this pull request
Oct 12, 2026
…rk-only) Upstream added microphoneWarning and send to PromptVoiceConfig (get-bb#4551, get-bb#4782). Co-Authored-By: Claude Opus 5.5 <[email protected]>
bborn
added a commit
to bborn/bb
that referenced
this pull request
Oct 12, 2026
…rk-only) Upstream added microphoneWarning and send to PromptVoiceConfig (get-bb#4551, get-bb#4782). Co-Authored-By: Claude Opus 5.5 <[email protected]>
bborn
added a commit
to bborn/bb
that referenced
this pull request
Oct 13, 2026
…rk-only) Upstream added microphoneWarning and send to PromptVoiceConfig (get-bb#4551, get-bb#4782). Co-Authored-By: Claude Opus 5.5 <[email protected]>
bborn
added a commit
to bborn/bb
that referenced
this pull request
Oct 14, 2026
…rk-only) Upstream added microphoneWarning and send to PromptVoiceConfig (get-bb#4551, get-bb#4782). Co-Authored-By: Claude Opus 5.5 <[email protected]>
bborn
added a commit
to bborn/bb
that referenced
this pull request
Oct 22, 2026
…rk-only) Upstream added microphoneWarning and send to PromptVoiceConfig (get-bb#4551, get-bb#4782). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The voice recording bar offered only a completion action that transcribed into the draft. Its normal Send action was hidden while recording, so sending a dictated message required another tap after transcription. Sending the pre-existing draft before transcription finished would omit the new words. See #4422.
What changed
How you verified
pnpm exec turbo run test --filter=@bb/app -- src/components/promptbox/VoiceRecordingBar.test.tsx src/components/promptbox/usePromptVoice.test.tsx src/components/promptbox/PromptBoxInternal.test.tsx src/hooks/useVoiceInput.test.tsx— 162 tests passed.pnpm exec turbo run typecheck lint --filter=@bb/app— passed (lint reported existing warnings, no errors).git diff --check origin/main...HEAD— passed.Fixes #4422