Repository navigation
feat(ios): Talk lives in the composer card, with mute, camera, End and a language choice - #206685
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. What this changesThis PR moves iOS Talk controls into the composer, adds a recognition-language preference, and stops restoring Talk on launch. Example: Start Talk on an iPhone with an empty draft.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 6 items remain Keep this maintainer-authored draft open: the composer direction is approved, but the new presentation hides existing recovery information and needs focused repairs. Reviewed head: Before merge
Findings
Provenance
Agent review detailsHow this fits togetherThe iOS Talk manager owns microphone capture, realtime sessions, transcription, and playback; shared SwiftUI controls project its state and send user actions back to that owner. flowchart LR
A[iPhone user] --> B[Chat composer]
B --> C[Node app model]
C --> D[Talk manager]
E[Language preference] --> D
D --> F[Native speech or realtime transport]
F --> G[Gateway and voice provider]
D --> B
Technical reviewBest possible solution: Keep TalkModeManager authoritative, preserve recovery notices and failure states in its composer projection, and make the Language control accurately describe its supported runtime. Do we have a high-confidence way to reproduce the issue? Source establishes the hidden recovery notices and unclassified failure path; no target code was run, and the reported draft-to-End failure remains undiagnosed. Is this the best way to solve the issue? Reusing the existing Talk owner and composer is appropriate, but reducing its presentation to phases loses meaningful runtime information. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6ef75084bd2d. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +657, Tests +309. Total +966 across 23 files. Added test files: 3. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 27, 2026, 8:16 AM ET / 13:16 UTC. |
534df3c to
220f317
Compare
…d a language choice
31da591 to
6b06fb4
Compare
…d a language choice (openclaw#206685)
What Problem This Solves
This is one of a series of pull requests that brings the iOS app in line with the Control UI. On iPhone, turning on Talk (the live voice conversation) used to stack a separate "Listening" strip with its own mute button above the composer, while the composer underneath kept the text field, the + button, a tinted camera disc and a waveform button. The state was said in two places, the composer grew taller, and there was no way to choose the language Talk listens in.
User Impact
With this change alone, on iPhone:
Nothing else in the app changes look with this pull request. The connection strip and the app toast come from the pull requests just before this one; onboarding still uses its old setup steps until the next one.
Why This Change Was Made
Talk said its state twice and made the composer jump between two layouts. Folding Talk into the composer card gives it one place, one phrase and one exit. The Language choice lets someone talk in a language other than the phone's first one without changing the phone's settings.
Evidence
native-app-i18n verifyreports no changes after regenerating the catalogs;git diff --checkis clean.NodeAppModelInvokeTests,TalkChatPhaseTests,TalkMicrophoneMuteTests,TalkSpeechLocaleTests: 289 passed, 0 failed.swift teston macOS):ChatComposerPrimaryRoleTestsandChatTalkPresentationTests: 15 passed, 0 failed.testTalkStartsInTheComposerAndEndsBackToIt,testTalkSaysEachStateInOnePlaceandtestMuteReadsAsSelectedAndLeavesTalkOnpass.testTalkOverADraftKeepsTheDraftfails: after Talk starts over a typed draft, tapping End doesn't end Talk within three seconds. It fails the same way, at the same line, on the full approved build that this series adds up to, so it isn't caused by how this change was split. The cause is in the test, not the app: while Talk is on, the held draft keeps a hidden copy of the main button with the same identifier, and the test taps that copy. Once a draft is typed, the copy sits about 40 pt below the visible row, so the tap lands on nothing. Tapping the End button on the Talk row ends Talk over a draft in about 1.5 seconds and brings the draft back. A fix that changes only the test goes in before this lands; with it, all four Talk UI tests pass.main. The Simulator can't run Talk on that build, so the Before Talk screens set Talk on with a temporary debug hook that is not part of this change; the muted Before screen shows that build's own "Microphone muted" line.Talk on, listening (light and dark), Before | After:
Talk on, muted (light), Before | After:
Settings › Voice & Talk (light), Before | After:
Settings › Voice & Talk › Language (light), After only:
Not checked: Talk with a real microphone, voice provider or Gateway (the Simulator has neither microphone access nor voice support); a real device; iPad and macOS layouts; Dynamic Type sizes other than the default; VoiceOver by ear, including whether it can reach the held draft's hidden controls while Talk is on (the UI test framework can see them, although the code marks them hidden).
🦞 Made with OpenClaw