Skip to content

feat(app): v2 cleaner UX — all eleven parts together (preview) - #20835

Draft
Itaxh1 wants to merge 39 commits into
BasedHardware:mainfrom
Itaxh1:build/v2-all-1006
Draft

Itaxh1 wants to merge 39 commits into
BasedHardware:mainfrom
Itaxh1:build/v2-all-1006

Conversation

@Itaxh1

@Itaxh1 Itaxh1 commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: The whole v2 cleaner UX in one branch, to see and try as a whole: the design foundation, the eight split PRs (Settings home and pages, Offline Sync, Tasks, Flat Home, Ask bar + record button, conversation rows, Daily Recaps), the two-colour chat and the transcript paragraphs. It is the build that runs on an iPhone 15 Pro Max today. UI only, no backend change, no new behaviour: every screen keeps its taps and data. This is a preview of the eleven PRs merged together; the parts stay the unit of review and merge, in the order below. Screenshots below: the App Store app against this build on an iPhone 15 Pro Max.

How to read this. This branch is the merge of the eleven PR heads below, nothing else; git merge-tree produced each merge and every PR's own files are byte-identical here. Merge the parts, not this branch; it exists so the whole can be seen, installed and reviewed in one place. Tracked in #20719. Fork branch: build/v2-all-1006.

The eleven PRs

# PR What it changes Code + tests (no translations)
1 #20342 Design foundation: tokens, canvas, glass, grouped page, Settings components (no visible change) 26 files, +1,470 / −29
2 #20331 Settings home: a full-screen page, seven labelled groups, icon tiles, Instrument Sans, Account 17 files, +684 / −264
3 #20714 Every page inside Settings on the grouped page (carries main cf8201c2f5 merged) 93 files, +5,256 / −1,868
4 #20715 Offline Sync: recordings grouped by day, All / Pending / Synced, the storage sheet 19 files, +812 / −1,366
5 #20329 Tasks: Overdue first, Completed folded under the list, one ⋯ menu 17 files, +1,660 / −351
6 #20328 Flat Home: white canvas in light mode, glass header, a sheet for a dropped pendant 13 files, +488 / −88
7 #20716 Ask anything bar and a glass record button (a tap still records, as on main) 7 files, +233 / −152
8 #20717 Conversation rows show their device; Try again stays level with Processing; one-line chips on the conversation page 21 files, +621 / −251
9 #20718 Daily Recaps: flat rows, and counts that open that day's conversations and tasks 10 files, +322 / −309
10 #20795 Chat in two colours: a solid question with a tail, an unboxed answer, numbered sources, one filled message box 17 files, +882 / −259
11 #20732 Saved transcripts read as paragraphs, with the playing line in full ink 11 files, +1,404 / −342

Whole branch against main: 209 files, +10,331 / −4,642 without translations (336 files with them).

Merge order. #20342 first; then 2–10 in any order (each is #20342's commit plus its own); #20732 is off main and independent. The one known overlap, #20329 and #20716 editing neighbouring lines in home/page.dart, is already resolved in this branch the way each PR's body describes.

Screenshots

The Omi app from the App Store (before) against this branch (1f9e99f3b3, after), on an iPhone 15 Pro Max, light mode. Unedited phone screenshots.

Before (App Store app) After (this branch)
Home After: Home
Conversation summary Before: Food Order summary After: Food Order summary
Transcript Before: Food Order transcript After: Food Order transcript
Conversation summary Before: Where People Have Been summary
Transcript Before: Where People Have Been transcript
Tasks Before: Tasks After: Tasks
Edit a task Before: Edit task sheet After: Edit task sheet
Edit a task Before: Edit task sheet
Chat Before: chat After: chat
Chat: a list answer Before: chat list answer After: chat list answer
Settings Before: Settings After: Settings
Device settings Before: Device settings After: Device settings
Daily Recap Before: Daily Recap
Connect Before: Connect

Product invariants affected

none beyond what each part declares: #20714 cites INV-MEM-1 (the Memories page only moves onto OmiGroupedPage); #20329 touches no INV-TASK-1 path; every part passed INV-UI-3 (check_mobile_ux_contract.py).

How it was verified

  • Each part ran its own full app/test.sh and scripts/pr-preflight in its PR (see their bodies); feat(app): v2 cleaner UX 10 — chat in two colours: a solid question, an unboxed answer, numbered sources #20795 ran 4,677 passed / 14 skipped / 0 failed on 2026-10-06.
  • This branch: every PR's own files are byte-identical to the PR head (git diff <head> build/v2-all-1006 -- <its files> is empty for all eleven); the merges were produced by git merge-tree --write-tree, with a rewritten head's previous commit as the merge base where a PR had been re-pushed.
  • On the phone: this exact branch (1f9e99f3b3) was built as a generic iOS build and installed on an iPhone 15 Pro Max on 2026-10-06 at 12:29 EDT; the earlier state without feat(app): saved transcripts read as paragraphs, with a bar on the playing line's words #20732 (e0fa8fe8a9) at 12:17. Home, Conversations, a conversation's summary and transcript, Tasks, Settings and chat were opened in light and dark.
  • visual_audit.sh --head WORKTREE rendered 30 screens on this branch without a failed scenario (84 captures).
  • Full hermetic suite (bash app/test.sh) on this merged branch (1f9e99f3b3), 2026-10-06: 4,845 passed, 19 skipped, 0 failed (plus the 138 spine/contract tests of its first phase), exit 0.

Tests

Each part's tests are listed in its PR. No tests are added by the merges.

Failure class (fixes)

Failure-Class: none

Itaxh1 added 30 commits October 5, 2026 04:49
In a saved conversation, every line after the first is wrapped in a
Column that adds the 4 pt gap above it. That Column centred its child by
default. A line that starts a turn has a name row, which stretches it to
the full width, so it looked right; a line that continues the same voice
has only its words, so a short one shrank to its text and sat in the
middle of the page (BasedHardware#20190 dropped the name row from those lines).

Stretch the wrapper so every line spans the list: the words start at the
left edge, and the row stays the full-width tap target and playing
highlight. Bubble rows already fill the width, and the live capture list
passes separator: false, so neither changes.
… ink

A saved conversation's transcript drew every line as its own block 20 pt
apart, marked the line under the playhead with a grey box that had no
side padding (and showed it on line 1 as soon as audio loaded), and made
the top-edge line the play point when a paused reader scrolled.

- A speaker's turn is one paragraph: its lines flow together under one
  name and time. A long turn starts a new paragraph under its time once
  a minute has passed; a line with a translation or the "Yes / Not
  <name>" question ends its paragraph; no paragraph holds more than 12
  lines. 24 pt between turns, 10 between paragraphs of a turn.
- Each line is still its own target: a tap recognizer per line plays it,
  a tap in the gaps or a double-tap finds its line from the text
  position. Each line keeps its scroll key on a zero-size marker at the
  start of its words, so following, locating, search and anchor restore
  work unchanged.
- The line at the playhead is full ink and every other line dims to
  35 % once playback has a point: Play, a line tap, a scrub or a scroll
  (ConversationPlaybackController.hasPlayPoint). Through silence the last
  spoken line stays marked (markedSegmentId; the first line before anyone
  speaks), so the mark never drops out between lines and the page never
  flashes back to full ink. A transcript just opened marks no line. The grey box is gone. The paragraph holding the
  playhead's line is still announced as selected.
- One reading line, a third of the way down: following keeps the playing
  line there (as before), and a paused reader's scroll now makes the line
  there the play point instead of the top-edge line. At the top of the
  list the first line is the play point.

The paragraph code lives in a new part, transcript_paragraphs.dart, next
to transcript_playback_scroll.dart, so transcript.dart shrinks below its
size on main (the line-count ratchet).
… are hidden

One overlapping segment hides every line time (canDisplaySeconds), and that also
switched off the minute split, so a long turn stayed one paragraph until 12 lines.
The split now runs on the start times alone and adds no time when times are hidden.
The UX contract lists both splits and says only the minute split adds a time.

Also: the transcript tab marks a line on hasPlayPoint alone (Play already sets it),
and two doc comments are rewrapped to the 120-column limit.
…es the mark

The saved transcript's name row reads the visible name with "Identify speaker"
as the hint. Before, a screen reader heard only "Identify speaker", and Omi's
name not at all. Avatars keep their action-only label.

The UX contract says a line is marked only when the audio maps onto the
transcript, and that through silence the marked line is the last spoken one
while following scrolls to the next.
…ge changes

A paragraph drew only its first line's badge, so a confirmed line followed by
auto lines showed the check beside lines that still ask "Likely". A line whose
badge differs from the line before (check, "Likely" or none, for a named
speaker) now starts a paragraph under its own badge, without repeating the
name or adding a time. The UX contract says so.
…w text size

An audit of the paragraphs found four gaps:

- VoiceOver stopped on the space between lines and on the word joiner as
  separate links. Each line's text is now one span (joiner, words, then the
  space before the next line), so assistive tech stops once per line. A line
  that opens on a search match keeps its joiner silent, and back-to-back
  matches add no empty span.
- The selection area never selected: the RichText was not registered with it.
  It now is, and copying leaves out the word joiners.
- The words ignored the system text size while the name and time above them
  followed it. They now follow it, and a search match inside the text is not
  scaled a second time.
- A scrub or a reader scroll recomputed the targets even without a wall
  mapping, so it marked a line the contract says stays unmarked. Every
  retarget now clears while unmapped.
The marked line of a saved transcript was full ink with every other line
dimmed to 35 %, which made the rest hard to read (3.0:1 in dark, 2.4:1 in
light). Now no line dims. The marked line sits on a bar that covers only
its words, in the selected fill (surface3), in full ink and a touch
heavier.

- The bar is one rounded outline around the line's text rows, painted
  behind the paragraph from the text's own boxes, so it stops where the
  words stop and never spans the screen.
- The extra weight draws the ink again 0.2 px to each side. A heavier
  font is wider and would re-wrap the paragraph each time the mark moves.
- The mark fades from line to line in 200 ms, and moves at once with
  Reduce Motion.
- The saved-conversation list is cut at its top and bottom only, so the
  bar can reach 4 px past the words into the page's side gutters.
The list ran 5% above the type scale and each tile row had 14 pt above
and below, which read as oversized next to the rest of Home. The list
text is now 2.5% above the type scale and tile rows have 10 pt of air,
so a row is 60 pt like the design.
The time and folder kept one line, but who spoke and the recordings
chip always started a second row, so most pages showed two rows of
chips under the title. All the chips now share one line: a long folder
name or list of people is cut short past 45% of the line, and if the
line still does not fit (large text on a small phone) every chip shrinks
together, as the time and folder already did.
Main reflowed notifications_settings_page.dart and live_activity_settings.dart
with dart format only; both keep this branch's grouped-page layout.
Itaxh1 added 8 commits October 6, 2026 02:52
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.
…ith a tail, an unboxed answer, numbered sources

Chat reads as a conversation in the ink and the canvas. The user's words sit in a
solid accent pill with the Messages tail; Omi's answer is text on the page with no
box; the conversations it drew on are a plain numbered list under the answer,
matching the [n] markers in the words (a markdown InlineSyntax, footnote-sized and
tertiary). Everything else is the ink at an opacity instead of an outline: the
close circle, the follow-up and starter pills, the app pill in the composer, a
task or chart card inside an answer, a failed reply. When a chat app is chosen a
capsule in the header shows it and opens Chat Apps; an app's answer carries the
app's avatar and name.

The composer is one filled field with no edge and keeps its colour whether the
thread is at its live edge or scrolled, so it never blinks while a reply streams
in. A recording that failed to transcribe, or one found from last time, says why
in words in the field with the kept waveform dimmed beside it; discard stays at
the left of the button row and Try Again takes Send's place, instead of a red
Error label and a refresh glyph crammed into the waveform row.

