Repository navigation
feat(app): mobile UX consistency pass: shared primitives, contract and audit fixes - #18436
Conversation
… as a page background Add lib/ui/omi_tokens.dart: OmiColors (surfaces, text, neutral accent, status), OmiType ramp, OmiRadius, OmiSpacing, OmiMotion (honours Reduce Motion) and OmiHaptics. 53 sites read Theme.of(context).colorScheme.primary as a page or app bar background because the theme's primary was black. They now name OmiColors.surface0 (same black), so the theme can get a real accent. In the four files over the line-count threshold the explicit colour is dropped instead; the theme default is the same black. AppStyles and ResponsiveHelper get doc comments pointing at the tokens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sheets and page states Theme (lib/ui/omi_theme.dart, used by main.dart and the visual_audit harness so they cannot drift): a real dark ColorScheme with the white accent as primary, black scaffold, app bar theme (black, flat, centred 17pt semibold title), white progress indicators (the unstyled spinners were black on black), floating surface2 snack bars, surface1 dialogs and sheets, neutral switches. Material 2 stays on. MaterialApp.builder now syncs Intl.defaultLocale to the resolved locale. Components under lib/ui/components (barrel lib/ui/ui.dart): OmiBackButton / OmiCloseButton (platform glyph, localized label, 44pt target, circled variants), OmiIconButton (required label, tooltip), OmiButton (primary/secondary/destructive/tertiary, regular/compact, async loading that always clears), OmiSpinner, OmiLoadingState / OmiEmptyState / OmiErrorState, showOmiSheet and OmiSheetScaffold, OmiSwitch, OmiSettingsGroup / OmiSettingsRow / OmiSectionHeader, OmiSearchField, and omiPageRoute for code that needs a Route object. HeaderCircleButton is now a wrapper over OmiIconButton.filled and AnimatedLoadingButton over OmiButton (fixes the spinner that never cleared after a throw, and the 40pt target). find_device's two unstyled ElevatedButtons keep their black fill explicitly now that primary is white. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… onto the shared controls Proving set for the new primitives. Data & Privacy uses OmiBackButton, a section header and an OmiSettingsGroup of app rows, OmiEmptyState, and drops its accent tint for neutral tokens. Asana and ClickUp show an app bar with a back button and OmiLoadingState during their first load (the page used to be an invisible spinner with no way out), OmiSpinner for section loads, and tokens for their colours. The shared IntegrationSettingsPage header uses OmiBackButton and a labelled refresh OmiIconButton, and its disconnect control is an OmiButton.destructive. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iAlert) getDialog, ConfirmationDialog, OmiConfirmDialog and AppDialog become thin adapters over OmiAlertDialog: Cancel always shown and always closes, real CupertinoDialogActions on iOS (destructive red, safe choice bold), localized defaults, a destructive flag, and AppDialog.show no longer drops singleButton and onCancel. Non-page raw AlertDialogs in providers/widgets migrated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
One floating neutral toast at a time with contract timings (confirm 1.5 s, info 4 s, error 8 s with close, undo 5 s with no close, resolving whether the reader undid). Snackbars with actions no longer persist forever. The home shell registers its tab-bar clearance. AppSnackbar's ~180 call sites route through it. OmiClipboard refuses empty text and skips its toast on Android 13+ where the system already confirms. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dates follow the app locale and the 24-hour setting; durations have one offset/compact/long vocabulary (the playback bar no longer drops hours). SpeakerNames is the single source for speaker labels in app and export: You / person / Omi / dense Speaker N, localized in copied transcripts. Legacy helpers delegate. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Per-rule, per-file no-increase ratchet over hand-rolled back glyphs, PageRouteBuilder, raw sheets/dialogs/snackbars/clipboard, date patterns, colour/font-size/radius literals, raw spinners, '...' and hardcoded Text copy under app/lib, with an allow-comment escape hatch and a test proving each rule fires. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The numbered rules and the one primitive for each: leaving a surface, sheets, controls, destructive actions (D5), dialogs, feedback timing, copying, dates and durations, speakers, tokens, words (D3), settings (D4), page states, prompts, permissions and accessibility, plus the D1/D2/D6 navigation calls. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both transcript renderers pass the conversation's segments to speakerLabel so Speaker N is numbered per conversation. Drops the dead duplicate formatChatTimestamp in widgets/transcript.dart, makes Material OmiAlertDialog scrollable, and points primitive docs at the contract's sections. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task(s) replaces Action Item(s)/To-Do in every locale (D3); Omi capitalised; '…' instead of '...'; search placeholders drop the ellipsis; Try Again, Not Now, OK, Title Case buttons. New keys: filterBySpeaker, notNow, discard, keepEditing, discardChangesTitle, discardChangesMessage. Translates the nine live-capture keys that only existed in English and removes five orphaned locale keys, so scripts/l10n.py check passes. The upgrade alert offers Not Now (postpone, not ignore-forever) and Update, honours barrierDismissible, and loses the emoji. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… ui barrel; token colours Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Link Event sheet, calendar event actions, search result navigation, playback labels, the share confirmation, the Tasks tab counts and empty state, and the speaker identify label, with translations for every locale. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- D2: no body-wide swipe to another conversation and no PageRouteBuilder; Transcript/Summary(/Tasks) swipe as tabs, the Tasks tab exists only when there are tasks. - Header: OmiBackButton.circled plus same-size OmiIconButton circles (star, share, more) and a compact Ask Omi button that pushes Chat (D1). - Share asks before making a private conversation public and reverts it when the share sheet reports a dismissal. - Copy Conversation ID and Test Prompt only in developer mode; copies go through OmiClipboard, toasts through OmiFeedback. - Link Event and calendar event sheets on showOmiSheet with OmiDateFormat, l10n and full attendee names; visibility, summary template, name speaker and edit segment sheets on the shared shell. - Audio download sheet pops with its own context, offers Cancel and blocks back with PopScope. - Title: single line, Done, Untitled placeholder, saves on blur with an announced outcome; detail date/duration use OmiDateFormat/OmiDuration.compact (same rule as the list). - Tasks tab: tapping a task opens the shared task editor; labelled count pills; Tasks wording (D3); OmiEmptyState. - Edit segment sheet: speaker from SpeakerNames (You for the owner), Save and Cancel, discard guard. - Extract calendar sheets, search bar, transcript tab and tasks tab; delete dead ActionItemsListWidget, GetSheetTitle, GetDevToolsOptions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Transcript: one SpeakerNames resolver per build (dense numbering, live people), no transcription-provider name, the start time as an OmiDuration offset, a labelled 44pt play button, labelled speaker targets, neutral user bubble and search highlight (INV-UI-1), localized 'translated by Omi', and getLastTranscript numbers speakers across the whole conversation. Playback bar: neutral surfaces instead of purple, a labelled 32pt play/pause in a 44pt target, a labelled stop button, OmiSpinner, OmiFeedback errors, the summary pill ellipsizes by layout instead of a hand-made '...', and the summary template sheet opens through showSummarizedAppsSheet. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…resume - OmiPermissionRow (lib/ui/components): reason, Allow -> system prompt, Allowed, Open Settings when the system will not ask again. One OnboardingPermissionsPanel drives both the first-run step and the returning-user interstitial; Continue never fires prompts and 'Always' location is no longer asked during first run. - Onboarding wrapper: placeholder pages removed, progress dots count the six real steps with a spoken 'Step N of M', PopScope makes system back step back, the last reached step is saved per account and resumed. - Consent step offers 'Use a Different Account' (sign out, back to start). - Acquisition survey is skippable; language step saves with a busy button and a Try Again error; picker selects on tap. - Steps share OnboardingCard (content scrolls, footer stays; min-height, no fixed text heights) and OmiButton; completion screen localized, purple gone. - Voice introduction: mic refusal shows the permission row; 'Skip Question' vs 'Skip'; device tutorial exits by a trailing close X. - Permission reasons rewritten, platform-neutral Location Services copy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tions, recaps page
- Conversation delete (list swipe, row menu, detail page) goes through one path:
confirm unless opted out ("Don't ask again" is allowed because Undo backs it),
then an Undo toast backed by the provider's pending-delete window (now 6 s,
longer than the 5 s toast; the toast commits early when it closes) (D5).
- Long-press on a conversation row opens one context menu: Open, Star/Unstar,
Move to Folder, Share, Select, Delete. The selection bar gains Move and Delete
(always confirmed) beside Merge.
- Daily Recaps is its own pushed page with a back button; Home's View All pushes
it and the Conversations tab never switches into a recap mode. Pull-to-refresh
reloads recaps and a failed load offers Try Again. Recap counts are labelled.
- One date filter for list and search, shown as a removable chip; the search
field is seeded from the provider and uses OmiSearchField.
- Dates and lengths via OmiDateFormat / OmiDuration (Today gets a header, the New
badge sits beside the time, WAL/recording offsets keep their hours).
- Discarded rows read "Discarded · 12s" with a plain-text snippet; blank titles
read "Untitled Conversation".
- Shared capture state table (capture_state_labels.dart) for the in-progress
card; the processing card shows its real start time.
- Local recording swipe always confirms. Sheets, dialogs, toasts, spinners and
back buttons in conversations/, sync and recap pages move onto lib/ui.
- Offline Sync is the one name for the device-storage sync screen.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…age and capture labels - Provider: the pending-delete window outlasts the Undo toast; undo restores, commit sends once, a regroup during the window keeps the row hidden. - Widgets: Undo restores / timeout commits / bulk toast counts; long-press menu entries and Select; untitled and discarded row titles; Today header; the date filter chip; Daily Recaps page back button, labelled counts, Try Again and pull-to-refresh. - Unit: the shared capture state table (an audio interruption is Paused). - The Home preview's row menu leaves out Select (no selection bar there); the in-progress card's photo count is labelled; last raw spinner and "..." in the capture card go. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Find devices: a missing Bluetooth/location permission goes through the one BluetoothReadiness guidance prompt (Open Settings); the local 'Enable Bluetooth' dialogs are gone. - Nothing found: 'Scan Again', 'How to Pair' (connection guide), then 'Contact Support' instead of a lone mailto link. - Offline saved device: says how to wake it and 'Try Again' rescans (the old Retry did nothing). - Firmware compatibility warning is an acknowledge-only alert; the non-critical one keeps its opt-out row. - Device rows, guide cards and capture cards are real buttons with labels; battery shows a glyph and percentage with a spoken label, no emoji. - Connection guide, pairing steps, Ray-Ban picker/setup and Apple Watch setup use showOmiSheet; Apple Watch is only offered on iOS; 'I've Done This' becomes 'Done'. - Connect page: OmiBackButton, labelled settings button, and connecting returns to the existing Home (HomeNavigation.returnHome) instead of stacking a second one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
showOmiEditSheet/OmiEditSheet own the drag so swipe-down, scrim tap, the close X and system back all ask "Discard changes?" while an editor is dirty (the framework's drag-to-dismiss pops without asking). showOmiRowMenu is the one long-press menu shape for list rows (Open, edit actions, Select, Delete). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ation Map title Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sheet titles without emoji, read-only memory hint, Undo toasts, task plural titles and counts, shared-task strings, memory review card and People page labels, with every locale translated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…uarded edit sheet - Every memory delete (swipe, long-press menu, edit sheet) goes through deleteMemoryWithUndo: no "cannot be undone" dialog, the shared OmiFeedback undo toast with no X, and a commit scoped to the memory the toast offered. The provider's pending window becomes an 8 s backstop that outlasts the toast. - Every memory opens: locked/superseded/ledger rows open the same sheet read-only with full text; swipe-delete only where editing is allowed. - Long-press menu Open / Edit / Delete. - Edit and new-memory sheets: explicit Cancel and Save, dirty guard, OmiButton. - Page: OmiBackButton, OmiSearchField, labelled 44pt header buttons, neutral FAB, OmiEmptyState / error state, management sheet on showOmiSheet with a confirm that names the action and toasts that reach the page after the sheet closes. - Memory graph: OmiBackButton, localized title, OmiLoading/Error/EmptyState, no purple. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…goal sheets - One swipe meaning on every task row at every indent: right completes (or reopens), left deletes. Indent/outdent move to the long-press menu (and drag keeps its horizontal indent); long-press shows Open / Mark Complete / Indent / Outdent / Select / Delete. - Single task and goal deletes are immediate with an Undo toast, backed by new staged-delete APIs on ActionItemsProvider and GoalsProvider (nothing hits the server until the toast closes). Bulk and clear-completed deletes confirm with a plural, verb-named dialog (the old one said "This will only remove deadlines"). - ActionItemFormSheet keeps its constructor; adds showActionItemFormSheet, explicit Cancel/Save, a close X in edit mode, a dirty guard and instant completion. The date picker and time picker are neutral (no purple) and locale/24-hour aware. - Home and Tasks share one GoalFormSheet (Cancel/Save, dirty guard, localized). - Tasks page: OmiSearchField "Search tasks", labelled overflow button, OmiEmptyState, neutral FAB/selection/drop indicators, localized "Exported to", counts with labels. - Selection bar, shared-tasks sheet and Home Today card on the primitives (44pt targets, rows open the task sheet). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…trol behind a confirm People page gets OmiBackButton, labelled Add/Help controls, an adaptive person dialog, OmiEmptyState/OmiLoadingState and confirms that name the action. The memory review card is localized with 44pt controls and tokens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ne media viewer - Live and processing pages share ConversationStateAppBar: the circled back button of the saved page and the state as the title (Recording / Paused / Reconnecting / Processing, one local mapping until lane 1a's shared capture_state_labels lands). No emoji status, no back button inside the title row. - Live page: remove the unreachable Summary tab and its TabController; Process Now is an OmiButton, mute a labelled OmiIconButton; the stop confirmation is showOmiConfirmWithOptOut with a verb; speaker names from SpeakerNames; photo-group time from OmiDateFormat and a localized photo count; tokens for the timeline and the upload indicator. - Processing page: one view (the transcript so far) under the shared header instead of Content/Summary tabs whose Summary only said 'Processing'. - Media viewer: always a full-screen modal with a trailing OmiCloseButton and swipe-down to close (MediaViewerPage.open), labelled share button, OmiSpinner; photo grids and the live timeline open it that way. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The fixture was UTC midnight, which is Jan 1 in Pago Pago; CI runs the suite at UTC+14 and UTC-11. Local noon reads Jan 2 everywhere. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The title field kept Material's 48pt input height, which pushed the title below the emoji; it is dense now and the one-line row centres both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ency # Conflicts: # .github/checks-manifest.yaml # product/invariants/README.md
|
Before/after screenshots (69 screens after, 63 with a before) for sanity checking: https://claude.ai/artifact/GTzdUJ5hfwXLcFZse6Eq7v (private to David's account). Rendered from the production Flutter widgets with real fonts at 390×844 in the hermetic harness (no backend, synthetic data). Before = origin/main at the PR's merge base Harness limits: Android font metrics; the conversation list renders its non-mobile branch under |
David's ruling (2026-09-24): the voice profile is the guided fill-in-the- blank flow from #14514 (sentence starters, review, then voice, memories and a goal). Two entry points still reached the old question-based page: the Settings/Profile Voice Profile row for anyone who already had a profile, and the capture card's "Teach Omi your voice". Both now open the guided flow. The old page is unreachable, so it goes, with its two widgets, the getDialog helper and the fade-in text widget only it used (dead-code ratchet). Open PR #12531 edits the old page and will need to drop those hunks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nversation actions David, 2026-09-24 (overrides the earlier one-overflow ruling): - the conversation page's top bar is Ask Omi (the primary, filled), Star and Share as matching 44pt icon buttons, then one "…" holding Rename, Move to Folder, Recordings and the rest, Delete last and destructive; - one registered event, Conversation Action, records every conversation action with two closed enums: action (ask_omi, star, unstar, share, rename, move_folder, recordings_open, separate, delete, copy_transcript, …) and surface (top_bar, overflow, detail_body, row_long_press, row_swipe). No ids, titles or content. It goes through the C7 typed registry (contracts/analytics/events.json, generated Dart, a presence consumer) and AnalyticsManager, so consent and queueing apply. Tests cover the event shape for every action and the top bar, overflow, row long-press and row swipe call sites. Co-Authored-By: Claude Opus 5.5 <[email protected]>
David, 2026-09-24: never label a participant "Speaker 1". The conversation
header's people chip now shows the first named participant ("You" for the
account owner) and counts everyone else: "David + 3 others"
(participantsSummary, an ICU plural in 49 locales). With nobody named it
hides; a linked calendar event's attendees still stand in when the
transcript names no one. The transcript's own per-line speaker labels are
unchanged. Tests cover named, mixed and none.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Screenshots updated after David's review (same link, new top section "After David's review"): https://claude.ai/artifact/GTzdUJ5hfwXLcFZse6Eq7v — top bar with Ask Omi / Star / Share / …, the overflow menu, the people chip with everyone named / some named / nobody named, and the guided voice-profile flow (first prompt and review). |
…d its fragment Co-Authored-By: Claude Opus 5.5 <[email protected]>
- SpeechProfileProvider drove only the deleted question page; the guided introduction records through GuidedVoiceIO. Remove the provider, its registration, the onboarding back-step close() that no longer stopped anything, and its test. - Drop pointers to deleted files: the addressability baseline entry and the logout flow's covers (now sign_out.dart); a stale doc paragraph. - participantsSummary carries few/many forms so Polish, Czech and Slovak agree for 2-4 and 5+; other Slavic and Baltic locales use a count-agnostic "one more" form. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Merging with admin rights per David's grant. All CI checks are green except iOS Compile Check, which has sat queued for ~2h behind the shared macos-26 runner backlog (job 107537985145). It passed on 4152455; everything since is Dart, JSON or Markdown. Local check at the current head a8e3a4c: |
) * fix(app): Ask Omi uses the tab bar's two-bubbles glyph again #18436 gave the conversation page's Ask Omi a Material chat-bubble outline; before it used FontAwesome's comments glyph, the same as the bottom nav. Ask Omi now draws kAskOmiGlyph, the constant the tab bar itself uses (FontAwesome comments, regular weight). OmiButton gains a leading Widget so a button can carry a FontAwesome glyph without downgrading to IconData. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(app): changelog fragment for the icon consistency follow-up Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(app): empty states and permission rows take a FontAwesome glyph OmiEmptyState only took a Material IconData and OmiPermissionRow the same, so #18436 had to draw FontAwesome screens' empty states and permission rows with Material glyphs. OmiEmptyState gains `glyph` (any widget, sized 40pt and tinted through IconTheme; exactly one of icon/glyph) and OmiPermissionRow gains `leading` (wins over `icon`). Existing `icon:` callers are unchanged. Also moves the tab bar's kBottomNavFadeHeight doc comment back onto its constant; kAskOmiGlyph had been inserted between them. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): chat composer and apps drawer keep their FontAwesome glyphs #18436 redrew the composer's Send and Mic buttons with Material arrow_upward_rounded / mic_rounded (before: FontAwesome arrowUp / microphone, the same family as the side button's plus), the attachment remove badge with Material close (before: FontAwesome xmark), and the chat apps drawer's Clear Chat, selected-app check and per-app control with Material delete_outline / check_circle / remove_circle_outline (before: FontAwesome solidTrashCan / solidCircleCheck / solidTrashCan). The Enable Apps row beside them kept FontAwesome circlePlus. ChatComposerRoundButton now takes a Widget glyph like its sibling ChatComposerSideButton. The per-app control keeps #18436's meaning (disable, not delete) in the same family: FontAwesome circleMinus. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): conversation and sync screens keep their FontAwesome glyphs Restores glyphs #18436 swapped from FontAwesome to Material: - Conversation page overflow: ellipsisVertical (was Material more_horiz), matching its FontAwesome Star and Share neighbours. - Capturing page Process Now: FontAwesome stop (was stop_rounded). - Offline Sync (auto and manual): info circleInfo and overflow ellipsisVertical; the manual page's empty states circleCheck / triangleExclamation / clockRotateLeft / microphone again. - Store Audio on Phone / on Cloud toggles: FontAwesome mobile / cloud, the same glyphs as the Offline Sync rows that open those pages. - Starred filter empty state: FontAwesome star. Sibling drift among the new list surfaces: - "No conversations yet" uses forum_rounded like the Conversations tab's own empty state (was forum_outlined). - Conversation row menu Open / Delete use open_in_full_rounded / delete_outline like the task and memory row menus. - Selection bar Move / Delete use folder_outlined / delete_outline like the row menu. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): app store screens keep their FontAwesome glyphs - Reviews: an owner's Reply / Edit Reply button draws FontAwesome reply / pencil again (#18436: Material reply / edit_outlined, because OmiButton took only IconData), and "No reviews found" shows the FontAwesome star the stars above it use (was star_border). - Submit App: the Docs button's external-link glyph is FontAwesome arrowUpRightFromSquare again (was open_in_new), the glyph the app page's setup steps still use. - App page: the Ratings & Reviews card's trailing glyph is arrow_forward again (#18436 made it chevron_right while the About and Prompt cards beside it kept arrow_forward). Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): firmware update buttons keep their FontAwesome glyphs The device pages around them are FontAwesome throughout (version rows, warning card, success check, failure xmark). #18436 moved their buttons to OmiButton and, because it took only IconData, to Material glyphs: - Install Update / Update Now: FontAwesome download (was download_rounded), on both the Omi and OmiGlass update pages. - Update Guide: FontAwesome circleQuestion (was help_outline). - Try Again: FontAwesome arrowRotateLeft, OmiGlass's original retry glyph (was refresh); the Omi page's new Try Again uses the same. - OmiGlass Cancel Update: FontAwesome xmark again (#18436 dropped it while the Install and Try Again buttons in the same flow kept a glyph). Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): settings and permission rows keep their FontAwesome glyphs Settings rows are FontAwesome (the Settings list, Developer Settings, Device, Permissions). #18436 gave these Material glyphs instead: - Home Screen (moved out of Developer Settings): Goal Tracker bullseye, Daily Score chartLine, Tasks listCheck (the Tasks tab glyph), Phone Call Button phone, as they had in Developer Settings (were track_changes, show_chart, checklist, phone_outlined). - Developer Settings, MCP: Claude Desktop desktop and MCP Server server rows, Copy Config and the copyable server values copy, Create Key plus, and the empty key list key (were desktop_windows_outlined, dns_outlined, copy, add, key_outlined). - Developer Settings, API keys: empty list key (was Material key); Create Key is the same compact secondary button with plus as the MCP section's (#18436 made one primary with no glyph and the other secondary with add). - Debug logs: Share Logs fileArrowUp (was ios_share) and Clear trash again. - Custom Vocabulary add button: FontAwesome plus (was add). - Onboarding permission rows (new in #18436) and the speech-profile microphone row use the Settings permission list's glyphs: batteryFull, locationArrow, solidBell, microphone (were battery_charging_full, location_on_outlined, notifications_none, mic_none). Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): new #18436 controls use their screen's glyph for the same thing - Conversation date-filter chip (new): FontAwesome calendarDay, the glyph of the header's date-filter button shown beside it (was Material calendar_today_rounded). - Delete Account's Export All Data button (new): FontAwesome fileArrowDown, the glyph of the "export before deleting" line directly above it (was Material download_outlined). - Conversation selection bar Delete goes back to delete_outline_rounded, matching the task selection bar (the previous commit had aligned it with the row menu instead). Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(app): conversation row menu uses the conversation page's FontAwesome glyphs The long-press menu and the page's "…" menu offer the same actions (star, move, share, recordings, delete) on the same object; #18436 drew the row menu in Material and the page menu in FontAwesome. Both are FontAwesome now, the tab bar's family. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Resolve the l10n ARB overlaps by taking main's strings and re-adding only this branch's speaker tag-prompt and voice-settings keys, then regenerate the localizations. Drop planDeprecationMessage, which main removed in #18436 and an earlier merge on this branch had brought back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… re-record eleven owners Review of bf7f4f6..8d1f8e2 per owner, then re-record. Where upstream's change was semantic for the staged artifact the fork replacement moved with it — re-recording alone would have shipped upstream identity behavior: - AndroidManifest.xml (BasedHardware#14296, BasedHardware#5221): FOREGROUND_SERVICE_DATA_SYNC, foregroundServiceType shortService and the sync keep-alive service. No package, permission-identity or intent change; the new service name is already absolute, so native_android()'s namespace pass is untouched. - main.dart (BasedHardware#15956, BasedHardware#15883, BasedHardware#19157): startup moved behind PhysicalQualification.startupStage. _init is replaced wholesale by the stage anyway; the two crash fallbacks became "if (!PhysicalQualification.enabled && Firebase.apps.isNotEmpty) { unawaited(FirebaseCrashlytics...catchError(...)) }" so their reviewed replacement regex moved to that shape and still yields a Firebase-free Logger.debug fallback. - auth_service.dart (SCA-486/SCA-488): the token gateway gained a debug-only harness seam, so _tokenGateway is non-final — the stage strips the seam and keeps the field final; isSignedIn now routes through the gateway (the stage replaces its body, and NativeIdentity has no anonymous principal, so the reviewed semantics hold); a transient refresh failure now schedules _scheduleLocalDevRecovery, an Auth-emulator re-mint that cannot exist in a Firebase-free stage, so the kept refreshIdToken loses that call and keeps its reviewed retry-on-the-next-request behavior. - change_name_widget.dart / name_widget.dart (BasedHardware#18436): both collapsed into _save()/_submit(). The replacements were re-anchored so the staged app still awaits updateGivenName before success or advancing, still ships the identity_name_edit / identity_name_error keys gateway_test taps, and still never writes given/family name itself — only the auth-provider projection does. The dialog error moved into the content column the rewrite left behind. - settings: BasedHardware#18618/BasedHardware#18723 extracted the confirmed sign-out out of settings_drawer.dart into lib/pages/settings/sign_out.dart (now clearing through clearPreferencesForSignOut so device preferences survive). The completeNativeSignOut transaction owner moved with it — one owner instead of two — and sign_out.dart enters the registry as a reviewed input. - wrapper.dart: onboarding was restructured and gained a "Use a Different Account" path; both firebase_auth anchors (the import and the three FirebaseAuth.instance.currentUser! calls) still hold, and the staged AuthService.signOut still revokes remotely before the secure credential is cleared. - logger.dart / platform_manager.dart / platform_service.dart / crashlytics_manager.dart: PhysicalQualification gates. The stage still replaces the three reviewed members with the fork's false/no-op bodies and still overlays crashlytics_manager wholesale. - New upstream file lib/env/physical_qualification.dart reads Env.firebaseAuthEmulatorHost/firebaseAuthEmulatorPort, which the fork's env overlay did not expose: both are added there as compile-time inputs (the lane is iOS dev/local_dev only and never enabled in this artifact). Re-record: sha256 of the eleven stale paths plus the new sign_out.dart owner written into app/fork/source-owners.json, base moved to the reviewed tree. Verification: bash app/fork/test.sh exit 0 with the pinned Flutter 3.44.5 — test_stage.py 5/5, both targets staged, 20/20 staged Dart tests per target including gateway_test's failed-name-save contract, and flutter build bundle for both targets. python3 scripts/fork/check-overlay-owners.py exit 0. Failure-Class: none
The first prompt on “Let Omi get to know you” starts under onboarding's floating back button and progress dots, covering the title. Reserve a host-owned header above the voice introduction's scroll viewport and consume the top safe-area inset once. Other onboarding steps retain their floating navigation; Settings already supplies an AppBar. ## Before and after Native Release captures from the production voice-introduction page and host layout, with inert voice I/O and no sign-in or account reset. “Before” recreates the original floating-header arrangement; “after” uses the reserved header. These are layout checks, not recording or enrollment tests. | Platform | Before | After | | --- | --- | --- | | iOS · iPhone 16 | <img src="https://raw.githubusercontent.com/apoorvdarshan/omi/a87d1e49149e232b18b61c87d76d13e319134e66/ios-before.png" width="260" alt="ios before: title overlapped by back button and progress dots"> | <img src="https://raw.githubusercontent.com/apoorvdarshan/omi/a87d1e49149e232b18b61c87d76d13e319134e66/ios-after.png" width="260" alt="ios after: title below reserved navigation header"> | | Android · LAVA LZG411 | <img src="https://raw.githubusercontent.com/apoorvdarshan/omi/a87d1e49149e232b18b61c87d76d13e319134e66/android-before.png" width="260" alt="android before: title overlapped by back button and progress dots"> | <img src="https://raw.githubusercontent.com/apoorvdarshan/omi/a87d1e49149e232b18b61c87d76d13e319134e66/android-after.png" width="260" alt="android after: title below reserved navigation header"> | ## Validation - Full `TZ=UTC bash app/test.sh --concurrency=4 --reporter expanded`: 3,911 tests passed, exit code 0. - Focused onboarding tests: all 16 passed. Covers iOS and Android, standard and small viewports, 2× text, header/title separation, a single top safe-area inset, back action, scroll clipping, reachable Start speaking, and unchanged full-screen bottom-card content. - Pinned Flutter 3.44.5 / Dart 3.12.2 analyzer ratchet passed, with no baseline changes. - `agent-flutter` read the fixed Android page and tapped Try another prompt; the native UI changed to “My favorite food is ___.” - Native Release screenshot fixture built and ran on the connected iPhone 16 and Android LAVA LZG411. Installed over existing apps, with no uninstall or data clearing. Normal Release apps were rebuilt with the matching production profile and installed over both existing apps as Omi 1.0.553 (1326). Android reached the signed-in Home screen; the iPhone boot journal recorded completed auth, owner binding, BLE setup, service startup and full boot, with no startup configuration error or recovery boot. The initial personal install used a mismatched local build profile; that install configuration was corrected without changing this UI patch or clearing app data. - The actual generated production environment passed a separate startup-routing and Firebase-project check for both platforms. - `make preflight`: all 25 selected checks passed. Full repository pre-push gate passed. ## Failure class Failure-Class: new The host overlaid its app-owned chrome without allocating content space; SafeArea only protects against system insets. `OnboardingStepLayout` owns the allocation, and `onboarding_header_spacing_test.dart` executes the real layout with the production page rather than checking source strings. The regression covers the composition of the guided introduction (#14514) and shared navigation/progress controls (#18436). ## Product invariants affected none
…ng (#20493) ## Summary To improve the onboarding UX and address user complaints, **Continue** on the permissions screen now asks for whatever permissions are still missing. Since #18436, the first-run permissions step and the returning-user interstitial only prompted from each row's **Allow** button, and **Continue** moved on without asking. "Continue" reads as "go ahead with these permissions", so users who tapped it believed they had granted notifications and location. Nothing in the app asks for notification permission again, so those users silently got no push notifications. This restores the v1.0.552 behaviour, where Continue requested notification and location permission. ## Change - **New helper:** `requestMissingOnboardingPermissions` (in `onboarding_permissions_panel.dart`) asks, in row order, for every permission still `askable`: - Android: background activity, then location, then notifications. - iOS: location, then notifications. - **Left alone:** allowed, blocked and service-off permissions. Their rows still offer Open Settings. - **Always moves on:** a failed ask is logged, and the user still continues. - **Both screens use it:** Continue on the first-run step (`PermissionsWidget`) and on the returning-user interstitial (`PermissionsInterstitialPage`). - **Allow unchanged:** each row's Allow still asks for just that permission. - **Docs:** `app/docs/ux-contract.md` §15 is updated. The "Continue never fires a system prompt by itself" rule is replaced with the new behaviour. ## Test rewritten in this PR `test/widgets/ui/omi_permission_row_test.dart` asserted "Continue never prompts". The expected behaviour changes here by product decision, to improve UX after user complaints, and returns to what v1.0.552 shipped. The test now taps Allow first, then checks that Continue doesn't ask again for an allowed permission or prompt for a blocked one. ## Product invariants affected none ## Failure class Failure-Class: none ## Verification - `flutter test test/widgets/onboarding_permissions_continue_test.dart`: 3 tests pass. - Continue asks only for missing permissions, in row order. - It skips blocked and service-off permissions. - A failed ask still asks the rest and moves on. - The two tests that expect asks fail without the fix. - All 46 onboarding and permission-related test files pass (371 tests), including the updated guard. - `flutter analyze` on the changed files: no issues. - `scripts/pr-preflight --pr-body-file <this body>`: passes. - Not yet checked on a device. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/20493?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
Mobile UX consistency pass (mobile twin of #17286)
David asked on 2026-09-23 for one comprehensive PR that fixes the mobile UI/UX audit (about 70 merged findings;
Tier 1 = data loss, dead ends and controls that lie) together with the foundational cleanup and shared
primitives. This PR is that work; its description is the working record: status, what is done, what is left.
Status (2026-09-24): all lanes merged (foundations A+B, 1a, 1b, 2, 3, 4, 5), #17297 merged in, David's
screenshot review applied (see Design rulings). Verification below.
Review round 1 (ZCode GLM-5.3, Multica SCA-539) covered foundations + 1a/1b/2/4 at aa328bc: no P0/P1,
five P2s, all fixed in eb7b1d8. Round 2 (lane 5, SCA-540): one P1 (firmware preparation throw left the page stuck
installing) and two P2s, fixed in 9ccea09. Round 3 (lane 3, SCA-541): no P0/P1, ten P2s, fixed in
bc9e93e (one was already prevented). Round 4 (#17297 merge + rulings,
SCA-542): one P1 (row Share made a private conversation public without asking) and P2s, fixed in 8072d4c. Round 5
(David's post-screenshot changes, SCA-551): no P0/P1; P2s fixed in a8e3a4c. iOS only was exercised on this Mac (no Android emulator); Android behaviour is covered by widget tests
only.
Product calls decided for this pass
fullscreenDialog), leading back button.provider's pending-delete window. Memory, task and goal deletes are Undo-only. Things that cannot be undone
(local recording file, forget device, clear chat, account deletion) always confirm, with no opt-out.
Foundations (merged)
OmiColors/OmiType/OmiRadius/OmiSpacing/OmiMotion/OmiHaptics; a real darkColorScheme(fixes black-on-black spinners),appBarTheme, sheet/dialog/snackbar/progress themes;OmiBackButton,OmiCloseButton,OmiIconButton,OmiButton,OmiSpinner,OmiEmptyState,OmiErrorState,showOmiSheet,OmiSwitch,OmiSettingsGroup/Row,OmiSearchField,omiPageRoute.showOmiConfirm/showOmiAlert(adaptive, Cancel alwaysshown, destructive verbs),
OmiFeedbacktoasts (1.5 s / 4 s / 8 s / 5 s undo),OmiClipboard,OmiDateFormat(locale + 24-hour aware),OmiDuration, shared speaker names with dense numbering,PromptQueue, the INV-UI-3 no-increase ratchet (.github/scripts/check_mobile_ux_contract.py) and the mobileUX contract
app/docs/ux-contract.md.Lanes
Design rulings applied (2026-09-24)
Omi as the filled primary, Star and Share as matching 44pt icon buttons, then one "…" holding Rename, Move to
Folder, Recordings and the rest, Delete last and destructive.
captureSourcePendant, 49 locales).the rest ("David + 3 others",
participantsSummary); with nobody named it hides. A linked calendar event'sattendees still stand in when the transcript names nobody. The transcript's per-line speaker labels are
unchanged (they still read "Speaker N" for unnamed speakers).
Profile row sent people who already had a profile, and the capture card's "Teach Omi your voice" sent everyone,
to the old question page; both now open the guided flow, and the old page
(
lib/pages/speech_profile/page.dart+ its two widgets,widgets/dialog.dartgetDialog,widgets/fade_in_words_text.dartandSpeechProfileProvider, all only used by it) is deleted. The earlier screenshots showed thatold page because the harness captured it directly; the branch always contained feat(app): add guided voice introduction onboarding #14514. Open PR Speech Profile Onboarding Fix & UI Improvements #12531 edits
the deleted page and will need to drop those hunks.
Conversation Actionwith closed enumsaction(ask_omi, star,unstar, share, rename, move_folder, recordings_open, separate, delete, copy_transcript, copy_summary,
share_audio, link_event, reprocess, search, visibility, open, select, copy_conversation_id, test_prompt) and
surface(top_bar, overflow, detail_body, row_long_press, row_swipe); no ids or content. Registered incontracts/analytics/events.jsonwith the consumermobile-conversation-actions.Integration notes (lead)
and moved onto the primitives (title field, OmiDateFormat, tokens, showOmiSheet/showOmiConfirm).
capture_state_labels.darttable, sothe list card and the live page say the same thing (Listening / Paused / Offline buffering / Processing).
routeToPagenow buildsomiPageRoute(platform fromdefaultTargetPlatform); the remaining bareMaterialPageRoutepushes in AppShell deep links, the name-speaker sheet and the firmware prompt use it.SettingsDrawer.showreturns the sheet's future; Home awaits it before comparing language / voice profile /model (onboarding-home Update README.md #25).
/en/).sign_out.dart), with a unit test.Known follow-ups (not in this PR)
DeviceProvider.showFirmwareUpdateDialogstill callsshowDialogdirectly (its prompt coordinator ownsdismissal); moving it into
PromptQueueis a follow-up.login-time primary-language change updates them on the next Transcription save.
deleteSelectedItemsMessage/itemsDeletedResultappend{s}to anoun, which reads wrongly outside English (for example German "Aufgaben{s}" → "Aufgabens"). Needs ICU plurals,
which changes the key signatures.
1-based numbering.
settings), Speech Profile Onboarding Fix & UI Improvements #12531 (speech-profile onboarding), fix(app): clarify marketplace app actions #13499 (marketplace app actions), feat(app): allow configurable and accessible audio storage folder (#4702) #17543 (audio-storage
settings). feat(app): one row per recorded event and a compact conversation page on mobile #17297 (one row per recorded event) merged first and is merged into this branch.
Verification (layer: hermetic tests and static checks on this Mac, Flutter 3.44.5, TZ=UTC)
bash app/test.sh: 2922 passed at a8e3a4c (the deleted speech-profile provider's tests went with it; 2953 before).The suite also passed under
TZ=Pacific/KiritimatiandTZ=Pacific/Pago_Pago(CI's timezone job) at 3361349.make mobile-verify ARGS="fast --all": 23/23 hermetic journeys passed at bc9e93e.scripts/l10n.py check(49 locales),analyze_ratchet.sh, INV-UI-3, INV-UI-1, line-count, dead-code, agent-doc,event-registry and mobile-changelog checks pass; pre-push preflight passes on every push.
answered in the linked commits.
the production widgets with real fonts; see the PR comments for harness limits).
Product invariants affected
app/lib/main.dartchanges only the theme (buildOmiTheme), the Intl default-locale sync and thestartup-failure retry; the data-plane / environment selection authority is untouched and preserved.
app/lib/pages/memories/**changes presentation only (Undo-backed delete, read-only open, edit sheetguard). No tier is added or renamed and the delete still goes through the existing memory API.
Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code