Skip to content

feat(app): v2 cleaner UX 7/9 — Ask anything bar and glass record button - #20716

Closed
Itaxh1 wants to merge 2 commits into
BasedHardware:mainfrom
Itaxh1:feat/v2-ask-bar-record
Closed

Itaxh1 wants to merge 2 commits into
BasedHardware:mainfrom
Itaxh1:feat/v2-ask-bar-record

Conversation

@Itaxh1

@Itaxh1 Itaxh1 commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Home's floating row becomes one glass set: an "Ask anything" bar with a round mic at its end, beside a glass record button of the same height. Behaviour stays as on main. The bar opens chat to type, and the mic opens it already listening. A tap on the record button starts or stops a phone recording; holding it or tapping its ⌄ badge opens the other ways to record. One fix: while a phone recording is interrupted (transcription reconnecting), the button keeps showing stop. Part 7 of 9 of the v2 cleaner UX; it needs #20342 first.

Part 7 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 (7 files, +235 / −158 without translations).

This PR and #20329 (Tasks) edit neighbouring lines in home/page.dart: this PR removes _buildChatBar, which sits right above the Tasks menu's doc comment. Whichever lands second needs a one-line rebase, which I'll do.

What changed and why

The bottom of Home had a grey "Ask Omi" pill with a filled accent mic, beside a bordered circle: two controls that didn't look like a pair.

  • Ask anything (HomeAskOmiButton in home_bottom_bar.dart, replacing HomePage._buildChatBar):
    • a glass bar (OmiGlass, blurred) at the record button's height;
    • "Ask anything" in 16 pt medium, sentence case (askAnythingButton, new in all 49 locales);
    • the label opens chat to type, and the round mic at the end opens it listening (main's autoStartVoice);
    • the mic owns the bar's full height at its end, so a near miss still talks;
    • each part is one button for screen readers.
  • Record button (HomeRecordButton):
    • a glass circle with a dot, and a stop square while the phone records;
    • the behaviour is main's: tap to record or stop, hold or the ⌄ badge for the other ways, and an Omi call, a listening pendant and a Transcribe Later pendant each keep their own answer.
  • Fix: the button reads the phone's ownership of the capture (liveCaptureSource == 'phone', recording, or paused), not only the recording state. On main, a phone recording interrupted while transcription reconnects showed the idle dot.
  • Visual audit: the Home frame draws the real HomeAskOmiButton instead of a copy of the old bar.

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 page behind the row is still main's here; it turns white in #20328.

Before (main) After (this branch)
Idle Before: Idle After: Idle
Holding the record button Before: Holding the record button After: Holding the record button
Recording with the phone Before: Recording with the phone After: Recording with the phone

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,670 passed, 14 skipped, 1 failed. The failure was test/unit/voice_recorder_test.dart ("close discards failed pending WAV only after explicit user removal"), which this PR doesn't touch: the test and the provider are identical to main, and the file fails 1 run in 6 on main itself. Run alone on this branch it passed 2 of 3 times, the same flake.
  • 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: a tap records at once, as on main.

Tests

  • test/widgets/home_ask_bar_test.dart (new): "Ask anything" in 16 pt medium on one line, on the glass, with the voice glyph. The label opens typing, the mic opens voice, and a tap at the bar's rounded end still talks.
  • test/widgets/capture_home_ui_test.dart:
    • idle, the button is glass (it blurs what scrolls under it), and a tap starts the phone mic at once;
    • holding or the badge asks how to record, and asking never starts anything;
    • the badge is fully tappable and clear of the circle's centre;
    • while the phone records, a tap stops it and never asks.

Failure class (fixes)

Failure-Class: none

Review in cubic

@Itaxh1
Itaxh1 force-pushed the feat/v2-ask-bar-record branch from 11be5e8 to f5ac2cf Compare October 5, 2026 08:49
@Itaxh1
Itaxh1 marked this pull request as ready for review October 5, 2026 09:38

@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.

7 issues found across 133 files

Confidence score: 3/5

  • battery_info_widget.dart can treat an interrupted phone session as Stop even though _startPhoneRecording starts a new stream in that state, potentially replacing the existing recording. Handle interrupted sessions without starting a new stream.
  • omi_canvas.dart is not active across the Home, Tasks, and conversation page bodies, so canvas-aware widgets there may not work as intended. Wrap those screen bodies in OmiCanvas.
  • omi_button.dart pins both dimensions when a width is set, so wrapped localized labels can be clipped. Allow the height to grow when wrapLabel is enabled.
  • 20261005-design-foundation.json omits a release note for the user-visible Home redesign, so release collection will leave out the feature. Add a concise change entry.

You’re at about 95% 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/changelog/unreleased/20261005-design-foundation.json">

<violation number="1" location="app/changelog/unreleased/20261005-design-foundation.json:2">
P2: This marks a user-visible Home redesign as having no release note, so release collection omits the feature. Replace it with a concise `change` describing what users can do with the new Home controls.</violation>
</file>

<file name="app/integration_test/visual_audit/scenarios/capture.dart">

<violation number="1" location="app/integration_test/visual_audit/scenarios/capture.dart:212">
P3: The capture audit now shows a different settings icon from `HomePage._buildAppBar`, so its Home screenshots no longer represent the real screen. Keep the audit icon in sync with the production header.</violation>
</file>

<file name="app/docs/ux-contract.md">

<violation number="1" location="app/docs/ux-contract.md:90">
P2: These new UI rules are not enforced by INV-UI-3, so later pages can reintroduce the prohibited hand-built layouts, segments, or eager lists without CI detecting them. Add checker rules and failing cases as the contract's closing section requires.</violation>
</file>

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

<violation number="1" location="app/lib/ui/components/omi_button.dart:260">
P2: A wrapped label with `width` stays at `visualHeight` because `fixedSize` pins both dimensions, so large localized labels can be clipped. Keep the width fixed while allowing height to grow when `wrapLabel` is enabled.</violation>
</file>

<file name="app/lib/widgets/device_tile.dart">

<violation number="1" location="app/lib/widgets/device_tile.dart:14">
P3: `DeviceTile` has no application callers, so this 137-line widget never renders for users. Wire it into the conversation-row builder or defer it until a caller lands.</violation>
</file>

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

<violation number="1" location="app/lib/pages/home/widgets/battery_info_widget.dart:269">
P1: This marks a phone session in `RecordingState.interrupted` as the Stop button. But `_startPhoneRecording` only finishes for `record` or paused states and otherwise calls `streamRecording()`, which replaces the existing phone session. Include the interrupted-phone case in the stop path.</violation>
</file>

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

<violation number="1" location="app/lib/ui/omi_canvas.dart:16">
P2: `OmiCanvas.isOn` is false throughout Home, Tasks, and conversation page bodies; the only runtime wrappers are isolated grouped-page header controls. Wrap those screen bodies in `OmiCanvas`, or canvas-aware widgets will keep using the non-canvas palette.</violation>
</file>

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

Re-trigger cubic

/// The phone capture is this button's own: live, paused, or interrupted while transcription
/// reconnects (ownership, not the recording state, says so).
static bool _phoneOwnsCapture(CaptureProvider capture) =>
capture.liveCaptureSource == 'phone' ||

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1: This marks a phone session in RecordingState.interrupted as the Stop button. But _startPhoneRecording only finishes for record or paused states and otherwise calls streamRecording(), which replaces the existing phone session. Include the interrupted-phone case in the stop path.

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/widgets/battery_info_widget.dart, line 269:

<comment>This marks a phone session in `RecordingState.interrupted` as the Stop button. But `_startPhoneRecording` only finishes for `record` or paused states and otherwise calls `streamRecording()`, which replaces the existing phone session. Include the interrupted-phone case in the stop path.</comment>

<file context>
@@ -255,18 +255,25 @@ class _HomeRecordButtonState extends State<HomeRecordButton> {
+  /// The phone capture is this button's own: live, paused, or interrupted while transcription
+  /// reconnects (ownership, not the recording state, says so).
+  static bool _phoneOwnsCapture(CaptureProvider capture) =>
+      capture.liveCaptureSource == 'phone' ||
+      capture.recordingState == RecordingState.record ||
+      capture.isPhoneMicPaused;
</file context>

@@ -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: This marks a user-visible Home redesign as having no release note, so release collection omits the feature. Replace it with a concise change describing what users can do with the new Home controls.

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>This marks a user-visible Home redesign as having no release note, so release collection omits the feature. Replace it with a concise `change` describing what users can do with the new Home controls.</comment>

<file context>
@@ -0,0 +1,3 @@
+{
+  "kind": "none"
+}
</file context>
Suggested change
"kind": "none"
"change": "Ask questions or start a recording directly from Home’s new controls"

Comment thread app/docs/ux-contract.md
| Top-level Settings rows | `OmiSettingsGroup(style: OmiSettingsGroupStyle.outlined, header:)` of `OmiSettingsRow(leading: OmiSettingsIconTile(FaIcon(…)))`: labelled outlined cards on `OmiColors.groupedPage`, no hairlines | a bare glyph or a hand-built tile per row |
| A page inside Settings | `OmiGroupedPage(title:, actions:, body:)`: circled back, centred title, `OmiColors.groupedPage`; under it every `OmiSettingsGroup` is outlined and every `OmiSectionHeader` the small label. Pages of destinations or choices (Device, Recording, Permissions, Language, …) lead rows with `OmiSettingsIconTile`; a page of values and toggles (Notifications & Display, a transcription provider's fields) uses plain rows. A custom block sits in an `OmiGroupedCard` | `Scaffold` + `AppBar` + a `surface1` card |
| Settings type and row icons | Settings is set in Instrument Sans: `OmiGroupedPage` applies `OmiSettingsTypeface`, and a Settings page with its own `Scaffold` wraps it. A row keeps the app's own FontAwesome or Material icon, inside `OmiSettingsIconTile`, which sizes it and colours it (red on a destructive row) | the system font on one Settings page, an icon leading a Settings row outside its tile |
| Two to four views of one list or chart (Today · Month · Year, All · Pending · Synced) | `OmiSegmentedControl(value:, segments:, onChanged:)`: full width, 44 pt segments, labels never wrap | a row of tinted chips or a hand-built toggle |

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 UI rules are not enforced by INV-UI-3, so later pages can reintroduce the prohibited hand-built layouts, segments, or eager lists without CI detecting them. Add checker rules and failing cases as the contract's closing section requires.

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/docs/ux-contract.md, line 90:

<comment>These new UI rules are not enforced by INV-UI-3, so later pages can reintroduce the prohibited hand-built layouts, segments, or eager lists without CI detecting them. Add checker rules and failing cases as the contract's closing section requires.</comment>

<file context>
@@ -84,6 +84,11 @@ There are exactly two ways out, and they mean different things.
+| Top-level Settings rows | `OmiSettingsGroup(style: OmiSettingsGroupStyle.outlined, header:)` of `OmiSettingsRow(leading: OmiSettingsIconTile(FaIcon(…)))`: labelled outlined cards on `OmiColors.groupedPage`, no hairlines | a bare glyph or a hand-built tile per row |
+| A page inside Settings | `OmiGroupedPage(title:, actions:, body:)`: circled back, centred title, `OmiColors.groupedPage`; under it every `OmiSettingsGroup` is outlined and every `OmiSectionHeader` the small label. Pages of destinations or choices (Device, Recording, Permissions, Language, …) lead rows with `OmiSettingsIconTile`; a page of values and toggles (Notifications & Display, a transcription provider's fields) uses plain rows. A custom block sits in an `OmiGroupedCard` | `Scaffold` + `AppBar` + a `surface1` card |
+| Settings type and row icons | Settings is set in Instrument Sans: `OmiGroupedPage` applies `OmiSettingsTypeface`, and a Settings page with its own `Scaffold` wraps it. A row keeps the app's own FontAwesome or Material icon, inside `OmiSettingsIconTile`, which sizes it and colours it (red on a destructive row) | the system font on one Settings page, an icon leading a Settings row outside its tile |
+| Two to four views of one list or chart (Today · Month · Year, All · Pending · Synced) | `OmiSegmentedControl(value:, segments:, onChanged:)`: full width, 44 pt segments, labels never wrap | a row of tinted chips or a hand-built toggle |
+| A long list on a Settings page (offline recordings) | rows built lazily, each in an `OmiGroupedSlice(first:, last:)` so a run reads as one outlined card, under a small label per day or source; a row's own action is a compact button or a labelled icon, and its text is time-sized so it stays on one line | one card per row, or a card that mounts every row |
 | Search | `OmiSearchField(placeholder: l10n.searchConversations)` | a styled `TextField` per page |
</file context>

);

Widget label = Text(widget.label, style: textStyle, maxLines: 1, overflow: TextOverflow.ellipsis);
Widget label = widget.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: A wrapped label with width stays at visualHeight because fixedSize pins both dimensions, so large localized labels can be clipped. Keep the width fixed while allowing height to grow when wrapLabel is enabled.

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 260:

<comment>A wrapped label with `width` stays at `visualHeight` because `fixedSize` pins both dimensions, so large localized labels can be clipped. Keep the width fixed while allowing height to grow when `wrapLabel` is enabled.</comment>

<file context>
@@ -239,7 +257,9 @@ class _OmiButtonState extends State<OmiButton> {
     );
 
-    Widget label = Text(widget.label, style: textStyle, maxLines: 1, overflow: TextOverflow.ellipsis);
+    Widget label = widget.wrapLabel
+        ? Text(widget.label, style: textStyle, textAlign: TextAlign.center)
+        : Text(widget.label, style: textStyle, maxLines: 1, overflow: TextOverflow.ellipsis);
</file context>


/// Whether [context] is on a canvas screen. A plain lookup: the marker never changes, so callers
/// need no rebuild dependency on it.
static bool isOn(BuildContext context) => context.getInheritedWidgetOfExactType<OmiCanvas>() != null;

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: OmiCanvas.isOn is false throughout Home, Tasks, and conversation page bodies; the only runtime wrappers are isolated grouped-page header controls. Wrap those screen bodies in OmiCanvas, or canvas-aware widgets will keep using the non-canvas palette.

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/omi_canvas.dart, line 16:

<comment>`OmiCanvas.isOn` is false throughout Home, Tasks, and conversation page bodies; the only runtime wrappers are isolated grouped-page header controls. Wrap those screen bodies in `OmiCanvas`, or canvas-aware widgets will keep using the non-canvas palette.</comment>

<file context>
@@ -0,0 +1,26 @@
+
+  /// Whether [context] is on a canvas screen. A plain lookup: the marker never changes, so callers
+  /// need no rebuild dependency on it.
+  static bool isOn(BuildContext context) => context.getInheritedWidgetOfExactType<OmiCanvas>() != null;
+
+  /// The page colour under [context].
</file context>

semanticLabel: 'Settings',
onTap: () {},
icon: FaIcon(FontAwesomeIcons.gear, size: 16, color: OmiColors.textSecondary),
icon: OmiLineIcon(OmiLineGlyph.settings, size: 20, color: OmiColors.textSecondary),

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: The capture audit now shows a different settings icon from HomePage._buildAppBar, so its Home screenshots no longer represent the real screen. Keep the audit icon in sync with the production header.

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/integration_test/visual_audit/scenarios/capture.dart, line 212:

<comment>The capture audit now shows a different settings icon from `HomePage._buildAppBar`, so its Home screenshots no longer represent the real screen. Keep the audit icon in sync with the production header.</comment>

<file context>
@@ -210,7 +209,7 @@ class HomeFrame extends StatelessWidget {
               semanticLabel: 'Settings',
               onTap: () {},
-              icon: FaIcon(FontAwesomeIcons.gear, size: 16, color: OmiColors.textSecondary),
+              icon: OmiLineIcon(OmiLineGlyph.settings, size: 20, color: OmiColors.textSecondary),
             ),
           ]),
</file context>

/// with no device of its own (an older row, an unknown source) shows a conversation bubble. A caller
/// can pass an [icon] instead, and a recap's tile holds its day [emoji]. Decorative: the row names
/// what it is.
class DeviceTile extends StatelessWidget {

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: DeviceTile has no application callers, so this 137-line widget never renders for users. Wire it into the conversation-row builder or defer it until a caller lands.

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/widgets/device_tile.dart, line 14:

<comment>`DeviceTile` has no application callers, so this 137-line widget never renders for users. Wire it into the conversation-row builder or defer it until a caller lands.</comment>

<file context>
@@ -0,0 +1,137 @@
+/// with no device of its own (an older row, an unknown source) shows a conversation bubble. A caller
+/// can pass an [icon] instead, and a recap's tile holds its day [emoji]. Decorative: the row names
+/// what it is.
+class DeviceTile extends StatelessWidget {
+  const DeviceTile(
+      {super.key, this.source, this.icon, this.emoji, this.status, this.faded = false, this.missing = false});
</file context>

@Git-on-my-level

Copy link
Copy Markdown
Member

Reviewed this head (part 7 of 9, stacked on #20342). The code side looks careful — some specific observations, then two things for a human maintainer.

What reads well

  • home_bottom_bar.dart: the new HomeAskOmiButton keeps the home_ask_omi_bar semantics key from the removed HomePage._buildChatBar, adds a distinct home_ask_omi_voice target, and each part is its own Semantics button. home_ask_bar_test.dart even covers the near-miss tap at the rounded end hitting voice — nice detail.
  • omi_canvas.dart / omi_tokens.dart: OmiCanvas is an opt-in marker, so Home/Tasks/conversation get the new white-page look while every other screen keeps its current colors via pageOf/cardOf. No forced changes to existing screens.
  • omi_glass.dart: the blur path is explicitly documented as costing a compositing layer and reserved for controls floating over scrolling lists — good restraint.
  • device_tile.dart is unused for now, but it's declared in .github/scripts/dead_code/flutter.allowlist.json with a concrete removal condition tied to 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. Clean allowlist hygiene.
  • Fonts: Instrument Sans ships as local TTF assets with the OFL 1.1 text beside them; no external package added. askAnythingButton lands in all 49 locales with a proper @ description — product-surface localization, which is the accepted kind.

For a maintainer

  1. One real behavior change hides in the restyle (battery_info_widget.dart): _callInProgress (PhoneCallState-based) is replaced by the _phoneOwnsCapture ownership predicate, so while a phone recording is interrupted (transcription reconnecting) the button now keeps showing stop. Tests cover the new states, but it'd be good to confirm intent: in that interrupted state, does tap-to-stop deliberately replace the path where streamRecording would start a new stream? (The automated reviewer raised the same edge.)
  2. CI hasn't run the tests. All build/test suites are skipped on fork PRs without ci:full, so the three new/updated widget test files are unverified on this head. Worth granting ci:full before merge.

Merge order is explicitly #20342 → this, and this PR documents the one-line rebase needed against #20329, so I'm leaving sequencing and the interrupted-state behavior call for human maintainer review rather than taking a position on the product judgment.


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 the flutter flutter work label Oct 5, 2026

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed part 7 of the v2 cleaner UX series at f5ac2cf — static diff review. The work is careful and coherent; nothing blocking found. Notes below.

What looks good:

  • app/lib/widgets/home_bottom_bar.dart — HomeAskOmiButton replaces the old HomePage._buildChatBar pill with one OmiGlass bar: the label opens chat to type, the trailing mic opens it already listening, and the mic keeps the bar's full height at the rounded end so near-misses still hit. Covered by the new home_ask_bar_test.dart, including the near-miss tap.
  • app/lib/pages/home/widgets/battery_info_widget.dart — the record button rework switches from call-state (_callInProgress) to capture-ownership (_phoneOwnsCapture via liveCaptureSource), which is what fixes the button showing the wrong control while a phone recording is interrupted by a transcription reconnect. The paused/interrupted branches deserve a careful look once #20342 lands.
  • app/lib/ui/components/omi_glass.dart, omi_line_icon.dart, omi_canvas.dart — the new primitives are well documented (including the compositing-cost note on blur), and OmiLineGlyph embeds its SVG path data inline, so no new icon dependency.
  • app/lib/ui/components/omi_settings.dart + omi_grouped_page.dart + omi_segmented_control.dart — the Settings look (OmiGroupedScope, OmiTypeface, outlined groups) only restyles widgets under its scope, so existing screens keep their appearance.
  • License hygiene: InstrumentSans-OFL.txt ships alongside the four TTFs and is registered in app/pubspec.yaml.
  • Tests: omi_canvas_test.dart (206 lines) and the updated capture_home_ui_test.dart cover the new surfaces and the ownership fix.

Notes:

  • Nearly all CI jobs are skipped on this PR (path filtering), so Dart Analyze & Tests did not run against this head — the new/updated widget tests are unverified by CI. A local flutter test of test/widgets/home_ask_bar_test.dart, test/widgets/ui/omi_canvas_test.dart and test/widgets/capture_home_ui_test.dart would confirm.
  • The diff includes #20342's 21 foundation files until that PR merges (the description calls this out and links a 7-file own-change compare) — judging by that compare is the right lens.
  • .github/scripts/dead_code/flutter.allowlist.json adds device_tile.dart with an explicit removal condition tied to #20328/#20717/#20718 landing; fine as a temporary allowlist entry.
  • Several code comments attribute UX decisions to the maintainer by name and date (e.g. “David, 2026-10-03” in battery_info_widget.dart and home_bottom_bar.dart) — please confirm those rulings are accurate before merge.

This is part 7/9 of a stacked series behind #20342 and it reshapes Home's capture controls, so it needs a human product pass on the v2 direction and the merge order once #20342 lands — not requesting changes, as static review found nothing blocking.

Automated review on behalf of the maintainers — human sign-off required before merge.


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 the needs-maintainer-review Needs a human maintainer to sign off before merge label Oct 5, 2026
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants