Repository navigation
feat(app): one live capture card and a record-with-this-phone button - #18843
Merged
Merged
Conversation
…s (49 locales) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e source and Finish Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ome really draws them Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ract Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The card is hidden unless a source is live (a connected, idle pendant no longer shows the old 'Say something' header); legacy header and LiteCaptureWidget removed. - The record button never starts a recording during an Omi call; it opens the call. - Pause follows the device (photo-capture devices have none) on the card and the live page alike; OmiGlass and Ray-Ban Meta get a camera icon. - Connecting/ringing calls are amber with no time; long states wrap to two lines on the card; the live page title keeps sentence states whole and lets 'state · source' take two lines. - The card is one button for screen readers; the ways-to-record badge stays fully inside the button's hit box. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…isions Co-Authored-By: Claude Opus 5.5 <[email protected]>
…visions Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Sep 25, 2026
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.
One live card and a "record with this phone" button: the capture UI on Home
This is PR 2 of 2 for the capture UX David approved on 2026-09-25. It builds on #18839 (merged as
b4dae853da), which put "one live source at a time" into capture:pauseCapture,resumeCaptureandfinishCapture, plus the handoffs.What changes
Home live card (
processing_capture.dart, newlive_capture_card.dart) is now the single capture status and control surface.liveCaptureSource,isPhoneMicPaused,pendantPausedForPhone,liveCaptureStartedAt. So a connected pendant that the phone took over from no longer reads as "device recording".The bottom circle (
HomeRecordButton) always means "record with this phone".finishCapture, and a pendant that the phone paused resumes afterwards.Live page
finishCapture.Header device chip
kLowBatteryPercent, the same threshold as the low-battery alert), never amber. Live status appears only on the card.Text (49 locales)
noConversationsHeroMessageand the record-options tip were updated to match.batteryLevelSemantics.Tests
test/widgets/capture_home_ui_test.dart(9 tests):transcription_paused_warning_test(8pt amber dot, no Pause control during an OS interruption, "Paused" for the pendant), andrecord_options_sheet_icon_test(Recordings-sheet icons). The source for these new expected values is David's ruling of 2026-09-25 in the "Capture UX: live card + phone button" storyboard.home-headernow renders the button where Home really draws it, not under the header chips. New scenarios cover the card states, the sheets and the live page:home-capture-*andconversation-live-*.Before / after
Command:
app/scripts/visual_audit.sh --base b4dae853da --head 3d1886126c --only home-header,home-capture-*,conversation-live-*(the 11 capture scenarios).b4dae853da(fix(capture): one live source at a time; a phone pause keeps its conversation #18839), captured 05:54:55–05:55:28 UTC.3d1886126c, captured 05:56:10–05:56:44 UTC.Gallery: https://claude.ai/artifact/CgYJv6tN5vTrdezWVqUapJ.
In the "tap the record button while the pendant records" pair, the before side opens the phone's live page with Process Now. That is the silent takeover. The after side opens the "Your pendant is listening" sheet.
Verification (hermetic, Flutter 3.44.5, TZ=UTC)
bash app/test.sh: 3077 tests passed, plus 138 in the spine suite.l10n.py checkpasses (49 locales, 3377 keys).Cursor Grok review
Grok 4.7 High via agentctl, read-only, including misses beyond the diff. It raised 13 findings: no P0, 4 P1, 7 P2 and 2 P3.
Fixed
LiteCaptureWidgetare removed. Tested.LiveCaptureCard.canPausenow covers OmiGlass and Ray-Ban Meta on both the card and the live page. Tested.CaptureSources.Deferred, with reasons
Stackonly hit-tests inside its own 62pt box, and a 44pt square inside that box would cover the circle's centre, so the previous overhanging badge was only partly tappable (about 24pt). The badge now sits fully inside the box (tested), and screen readers also get the same sheet as the circle's long-press action. Making it 44pt means a wider button box, which changes the Ask Omi row; that is left for David's call.Product invariants affected
none
Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code