Repository navigation
feat(app): conversation detail UX — who said what, synced playback, status everywhere - #20429
Conversation
The detail page went quiet whenever it was waiting: an empty Transcript tab while the full conversation loaded, nothing at all for a reprocess started from the menu over an existing summary, no word of a server-side processing pass, and several edits that rolled back without telling anyone. - Transcript tab with no lines: "Loading transcript…" while the detail fetch runs, "Couldn't load the transcript." with Try Again when it fails, "Processing conversation…" while the server is still working, Try Again (reprocess) when it marked the conversation failed, and the existing "No Transcript Available" empty state otherwise. The page fetches the full conversation when it opens a copy without lines. - Activity strip under the tab row (hairline bar + one line) while this conversation is reprocessed or the server reports it processing; it re-reads a processing conversation every 5 s (up to 3 min) so the result replaces it in place. - Reprocess: a progress toast when it starts, "Conversation updated" when it lands, Try Again on failure (same app), a connectivity check, the menu item disabled while one runs, and progress instead of "Generate Summary" on an empty summary. A failed processing pass offers the summary retry. - Transcript and speaker edits during a reprocess say "Wait for reprocessing to finish." instead of being dropped silently. - Failed segment-text and summary edits, folder moves (now rolled back), visibility changes, and thrown star/share errors now show an error toast. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Use a neutral Speaker label in detail and exports, and an unnumbered naming-sheet title. Add localized copy for the one-time explanation. Focused speaker, heading, sheet and transcript verification passed; l10n check passed for 49 locales and 3621 keys. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Keep voice changes visible without repeating name and time on every line. Preserve segment seek, edit, selection, tagging and confirmation actions. Rendered tests prove three turns for four A/A/B/A segments and correct callbacks; all 36 transcript widget tests pass. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Omit counts for absent or uncountable resolution and collapse assigned people within countable participants. Explain unavailable voice separation once with a quiet existing-style sheet, without an ineffective retry. Rendered heading tests cover unavailable 11 raw ids and resolved owner plus two participants, person deduplication, and the explanation sheet. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Add the release fragment required for user-facing mobile changes. Scope added beyond the lane brief: release notes only, with schema validation passing and no Dart changes after the full-suite gate. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
# 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
… Speaker rule Co-Authored-By: Claude Opus 5.5 <[email protected]>
Localize persistent playback status and reader-follow recovery across all supported locales instead of relying on transient error feedback. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Share wall-clock playback intent between transcript and player, suspend follow for reader gestures, and locate lazy rows by measured layout. Play line taps onward and retain pre-play scrubs and paused reader points. Keep preparation and classified audio failures inline with recovery; render missing audio ranges rather than silently hiding playlist gaps. Focused widget checks exercise native-player events and reader gestures. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Keep the transcript renderer below the product-file size ceiling by moving unchanged scroll and follow methods into a private Dart part. No line-count exception or guard change is needed. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Add the durable mobile release note required for user-facing app changes. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
# 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 # app/lib/pages/conversation_detail/widgets/transcript_tab.dart # app/lib/widgets/transcript.dart
The sync fixtures used one voice for every line. With saved transcripts now grouping a voice's consecutive lines into one turn (one label row), those lists shrank enough that a 120 px drag no longer moved the read point and a late line could not reach the top third. Alternate speakers so each line keeps its own label row, as in a real multi-person conversation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rsation Review findings on the status feedback: - Every detail read now carries a generation; opening another conversation and a landed reprocess bump it. A read applies (data and load state) only while it is still the latest, so an older "processing" poll can no longer overwrite a newer completed conversation, and the previous conversation's late failure can no longer mark this one failed. - The activity strip polls one read at a time. - The reprocess failure toast and its Try Again apply only to the conversation that failed, and the success toast only to the one reprocessed; the provider is shared across detail pages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refresh same-conversation waveform metadata, preserve valid loaded plans, and discard plans when their audio sources change. Paint a segment-local current background for owner speech as well as other speakers. Rendered regressions fail before these changes and pass afterward; 61 focused widget tests pass and touched-file analysis is clean. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…l-ux # 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 # app/lib/pages/conversation_detail/page.dart # app/lib/pages/conversation_detail/widgets/transcript_tab.dart # app/lib/widgets/transcript.dart
There was a problem hiding this comment.
60 issues found across 129 files
Confidence score: 3/5
- In
conversation_detail_header.dart, leaving the page while a move is pending can leave the optimistic folder ID in the shared cache. Run the rollback before returning from the unmounted path. - In
conversation_activity_strip.dart,mergingis an active server-processing state, but the detail stops polling and hides the activity strip. Handle it likeprocessing. - In
conversation_detail_header.dart, a snackbar action can run after the detail route is gone and use a deactivated context. Checkcontext.mountedbefore opening the folder sheet. - In
conversation_bottom_bar.dart, an unexpectedfetchexception escapes the handler, leaving Play without an inline failure or retry state. Catch remaining errors and report a bounded load failure.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="app/lib/pages/conversation_detail/widgets/conversation_detail_header.dart">
<violation number="1" location="app/lib/pages/conversation_detail/widgets/conversation_detail_header.dart:297">
P2: This return skips the failed-move rollback when the reader leaves the detail page while the request is pending, leaving the optimistic folder ID in the shared conversation cache. Run the rollback before this mounted check and gate only the toast on `context.mounted`.</violation>
<violation number="2" location="app/lib/pages/conversation_detail/widgets/conversation_detail_header.dart:307">
P2: This snackbar action can outlive the detail route, then call `showConversationFolderSheet` with a deactivated context and fail during its provider lookup. Guard the callback with `context.mounted` before opening the sheet.</violation>
</file>
<file name="app/lib/pages/conversation_detail/widgets/conversation_activity_strip.dart">
<violation number="1" location="app/lib/pages/conversation_detail/widgets/conversation_activity_strip.dart:47">
P2: `ConversationStatus.merging` is also an active server-processing state, but this predicate disables polling for it and the label branch below hides the strip. Treat `merging` like `processing` so the detail refreshes and shows progress through the merge.</violation>
</file>
<file name="app/docs/ux-contract.md">
<violation number="1" location="app/docs/ux-contract.md:213">
P2: This guarantee fails when adjacent recordings reuse a raw speaker ID: `_buildDetailLine` treats matching IDs as the same turn, so the next voice’s `Speaker` label disappears. Preserve recording/voice boundaries before claiming that every voice change remains visible.</violation>
</file>
<file name="app/lib/pages/conversation_detail/widgets.dart">
<violation number="1" location="app/lib/pages/conversation_detail/widgets.dart:411">
P2: The empty-summary branch only handles `processing`, so `in_progress` and `merging` conversations show the Generate Summary CTA while active work is ongoing. Treat these statuses as progress here too.</violation>
</file>
<file name="app/lib/widgets/conversation_bottom_bar.dart">
<violation number="1" location="app/lib/widgets/conversation_bottom_bar.dart:393">
P2: When a strict line-tap seek lands on a segment whose start falls in a collapsed gap, `wallToArtifactStrict` returns null and this branch sets `unmappable` and returns without clearing the controller's pending intent. `pendingStrict` stays true in the `ConversationPlaybackController`, so every later Play (and Try Again) re-seeks the same unmappable point and fails again — the failure becomes sticky until a scrub or another tap overwrites the pending point. Fall back to the snap mapping (`wallToArtifact`) for strict misses, or clear the pending on this path. `_togglePlayPause`'s resume branch has the same issue (`if (artifact == null && mapper != null && strict) _setFailure(...); return;`).</violation>
<violation number="2" location="app/lib/widgets/conversation_bottom_bar.dart:411">
P3: The `audioPlaybackStarted` analytics event is emitted before the resume seek runs; if that seek fails (e.g., strict wall point is unmappable, or `_seekToCombinedPosition` returns false on the stuck-pending path) playback never starts but a start event is still recorded. `_seekWall` already orders this correctly (seek first, then analytics + `play()`); move the event after the successful seek so the metric reflects actual playback starts.</violation>
<violation number="3" location="app/lib/widgets/conversation_bottom_bar.dart:576">
P2: Unexpected exceptions from `fetch` escape this handler, so Play produces no inline failure or retry state. Catch remaining errors and report a bounded load failure.</violation>
</file>
<file name="app/lib/l10n/app_he.arb">
<violation number="1" location="app/lib/l10n/app_he.arb:11371">
P2: This says to make the speaker label harder rather than tap it. Replace `הקשו` with `הקישו` so Hebrew users get the intended instruction.</violation>
</file>
<file name="app/lib/pages/conversation_detail/conversation_detail_provider.dart">
<violation number="1" location="app/lib/pages/conversation_detail/conversation_detail_provider.dart:1115">
P3: An untracked poll refresh that lands while the page's tracked load is still in flight can leave `detailLoad` stuck on `failed` even though the fetch succeeded. The poll bumps `_refreshGeneration` (via `++_refreshGeneration`), and if it fails first it flips `detailLoad` to `failed`; the tracked read then returns valid data but is dropped by this generation check, and its result is never applied. If processing has meanwhile finished, no further poll runs and the Transcript tab keeps showing "Try Again" with the full detail already in hand, until the user manually retries.</violation>
<violation number="2" location="app/lib/pages/conversation_detail/conversation_detail_provider.dart:1118">
P2: An unrecognized ID mismatch returns before the tracked load is finalized, leaving the Transcript tab on its spinner indefinitely. Mark the tracked load failed and notify listeners before returning.</violation>
</file>
<file name="app/lib/l10n/app_mr.arb">
<violation number="1" location="app/lib/l10n/app_mr.arb:11369">
P2: These translations describe voices as indistinguishable within a recording, but the limitation is that speaker identities are not linked across recordings. Preserve that cross-recording scope in both the notice and its message so users do not infer diarization failed.</violation>
</file>
<file name="app/lib/l10n/app_localizations_ko.dart">
<violation number="1" location="app/lib/l10n/app_localizations_ko.dart:12135">
P2: These strings say speakers cannot be distinguished within a recording, but the source says speaker matching is unavailable across recordings. Translate both with “녹음 간” wording so users do not mistake this for a lack of speaker separation within each recording.</violation>
</file>
<file name="app/lib/l10n/app_localizations_tr.dart">
<violation number="1" location="app/lib/l10n/app_localizations_tr.dart:12348">
P2: “Geçerli” means “valid,” so this label does not tell Turkish users to return to the current playback position. Use “Şu Anki Konuma Dön” instead.</violation>
</file>
<file name="app/lib/l10n/app_pt.arb">
<violation number="1" location="app/lib/l10n/app_pt.arb:3846">
P2: “Palestrante” suggests a presenter or conference speaker, not an unnamed conversational voice; use the established term “Falante”.</violation>
<violation number="2" location="app/lib/l10n/app_pt.arb:3852">
P3: “Voltar ao atual” leaves the destination unclear; label the transcript destination, such as “Voltar à linha atual”.</violation>
</file>
<file name="app/lib/l10n/app_localizations_hi.dart">
<violation number="1" location="app/lib/l10n/app_localizations_hi.dart:12303">
P2: Both Hindi strings omit “across recordings,” making the limitation sound like speakers aren't separated within one recording. Preserve the cross-recording scope in both translations so users understand what speaker identification does not do.</violation>
</file>
<file name="app/lib/widgets/transcript.dart">
<violation number="1" location="app/lib/widgets/transcript.dart:321">
P2: Enabling follow does not trigger a locate unless the target or request also changes. If playback starts with the existing target unchanged, the transcript can remain on a search result until the target changes; also detect the false-to-true follow transition.</violation>
<violation number="2" location="app/lib/widgets/transcript.dart:453">
P2: `_reportTopVisibleSegment()` scans every transcript segment (`_segmentKeys[segment.id]?.currentContext?.findRenderObject()` plus `RenderAbstractViewport.of`/`getOffsetToReveal` on every built row) with no early exit, and it now runs on every reader-drag pointer move (`_driveReaderDrag`) as well as once per frame during drags and ballistic scroll notifications (`_onUserScroll`, `_onScrollUpdate`). On long transcripts this makes each drag/frame O(segments) layout-ish work. As a guard, count only what the top of the viewport can intersect — e.g., stop the scan once a row's reveal offset exceeds the viewport, or anchor the search near the previously reported segment's index.</violation>
<violation number="3" location="app/lib/widgets/transcript.dart:733">
P2: A query change that does not start another locate leaves this paging job active, so it keeps jumping toward a stale result even though its completion callback rejects the old query. Invalidate the pending locate when the query or result changes.</violation>
</file>
<file name="app/lib/l10n/app_zh.arb">
<violation number="1" location="app/lib/l10n/app_zh.arb:3814">
P2: This drops the cross-recording scope and can imply Omi cannot distinguish voices within a recording. Preserve that the limitation is between recordings.</violation>
</file>
<file name="app/lib/l10n/app_ro.arb">
<violation number="1" location="app/lib/l10n/app_ro.arb:3817">
P2: `Înapoi la curent` reads as “back to current/up to date,” not the currently playing transcript line. Use `Revino la rândul curent`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_ur.dart">
<violation number="1" location="app/lib/l10n/app_localizations_ur.dart:12333">
P2: The Urdu notice and its explanatory message say speakers aren't separated in recordings, which suggests diarization is missing within a recording. Explicitly say that speakers aren't distinguished between recordings.</violation>
</file>
<file name="app/lib/l10n/app_te.arb">
<violation number="1" location="app/lib/l10n/app_te.arb:11369">
P2: This says speakers are not separated within recordings, not that identities are unlinked between recordings. Update this notice and `unresolvedSpeakersMessage` to make the cross-recording limitation clear.</violation>
</file>
<file name="app/lib/pages/conversation_detail/page.dart">
<violation number="1" location="app/lib/pages/conversation_detail/page.dart:1072">
P3: The REPROCESS_FAILED "Try Again" action calls `reprocessConversation` without the connectivity gate that the overflow-menu reprocess path applies. Offline, the retry fails again, re-queues REPROCESS_FAILED, and shows the same error snackbar instead of the no-internet dialog — the user can loop on this. Add the same `ConnectivityProvider.isConnected` check (with `showNoInternetDialog`) before retrying.</violation>
<violation number="2" location="app/lib/pages/conversation_detail/page.dart:1077">
P2: This shared listener treats every `SEGMENT_EDIT_FAILED` as a failure on the currently open conversation; a save started before navigating can fail afterward and show a misleading toast here. Include the failed conversation ID in the event and filter it as this handler does for reprocess failures.</violation>
</file>
<file name="app/lib/l10n/app_localizations_th.dart">
<violation number="1" location="app/lib/l10n/app_localizations_th.dart:12261">
P2: These strings say speakers cannot be distinguished during a recording, rather than explaining that speaker identities are not matched across recordings. Update both `unresolvedSpeakersNotice` and `unresolvedSpeakersMessage` to make the cross-recording limitation explicit, so Thai users do not think diarization fails within a recording.</violation>
</file>
<file name="app/lib/l10n/app_sr.arb">
<violation number="1" location="app/lib/l10n/app_sr.arb:11373">
P2: The five new `playback*` strings are written in Latin script, while every other entry in this file — including the 12 other new keys added here ("Поновна обрада разговора…", "Говорник", etc.) — is Cyrillic. The wording (`Priprema zvuka`, `Zvuk nije dostupan`) is identical to the Croatian/Bosnian files' translations, so these look like hr/bs strings pasted into the Serbian locale. Serbian users will see the audio player labels in a different alphabet from the rest of the UI. Transcribe them to Cyrillic (a 1:1 systematic transliteration of the Latin forms) and regenerate `app_localizations_sr.dart`.</violation>
</file>
<file name="app/lib/l10n/app_ms.arb">
<violation number="1" location="app/lib/l10n/app_ms.arb:3811">
P2: “Penceramah” suggests a lecturer or public speaker, not a neutral conversation voice. Use the established “Penutur” label here.</violation>
</file>
<file name="app/lib/l10n/app_kn.arb">
<violation number="1" location="app/lib/l10n/app_kn.arb:11371">
P2: This says Omi couldn't identify the voices, rather than that it couldn't tell them apart across recordings. Translate that distinction explicitly so users understand why the voices have unresolved labels.</violation>
</file>
<file name="app/lib/l10n/app_id.arb">
<violation number="1" location="app/lib/l10n/app_id.arb:3847">
P2: “Di seluruh rekaman” suggests speakers are not separated within every recording, rather than speaker identities not being linked between recordings. Use “lintas rekaman” in this notice and its matching message.</violation>
</file>
<file name="app/test/widgets/transcript_heading_test.dart">
<violation number="1" location="app/test/widgets/transcript_heading_test.dart:80">
P3: This `.value` provider does not dispose the newly created `PeopleProvider`, leaking its `AudioPlayer` on every test. Use `create:` so Provider owns and disposes it.</violation>
</file>
<file name="app/lib/l10n/app_da.arb">
<violation number="1" location="app/lib/l10n/app_da.arb:3855">
P3: These strings split the Danish compound “talermærke” with an incorrect hyphen. Use “talermærker” in the title and “talermærke” in the message.</violation>
</file>
<file name="app/lib/l10n/app_localizations_nl.dart">
<violation number="1" location="app/lib/l10n/app_localizations_nl.dart:12372">
P3: “Terug naar huidige” is ungrammatical Dutch and leaves out what is current. Label this action “Terug naar nu” to match its return-to-current-playback behavior.</violation>
</file>
<file name="app/lib/l10n/app_es.arb">
<violation number="1" location="app/lib/l10n/app_es.arb:3814">
P3: «Nombrar a quién habla» suena incorrecto y ambiguo en español. Cambia la frase a «para asignar un nombre a quien está hablando».</violation>
<violation number="2" location="app/lib/l10n/app_es.arb:3817">
P3: «Volver a lo actual» es ambiguo; esta píldora desplaza la transcripción hasta la línea que se está reproduciendo. Usa «Volver a la línea actual».</violation>
</file>
<file name="app/lib/l10n/app_ru.arb">
<violation number="1" location="app/lib/l10n/app_ru.arb:3846">
P3: “Докладчик” means a presenter or lecturer, not a neutral conversation speaker. Use “Говорящий” to preserve the generic label intended here.</violation>
<violation number="2" location="app/lib/l10n/app_ru.arb:3849">
P3: This sentence switches Omi to feminine agreement, while existing Russian copy uses masculine agreement. Change “смогла” to “смог” for consistency.</violation>
</file>
<file name="app/lib/l10n/app_fr.arb">
<violation number="1" location="app/lib/l10n/app_fr.arb:3852">
P3: “Revenir à l'actuel” is awkward and leaves the destination unclear. Use “Revenir à la ligne en cours” to identify the currently playing transcript line.</violation>
</file>
<file name="app/lib/utils/audio/conversation_playback_controller.dart">
<violation number="1" location="app/lib/utils/audio/conversation_playback_controller.dart:42">
P3: The initial segment can appear selected before playback has reported a mapped position. Initialize `_mapped` to `false` so `updateSegments()` does not claim a current line until playback is mapped.</violation>
</file>
<file name="app/lib/l10n/app_localizations_it.dart">
<violation number="1" location="app/lib/l10n/app_localizations_it.dart:12399">
P3: “Nomina relatore” reads as appointing a speaker rather than assigning a name; use “Assegna un nome al relatore”.</violation>
<violation number="2" location="app/lib/l10n/app_localizations_it.dart:12405">
P3: “Torna all'attuale” is unnatural and unclear for this control; use “Torna alla posizione corrente” to identify what users return to.</violation>
</file>
<file name="app/lib/l10n/app_localizations_ro.dart">
<violation number="1" location="app/lib/l10n/app_localizations_ro.dart:12397">
P3: `Audio nu a putut fi încărcat` is ungrammatical Romanian because the subject lacks an article; use `Fișierul audio nu a putut fi încărcat`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_sv.dart">
<violation number="1" location="app/lib/l10n/app_localizations_sv.dart:12341">
P3: “Tillbaka till aktuell” is incomplete Swedish and does not say what the reader returns to. Use an explicit reference to the currently playing line, such as “Tillbaka till den aktuella raden”.</violation>
</file>
<file name="app/lib/l10n/app_uk.arb">
<violation number="1" location="app/lib/l10n/app_uk.arb:3811">
P3: “Доповідач” suggests a presenter rather than the neutral transcript label “Speaker”; use “Мовець” to match the existing terminology.</violation>
</file>
<file name="app/lib/l10n/app_hr.arb">
<violation number="1" location="app/lib/l10n/app_hr.arb:11374">
P3: `Natrag na trenutno` is an awkward, ambiguous phrase here; name the destination as `Natrag na trenutačni redak` so users know the pill returns to the playing transcript line.</violation>
</file>
<file name="app/lib/l10n/app_pl.arb">
<violation number="1" location="app/lib/l10n/app_pl.arb:3852">
P3: “Wróć do bieżącego” is incomplete and does not say what is current; use “Wróć do odtwarzanej wypowiedzi” to describe the transcript-follow action.</violation>
</file>
<file name="app/lib/l10n/app_localizations_de.dart">
<violation number="1" location="app/lib/l10n/app_localizations_de.dart:12432">
P3: This button returns to the currently followed transcript line, but `Zurück zum Aktuellen` is an unnatural, ambiguous label. Use `Zur aktuellen Zeile` in the German source translation and regenerate this file.</violation>
</file>
<file name="app/lib/l10n/app_no.arb">
<violation number="1" location="app/lib/l10n/app_no.arb:3817">
P3: “Tilbake til gjeldende” is incomplete and does not tell readers what they return to. Use a label that identifies the currently playing line, such as “Tilbake til den aktive linjen.”</violation>
</file>
<file name="app/lib/l10n/app_sk.arb">
<violation number="1" location="app/lib/l10n/app_sk.arb:3811">
P3: Use the same term as the other speaker labels: `Hovorca` can read as “spokesperson,” while this label names a conversation speaker. Change it to `Rečník`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_bs.dart">
<violation number="1" location="app/lib/l10n/app_localizations_bs.dart:12365">
P3: `Natrag na trenutno` leaves the destination unclear; this control returns the transcript to the playing line. Use an explicit label such as `Na trenutnu liniju`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_pt.dart">
<violation number="1" location="app/lib/l10n/app_localizations_pt.dart:12351">
P3: This `pt` catalog otherwise uses Brazilian Portuguese, but this label switches to European Portuguese; the new speaker message also uses `está a falar`. Use Brazilian wording consistently, such as `Preparando áudio…` and `quem está falando`.</violation>
</file>
<file name="app/lib/l10n/app_be.arb">
<violation number="1" location="app/lib/l10n/app_be.arb:11371">
P3: This gives Omi feminine agreement (`змогла`), but this locale uses masculine agreement (`Omi не змог`, `Omi мог`, `Omi знайшоў`). Change it to `не змог`.</violation>
</file>
<file name="app/changelog/unreleased/20261003-conversation-detail-status.json">
<violation number="1" location="app/changelog/unreleased/20261003-conversation-detail-status.json:2">
P3: “A result for Reprocess” is unclear, and the sentence reads like an implementation checklist. Tighten it to the user-facing outcome.</violation>
</file>
<file name="app/lib/l10n/app_localizations_fi.dart">
<violation number="1" location="app/lib/l10n/app_localizations_fi.dart:12343">
P3: This status reads ungrammatically in Finnish because it omits the copula. Use `Ääni ei ole saatavilla`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_da.dart">
<violation number="1" location="app/lib/l10n/app_localizations_da.dart:12324">
P3: “Aktuel” needs a noun or determiner here, so the pill reads as an incomplete phrase. Translate the described action as “Tilbage til den aktuelle linje.”</violation>
</file>
<file name="app/lib/l10n/app_localizations_et.dart">
<violation number="1" location="app/lib/l10n/app_localizations_et.dart:12308">
P3: This switches to informal singular imperative while the other new conversation-detail instructions use polite plural; use `Oodake` to keep the address consistent.</violation>
</file>
<file name="app/lib/l10n/app_ar.arb">
<violation number="1" location="app/lib/l10n/app_ar.arb:3817">
P3: `العودة إلى الحالي` leaves “current” without a noun, making the pill’s destination unclear. Translate the target explicitly, for example `العودة إلى السطر الجاري تشغيله`.</violation>
</file>
<file name="app/lib/l10n/app_localizations_hu.dart">
<violation number="1" location="app/lib/l10n/app_localizations_hu.dart:12375">
P3: This uses formal `Koppintson`/`megnevezze`, but the other new prompt uses informal `Várd`; switch to informal forms to keep the Hungarian UI's register consistent.</violation>
</file>
<file name="app/lib/l10n/app_cs.arb">
<violation number="1" location="app/lib/l10n/app_cs.arb:3817">
P3: This button returns to the currently playing transcript line, but “Zpět na aktuální” reads incomplete in Czech; use “Zpět na aktuální řádek.”</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| final detailProvider = context.read<ConversationDetailProvider>(); | ||
| detailProvider.updateFolderIdLocally(newFolderId); | ||
| final moved = await folderProvider.moveConversation(conversation.id, newFolderId); | ||
| if (!context.mounted) return; |
There was a problem hiding this comment.
P2: This return skips the failed-move rollback when the reader leaves the detail page while the request is pending, leaving the optimistic folder ID in the shared conversation cache. Run the rollback before this mounted check and gate only the toast on context.mounted.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets/conversation_detail_header.dart, line 297:
<comment>This return skips the failed-move rollback when the reader leaves the detail page while the request is pending, leaving the optimistic folder ID in the shared conversation cache. Run the rollback before this mounted check and gate only the toast on `context.mounted`.</comment>
<file context>
@@ -287,17 +287,33 @@ Future<void> showConversationFolderSheet(
+ final detailProvider = context.read<ConversationDetailProvider>();
+ detailProvider.updateFolderIdLocally(newFolderId);
+ final moved = await folderProvider.moveConversation(conversation.id, newFolderId);
+ if (!context.mounted) return;
+ if (!moved) {
+ if (detailProvider.conversationOrNull?.id == conversation.id &&
</file context>
|
|
||
| void _syncPolling(ConversationDetailProvider provider, ServerConversation? conversation) { | ||
| final processingId = | ||
| conversation != null && conversation.status == ConversationStatus.processing ? conversation.id : null; |
There was a problem hiding this comment.
P2: ConversationStatus.merging is also an active server-processing state, but this predicate disables polling for it and the label branch below hides the strip. Treat merging like processing so the detail refreshes and shows progress through the merge.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets/conversation_activity_strip.dart, line 47:
<comment>`ConversationStatus.merging` is also an active server-processing state, but this predicate disables polling for it and the label branch below hides the strip. Treat `merging` like `processing` so the detail refreshes and shows progress through the merge.</comment>
<file context>
@@ -0,0 +1,116 @@
+
+ void _syncPolling(ConversationDetailProvider provider, ServerConversation? conversation) {
+ final processingId =
+ conversation != null && conversation.status == ConversationStatus.processing ? conversation.id : null;
+ if (processingId == _pollingId) return;
+ _poll?.cancel();
</file context>
| is `unavailable`), raw ids from different recordings are not comparable, so an unnamed voice is | ||
| the plain **Speaker** (`l10n.unnamedSpeakerLabel`), never "Speaker ?" and never a number, and the | ||
| transcript heading omits its speaker count. A saved transcript names each speaker once per turn | ||
| (consecutive lines from the same voice), so a change of voice is still visible. |
There was a problem hiding this comment.
P2: This guarantee fails when adjacent recordings reuse a raw speaker ID: _buildDetailLine treats matching IDs as the same turn, so the next voice’s Speaker label disappears. Preserve recording/voice boundaries before claiming that every voice change remains visible.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/docs/ux-contract.md, line 213:
<comment>This guarantee fails when adjacent recordings reuse a raw speaker ID: `_buildDetailLine` treats matching IDs as the same turn, so the next voice’s `Speaker` label disappears. Preserve recording/voice boundaries before claiming that every voice change remains visible.</comment>
<file context>
@@ -206,6 +206,11 @@ participant lists, the speaker filter and every copied, shared or exported trans
+ is `unavailable`), raw ids from different recordings are not comparable, so an unnamed voice is
+ the plain **Speaker** (`l10n.unnamedSpeakerLabel`), never "Speaker ?" and never a number, and the
+ transcript heading omits its speaker count. A saved transcript names each speaker once per turn
+ (consecutive lines from the same voice), so a change of voice is still visible.
- The speaker filter is "Filter by speaker" (`l10n.filterBySpeaker`), never the loudspeaker string
`phoneSpeaker`.
</file context>
| context, | ||
| context.l10n.failedToUpdateFolder, | ||
| actionLabel: context.l10n.tryAgain, | ||
| onAction: () => showConversationFolderSheet(context, conversation, source: source), |
There was a problem hiding this comment.
P2: This snackbar action can outlive the detail route, then call showConversationFolderSheet with a deactivated context and fail during its provider lookup. Guard the callback with context.mounted before opening the sheet.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets/conversation_detail_header.dart, line 307:
<comment>This snackbar action can outlive the detail route, then call `showConversationFolderSheet` with a deactivated context and fail during its provider lookup. Guard the callback with `context.mounted` before opening the sheet.</comment>
<file context>
@@ -287,17 +287,33 @@ Future<void> showConversationFolderSheet(
+ context,
+ context.l10n.failedToUpdateFolder,
+ actionLabel: context.l10n.tryAgain,
+ onAction: () => showConversationFolderSheet(context, conversation, source: source),
);
+ return;
</file context>
| onAction: () => showConversationFolderSheet(context, conversation, source: source), | |
| onAction: () { | |
| if (context.mounted) { | |
| showConversationFolderSheet(context, conversation, source: source); | |
| } | |
| }, |
| ), | ||
| ); | ||
| } | ||
| if (conversation.status == ConversationStatus.processing) { |
There was a problem hiding this comment.
P2: The empty-summary branch only handles processing, so in_progress and merging conversations show the Generate Summary CTA while active work is ongoing. Treat these statuses as progress here too.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/widgets.dart, line 411:
<comment>The empty-summary branch only handles `processing`, so `in_progress` and `merging` conversations show the Generate Summary CTA while active work is ongoing. Treat these statuses as progress here too.</comment>
<file context>
@@ -393,9 +393,29 @@ class GetAppsWidgets extends StatelessWidget {
+ ),
+ );
+ }
+ if (conversation.status == ConversationStatus.processing) {
+ return SliverToBoxAdapter(
+ child: Padding(
</file context>
| if (conversation.status == ConversationStatus.processing) { | |
| if (conversation.status == ConversationStatus.processing || | |
| conversation.status == ConversationStatus.merging || | |
| conversation.status == ConversationStatus.in_progress) { |
| String get conversationProcessingFailedMessage => 'Seda vestlust ei õnnestunud töödelda.'; | ||
|
|
||
| @override | ||
| String get waitForReprocessing => 'Oota, kuni uuesti töötlemine lõpeb.'; |
There was a problem hiding this comment.
P3: This switches to informal singular imperative while the other new conversation-detail instructions use polite plural; use Oodake to keep the address consistent.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_localizations_et.dart, line 12308:
<comment>This switches to informal singular imperative while the other new conversation-detail instructions use polite plural; use `Oodake` to keep the address consistent.</comment>
<file context>
@@ -12285,4 +12285,56 @@ class AppLocalizationsEt extends AppLocalizations {
+ String get conversationProcessingFailedMessage => 'Seda vestlust ei õnnestunud töödelda.';
+
+ @override
+ String get waitForReprocessing => 'Oota, kuni uuesti töötlemine lõpeb.';
+
+ @override
</file context>
| } | ||
| // A newer read, another conversation or a reprocess result superseded this one: it owns the | ||
| // page now, including [detailLoad]. | ||
| if (_isDisposed || generation != _refreshGeneration || conversationOrNull?.id != openedId) return; |
There was a problem hiding this comment.
P3: An untracked poll refresh that lands while the page's tracked load is still in flight can leave detailLoad stuck on failed even though the fetch succeeded. The poll bumps _refreshGeneration (via ++_refreshGeneration), and if it fails first it flips detailLoad to failed; the tracked read then returns valid data but is dropped by this generation check, and its result is never applied. If processing has meanwhile finished, no further poll runs and the Transcript tab keeps showing "Try Again" with the full detail already in hand, until the user manually retries.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversation_detail/conversation_detail_provider.dart, line 1115:
<comment>An untracked poll refresh that lands while the page's tracked load is still in flight can leave `detailLoad` stuck on `failed` even though the fetch succeeded. The poll bumps `_refreshGeneration` (via `++_refreshGeneration`), and if it fails first it flips `detailLoad` to `failed`; the tracked read then returns valid data but is dropped by this generation check, and its result is never applied. If processing has meanwhile finished, no further poll runs and the Transcript tab keeps showing "Try Again" with the full detail already in hand, until the user manually retries.</comment>
<file context>
@@ -1042,36 +1083,57 @@ class ConversationDetailProvider extends ChangeNotifier with MessageNotifierMixi
}
+ // A newer read, another conversation or a reprocess result superseded this one: it owns the
+ // page now, including [detailLoad].
+ if (_isDisposed || generation != _refreshGeneration || conversationOrNull?.id != openedId) return;
+ if (updatedConversation != null) {
+ if (updatedConversation.id != openedId) {
</file context>
| "unresolvedSpeakersMessage": "تعذّر على Omi التمييز بين الأصوات الأخرى عبر التسجيلات. اضغط على تسمية متحدث لتسمية من يتحدث.", | ||
| "nameSpeakerTitle": "تسمية المتحدث", | ||
| "playbackPreparingAudio": "جارٍ تجهيز الصوت…", | ||
| "playbackBackToCurrent": "العودة إلى الحالي", |
There was a problem hiding this comment.
P3: العودة إلى الحالي leaves “current” without a noun, making the pill’s destination unclear. Translate the target explicitly, for example العودة إلى السطر الجاري تشغيله.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_ar.arb, line 3817:
<comment>`العودة إلى الحالي` leaves “current” without a noun, making the pill’s destination unclear. Translate the target explicitly, for example `العودة إلى السطر الجاري تشغيله`.</comment>
<file context>
@@ -3800,5 +3800,22 @@
+ "unresolvedSpeakersMessage": "تعذّر على Omi التمييز بين الأصوات الأخرى عبر التسجيلات. اضغط على تسمية متحدث لتسمية من يتحدث.",
+ "nameSpeakerTitle": "تسمية المتحدث",
+ "playbackPreparingAudio": "جارٍ تجهيز الصوت…",
+ "playbackBackToCurrent": "العودة إلى الحالي",
+ "playbackAudioUnavailable": "الصوت غير متوفر",
+ "playbackAudioLoadFailed": "تعذر تحميل الصوت",
</file context>
| "playbackBackToCurrent": "العودة إلى الحالي", | |
| "playbackBackToCurrent": "العودة إلى السطر الجاري تشغيله", |
|
|
||
| @override | ||
| String get unresolvedSpeakersMessage => | ||
| 'Omi nem tudta elkülöníteni a többi hangot a felvételek között. Koppintson egy beszélőcímkére, hogy megnevezze, ki beszél.'; |
There was a problem hiding this comment.
P3: This uses formal Koppintson/megnevezze, but the other new prompt uses informal Várd; switch to informal forms to keep the Hungarian UI's register consistent.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_localizations_hu.dart, line 12375:
<comment>This uses formal `Koppintson`/`megnevezze`, but the other new prompt uses informal `Várd`; switch to informal forms to keep the Hungarian UI's register consistent.</comment>
<file context>
@@ -12339,4 +12339,56 @@ class AppLocalizationsHu extends AppLocalizations {
+
+ @override
+ String get unresolvedSpeakersMessage =>
+ 'Omi nem tudta elkülöníteni a többi hangot a felvételek között. Koppintson egy beszélőcímkére, hogy megnevezze, ki beszél.';
+
+ @override
</file context>
| 'Omi nem tudta elkülöníteni a többi hangot a felvételek között. Koppintson egy beszélőcímkére, hogy megnevezze, ki beszél.'; | |
| 'Omi nem tudta elkülöníteni a többi hangot a felvételek között. Koppints egy beszélőcímkére, hogy megnevezd, ki beszél.'; |
| "unresolvedSpeakersMessage": "Omi nedokázalo napříč nahrávkami rozeznat ostatní hlasy. Klepnutím na popisek mluvčího pojmenujete, kdo mluví.", | ||
| "nameSpeakerTitle": "Pojmenovat mluvčího", | ||
| "playbackPreparingAudio": "Připravuje se zvuk…", | ||
| "playbackBackToCurrent": "Zpět na aktuální", |
There was a problem hiding this comment.
P3: This button returns to the currently playing transcript line, but “Zpět na aktuální” reads incomplete in Czech; use “Zpět na aktuální řádek.”
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_cs.arb, line 3817:
<comment>This button returns to the currently playing transcript line, but “Zpět na aktuální” reads incomplete in Czech; use “Zpět na aktuální řádek.”</comment>
<file context>
@@ -3800,5 +3800,22 @@
+ "unresolvedSpeakersMessage": "Omi nedokázalo napříč nahrávkami rozeznat ostatní hlasy. Klepnutím na popisek mluvčího pojmenujete, kdo mluví.",
+ "nameSpeakerTitle": "Pojmenovat mluvčího",
+ "playbackPreparingAudio": "Připravuje se zvuk…",
+ "playbackBackToCurrent": "Zpět na aktuální",
+ "playbackAudioUnavailable": "Zvuk není k dispozici",
+ "playbackAudioLoadFailed": "Zvuk se nepodařilo načíst",
</file context>
| "playbackBackToCurrent": "Zpět na aktuální", | |
| "playbackBackToCurrent": "Zpět na aktuální řádek", |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d refresh Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Conversation detail UX on mobile: who said what, audio and transcript as one surface, and status for everything the page waits on. Three lanes merged into one PR.
1. Who said what (replaces "Speaker ?" from #19432)
#19432 labeled every unnamed voice "Speaker ?" whenever
speaker_resolution.status == 'unavailable'. Today that is nearly every live or multi-recording conversation, because live capture scopes are excluded from conversation-wide resolution. The result showed no turn changes, and the heading read "11 speakers" while every line said "Speaker ?".app/docs/ux-contract.md§9 records the rule.2. Playback and transcript on one timeline
/urlsrequest is no longer reported as "no audio files". Parts that aren't ready yet are marked on the waveform.3. Status and progress
Failure class (fixes)
Failure-Class: FC-read-in-flight-across-delete-resurrects-row
The status fix adopts this class's canonical prevention. Detail reads (the processing poll, the tracked load) are fenced by a generation counter that is bumped when a read starts, when the open conversation changes, and when a reprocess result commits. A read applies only while its generation is current. Controllable-future tests cover both orderings: an older read resolving after a newer one, and the previous conversation's read resolving after a switch.
Product invariants affected
none
Verification
flutter test --no-pub -j 4 test/on the integrated branch (10668dcbe8): 4090 passed, 5 skipped, 0 failed.make preflightwith this body: 23 checks passed.origin/mainsource and passing after.python3 scripts/l10n.py check: all 49 locales carry the 17 new keys with real translations.🤖 Generated with Claude Code