Repository navigation
v2 cleaner UX: live transcript page, names above the lines in one card, Pause and Finish in a dock - #20796
v2 cleaner UX: live transcript page, names above the lines in one card, Pause and Finish in a dock#20796Itaxh1 wants to merge 2 commits into
Conversation
… Settings components
A "Live Transcript" title with the state line and the session clock under it; the transcript in one card with each speaker's name above their words, the newest line full ink with a caret and earlier lines secondary; Pause/Resume and Finish as labelled capsules in a floating dock. Same handlers, keys and banners as before: the speaker sheet, label badge, tagging spinner, likely-speaker chip, translations and photo groups keep their places. OmiButton gains a pill option for the dock. The audit's capture fake learns the suggestion map the lines now read. Part of BasedHardware#20719. Mock and today's page in BasedHardware#20773.
|
Reviewed on top of #20342. The PR's own change is 5 files and they look good:
Two small non-blocking notes: the session clock's Needs #20342 merged first; holding formal review until the base lands and the true 5-file delta is visible. UX direction sign-off on the v2 live-transcript look (dock, single card, names above lines) needs a maintainer's eye. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
feat(app) v2 cleaner UX part 9/10 - mobile feature, approve-only (not merge), normalized consistent with rest of the v2 UX series
|
Reviewed the 5 files this PR owns on top of #20342, plus the foundation files it stacks on. This is a careful, behavior-preserving restyle — some notes from the read-through:
Two non-blocking observations:
Thanks @Itaxh1 — the turn-boundary logic for the label badge ( by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Itaxh1 v2 cleaner UX (live transcript) -- feature, approve-only
kodjima33
left a comment
There was a problem hiding this comment.
Itaxh1 v2 cleaner-UX series — feature (mobile/flutter), explicitly carved out as normal per standing memory (self-bounty flag applies elsewhere on this account, not this series) — approve only, not a
|
@Itaxh1 this conflicts with |
kodjima33
left a comment
There was a problem hiding this comment.
Mobile UI redesign - feature, approve-only. Itaxh1 v2-UX series treated normally per standing carve-out.
kodjima33
left a comment
There was a problem hiding this comment.
Feature (v2 live-transcript UI redesign), not a bug fix - area rule is approve-only regardless of quality. mergeStateStatus is DIRTY so merge isn't available anyway.
TL;DR: The live transcript page (the page behind the Home listening row while recording) moves to the v2 look: a "Live Transcript" title with the state line and the session clock under it, the transcript in one card with each speaker's name above their words instead of chat bubbles with avatars, and Pause/Resume and Finish as two labelled capsules in a floating dock. UI only, no backend change, no new behaviour: the same handlers and keys, the speaker sheet on tap, the label badge, the tagging spinner, the likely-speaker chip, translations, photo groups and every banner keep their places. Screenshots below. Closes #20773; part of the v2 cleaner UX (#20719) and needs #20342 first.
Closes #20773
What changed and why
capture_state_header.dart):ConversationStateAppBartakes an optionaltitleandstartedAt. With a title, the page's name is the headline and the state row ("Listening · Pendant", with its dot) sits under it in secondary footnote type, followed by a session clock (m:ss,h:mm:sspast the hour) while the state is live. The clock ticks in its own small widget outside the announced live region, so a screen reader never hears it over the state. The processing and saved pages pass no title and are unchanged.conversation_capturing/page.dart): onesurface1card on the grouped page, a hairline and a little lift, with a fade at the top so the oldest lines slip under the edge. Both the plain path and the photo path (a camera-capable device's photo groups first) go through oneTranscriptWidgetwith asegmentBuilder; before, only the photo path did. Each line: the speaker's name fromSpeakerNamesin small grey (You, the person once named, otherwise Speaker N), then the words attitle3regular. The newest line is full ink with a caret while listening; earlier lines are secondary. Tapping a line opens the speaker sheet, as the avatar and name did. Gone from the live page: the avatars, the per-line time offsets and the chat bubbles.OmiButton, primary) and Finish (OmiButton.secondary) side by side in a floating dock (surface1pill with the float shadow). Same keys (capture_pause_button,process_now_button), same handlers, same rule for when Pause is offered (LiveCaptureCard.canPause).OmiButtongainspill: true(a capsule instead of the 12 pt corners) for buttons inside a pill-shaped dock. Default unchanged.suggestionsBySegmentId, which every line now reads.Screenshots
Before is
main's page on the foundation, after is this branch. Rendered byapp/scripts/visual_audit.sh(real widgets, flutter-tester, 390×844 at 2×, fixture data, light theme).Product invariants affected
none
How it was verified
flutter analyzeon the changed files: no errors or warnings (the one info is onmain).dart format --line-length 120: clean.bash test.sh) on this branch: 4,669 passed, 14 skipped, 1 failed —test/services/siri_integration_test.dart("… submitted during cooldown reach Spotlight after cooldown"), a Spotlight cooldown timing test in code this branch does not touch; it passes on its own (28/28).conversation-live-pendantandconversation-live-phone-paused, foundation against this branch: the screenshots above.scripts/pr-preflight(lane local, 23 checks, with this body): passed.Tests
test/widgets/capturing_empty_state_test.dart, new case: the live page shows "Live Transcript", the state line and the clock, names each speaker above their words (You, Speaker 1), sets the newest line in primary and the earlier one in secondary, and keeps Pause and Finish side by side in that order.Failure class (fixes)
Failure-Class: none