Repository navigation
fix(app): capture problems speak on the live page and the Activity bell, never on Home - #22119
Merged
Merged
Conversation
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.
What changed and why
Capture problems no longer appear on Home. They show up in two places: the live transcription page and the Activity bell. This follows David's review of the design mockups (live page option A, Activity option 1).
CaptureRecoveryBanneris no longer mounted. Instead, the Activity bell's amber dot now also lights for an acute link episode.visiblePromptwalked devices in map order. An open storage episode on the local WAL therefore hid a pendant stall: the Activity row and the bell dot went missing, and Reconnect retried the storage transfer. The acute episode now takes priority.The widget moves to
lib/pages/conversation_capturing/capture_recovery_status.dart. Removed strings:activityAttentionManage,captureBannerDismiss,captureBannerWhatsWrong,captureLinkStalledTranscribesLater. The live header isCaptureWedgeAppBarin the same file. Added string:activityAttentionLinkStalledSubtitle(49 locales viascripts/l10n.py).Line-Count-Exception: backend/routers/sync.py | 2903 -> 2921 | growth comes from origin/main (d644711, 0721d7f) merged into this stacked branch; no line in this PR adds to it
Product invariants affected
app/lib/services/capture/capture_wedge_monitor.dart. Retention and admission behavior are unchanged. The monitor only exposes which episode is acute, prefers it as the visible prompt, and lights the bell for it. The ingress-failure surfaces still make no saved-audio claim, and tests cover this.origin/mainmerge, not by this PR's own commits.How it was verified
app/scripts/visual_audit.sh --base 7745645b79 --head WORKTREE --only home-capture-link-stall,conversation-live-recovery-banner,activity-capture-attentioncaptured the before/after renders below. These are headless widget captures with synthetic local state, not a device run.flutter analyzeon the touched files: no new issues. The one existing info, atconversation_capturing/page.dart:530, predates this PR.python3 .github/scripts/check_mobile_ux_contract.py --reporton the three touched UI files: clean.python3 scripts/l10n.py check: ok, 49 locales.Tests
flutter test test/widgets/capture_recovery_banner_test.dart test/widgets/needs_attention_capture_test.dart test/pages/conversations/ test/pages/activity/ test/widgets/pending_work_test.dart test/services/capture/ test/visual_audit/plus the capturing-page tests → 678 passed.capture_recovery_banner_test.dart(the pathFC-capture-recovery-dead-endnames) now covers the status line:needs_attention_capture_test.dart:home_no_capture_banner_test.dart: real Home shows nothing for an acute episode or a storage episode, and the bell flag is set for the acute one.Review
A ZCode (GLM-5.3) review of a860adf found no blockers. Two should-fixes are addressed in 7ca2a5a: the header now holds "Reconnecting" through an in-flight retry, and a connected-but-silent pendant makes no still-recording claim. Two nits are also fixed there: the audit now asserts the link row, and the header has widget tests.
dismissVisibleEpisodeis left in the monitor API, still covered by its tests.UI evidence
Scoped cleanups
package:omi/ui/ui.dartimport fromapp/test/widgets/home_ask_anything_button_test.dart. Since refactor(home): replace Home chat bar with clean Ask Anything button (#19854) #21393,origin/mainfails the analyzer ratchet on it (unused_import: 1 found, baseline 0), so every PR merged with main fails Dart Analyze & Tests.Failure class (fixes)
Failure-Class: FC-capture-recovery-dead-end
Follow-up: the record's wording still mentions an explicit dismiss and the old banner path in
scope_hints. Per the template, that registry change goes in its own registry-only PR.🤖 Generated with Claude Code