Skip to content

feat(app): v2 cleaner UX 6/9 — Flat Home: white canvas and glass header - #20328

Closed
Itaxh1 wants to merge 2 commits into
BasedHardware:mainfrom
Itaxh1:feat/home-flat
Closed

Itaxh1 wants to merge 2 commits into
BasedHardware:mainfrom
Itaxh1:feat/home-flat

Conversation

@Itaxh1

@Itaxh1 Itaxh1 commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Home goes flat. In light mode the Home shell (Home and Tasks) gets a white page, glass header circles and device pill, line icons for search, sync and settings, and a warm white fade toward the bottom of the screen; dark mode keeps today's colours. What is recording now is a flat row with its device tile. Tapping a dropped pendant recording opens a sheet that explains what happened and follows the pendant as it reconnects. Part 6 of 9 of the v2 cleaner UX; it needs #20342 first.

Part 6 of 9. The plan and merge order are in #20342. This PR needs #20342 (the design foundation) merged first; until then it also lists that PR's 21 files. This PR's own change: compare (13 files, +488 / −88 without translations).

Since the last review, this PR was split. Conversation rows are now #20717, the Ask anything bar and record button #20716, Daily Recaps #20718, and the shared canvas, glass and DeviceTile are in #20342. What is left here is Home's page, header and live capture.

What changed and why

  • Canvas, scoped: OmiCanvas and OmiTypeface wrap the Home shell, so Home and Tasks get the white page in light mode and Instrument Sans. Widgets read OmiCanvas.pageOf / cardOf, so nothing outside the shell changes.

  • Header:

    • the search, settings and sync circles and the device pill are glass (fill and rim, no blur);
    • their glyphs are OmiLineIcon (search, settings, cloud);
    • the app bar takes the canvas colour.
  • Bottom of the screen: in light mode the page blends into a warm white from 62% of the height (HomeWarmBlend, fixed to the screen); nothing in dark. Above the floating row, the list fades into the page colour (HomeChatBarBackdrop), so what scrolls under the row shows through its glass.

  • Recording now (live_capture_card.dart, processing_capture.dart):

    • the live card is a flat row: the device tile with a green dot while capture runs, grey while paused or not capturing yet;
    • in trouble there is no dot, and a warning sign sits beside the status instead;
    • main's compact pill stays, with a grey dot when not live.
  • A dropped pendant (pendant_dropped_sheet.dart, new): tapping the Disconnected recording opens its own sheet instead of the generic one. It says:

    • what happened;
    • the pendant's status, following DeviceProvider while open: Reconnecting… with a spinner, then Connected;
    • that what was recorded is safe and that Omi reconnects on its own.

    It has Got It and Device Settings. Glasses and other wearables keep the generic explanation, with their own name.

  • Smaller pieces:

    • the loading skeleton uses the canvas card;
    • the firmware update page is an OmiGroupedPage, still with no way back while the device is being written.
  • Strings: pendantLostConnection, pendantReconnectsOnItsOwn and pendantRecordingSafe were added in all 49 locales; capturePendantDisconnectedDetail was removed.

Screenshots

Before is main (4bdcc56d0d), after is this branch (with #20342 under it). Rendered by app/scripts/visual_audit.sh (real widgets, flutter-tester, 390×844 at 2×, fixture data, light theme). The audit's Home frame mirrors HomePage. The rows in it are still main's here; they change in #20717.

Before (main) After (this branch)
Home Before: Home After: Home
Home, nothing recorded yet Before: Home, nothing recorded yet After: Home, nothing recorded yet
Recording now (pendant) Before: Recording now (pendant) After: Recording now (pendant)

Product invariants affected

none

How it was verified

  • flutter analyze: no errors or warnings (the 89 infos are all on main). dart format --line-length 120: clean.
  • Full app suite (flutter test) on this branch: 4,673 passed, 14 skipped, 0 failed.
  • python3 scripts/l10n.py check: OK.
  • Visual audit, main against this branch: the screenshots above.
  • scripts/pr-preflight with this body: passed.
  • The combined branch these PRs were split from ran on an iPhone 15 Pro Max, light and dark.

Tests

  • test/widgets/home_flat_canvas_test.dart (new):
    • recording now: a green dot while live, grey when paused, and the warning beside the words in trouble;
    • the warm blend's stops and #FAF8F4 end in light, none in dark;
    • the floating row is laid out in light and dark (with no blend, the bottom Stack must not shrink to nothing);
    • turning the app dark takes the blend away from a Home already on screen.
  • test/widgets/capture_home_ui_test.dart: the Disconnected sheet shows the lead line, the pendant reconnecting with a spinner, then Connected as a live region when it comes back, both points and Device Settings; Got It closes it.
  • test/widgets/header_sync_button_test.dart: the sync circle draws the cloud line icon.

Failure class (fixes)

Failure-Class: none

Review in cubic

Itaxh1 added a commit to Itaxh1/omi that referenced this pull request Oct 2, 2026
@Itaxh1
Itaxh1 marked this pull request as ready for review October 2, 2026 11:26
@Itaxh1
Itaxh1 requested a review from Git-on-my-level October 2, 2026 11:26
@Itaxh1

Itaxh1 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@Git-on-my-level @cubic-dev-ai ready for review: Home's Flat design. Before and after screenshots, light and dark, are at the top of the description.

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown

@Git-on-my-level @cubic-dev-ai ready for review: Home's Flat design. Before and after screenshots, light and dark, are at the top of the description.

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 143 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread app/lib/widgets/home_bottom_bar.dart Resolved
Comment thread app/lib/l10n/app_mr.arb Resolved
Comment thread app/lib/ui/components/omi_glass.dart Resolved
Comment thread app/lib/ui/omi_canvas.dart Resolved
@Itaxh1

Itaxh1 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review — all 17 threads are addressed in b2f87e4, and main is merged in.

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown

@cubic-dev-ai review — all 17 threads are addressed in b2f87e4, and main is merged in.

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 143 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

@Itaxh1

Itaxh1 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review — the 8 second-round threads are addressed in 8554aba (two kept on purpose, with reasons in the threads).

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 2, 2026

Copy link
Copy Markdown

@cubic-dev-ai review — the 8 second-round threads are addressed in 8554aba (two kept on purpose, with reasons in the threads).

@Itaxh1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 143 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature (Flat Home redesign: white canvas, glass controls, device-tile rows) — files under app/ (Flutter mobile, l10n/assets), no desktop paths. Mobile area, not a bug fix -> approve-only.

Itaxh1 added a commit to Itaxh1/omi that referenced this pull request Oct 2, 2026
Itaxh1 added a commit to Itaxh1/omi that referenced this pull request Oct 2, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Reviewed this end to end (statically) — the work is cohesive and careful, and the details hold up:

  • app/lib/ui/omi_canvas.dart: InheritedWidget used purely as a static marker (updateShouldNotify: false) with pageOf/cardOf accessors is a clean way to scope the white canvas without leaking rebuild semantics. Dark values equal the current dark surfaces, so non-canvas screens are untouched.
  • app/lib/ui/components/omi_glass.dart: restricting BackdropFilter to the three floating controls (Ask anything, record button, conversation-page floating bar) and painting float shadows outside the blur's clip is the right performance call; the rim as a foreground Decoration so children can paint to the edges is neat.
  • app/lib/widgets/device_tile.dart: per-source line glyphs with a conversation-bubble fallback (never a bare mic) reads well; the dashed missing and faded processing variants are covered by tests.
  • app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart: following DeviceProvider via context.select with a Semantics(liveRegion:) status line is good accessibility practice, and the blank-name fallback to CaptureSources.label avoids an empty title.
  • app/lib/widgets/home_bottom_bar.dart / record button: the ownership logic (_phoneOwnsCapture) preserving stop-while-recording plus the Omi-call / listening-pendant / Transcribe-Later branches is faithfully carried over, and the chooser state now has its own screen-reader label.

For the record: two commits (0778aeed, 59698a73) landed after the approval at 2484642. I reviewed both — they fix the warm blend persisting into dark mode and the empty SizedBox.shrink collapsing Home's bottom Stack (taking the Ask anything row with it), each with a regression test in home_flat_rows_test.dart. Both look correct; Theme.brightnessOf(context) is read even when the blend paints nothing so the widget rebuilds on theme switches, and the empty state stays Positioned.fill.

No blockers from my side. Since the approval predates those last two commits, leaving the final merge confirmation to a maintainer.


AI-generated maintainer feedback on behalf of the Omi maintainers.


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

Reviewed the full diff (the 49-locale l10n churn is mechanical and stays in sync between the .arb sources and the generated localizations — spot-checked ar/be/bg/ca/cs and the en template). Thoughts on the code, file by file:

  • app/lib/ui/omi_canvas.dart — clean InheritedWidget marker; updateShouldNotify => false plus static pageOf/cardOf is the right cheap shape since the marker never changes, and dark values mapping back to surface0/surface1 keeps dark mode pixel-identical.
  • app/lib/ui/components/omi_glass.dart — the split between the two-DecoratedBox non-blur path and the clipped-BackdropFilter blur path (outline/shadow painted outside the clip, child unclipped) is well done, and OmiGlassRim implements ==/hashCode correctly.
  • app/lib/widgets/device_tile.dart — good call giving every source a drawn glyph with a conversation-bubble fallback instead of a bare mic, and ExcludeSemantics with the row naming the source is the right a11y structure.
  • app/lib/pages/home/widgets/battery_info_widget.dart — the record-button rework is the riskiest behavior change here. The _onTap routing (initialising → ignore; phone-owned/live call/listening pendant/Transcribe Later → existing stop-or-takeover; otherwise → chooser) reads correct, and opensChooser keeps the semantics label honest. One nit: _phoneOwnsCapture treats RecordingState.record as phone-owned regardless of which source set it; the explicit pendant branches cover the real cases, but worth a glance if a non-phone realtime source ever sets that state directly.
  • app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart — the context.select<DeviceProvider, ...> status tuple with a liveRegion on the status line is exactly how the reconnect progress should be announced.
  • app/lib/pages/settings/daily_summary_detail_page.dart — the HitTestBehavior.opaque additions to the highlight/task/question/decision rows are a small tap-target win on top of the flattening.
  • app/lib/pages/conversation_detail/widgets/conversation_detail_header.dart — the _OneLineChips FittedBox with the 45% folder cap, and the new test that fails on the old Wrap, is a solid regression guard.
  • The rest (home_bottom_bar.dart warm blend and backdrop, conversation_list_item.dart, processing_capture.dart, capture_gap_list_item.dart, live_capture_card.dart, conversation_bottom_bar.dart, and the token/substitution files) is consistent with the design and nothing behavior-sensitive jumped out.

Two notes for the maintainer path:

  1. This is stacked on the unmerged feat(app): clean up the Home bottom bar with an Ask Anything button #19855 (first commit re-applies it), so merge order vs. main needs a decision.
  2. The approval on record covers commit 2484642; the current head 59698a7 has later commits, and the fork CI gate skipped the Dart suites — the reported 3863-passing local run isn't independently verified on CI.

Thanks @Itaxh1 — this is a carefully built, well-tested change (the new omi_canvas_test, home_flat_rows_test, and conversation_detail_header_chips_test genuinely pin the new behavior). Leaving the final product sign-off on the restyled primary surfaces and the stacked-PR ordering to human maintainer review.


This review was produced by an AI reviewing on the maintainers' behalf.


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 positive-signal Automation verified a genuine fix/quality contribution labels Oct 3, 2026
@Itaxh1 Itaxh1 changed the title feat(app): Flat Home — white canvas, glass controls, device-tile rows feat(app): v2 cleaner UX 6/9 — Flat Home: white canvas and glass header Oct 5, 2026
@Itaxh1
Itaxh1 marked this pull request as draft October 5, 2026 08:42
@Itaxh1
Itaxh1 marked this pull request as ready for review October 5, 2026 09:54

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9 issues found across 139 files

Confidence score: 3/5

  • pendant_dropped_sheet.dart can overflow at large text scales or in short viewports, hiding the lower actions. Make the content scrollable.
  • omi_button.dart can still overflow when wrapLabel is used with a fixed width because the fixed height prevents multiline labels from growing. Keep the requested width while allowing the button to grow vertically.
  • Dark-mode colors change in omi_locked_preview.dart and firmware_update.dart despite the stated color preservation, altering the veil tint and page background. Preserve the existing dark-mode colors in both places.
  • omi_settings.dart leaves outlined destination and choice rows with bare icons, since no app call site uses OmiSettingsIconTile. Wrap those leading icons on the affected pages.

You’re at about 97% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="app/lib/ui/components/omi_locked_preview.dart">

<violation number="1" location="app/lib/ui/components/omi_locked_preview.dart:53">
P2: This changes the locked-preview veil to black on dark canvas screens instead of preserving the existing `surface1` tint, despite dark mode retaining its existing colors in this refresh. Apply the canvas override only in light mode.</violation>
</file>

<file name="app/lib/pages/home/firmware_update.dart">

<violation number="1" location="app/lib/pages/home/firmware_update.dart:463">
P3: This changes the dark page background from `surface0` (#000) to `groupedPage` (#0A0A0A), despite the stated dark-mode color preservation; retain `surface0` in dark mode.</violation>
</file>

<file name="app/changelog/unreleased/20261005-design-foundation.json">

<violation number="1" location="app/changelog/unreleased/20261005-design-foundation.json:2">
P2: `kind: none` suppresses release notes for this user-facing Home UX update; replace it with a `change` sentence describing the refresh.</violation>
</file>

<file name="app/lib/l10n/app_es.arb">

<violation number="1" location="app/lib/l10n/app_es.arb:3197">
P2: `solo cuando` reads as “only when,” so this does not clearly promise the automatic reconnection described by the source; use `automáticamente cuando`.</violation>
</file>

<file name="app/lib/l10n/app_pt.arb">

<violation number="1" location="app/lib/l10n/app_pt.arb:3231">
P2: These new strings call the device “pendente,” which can read as “pending” in Brazilian Portuguese; use the established device term “pingente” here as well.</violation>
</file>

<file name="app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart">

<violation number="1" location="app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart:57">
P2: This non-scrollable column can overflow at large text scales or in short viewports, hiding the lower actions. Wrap the content in a `SingleChildScrollView`.</violation>
</file>

<file name="app/lib/ui/components/omi_settings.dart">

<violation number="1" location="app/lib/ui/components/omi_settings.dart:249">
P2: Outlined destination and choice rows still render bare icons: `_outlinedGroup` passes children through unchanged, and no app call site uses `OmiSettingsIconTile`. Wrap the leading icons on those pages while keeping value and toggle rows plain.

(Based on your team's feedback about Settings row styles by page type.)</violation>
</file>

<file name=".github/scripts/dead_code/flutter.allowlist.json">

<violation number="1" location=".github/scripts/dead_code/flutter.allowlist.json:56">
P2: `device_tile.dart` is already reachable through this PR's `live_capture_card.dart`, so this entry is stale. Remove it; if the tile later loses its importer, the allowlist will suppress the dead-code check instead of catching it.</violation>
</file>

<file name="app/lib/ui/components/omi_button.dart">

<violation number="1" location="app/lib/ui/components/omi_button.dart:171">
P2: `wrapLabel` still overflows when callers set the supported `width`: `fixedSize` pins the height to `visualHeight`, preventing multiline labels from growing. Keep the requested width while allowing wrapped buttons to grow vertically.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

key: const Key('locked_preview_tint'),
color: OmiColors.surface1.withValues(alpha: 0.65),
// On the canvas the row is flat, so the veil is the page colour and no card shows.
color: (OmiCanvas.isOn(context) ? OmiColors.canvas : OmiColors.surface1).withValues(alpha: 0.65),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This changes the locked-preview veil to black on dark canvas screens instead of preserving the existing surface1 tint, despite dark mode retaining its existing colors in this refresh. Apply the canvas override only in light mode.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/ui/components/omi_locked_preview.dart, line 53:

<comment>This changes the locked-preview veil to black on dark canvas screens instead of preserving the existing `surface1` tint, despite dark mode retaining its existing colors in this refresh. Apply the canvas override only in light mode.</comment>

<file context>
@@ -48,7 +49,8 @@ class OmiLockedPreview extends StatelessWidget {
                 key: const Key('locked_preview_tint'),
-                color: OmiColors.surface1.withValues(alpha: 0.65),
+                // On the canvas the row is flat, so the veil is the page colour and no card shows.
+                color: (OmiCanvas.isOn(context) ? OmiColors.canvas : OmiColors.surface1).withValues(alpha: 0.65),
               ),
             ),
</file context>
Suggested change
color: (OmiCanvas.isOn(context) ? OmiColors.canvas : OmiColors.surface1).withValues(alpha: 0.65),
color: (OmiCanvas.isOn(context) && Theme.of(context).brightness == Brightness.light
? OmiColors.canvas
: OmiColors.surface1)
.withValues(alpha: 0.65),

@@ -0,0 +1,3 @@
{
"kind": "none"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: kind: none suppresses release notes for this user-facing Home UX update; replace it with a change sentence describing the refresh.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/changelog/unreleased/20261005-design-foundation.json, line 2:

<comment>`kind: none` suppresses release notes for this user-facing Home UX update; replace it with a `change` sentence describing the refresh.</comment>

<file context>
@@ -0,0 +1,3 @@
+{
+  "kind": "none"
+}
</file context>

Comment thread app/lib/l10n/app_es.arb
"prerecordedTranscript": "Pregrabado",
"pendantRecordingSyncBlocked": "Tu Pendant sigue grabando, por lo que su audio almacenado no se puede transferir. Pulsa el botón del Pendant para detener la grabación y vuelve a sincronizar.",
"pendantLostConnection": "Tu colgante perdió la conexión con este teléfono.",
"pendantReconnectsOnItsOwn": "Omi se volverá a conectar solo cuando el colgante esté encendido y cerca.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: solo cuando reads as “only when,” so this does not clearly promise the automatic reconnection described by the source; use automáticamente cuando.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_es.arb, line 3197:

<comment>`solo cuando` reads as “only when,” so this does not clearly promise the automatic reconnection described by the source; use `automáticamente cuando`.</comment>

<file context>
@@ -3193,6 +3193,9 @@
     "prerecordedTranscript": "Pregrabado",
     "pendantRecordingSyncBlocked": "Tu Pendant sigue grabando, por lo que su audio almacenado no se puede transferir. Pulsa el botón del Pendant para detener la grabación y vuelve a sincronizar.",
+    "pendantLostConnection": "Tu colgante perdió la conexión con este teléfono.",
+    "pendantReconnectsOnItsOwn": "Omi se volverá a conectar solo cuando el colgante esté encendido y cerca.",
+    "pendantRecordingSafe": "Todo lo grabado antes está a salvo.",
     "pendantFullSyncBlocked": "El almacenamiento de tu Pendant está lleno y sigue en modo de grabación, por lo que su audio almacenado no se puede transferir. Pulsa el botón del Pendant para detener la grabación y vuelve a sincronizar.",
</file context>
Suggested change
"pendantReconnectsOnItsOwn": "Omi se volverá a conectar solo cuando el colgante esté encendido y cerca.",
"pendantReconnectsOnItsOwn": "Omi se volverá a conectar automáticamente cuando el colgante esté encendido y cerca.",

Comment thread app/lib/l10n/app_pt.arb
Comment on lines +3231 to +3232
"pendantLostConnection": "Seu pendente perdeu a conexão com este telefone.",
"pendantReconnectsOnItsOwn": "O Omi se reconecta sozinho quando o pendente estiver ligado e por perto.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: These new strings call the device “pendente,” which can read as “pending” in Brazilian Portuguese; use the established device term “pingente” here as well.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/l10n/app_pt.arb, line 3231:

<comment>These new strings call the device “pendente,” which can read as “pending” in Brazilian Portuguese; use the established device term “pingente” here as well.</comment>

<file context>
@@ -3228,6 +3228,9 @@
     "appDisabledLastError": "Último erro: {error}.",
     "prerecordedTranscript": "Pré-gravado",
     "pendantRecordingSyncBlocked": "O Pendant ainda está gravando, então o áudio armazenado não pode ser transferido. Pressione o botão do Pendant para parar a gravação e sincronize novamente.",
+    "pendantLostConnection": "Seu pendente perdeu a conexão com este telefone.",
+    "pendantReconnectsOnItsOwn": "O Omi se reconecta sozinho quando o pendente estiver ligado e por perto.",
+    "pendantRecordingSafe": "Tudo o que foi gravado antes está seguro.",
</file context>
Suggested change
"pendantLostConnection": "Seu pendente perdeu a conexão com este telefone.",
"pendantReconnectsOnItsOwn": "O Omi se reconecta sozinho quando o pendente estiver ligado e por perto.",
"pendantLostConnection": "Seu pingente perdeu a conexão com este telefone.",
"pendantReconnectsOnItsOwn": "O Omi se reconecta sozinho quando o pingente estiver ligado e por perto.",

final secondary = OmiType.footnote.copyWith(color: OmiColors.textSecondary);
return Padding(
padding: const EdgeInsets.only(bottom: OmiSpacing.md),
child: Column(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This non-scrollable column can overflow at large text scales or in short viewports, hiding the lower actions. Wrap the content in a SingleChildScrollView.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart, line 57:

<comment>This non-scrollable column can overflow at large text scales or in short viewports, hiding the lower actions. Wrap the content in a `SingleChildScrollView`.</comment>

<file context>
@@ -0,0 +1,121 @@
+    final secondary = OmiType.footnote.copyWith(color: OmiColors.textSecondary);
+    return Padding(
+      padding: const EdgeInsets.only(bottom: OmiSpacing.md),
+      child: Column(
+        mainAxisSize: MainAxisSize.min,
+        crossAxisAlignment: CrossAxisAlignment.stretch,
</file context>

Widget build(BuildContext context) {
final resolved =
style ?? (OmiGroupedScope.of(context) ? OmiSettingsGroupStyle.outlined : OmiSettingsGroupStyle.inset);
if (resolved == OmiSettingsGroupStyle.outlined) return _outlinedGroup(this);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Outlined destination and choice rows still render bare icons: _outlinedGroup passes children through unchanged, and no app call site uses OmiSettingsIconTile. Wrap the leading icons on those pages while keeping value and toggle rows plain.

(Based on your team's feedback about Settings row styles by page type.)

View Feedback

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/ui/components/omi_settings.dart, line 249:

<comment>Outlined destination and choice rows still render bare icons: `_outlinedGroup` passes children through unchanged, and no app call site uses `OmiSettingsIconTile`. Wrap the leading icons on those pages while keeping value and toggle rows plain.

(Based on your team's feedback about Settings row styles by page type.) </comment>

<file context>
@@ -97,6 +244,9 @@ class OmiSettingsGroup extends StatelessWidget {
   Widget build(BuildContext context) {
+    final resolved =
+        style ?? (OmiGroupedScope.of(context) ? OmiSettingsGroupStyle.outlined : OmiSettingsGroupStyle.inset);
+    if (resolved == OmiSettingsGroupStyle.outlined) return _outlinedGroup(this);
     final rows = <Widget>[];
     for (var i = 0; i < children.length; i++) {
</file context>

"reason": "AppsPage left the shell (the catalog is Settings > Integrations), but protected spine oracles (app/test/spine/b1_surface_contract.dart) import it; remove with the B1 contract revision"
},
{
"path": "app/lib/widgets/device_tile.dart",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: device_tile.dart is already reachable through this PR's live_capture_card.dart, so this entry is stale. Remove it; if the tile later loses its importer, the allowlist will suppress the dead-code check instead of catching it.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At .github/scripts/dead_code/flutter.allowlist.json, line 56:

<comment>`device_tile.dart` is already reachable through this PR's `live_capture_card.dart`, so this entry is stale. Remove it; if the tile later loses its importer, the allowlist will suppress the dead-code check instead of catching it.</comment>

<file context>
@@ -51,6 +51,10 @@
       "reason": "AppsPage left the shell (the catalog is Settings > Integrations), but protected spine oracles (app/test/spine/b1_surface_contract.dart) import it; remove with the B1 contract revision"
+    },
+    {
+      "path": "app/lib/widgets/device_tile.dart",
+      "reason": "v2 cleaner UX foundation (#20342): the device tile that #20328, #20717 and #20718 put on Home, conversation and recap rows; reachable once the first of them lands, then remove this entry"
     }
</file context>


/// Wrap a label that does not fit instead of ellipsizing it; the button grows taller. For an
/// action whose localized label must read in full at large text scales.
final bool wrapLabel;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: wrapLabel still overflows when callers set the supported width: fixedSize pins the height to visualHeight, preventing multiline labels from growing. Keep the requested width while allowing wrapped buttons to grow vertically.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/ui/components/omi_button.dart, line 171:

<comment>`wrapLabel` still overflows when callers set the supported `width`: `fixedSize` pins the height to `visualHeight`, preventing multiline labels from growing. Keep the requested width while allowing wrapped buttons to grow vertically.</comment>

<file context>
@@ -160,6 +166,10 @@ class OmiButton extends StatefulWidget {
 
+  /// Wrap a label that does not fit instead of ellipsizing it; the button grows taller. For an
+  /// action whose localized label must read in full at large text scales.
+  final bool wrapLabel;
+
   /// Legacy colour override; see [OmiButtonColors]. Wins over [variant].
</file context>

leading: busy ? null : const OmiBackButton(),
title: Text(widget.isRollback ? context.l10n.stableFirmware : context.l10n.firmwareUpdate),
),
child: OmiGroupedPage(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3: This changes the dark page background from surface0 (#000) to groupedPage (#0A0A0A), despite the stated dark-mode color preservation; retain surface0 in dark mode.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At app/lib/pages/home/firmware_update.dart, line 463:

<comment>This changes the dark page background from `surface0` (#000) to `groupedPage` (#0A0A0A), despite the stated dark-mode color preservation; retain `surface0` in dark mode.</comment>

<file context>
@@ -460,14 +460,10 @@ class _FirmwareUpdateState extends State<FirmwareUpdate> with FirmwareMixin {
-          leading: busy ? null : const OmiBackButton(),
-          title: Text(widget.isRollback ? context.l10n.stableFirmware : context.l10n.firmwareUpdate),
-        ),
+      child: OmiGroupedPage(
+        // No way back while the device is being written; the PopScope blocks system back too.
+        leading: busy ? const SizedBox.shrink() : null,
</file context>

@Git-on-my-level

Copy link
Copy Markdown
Member

Reviewed the current head. This is a well-put-together slice — some specific notes:

  • app/lib/ui/omi_canvas.dart: the InheritedWidget marker approach is clean. updateShouldNotify => false is right for an immutable scope marker, and pageOf/cardOf falling back to surface0/surface1 means non-canvas screens can't regress by construction. Good scoping.
  • app/lib/pages/conversations/widgets/pendant_dropped_sheet.dart: the context.select<DeviceProvider, (String?, bool, bool)> tuple is an efficient way to follow the reconnect without rebuilding on unrelated device churn, and the Semantics(liveRegion: true) on the status line (with the sheet pumped by frames in the test because of the spinner) is exactly the kind of detail that matters. Correct use of sheetContext vs the outer context for pop-then-navigate.
  • app/lib/widgets/home_bottom_bar.dart: HomeWarmBlend returning Positioned.fill(SizedBox.shrink()) instead of nothing in dark mode, with the zero-size-Stack rationale in a comment, avoids a subtle layout trap — and the light→dark-on-screen test covers it.
  • app/lib/widgets/device_tile.dart + app/lib/ui/components/omi_line_icon.dart: inline SVG with consistent 1.8 stroke weight, ExcludeSemantics everywhere decorative with labels carried by the row. Consistent.
  • app/lib/ui/components/omi_glass.dart: shadows painted outside the ClipPath so the blur doesn't clip them — asserted in omi_canvas_test.dart. Nice.
  • l10n: the 3-key split of capturePendantDisconnectedDetail into composable sentence keys across all 49 locales is the right shape for translators; scripts/l10n.py check reported OK.
  • app/assets/fonts/: Instrument Sans with its OFL 1.1 license file shipped and declared in pubspec.yaml — licensing is in order.
  • .github/scripts/dead_code/flutter.allowlist.json: the device_tile.dart entry is explicitly tied to merge order (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) with removal instructions — fine as a documented bridge, just make sure it doesn't outlive the sequence.

Two process notes:

  1. The approval on this PR (@kodjima33, Oct 2) is on an earlier head; the current head (69d421a) includes the split into feat(app): v2 cleaner UX 7/9 — Ask anything bar and glass record button #20716/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, so a fresh maintainer sign-off on this head is needed before merge.
  2. This still requires feat(app): v2 cleaner UX 1/9 — design foundation (no visible change) #20342 to land first — the compare view in the description is the right reference for reviewers, since this branch carries that PR's foundation files until then.

The tests here are real coverage, not smoke: the canvas/glass token contracts, the reconnecting→Connected transition asserted as a live region, and the blend-stop math all check out. Thanks for the careful a11y work throughout.

This feedback is AI-generated on behalf of the Omi maintainers and complies with the repo's review guidelines.


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

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature (mobile app v2 UX redesign, part 6/9) — approve-only ceiling per policy, new commits since last approval. CI green, no abuse signal, not a draft.

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Itaxh1 v2 cleaner UX 6/9 -- feature series, stays normal per memory (separate from its confirmed self-bounty PRs), approve-only

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Itaxh1 v2 cleaner-UX series — feature (mobile/flutter), explicitly carved out as normal per standing memory (self-bounty flag applies elsewhere on this account, not this series) — approve only, not a

@undivisible

Copy link
Copy Markdown
Collaborator

Superseded by #20835. Closing; please follow that PR.

@github-actions

Copy link
Copy Markdown
Contributor

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:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

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!

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 positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants