Repository navigation
feat(app): Omi v2 restyle in light and dark, with fixes for 16 app issues and 5 scoped features - #19249
feat(app): Omi v2 restyle in light and dark, with fixes for 16 app issues and 5 scoped features#19249Itaxh1 wants to merge 32 commits into
Conversation
…rols, spec) Restyle guide for the existing Flutter app, iOS and Android: - 132 screen renders (dark, light, Rev 3 multi-device wires) - token values for the existing OmiColors/OmiRadius/OmiMotion names - OmiRingLogo (eight-dot ring, still/breathe/chase/orbit) and Pause/End controls with widget tests - screen map to current app files, interaction spec, 107 SVG icons Tested locally on Flutter 3.44.5: analyze clean (standalone and inside app/), 7 widget tests pass, UX contract (INV-UI-3) check clean.
The working tree at 23:20 (refs/backup/v2-pre-upstream-sync): tokens, icons, Liquid Dock, Home, Conversations, Settings, Apps and onboarding restyled.
The working tree at 00:24 (refs/backup/v2-pre-upstream-sync-2).
The working tree at 01:00 on upstream ea2647c (refs/backup/v2-pre-upstream-sync-3).
Brings in BasedHardware#18946 (capture coordinator); the 01:00 work carried onto it.
…ixes Today's work up to the 09:33 phone build: Start/Stop + Mute on every capture surface, Home Screen widgets, Ask over the whole screen, hold for Memories, two-hour greetings, Settings theme and sheet fixes, liquid-glass header, locked conversation rows, weekly card and merge refresh fixes.
Opened from the Dynamic Island, the Live page's Stop waited its turn behind a transcription reconnect (each try can take 15 s while the server's speech service is failing), looked dead, took a second tap, and then both taps closed a page: the second closed Home too, leaving a black, stuck screen (IMG_1148-1150). - The Live page closes at once (Conversations if something was heard, else Today), closes only its own route, and ignores further taps; a failed stop says so on Home. - CaptureController.stopCapture is single-flight: a second Stop joins the one on its way. isStopping lets the Home card, the idle card and the island show it stopped from the tap; Start waits for the pending Stop so it is never undone by it.
Share on a conversation (detail page and the row's long-press menu) no longer asks "Share Conversation? Anyone with the link can view" first (IMG_1146): the iOS / Android share sheet opens at once. A private conversation still becomes link-visible for the sheet and goes back to private when the sheet is dismissed without sharing.
Starting a search swapped the whole header (title and capsule for a search row with other padding) through a cross-fade, so every row jumped up and the field sat 4 pt off the cards (IMG_1147). The search field now stays in place under the title, lined up with the cards, at one fixed height; only Cancel slides in beside it. The list can scroll its last results above the keyboard.
…ct share
Share from a conversation row now reaches the visibility call at once, so a
failure there is caught and reported ("could not be shared") instead of
escaping the menu action. The analytics and row-action tests no longer answer
the removed "Share Conversation?" question.
"Start with this phone, or connect a device to listen all / day." took a line more than "Pendant · Ready", so the card and everything under it jumped when the pendant connected or dropped (IMG_1151/1152). - OmiBalancedText: short UI copy wraps into even lines (no word alone on the last line) and can hold the height of the tallest copy it may show. - The idle card's subtitle reserves the taller of its two lines at any width and text size; a test checks one height at 320-430 pt and 1.0/1.35 text. - Visual audit: OMI_AUDIT_VIEWPORT, OMI_AUDIT_TEXT_SCALE and OMI_AUDIT_LINT (errors, orphan words and cut-short text of every capture to layout.json), so every screen can be checked at several phone and text sizes.
The live card's transcript line appeared with the first words and grew to three lines, so Today shifted under the reader during a recording. Its two lines' room is now there from the start (Transcribe Later has none), and the Home slot eases between the idle and live cards instead of jumping.
The layout lint (every audit screen at 360-440 pt and larger text) found copy leaving one word alone and short titles squeezed onto two lines: - OmiBalancedText is a render box now: it measures the real paragraph (same font settings), works inside intrinsic layouts, and never narrows text that is capped or cut short. - Balanced: settings rows' titles and subtitles, section titles and footers, empty and error states, onboarding headers, the welcome and Ask empty titles, usage cards, leave-flow copy, consent and "all set" tips, permission rows, the appearance note and the Recording from sheet. - A settings title keeps its line beside a value: the value truncates first, down to 48 pt. A section header's buttons drop under its title when both do not fit, and the Developer API / MCP buttons wrap instead of overflowing. - Tests at 320-440 pt with the real fonts.
Opening Ask starts the history load ("Reading your memories…"); a message
sent before it landed was wiped when the load replaced the list, leaving only
Omi's greeting (IMG_1159). The load now keeps what was sent meanwhile and the
reply streaming to it (without repeating a message the server already
returned), and a finished reply replaces its own placeholder by identity
rather than by an index the load may have shifted.
…reen A new account's empty To do showed only "No Tasks Yet" in plain white on the light background, with no title or search, so it read as a blank, scrolled page (IMG_1158); Conversations showed the same white line (IMG_1157). - The API's "empty" phase shows each page's designed empty state (icon, what to do, Create for To do), still keyed omi.*.empty for the C3 contract; the typed status line is kept for errors and is themed (no more white text). - To do keeps its title and search in every state: loading, empty, error.
The voice setup was a card squeezed above the Conversations search (IMG_1157). It is now the first item in To do, drawn like a task (open ring, title, "So Omi knows it's you · about a minute" in 49 languages), shown while the voice profile is missing; a tap opens the voice setup as its other entry points do, and it leaves once the profile exists. The old card is removed.
…rand card - Every first-run step's buttons sit at the same place: 16 pt from the sides, 8 pt above the bottom safe area (the step layout). "You're all set", the voice step, the Apple Watch permission page and the device tutorial used 24-32 pt sides and 12-24 pt bottoms, so their buttons jumped between steps. The voice step's content also started under the progress bar in first run. - "Here is what I know about you" shows a sample map (design Knows): the reader's name at the centre with the pendant's blue light, four topics joined by thin lines that draw in once, labels on pads so lines pass behind. It uses the step layout, so Continue sits where it does everywhere. - Welcome / Sign in: the Omi mark on a 1:1 square card, like an app icon (IMG_1153); it stays square on a short phone. - Visual audit: onboarding-knows scenario; in lint mode full-width buttons' bottom gaps and side insets are recorded to compare a journey's buttons.
The layout lint across every audit screen (360-440 pt, 1.0 and 1.3 text) found five overflows, now fixed and re-checked at those sizes: - Apps: category rows and title band were a fixed 85 / 60 pt; they now follow the text size (cards keep their width). - Today: the week chart's row was a fixed 74 pt; it now fits the day letter at the reader's text size. - AI app generator: the suggestion strip grows with the text size. - Appearance: the phone previews scale down when three options share a 360 pt screen. - Sign in: no LayoutBuilder under the page's fill-remaining sliver (crash). Also: balanced text measures with a painter on the paragraph's own settings (dry layout and layout agree), and the audit's lint records each error's source line.
…ays, and says when audio is partial A 5m 49s conversation with 3 s of stored audio showed "0:03 / 0:02" and looked like a broken recording (IMG_1160). The server stored only part of that conversation's audio (it keeps live audio in ~60 s batches, separate from the live transcript); the app now: - shows a length no shorter than the audio file or the playing position; - says "0:03 of 5:49 audio saved" under the player when the saved audio covers under half of a conversation of 30 s or more (49 languages).
IMG_1162-1164: the review stacked two titles ("Let Omi get to know you" over
"Here is what I heard"), content was cut off hard under the back button and
the buttons, answers had square checkboxes, and the footer carried three lines.
- The page is "Introduce yourself" (49 languages); the review shows only its
own title.
- Each answer is drawn like a To do task: the round tick keeps it, an empty
ring leaves it out (and the text dims); "Memory" / "My goal" sit over the
editable text. "Use original wording" is a small undo under the goal.
- Content fades at the top and bottom edges instead of being cut; the footer
is one button and one way out.
- Copy breaks evenly; "Try another prompt" lines up with the text.
…oves nothing The live card had grown two empty transcript lines while the idle card stayed short, so Start / Stop made Today jump ~80 pt and the live card looked half empty (IMG_1166/1167). The idle card is now the live card's twin row for row: orb and state, the (still) wave, two lines of text where the live card shows the words, then the two capsules. Before the first word the live card says "Words appear here as you speak"; the idle card says how to start (new line in 49 languages). A test holds all four states (no device, pendant ready, listening, hearing) to one height at 320-430 pt and 1.0/1.35 text, with the real fonts (shared test helper).
"Speak Into Your Omi" (the interactive device tutorial) opened by itself when a new account's pendant connected (IMG_1169) and confused new accounts; getting Omi to know you is To do's first task now. Home no longer opens it and Device settings no longer lists it; its code stays archived, unreachable, and a test keeps anything from opening it again.
The week chart only ever showed the week's total (IMG_1168). Tapping a day
now shows that day's captured time in the header ("Friday · 12m captured")
and highlights its bar; tapping it again goes back to the week. Days still to
come are not tappable; each bar reads its day and time to VoiceOver.
A preview build (its own bundle id) pointed at the production servers used omi://auth/callback, which the App Store app also registers, so iOS opened the App Store app after sign-in and it showed an error (IMG_1170/1171). OMI_AUTH_CALLBACK_SCHEME lets such a build return through its own scheme (omi-beta, which the server accepts like any custom app scheme). Without the define nothing changes.
52 upstream commits. Conflicts resolved: - OmiBleManager.swift: upstream announces "ready" once per connection (readyNotified); ours moved the announcement into announceReady() so a state-restored pendant can be re-announced. The discovery callback keeps upstream's once-only guard; the explicit re-announce records itself in readyNotified. - app_summary.dart: our v2 stats already show the real install count (compact), which is what upstream's fix asks for. - sync_page.dart / auto_sync_page.dart: upstream's new uploadRejected state in our themed colours. Analyzer ratchet and the full suite (138 + 3451) pass.
…asedHardware#19246) With no given name the knowledge graph labelled the reader's node with the English word "Me" in all 49 languages; it now uses the localized "You".
…asedHardware#19236 The tutorial no longer opens by itself or from Device settings; its files stay until maintainers decide to retire it or offer it on demand.
, BasedHardware#19240 and BasedHardware#19244 Each fixed bug now has the test that would have caught it; each test fails with the old layout or logic put back. - Apps category rows fit at 1.0-1.5x text with real fonts (BasedHardware#19238). - The AI app generator's suggestion strip is its own widget (AiSuggestionStrip), tested at 1.0-1.5x text, and Try it hands its suggestion back (BasedHardware#19239). - Developer API and MCP share one header (DeveloperSectionHeader) whose Docs and Create Key buttons wrap on a 320 pt phone at larger text (BasedHardware#19240). - The sign-in return scheme is a small function (resolveAuthCallbackScheme): the profile's scheme unless OMI_AUTH_CALLBACK_SCHEME is set (BasedHardware#19244).
66fc1e9 to
9b593ec
Compare
|
Thanks @Itaxh1 — this is a serious, well-documented piece of work. The design pack (
What this PR needs before merge is a product decision, not more code: the v2 visual direction, the floating tab bar navigation model, light mode, and the capture-state vocabulary are app-wide calls that a maintainer should sign off on. There's also a merge-order question to settle — the Home Screen widgets are also in #19252 and the Live Activity plumbing traces to #18887 — so please don't rebase away that overlap; a maintainer will pick the order. Given the size and that this is your first PR here, leaving the formal review to a human maintainer; from the automation side this is a positive signal. 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.
Large mobile app restyle + fixes/features — approve only, not merging (feature-classified, non-trivial scope; area=mobile).
kodjima33
left a comment
There was a problem hiding this comment.
Large Flutter app restyle + bug fixes + new features, mixed scope, mergeStateStatus DIRTY. Not owner-override eligible (mobile, not desktop) and mixes features -> approve-only, re-confirmed per current policy; flagging scale (950 files, ~70k+11k lines) for Nik's manual review given needs-maintainer-review label.
kodjima33
left a comment
There was a problem hiding this comment.
Feature (Omi v2 full-app restyle, ~950 files) — mobile/flutter area, approve-only per policy; mergeStateStatus DIRTY and needs-maintainer-review, needs a dedicated manual pass before any merge.
|
Hey @Itaxh1 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
What changed and why
This is the Omi v2 restyle of the Flutter app, in light and dark. It also fixes 16 app bugs found while testing it
on an iPhone and adds 5 scoped features. The design handoff pack is in
design/omi-flutter-v2/:START_HERE.md,and
SCREEN_MAP.md(each screen mapped to its render). The PR is large, about 950 files: mostly restyled pages,49 locale files, the design pack and icons. It can be split into smaller PRs once the direction is agreed.
OmiColors,OmiType, spacing, motion, haptics) with shared components,and an Appearance setting.
holding it opens Memories.
the Lock Screen / Dynamic Island Live Activity (from feat(app): recording Live Activity on the Lock Screen and Dynamic Island #18887).
a new account's first To do task.
now shows as connected again.
integration_test/visual_audit), and an optionalOMI_AUTH_CALLBACK_SCHEMEfor preview builds.Bugs:
Features:
Refs (partly addressed; each links the issue covering the part done here):
Screenshots
Hermetic renders from
app/integration_test/visual_audit(390×844 pt, sample data, no network images).Light and dark:
Capture card, one shape in every state (#19255, #19256):
Today: Up next with upcoming tasks, and This week (#19258):
Onboarding: the square sign-in card and the sample knowledge map (#19237):
Conversations, Ask, To do, Apps:
Settings, with search opening in place (#19241):
Product invariants affected
How it was verified
TZ=UTC bash app/test.sh: 138 + 3485 tests passed.bash app/scripts/analyze_ratchet.sh: passed, no new diagnostics.python3 app/scripts/l10n.py check:ok: 49 locales, 3537 keys.make mobile-verify ARGS="fast --all": 23 of 23 hermetic journeys passed.scripts/pr-preflight --pr-body-fileagainstmainat 32c2ed2: all 34 selected manifest checks passed. This ismake preflightwith--base upstream/main, becauseoriginis the fork here.onboarding and sign-in, and capture Start/Mute/Stop from Home, the Live page, the Dynamic Island and the Lock
Screen. It also covered chat, To do, Settings search, share and the widgets.
mainat 32c2ed2, with a probe test or from the code path cited in itsissue.
mainat 8ee1e8c has been merged since; it has no app changes.Tests
Each bug fix has the test that would have caught it:
message_provider_first_message_test.dartc3_action_items_production_wiring_test.dart,c3_production_wiring_test.dartcapture_pause_sticks_test.dart,process_now_conversations_tab_test.dartdevice_tutorial_retired_test.dartonboarding_knowledge_step_test.dartapps_category_section_text_scale_test.dartai_suggestion_strip_test.dartdeveloper_section_header_test.dartsettings_structure_test.dartconversation_share_test.dartconversation_audio_partial_test.dartenv_auth_callback_scheme_test.dartquick_actions_mute_feedback_test.dartmemory_graph_user_label_test.dartconversation_provider_merge_watch_test.dartcapture_home_ui_test.dartcapture_system_surface_test.darthome_up_next_pick_test.dart,home_this_week_test.darttodo_voice_setup_task_test.dartWith the old layout or logic put back, the tests for #19238, #19239 and #19240 fail.
Line-Count-Exception: app/lib/pages/action_items/action_items_page.dart | 1508 -> 1566 | Keeps the To do header, search and designed empty state in every API phase (#19233) and adds the voice-setup first task.
Line-Count-Exception: app/lib/providers/conversation_provider.dart | 1951 -> 2052 | Settles merges without the push by probing the merging rows (#19247) and adds the Rev 3 source filter.
Line-Count-Exception: app/lib/services/capture/capture_controller.dart | 3812 -> 4040 | Adds single-flight Stop, the persisted stopped state and one pause-aware clock behind the existing coordinator boundary.
Failure class (fixes)
Failure-Class: none