Repository navigation
app: Home is one v3 model with one row shape (SCA-5226) - #26548
Conversation
Home now renders from a pure model, buildHome (pages/conversations/home/home_model.dart), with five row kinds: the live row, Finishing up..., conversations, saved recordings, and one locked row per day. Every row uses HomeRowShell (one card, one 36pt tile, one subtitle style, one 44pt content band) and one swipe-delete widget. - v3 only (David, 2026-11-27): the card feed (HomeFeedProvider, /v1/home/feed client), the episode projection on Home and the legacy fallback are removed. - Failed conversations stay in place with "Summary failed" and a Try Again pill, the same shape as a failed saved recording (reverses the X5 failed-to-Activity rule, per David). - A step past its deadline (15 min conversation, 30 min saved recording) says "Taking longer than usual", never failed. - At most one prompt above the list: payment, firmware, voice profile, Review. - The page shell skips list updates again (Selector2 over an identity snapshot). - UI sweep: centred swipe-delete mark; one spinner, one failure mark and one separator across rows; no stray chevrons; equal row heights (guarded in the render test); "Today" follows the injectable clock; the page carries its own Material. - Background-recap hiding and the "adding from your Omi" label only ran with episodes on, which v3 suppresses for every account, so they are removed rather than kept as dead code. Render evidence: .agent-artifacts/ui-evidence/home-v3-one-model/. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Delete LiveEpisodeRow and StartTrimmedText (unreachable once Home stopped projecting episodes) with their tests; regenerate the perf production shell; subtitle style from the OmiType scale (subhead); a failed pendant reconnect offers Try Again; header for the prompt slot; failure-class records drop the deleted Home tests; changelog fragment; renders refreshed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The catch used to also release the episode overlay hold; with episodes gone it only logged. It now shows the same couldn't-refresh message pull-to-refresh shows, and drops two allow markers the formatter could not keep on their line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Keep the quiet-payer prompt (it takes the slot when nothing else does); a failed live conversation stays in place whether v3- or legacy-shaped, and a deleted one leaves; held recordings the server counted but did not list still get a locked row, now titled 'recordings waiting'; Retry on a saved recording only when sending again can help; with finish feedback switched off, the processing placeholder shows again; X5 test follows the shipped rule and shownOnV3Home goes; swipe-delete and widened-list tests; docs name the Transcribe Later exception and the Daily Recaps removal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
…5226) Home keeps what is capturing, in progress, done or locked. A failed conversation is in Activity's Needs attention with Try Again; recordings kept only on this phone (waiting, or failed to send) are in a new On this phone section with the same rows, a count and Transcribe all. The bell's warning dot lights for a failed conversation until Activity shows it and stays lit while any recording is only on the phone. A row that fails while Home is on screen leaves with one toast whose View opens Activity. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uild (SCA-5226) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Activity marks failures seen only once their rows are drawn, not under the loading spinner; unlisted held recordings follow the same gate as listed ones, so a running release shows no locked row; Finishing up opens a conversation the processing rows already hold; docs and comments match the shipped rule; a failed lifecycle probe is pinned to stay listable for Activity on fetch, refresh and recent reads. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Only the ARB files conflicted (both sides appended strings): each takes main's version with this branch's added, removed and changed keys applied, and the generated localizations are regenerated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
/approve-ui abdd157 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: abdd157b8b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| .where((c) => !finishFeedback || c.id != OptimisticProcessingPlaceholder.id) | ||
| : const <ServerConversation>[]; | ||
| final terminalFinish = manualFinish == null ? null : v3!.finishTerminalMatch(convoProvider.conversations); | ||
| final finishHandedOff = manualFinish != null && v3!.finishHasSuccessor(listedNow.where(listedOnHome)); |
There was a problem hiding this comment.
Include processing rows when handing off the finish placeholder
When the conversation just ended exists in processingConversations but has not reached groupedConversations, this check leaves Finishing up… visible even though the same conversation is now rendered through listed: [...listedNow, ...processing]. Home therefore shows two rows for the same finish until the list catches up; legacy-shaped processing responses can prolong this because the provider deliberately keeps those conversations outside the completed list. Include Home-visible processing rows in successor detection, or suppress the matching processing row while the finish placeholder remains visible.
Useful? React with 👍 / 👎.
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 50303d5be5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| final outcome = await provider.upload(recording); | ||
| if (!mounted) return; |
There was a problem hiding this comment.
Preserve retry feedback after the recording row leaves Activity
When a reader taps Retry in Activity and the upload lasts beyond a frame, LocalWalSyncImpl.syncWal sets isSyncing and publishes heldRevision, causing OnThisPhoneSection to remove the now-busy recording and dispose this widget. When the request subsequently fails, this mounted check drops all outcome feedback, including the specific allowance-exhausted and backend-busy messages. The replacement row can reappear as failed without explaining why the retry failed. Handle the outcome in a page-level owner that survives the row moving to Home, or otherwise preserve feedback across that transition.
Useful? React with 👍 / 👎.
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
…-luna-panel-run/52c3a518ec41 # Conflicts: # app/docs/home-feed.md
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
…1-codex-luna/0d736c44f071 # Conflicts: # app/lib/l10n/app_ar.arb # app/lib/l10n/app_be.arb # app/lib/l10n/app_bg.arb # app/lib/l10n/app_bn.arb # app/lib/l10n/app_bs.arb # app/lib/l10n/app_ca.arb # app/lib/l10n/app_cs.arb # app/lib/l10n/app_da.arb # app/lib/l10n/app_de.arb # app/lib/l10n/app_el.arb # app/lib/l10n/app_en.arb # app/lib/l10n/app_es.arb # app/lib/l10n/app_et.arb # app/lib/l10n/app_fa.arb # app/lib/l10n/app_fi.arb # app/lib/l10n/app_fr.arb # app/lib/l10n/app_he.arb # app/lib/l10n/app_hi.arb # app/lib/l10n/app_hr.arb # app/lib/l10n/app_hu.arb # app/lib/l10n/app_id.arb # app/lib/l10n/app_it.arb # app/lib/l10n/app_ja.arb # app/lib/l10n/app_kn.arb # app/lib/l10n/app_ko.arb # app/lib/l10n/app_localizations.dart # app/lib/l10n/app_localizations_ar.dart # app/lib/l10n/app_localizations_be.dart # app/lib/l10n/app_localizations_bg.dart # app/lib/l10n/app_localizations_bn.dart # app/lib/l10n/app_localizations_bs.dart # app/lib/l10n/app_localizations_ca.dart # app/lib/l10n/app_localizations_cs.dart # app/lib/l10n/app_localizations_da.dart # app/lib/l10n/app_localizations_de.dart # app/lib/l10n/app_localizations_el.dart # app/lib/l10n/app_localizations_en.dart # app/lib/l10n/app_localizations_es.dart # app/lib/l10n/app_localizations_et.dart # app/lib/l10n/app_localizations_fa.dart # app/lib/l10n/app_localizations_fi.dart # app/lib/l10n/app_localizations_fr.dart # app/lib/l10n/app_localizations_he.dart # app/lib/l10n/app_localizations_hi.dart # app/lib/l10n/app_localizations_hr.dart # app/lib/l10n/app_localizations_hu.dart # app/lib/l10n/app_localizations_id.dart # app/lib/l10n/app_localizations_it.dart # app/lib/l10n/app_localizations_ja.dart # app/lib/l10n/app_localizations_kn.dart # app/lib/l10n/app_localizations_ko.dart # app/lib/l10n/app_localizations_lt.dart # app/lib/l10n/app_localizations_lv.dart # app/lib/l10n/app_localizations_mk.dart # app/lib/l10n/app_localizations_mr.dart # app/lib/l10n/app_localizations_ms.dart # app/lib/l10n/app_localizations_nl.dart # app/lib/l10n/app_localizations_no.dart # app/lib/l10n/app_localizations_pl.dart # app/lib/l10n/app_localizations_pt.dart # app/lib/l10n/app_localizations_ro.dart # app/lib/l10n/app_localizations_ru.dart # app/lib/l10n/app_localizations_sk.dart # app/lib/l10n/app_localizations_sl.dart # app/lib/l10n/app_localizations_sr.dart # app/lib/l10n/app_localizations_sv.dart # app/lib/l10n/app_localizations_ta.dart # app/lib/l10n/app_localizations_te.dart # app/lib/l10n/app_localizations_th.dart # app/lib/l10n/app_localizations_tl.dart # app/lib/l10n/app_localizations_tr.dart # app/lib/l10n/app_localizations_uk.dart # app/lib/l10n/app_localizations_ur.dart # app/lib/l10n/app_localizations_vi.dart # app/lib/l10n/app_localizations_zh.dart # app/lib/l10n/app_lt.arb # app/lib/l10n/app_lv.arb # app/lib/l10n/app_mk.arb # app/lib/l10n/app_mr.arb # app/lib/l10n/app_ms.arb # app/lib/l10n/app_nl.arb # app/lib/l10n/app_no.arb # app/lib/l10n/app_pl.arb # app/lib/l10n/app_pt.arb # app/lib/l10n/app_ro.arb # app/lib/l10n/app_ru.arb # app/lib/l10n/app_sk.arb # app/lib/l10n/app_sl.arb # app/lib/l10n/app_sr.arb # app/lib/l10n/app_sv.arb # app/lib/l10n/app_ta.arb # app/lib/l10n/app_te.arb # app/lib/l10n/app_th.arb # app/lib/l10n/app_tl.arb # app/lib/l10n/app_tr.arb # app/lib/l10n/app_uk.arb # app/lib/l10n/app_ur.arb # app/lib/l10n/app_vi.arb # app/lib/l10n/app_zh.arb
Co-authored-by: multica-agent <[email protected]>
|
@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment |
|
/approve-ui bcbab56 |
|
/approve-ui 5cc5cc2 |
Resolve conflicts with the one-model Home (#26548) and later capture changes. Keep main's Home model and drop the new phone-mic code paths main added: pause analytics, the vendor live-word phone listener, phone batch geolocation, the record button, the recording bar and their tests. The wearable pairing prompt moves into Home's single prompt slot, after payment. Failure-Class: FC-merge-drops-branch-change Co-Authored-By: Claude Opus 5.5 <[email protected]>
…(SCA-4440) ConversationCaptureWidget's only production caller was Home's Transcribe Later row (#26548 moved the call and capture rows to HomeRowShell). Remove it and its unused status indicators, the tests that only drove them, and the stale references in the addressability baseline, e2e flow covers, the telemetry inventory and the ring firmware note. The LiveCaptureCard pill and battery glyph tests stay. The stale dead-code allowlist entry for the deleted phone_mic_interface.dart is dropped. Failure-Class: FC-dead-ui-after-feature-removal Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Remove phone microphone conversation capture (SCA-4440) * Address device capture review findings (SCA-4440) * SCA-4440: require wearable capture in harness * Retire Transcribe Later: recordings always upload (SCA-4440) David, 2026-11-30: remove the "Keep recordings on this phone" (Transcribe Later) opt-in, and stop recordings it already kept from uploading on their own. - Settings drops the switch and its search entry. On iOS the Recording section is gone; Android keeps Background Mode. - Startup turns batchModeEnabled and any onboarding suspension off once, before capture reads them. Kept recordings stay held for the user by their file marker (holdForUser) and wait in Activity for Upload or Delete. - Home loses the Transcribe Later live row and the batch card and controls in ConversationCaptureWidget. - Tests: remove phone-only and batch-card cases (including ones that already failed on this branch's head). Device stubs report a paired wearable, so Home's new connect prompt stays out of layout tests. Add a retirement test and an iOS Recording settings render. The coordinator's batch transport and the native batch writer remain. They stay off once the preference is false, and the on-device overflow path still uses the writer, so removing them is a separate cleanup. Failure-Class: FC-optin-hold-never-uploads Co-Authored-By: Claude Opus 5.5 <[email protected]> * Delete the Home capture card left dead by Transcribe Later's removal (SCA-4440) ConversationCaptureWidget's only production caller was Home's Transcribe Later row (#26548 moved the call and capture rows to HomeRowShell). Remove it and its unused status indicators, the tests that only drove them, and the stale references in the addressability baseline, e2e flow covers, the telemetry inventory and the ring firmware note. The LiveCaptureCard pill and battery glyph tests stay. The stale dead-code allowlist entry for the deleted phone_mic_interface.dart is dropped. Failure-Class: FC-dead-ui-after-feature-removal Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep preferences.dart within its line budget; drop the unused phoneBatchAuto pref (SCA-4440) Failure-Class: FC-line-count-ratchet Co-Authored-By: Claude Opus 5.5 <[email protected]> * Format siri_integration.dart (SCA-4440) Failure-Class: FC-format-drift Co-Authored-By: Claude Opus 5.5 <[email protected]> * Connect prompt counts a remembered pendant as paired; drop stale batch docs (SCA-4440) Panel review-20261130t225455-3078: - F1: the prompt tested `pairedDevice == null`, which is unset at cold start and is `BtDevice.empty()` after Forget. It now uses `DeviceProvider.hasRememberedDevice`. Tests cover a remembered pendant that is off (no prompt) and a forgotten device (prompt). Home test fakes gain the getter. - F4/F5: CAPTURE_ARCHITECTURE, e2e SKILL and docs/home.md no longer describe Transcribe Later or ConversationCaptureWidget as live. Failure-Class: FC-hydration-sentinel-misread Co-Authored-By: Claude Opus 5.5 <[email protected]> * Home's bottom bar is the Listening page's Ask Omi pill With the phone Record button gone, Home's bottom bar was a lone 62 pt "Ask anything" pill unlike the Listening page's bar. It is now that bar's Ask Omi pill at full width: 56 pt raised glass, headline label, resting at max(32, inset), the same in the default and experimental designs. Pause and End stay on the Listening page (SCA-4440, David 2026-11-30). Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]> * Home's Ask Omi pill reads its label once The pill's semantics label merged with its Text, so VoiceOver read "Ask Omi" twice. The node keeps the label and its own tap and excludes the child's semantics (scoped review of 605a25f). Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Do not merge until v3 Home is fully settled (SCA-4803). Ready for review now; merge is David's call.
Tracking: SCA-5226.
What changes
Mobile Home becomes one v3 model with one row shape. Before this PR, Home had four modes (v3, the compact card feed, the episode projection, the legacy list) and a dozen row widgets. Now:
buildHome(app/lib/pages/conversations/home/home_model.dart) is a pure function of plain inputs. It returns days ofHomeRows, and the page draws each row with exactly one widget.HomeRowShellgives every row one card, a 36 pt tile, a title, one subtitle style, an optional trailing action and a 44 pt content band. A render test fails if any two rows differ in height. Transcribe Later uses the standard live Home row; Pause/Resume, New recording and Stop are in its Omi controls sheet. A conversation adds a line for a search or discarded snippet, an on-device provenance chip, a deferred marker, or a pending-transcription note. The height guard covers the plain rows.HomeSwipeDelete): a conversation confirms and offers Undo. Local audio confirms only, with no Undo.Product rulings applied (David, 2026-11-27)
HomeFeedProvider,/v1/home/feedreads and its cache), the episode projection on Home and the legacy fallback. The backend feed endpoint is untouched; it now has no mobile reader and can be retired separately (HOME_FEED_ENABLED).Behaviour notes for review
ConversationListItem: "Listening" until it has a title, its length, no snippet, no Finish pill. A capture the server hasn't named yet keeps the status-only placeholder; it shows preview words only for an admitted, verified pendant.main.dart), so neither has run since v3 reached everyone. I removed them rather than keep dead code; say if you want either back on v3.developer_home_daily_recaps_toggle). It was opt-in, and recaps stay on Activity.HomeDailyRecapsstays in the tree because Activity and the frozen visual-audit compat suites import it. Say if you want the opt-in row back.walRetryCanHelp). A terminal refusal (too large, outside the recovery window, unsupported audio) keeps its failure mark and offers play.HomeRowsHealthnow counts model rows, so its numbers will shift.Selector2over an identity snapshot), andhome_after_detail_perf_testguards it. The live row no longer has a per-second clock.UI quirk sweep
Material, so day-summary headers ink correctly wherever Home is mounted.Product invariants affected
app/lib/main.dartonly drops theHomeFeedProviderregistration. No endpoint, environment, auth, Firebase or data-plane routing changes.Render evidence
Real Flutter renders from
home_v3_test.dart→Home rows render, with app fonts, iOS metrics and synthetic data. Emoji show as boxes because the test engine has no colour-emoji font.Verification
flutter analyze lib test integration_testpasses with no errors or warnings in changed code.test/unit/home_model_test.dart: ordering, live and finishing placement, precedence, suppression, failed rows, hidden rows, the locked aggregate, filtered view, duplicates, deadlines, legacy fallback and prompt order.scripts/generate_dart_models.py --checkpasses after dropping thehome_feedschema group.test/widgets/home_swipe_delete_test.dart: a long swipe asks, yes deletes, no closes the row; a disabled row does not move; a recording confirms with no Undo, cannot be swiped while busy, and offers Retry only when it can help.test/pages/activity/on_this_phone_section_test.dart: what is listed, what Transcribe all sends (a waiting recording, or a failed one only when retrying can help), stopping at the allowance, and the bell's lasting dot.integration_test/perf, the visual-audit device walks). Their call sites were updated and compile.SCA-5226 follow-up
Transcribe Later now shares the standard Home live-row geometry. Its recording controls open from the row's more-options button in an Omi controls sheet. The two screenshots above show the row and the controls.
Verified on this head:
flutter test --no-pub test/widgets/capture_home_ui_test.dart --reporter expanded(35 tests), focusedflutter analyze(no issues), and thehome-transcribe-latervisual audit (passed).Failure-Class: none
🤖 Generated with Claude Code