UI only. Same screens, taps and data as main; no backend change; no new strings.
Stacked on the design foundation (BasedHardware#20342).
@Git-on-my-level

Copy link
Copy Markdown
Member

Reviewed this preview branch statically (draft + aggregate, so CI is mostly skipped and this is a metadata/diff pass, not a build).

Thanks @Itaxh1 — the structure here is exactly right: the parts stay the unit of review and merge, and this branch exists to see and try the whole. That's how we'll treat it: it should stay a draft and not be merged directly.

What I checked on this head, across the eleven parts:

  • app/lib/backend/http/api/dev_api.dart, knowledge_graph_api.dart, mcp_api.dart — only static final _baseUrl → a per-call getter so a base-URL override (tests, local dev) takes effect after first use. No endpoint, auth, or data-flow change.
  • .github/scripts/dead_code/flutter.allowlist.json — data-only entry for device_tile.dart with an explicit removal condition once feat(app): v2 cleaner UX 6/9 — Flat Home: white canvas and glass header #20328/feat(app): v2 cleaner UX 8/9 — conversation rows show their device, Try again in line #20717/feat(app): v2 cleaner UX 9/9 — Daily Recaps: flat rows, counts that open their lists #20718 land. No workflow logic touched.
  • app/integration_test/journeys/support/fixture_backend.dart — new test-only stubs map (METHOD /path → JSON 200) consulted before the dynamic routes; hermetic harness only.
  • app/integration_test/visual_audit/scenarios/settings_edge.dart (new, +827) — edge-state audit suite covering every Wal status, empty/heavy data, and failing loads across Settings/sync/payments/goals pages. This is exactly the coverage a restyle like this needs; nice.
  • app/lib/pages/conversations/sync_page.dart — grouped-card rows via isFirst/isLast, and _rowStatus rewritten as an exhaustive switch over OmiColors.danger/warning tokens instead of ad-hoc greys. Behavior-preserving.
  • app/lib/pages/action_items/action_items_page.dart — completed tasks folded under the list, overflow menu moved to long-press, and scroll pagination now guards on provider.lastPageFailed with the tasksNextPageFailed toast + pull-to-refresh retry. Good failure handling.
  • app/lib/pages/action_items/task_export.dart (new) — single-task export reusing the selection-bar provider path (ensureLoaded, selected-app-first fallback, connect nudge). No new API surface.
  • app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart (new) — dropped-pendant sheet with context.select-driven status and a Semantics liveRegion so screen readers hear reconnect state changes.
  • app/lib/pages/chat/page.dart / widgets/ai_message.dart — canvas background, filled composer, Try Again replacing Send for a kept failed recording, app byline on app answers, tool steps folded above the answer.
  • app/lib/pages/home/page.dart — OmiCanvas + OmiTypeface wrap, HomeAskOmiButton replacing the hand-built chat bar.
  • Fonts: Instrument Sans TTFs ship with the OFL 1.1 license text — compliance is correct.

No security, privacy, or supply-chain concerns in what I sampled; no new dependencies or workflow logic.

One ask before the parts merge: this preview is the best place for a product call on the v2 design direction itself (new typeface, Settings as a full page with seven groups, two-colour chat, paragraph transcripts) — that's a design decision for a human maintainer, and sign-off here unblocks reviewing the eleven parts as implementations rather than re-litigating the direction on each. Leaving this for maintainer review with that framing.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added needs-maintainer-review Needs a human maintainer to sign off before merge flutter flutter work labels Oct 6, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Reviewed this preview branch statically (draft + aggregate, so CI is mostly skipped and this is a metadata/diff pass, not a build).

Thanks @Itaxh1 — the structure here is exactly right: the parts stay the unit of review and merge, and this branch exists to see and try the whole. That's how we'll treat it: it should stay a draft and not be merged directly.

What I checked on this head, across the eleven parts:

  • app/lib/backend/http/api/dev_api.dart, knowledge_graph_api.dart, mcp_api.dart — only static final _baseUrl → a per-call getter so a base-URL override (tests, local dev) takes effect after first use. No endpoint, auth, or data-flow change.
  • .github/scripts/dead_code/flutter.allowlist.json — data-only entry for device_tile.dart with an explicit removal condition once feat(app): v2 cleaner UX 6/9 — Flat Home: white canvas and glass header #20328/feat(app): v2 cleaner UX 8/9 — conversation rows show their device, Try again in line #20717/feat(app): v2 cleaner UX 9/9 — Daily Recaps: flat rows, counts that open their lists #20718 land. No workflow logic touched.
  • app/integration_test/journeys/support/fixture_backend.dart — new test-only stubs map (METHOD /path → JSON 200) consulted before the dynamic routes; hermetic harness only.
  • app/integration_test/visual_audit/scenarios/settings_edge.dart (new, +827) — edge-state audit suite covering every Wal status, empty/heavy data, and failing loads across Settings/sync/payments/goals pages. This is exactly the coverage a restyle like this needs; nice.
  • app/lib/pages/conversations/sync_page.dart — grouped-card rows via isFirst/isLast, and _rowStatus rewritten as an exhaustive switch over OmiColors.danger/warning tokens instead of ad-hoc greys. Behavior-preserving.
  • app/lib/pages/action_items/action_items_page.dart — completed tasks folded under the list, overflow menu moved to long-press, and scroll pagination now guards on provider.lastPageFailed with the tasksNextPageFailed toast + pull-to-refresh retry. Good failure handling.
  • app/lib/pages/action_items/task_export.dart (new) — single-task export reusing the selection-bar provider path (ensureLoaded, selected-app-first fallback, connect nudge). No new API surface.
  • app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart (new) — dropped-pendant sheet with context.select-driven status and a Semantics liveRegion so screen readers hear reconnect state changes.
  • app/lib/pages/chat/page.dart / widgets/ai_message.dart — canvas background, filled composer, Try Again replacing Send for a kept failed recording, app byline on app answers, tool steps folded above the answer.
  • app/lib/pages/home/page.dart — OmiCanvas + OmiTypeface wrap, HomeAskOmiButton replacing the hand-built chat bar.
  • Fonts: Instrument Sans TTFs ship with the OFL 1.1 license text — compliance is correct.

No security, privacy, or supply-chain concerns in what I sampled; no new dependencies or workflow logic.

One ask before the parts merge: this preview is the best place for a product call on the v2 design direction itself (new typeface, Settings as a full page with seven groups, two-colour chat, paragraph transcripts) — that's a design decision for a human maintainer, and sign-off here unblocks reviewing the eleven parts as implementations rather than re-litigating the direction on each. Leaving this for maintainer review with that framing.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up on the new head 849a523e1477 — it adds one part since my earlier review of 1f9e99f3b399: the live transcript page (#20796), merged in as a twelfth piece. I reviewed just the delta (5 files); everything from the earlier pass stands unchanged.

  • app/lib/pages/conversation_capturing/page.dart — the transcript now sits in a _TranscriptCard (surface1, hairline border, top fade) with the speaker's name in small type above each line and the newest line in full ink with a caret while recording. Pause/Resume and Finish moved into a labelled _Dock pill; the capture_pause_button / process_now_button keys are preserved, and the empty-state and photo-timeline paths keep their behavior.
  • app/lib/pages/conversation_capturing/capture_state_header.dart — ConversationStateAppBar gains an optional title and startedAt; the state becomes a secondary line under "Live Transcript" beside a tabular-figures session clock (_SessionClock, its Timer cancelled in dispose). Nicely done: the clock sits outside the Semantics liveRegion, so the per-second tick never talks over the announced status.
  • app/lib/ui/components/omi_button.dart — additive pill shape flag; every existing variant's default shape is untouched.
  • app/integration_test/visual_audit/scenarios/capture.dart — the audit provider gains the suggestionsBySegmentId stub required by the provider interface.
  • app/test/widgets/capturing_empty_state_test.dart — new widget test covering the title, Listening · Pendant, the 8:31 clock, speaker names above their words, the ink differentiation, and Pause-before-Finish ordering — exactly the behaviors this part changes.

Also checked: the liveTranscript and captureStatusWithSource strings exist in app_en.arb and the generated localizations at this head. No backend, workflow, or dependency changes in the delta.

Same conclusion as before, now including this part: this branch stays a preview draft; the parts remain the unit of review and merge. The one decision still open is the product sign-off on the v2 design direction itself, and this preview is the right place for a maintainer to make it.


by AI on behalf of David

@undivisible

Copy link
Copy Markdown
Collaborator

@Itaxh1 this conflicts with main now. Please rebase and push; it still looks valid.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flutter flutter work needs-maintainer-review Needs a human maintainer to sign off before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants