Skip to content

feat(app): Settings top level is Account plus seven groups; calmer Ask Omi - #18618

Merged
Git-on-my-level merged 7 commits into
mainfrom
feat/mobile-settings-groups
Sep 24, 2026
Merged

Git-on-my-level merged 7 commits into
mainfrom
feat/mobile-settings-groups

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

A smaller Settings top level, and a calmer Ask Omi

David, 2026-09-24:

  1. Ask Omi on the conversation page keeps its pill and two-bubbles glyph but uses the same fill, icon and text
    colour as the Star and Share buttons beside it (new OmiButton.toolbar variant: surface-1 fill, primary text),
    so the top bar reads as one row. No white primary.
  2. Settings had about 21 rows at the top level plus a Profile page that mixed account details with recording
    settings. The top level is now Account plus seven groups.

New top level

  1. Account (name, email as subtitle) → Name, Email, Plan & Usage, Referral Program, User ID; then Sign Out
    and Delete Account at the bottom.
  2. Device → Device settings (while connected), Offline Sync, Phone Calls.
  3. Recording & Transcription → Transcription, Language, Custom Vocabulary · Voice Profile, Identifying
    Others, Voice Response · Conversation Timeout · Recording (Beta): Transcribe Later, Background Mode (Android).
  4. Notifications & Display → Notifications, Home Screen, Conversation Display.
  5. Integrations (Beta) → the Integrations page directly.
  6. Data & Privacy → Data Protection, Memories, Permissions, Export All Data, Import Data.
  7. Help & About → Feedback / Bug and Help Center (where Intercom is supported), What's New, version.
  8. Developer Settings → unchanged page, last.

Old → new mapping (every row)

Depth = taps from the open Settings sheet until the row is visible (0 = on the sheet). Nothing became
unreachable: every former top-level row is at most one tap deeper, every former Profile row stays at the same
depth. test/widgets/settings/settings_structure_test.dart pumps the real sheet, walks every page and pins this.

Row Old location New location Depth before → after
Profile (now Account: name, email subtitle) Sheet Sheet, first row → Account page 0 → 0
Notifications Sheet Notifications & Display 0 → 1
Plan & Usage (Pro value) Sheet Account 0 → 1
Device Settings (only while connected) Sheet Device 0 → 1
Transcription (provider value) Sheet › Conversations Recording & Transcription 0 → 1
Conversation Display Sheet › Conversations Notifications & Display 0 → 1
Conversation Timeout (subtitle) Sheet › Conversations Recording & Transcription 0 → 1
Offline Sync Sheet › Conversations Device 0 → 1
Phone Calls Sheet › Conversations Device 0 → 1
Home Screen Sheet › Conversations Notifications & Display 0 → 1
Data Protection Sheet › Data & Privacy Data & Privacy 0 → 1
Export All Data (spinner) Sheet › Data & Privacy Data & Privacy 0 → 1
Import Data Sheet › Data & Privacy Data & Privacy 0 → 1
Permissions Sheet › Data & Privacy Data & Privacy 0 → 1
Integrations (Beta) Sheet › Data & Privacy Sheet → Integrations page directly 0 → 0
Feedback / Bug (Intercom only) Sheet Help & About 0 → 1
Help Center (Intercom only) Sheet Help & About 0 → 1
What's New Sheet Help & About 0 → 1
Referral Program (New tag) Sheet Account 0 → 1
Developer Settings Sheet Sheet, last row 0 → 0
Sign Out (same confirmation) Sheet Account, bottom group 0 → 1
Version and copy button (iOS/Android) Bottom of sheet Bottom of Help & About 0 → 1
Name Profile Account 1 → 1
Email Profile Account 1 → 1
Language Profile Recording & Transcription 1 → 1
Custom Vocabulary Profile Recording & Transcription 1 → 1
Memories Profile Data & Privacy 1 → 1
Voice Profile Profile Recording & Transcription 1 → 1
Identifying Others Profile Recording & Transcription 1 → 1
Voice Response Profile Recording & Transcription 1 → 1
Background Mode (Android, same logic) Profile › Recording (Beta) Recording & Transcription › Recording (Beta) 1 → 1
Transcribe Later Profile › Recording (Beta) Recording & Transcription › Recording (Beta) 1 → 1
User ID (copy) Profile Account 1 → 1
Delete Account Profile Account, bottom group 1 → 1
Creator Payouts Developer Settings unchanged 1 → 1

Search, routes, analytics

  • Search: every moved row is still found and opens its own page; group titles are searchable. "Profile" (the
    Account row's old name) is a search alias for Account and still matches Voice Profile (tested).
  • Routes and deep links: unchanged. Every route opens a page directly and no page moved
    (/settings/data-privacy, quick actions → Device, AppShell → Plan & Usage / Asana / ClickUp).
  • Analytics: every existing event and name is kept. Opening a group now calls the existing
    settingsPageOpened ("Settings Page Opened") with page_name = device, recording_and_transcription,
    notifications_and_display, privacy_and_data, help_and_about, so group usage becomes measurable. Context: over
    the last 30 days PostHog has Settings Opened 31.8k events / 5.4k users, Permissions 3.3k / 1.7k, Language 2.8k /
    942, Conversation Display 2.0k / 853, Daily Summary 1.9k / 1.1k, Change Name 465 / 350, Delete Account dialog
    290 / 194; "Settings Page Opened" had no page name and no caller, so per-row usage was not measurable before.
  • l10n: new keys recordingAndTranscription, notificationsAndDisplay, helpAndAbout in all 49 locales; reused
    account, device, integrations, dataAndPrivacy, developerSettings.

Screenshots

Fresh before (main 26790dd16b) and after (this PR's head) run of the conversation top bar and every Settings
page and sub-page: https://claude.ai/artifact/GTzdUJ5hfwXLcFZse6Eq7v (INDEX.md records SHAs and capture times).

Verification (hermetic tests and static checks on this Mac, Flutter 3.44.5, TZ=UTC)

  • bash app/test.sh: 2928 passed at 651381049c. Analyzer ratchet, l10n.py check (49 locales, 3337 keys),
    INV-UI-3, INV-UI-1, line-count, dead-code and addressability checks pass.

Product invariants affected

  • INV-UI-1: no purple added.
  • INV-UI-3: the touched files stay within the mobile UX contract ratchet.

Failure class (fixes)

Failure-Class: none

🤖 Generated with Claude Code

Review in cubic

Git-on-my-level and others added 7 commits September 24, 2026 19:40
…and Share

David, 2026-09-24: keep the pill and the two-bubbles glyph, drop the white
fill. OmiButton gains a toolbar variant with the same surface-1 fill and
primary-text label and glyph as the OmiIconButton.filled circles beside it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Three new group titles for the smaller Settings top level, in all 49
locales: Recording & Transcription, Notifications & Display, Help & About.
The other groups reuse existing keys (account, device, integrations,
dataAndPrivacy, developerSettings).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
David (2026-09-24): too many top-level options. The sheet had about 21
rows plus a Profile page that mixed account details with recording
settings. It now shows, in order: Account (name, email subtitle), Device,
Recording & Transcription, Notifications & Display, Integrations,
Data & Privacy, Help & About, Developer Settings.

- New group pages (settings_groups.dart) built from OmiSettingsGroup /
  OmiSettingsRow / OmiBackButton, opened through openSettingsDestination
  with five new SettingsDestination values. Each group open records the
  existing "Settings Page Opened" event with a stable page_name
  (device, recording_and_transcription, notifications_and_display,
  privacy_and_data, help_and_about).
- Profile becomes the Account page (class name kept): Name, Email,
  Plan & Usage, Referral Program, User ID, then Sign Out and Delete
  Account. Its recording, voice and memory rows moved to the group pages
  with their handlers (voice response picker, background mode,
  transcribe later).
- The version row and its copy button moved to Help & About.
- Every top-level row was one tap from the sheet's rows before and is now
  at most one tap deeper; every former Profile row stays one tap deep.
- Search: each moved entry names the file that now draws it and still
  opens its page; group titles are searchable; rows rank above the group
  that holds them.
- Keys for UI harnesses: settings_account, settings_group_<group>,
  settings_page_<page>, settings_row_<destination>.
- analytics_reachability_baseline: settingsPageOpened now has callers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…achable

Pumps the real Settings sheet, opens Account and each group page, and
asserts every former top-level destination is at most one tap deeper,
every former Profile row (and destination) is still one tap deep, each
page lists its rows in order, and search opens the page holding a moved
row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Account was called Profile until now, so the row keeps its old name as a
search alias (the result still reads Account); Voice Profile keeps
matching too. Adds aliases to SettingsSearchEntry, with a test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level
Git-on-my-level merged commit 90da749 into main Sep 24, 2026
45 checks passed
@Git-on-my-level
Git-on-my-level deleted the feat/mobile-settings-groups branch September 24, 2026 13:20
Git-on-my-level added a commit that referenced this pull request Sep 24, 2026
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]>
Git-on-my-level added a commit that referenced this pull request Sep 24, 2026
…e visual-audit tool (#18723)

* feat(app): Plan, Referral and Feedback back on the Settings sheet; Permissions under Device

David's follow-up to #18618: Plan & Usage (Pro value) and Referral Program (New tag)
leave Account for their own group on the sheet, Feedback leaves Help & About for its own
row beside it (still Intercom-gated), and Permissions moves from Data & Privacy to Device.
Developer Settings stays last. Search index, structure test and e2e map updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(app): one maintained visual-audit tool with a scenario registry

Consolidates this week's 16 throwaway screenshot harnesses and the original
integration_test/visual_audit capture into one harness plus a registry of 63
scenarios (id, title, pumped page, seeded state). app/scripts/visual_audit.sh
captures --base/--head in temporary worktrees and writes before/after PNGs,
INDEX.md (SHAs, capture times) and gallery.html outside Git. A smoke test in
the ordinary app suite renders every scenario without writing images. Docs in
app/e2e/SKILL.md, "Visual audit".

Also: the start-up failure screen no longer prints a literal "null" when
there is no stack trace (debug/profile builds).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
summersmile1984 added a commit to summersmile1984/omi that referenced this pull request Sep 27, 2026
… 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant