Repository navigation
Conversation
d9b9eb2 to
567856e
Compare
There was a problem hiding this comment.
15 issues found across 161 files
Confidence score: 3/5
- In
omi_button.dart, a fixedwidthstill fixes the height, so wrapped labels can overflow instead of staying readable. Let wrapped fixed-width buttons grow vertically. - In
goals_widget.dart, the width cap can ellipsize the numeric goal ratio along with the unit. Give the ratio enough room and constrain only the unit. - In
notifications_settings_page.dart, Live Activity settings disappear until both notification requests finish, delaying an independent iOS control. Keep the control mounted while the shimmer is shown. - Several Settings controls use destination-style icon tiles even though they are toggles or read-only rows; this affects
language_settings_page.dart,person_confidence.dart,create_dev_api_key_sheet.dart, and the Daily Summary row innotifications_settings_page.dart. Use the plain-row treatment for these controls.
You’re at about 92% 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/pages/settings/language_settings_page.dart">
<violation number="1" location="app/lib/pages/settings/language_settings_page.dart:72">
P2: This toggle uses the 44pt choice-row tile instead of the plain-row treatment for value/toggle controls. Remove the tile from both the updating and toggle branches so the setting keeps one treatment across states.
(Based on your team's feedback about Settings row styles.)</violation>
</file>
<file name="app/lib/ui/components/omi_button.dart">
<violation number="1" location="app/lib/ui/components/omi_button.dart:260">
P2: `wrapLabel: true` cannot grow when the button also has `width`: `fixedSize` still forces `visualHeight`, so long labels overflow instead of remaining readable. Let wrapped fixed-width buttons grow vertically.</violation>
</file>
<file name="app/lib/l10n/app_tr.arb">
<violation number="1" location="app/lib/l10n/app_tr.arb:1341">
P3: This label remains sentence case instead of matching the new Title Case treatment. Capitalize the Turkish label as `API Anahtarınız`.</violation>
<violation number="2" location="app/lib/l10n/app_tr.arb:1346">
P3: This label remains sentence case while the updated label style and comparable Turkish labels use Title Case. Change it to `Anahtar Adı`.</violation>
</file>
<file name="app/changelog/unreleased/20261005-settings-pages-grouped.json">
<violation number="1" location="app/changelog/unreleased/20261005-settings-pages-grouped.json:2">
P3: The offline-sync route still opens `SyncPage`, which keeps its bespoke settings layout, so “Every page” overstates the rollout. Change this to a non-universal summary such as “Most Settings pages now share a clean grouped look.”</violation>
</file>
<file name="app/lib/pages/settings/widgets/person_confidence.dart">
<violation number="1" location="app/lib/pages/settings/widgets/person_confidence.dart:166">
P2: These read-only evidence rows are not destinations or choices, so the 44 pt icon tiles give them the wrong visual weight; keep the plain icon for this list.
(Based on your team's feedback about Settings row styles.)</violation>
</file>
<file name="app/changelog/unreleased/20261005-design-foundation.json">
<violation number="1" location="app/changelog/unreleased/20261005-design-foundation.json:2">
P2: This marks the Settings UX redesign as having no user-visible change, so release notes will omit it. Replace the exemption with a concise user-facing summary.</violation>
</file>
<file name="app/lib/pages/settings/transcription_settings_page.dart">
<violation number="1" location="app/lib/pages/settings/transcription_settings_page.dart:710">
P3: This is a boolean toggle, but `OmiSettingsIconTile` gives it the destination/choice-row treatment. Keep the plain icon for this toggle.
(Based on your team's feedback about Settings row styles by page type.) .</violation>
</file>
<file name="app/lib/pages/settings/widgets/create_dev_api_key_sheet.dart">
<violation number="1" location="app/lib/pages/settings/widgets/create_dev_api_key_sheet.dart:212">
P2: These rows toggle read/write scopes, so they should use plain rows rather than destination-style icon tiles. Keep `Icon(icon)` as the leading widget.
(Based on your team's feedback about Settings row styles.)</violation>
</file>
<file name="app/lib/pages/conversations/widgets/goals_widget.dart">
<violation number="1" location="app/lib/pages/conversations/widgets/goals_widget.dart:430">
P2: This caps the entire `current/target unit` label, so large goal values can be ellipsized along with the unit. Give the numeric ratio enough space to remain readable and constrain only the unit.</violation>
</file>
<file name="app/docs/ux-contract.md">
<violation number="1" location="app/docs/ux-contract.md:88">
P2: These new Settings conventions have no ratchet or failing test, despite the contract's own requirement for both; future pages can regress without the guard catching them. Add checks for the new patterns and a failing fixture in `check_mobile_ux_contract.py` and its test.</violation>
</file>
<file name="app/lib/pages/settings/device_settings.dart">
<violation number="1" location="app/lib/pages/settings/device_settings.dart:416">
P3: These toggle and value controls use destination-style 44pt icon tiles; keep control rows plain, including the auto-sync toggle and LED/mic value rows.
(Based on your team's feedback about Settings row styles.)</violation>
</file>
<file name="app/lib/ui/omi_tokens.dart">
<violation number="1" location="app/lib/ui/omi_tokens.dart:198">
P3: `canvasBlend` is never read anywhere in the app, so the documented warm tint is never painted; apply this token to the Home canvas background.</violation>
</file>
<file name="app/lib/pages/settings/notifications_settings_page.dart">
<violation number="1" location="app/lib/pages/settings/notifications_settings_page.dart:228">
P2: The new conditional hides Live Activity settings until both notification API requests finish, delaying an independent iOS control; keep it mounted while the shimmer is shown.</violation>
<violation number="2" location="app/lib/pages/settings/notifications_settings_page.dart:291">
P2: The Daily Summary row is a toggle on a values/toggles page, so the new tile gives it destination/choice styling; keep the bell as a plain `FaIcon`.
(Based on your team's feedback about Settings row style by page type.)</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| if (isUpdatingTranslation) | ||
| OmiSettingsRow( | ||
| leading: translationIcon, | ||
| leading: const OmiSettingsIconTile(FaIcon(FontAwesomeIcons.language)), |
There was a problem hiding this comment.
P2: This toggle uses the 44pt choice-row tile instead of the plain-row treatment for value/toggle controls. Remove the tile from both the updating and toggle branches so the setting keeps one treatment across states.
(Based on your team's feedback about Settings row styles.)
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/settings/language_settings_page.dart, line 72:
<comment>This toggle uses the 44pt choice-row tile instead of the plain-row treatment for value/toggle controls. Remove the tile from both the updating and toggle branches so the setting keeps one treatment across states.
(Based on your team's feedback about Settings row styles.) </comment>
<file context>
@@ -70,14 +69,14 @@ class _LanguageSettingsPageState extends State<LanguageSettingsPage> {
if (isUpdatingTranslation)
OmiSettingsRow(
- leading: translationIcon,
+ leading: const OmiSettingsIconTile(FaIcon(FontAwesomeIcons.language)),
title: context.l10n.automaticTranslation,
subtitle: context.l10n.detectLanguages,
</file context>
| ); | ||
|
|
||
| Widget label = Text(widget.label, style: textStyle, maxLines: 1, overflow: TextOverflow.ellipsis); | ||
| Widget label = widget.wrapLabel |
There was a problem hiding this comment.
P2: wrapLabel: true cannot grow when the button also has width: fixedSize still forces visualHeight, so long labels overflow instead of remaining readable. Let wrapped fixed-width buttons 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 260:
<comment>`wrapLabel: true` cannot grow when the button also has `width`: `fixedSize` still forces `visualHeight`, so long labels overflow instead of remaining readable. Let wrapped fixed-width buttons grow vertically.</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>
| : _evidence(context)) | ||
| OmiSettingsRow( | ||
| leading: Icon(icon), | ||
| leading: OmiSettingsIconTile(Icon(icon)), |
There was a problem hiding this comment.
P2: These read-only evidence rows are not destinations or choices, so the 44 pt icon tiles give them the wrong visual weight; keep the plain icon for this list.
(Based on your team's feedback about Settings row styles.)
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/settings/widgets/person_confidence.dart, line 166:
<comment>These read-only evidence rows are not destinations or choices, so the 44 pt icon tiles give them the wrong visual weight; keep the plain icon for this list.
(Based on your team's feedback about Settings row styles.) </comment>
<file context>
@@ -163,7 +163,7 @@ class _ConfidenceSheet extends StatelessWidget {
: _evidence(context))
OmiSettingsRow(
- leading: Icon(icon),
+ leading: OmiSettingsIconTile(Icon(icon)),
title: text,
trailing: effect == _Effect.none ? null : _EffectLabel(effect: effect),
</file context>
| leading: OmiSettingsIconTile(Icon(icon)), | |
| leading: Icon(icon), |
| @@ -0,0 +1,3 @@ | |||
| { | |||
| "kind": "none" | |||
There was a problem hiding this comment.
P2: This marks the Settings UX redesign as having no user-visible change, so release notes will omit it. Replace the exemption with a concise user-facing summary.
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 the Settings UX redesign as having no user-visible change, so release notes will omit it. Replace the exemption with a concise user-facing summary.</comment>
<file context>
@@ -0,0 +1,3 @@
+{
+ "kind": "none"
+}
</file context>
| Widget _buildPermissionRow(String resource, String readScope, String writeScope, IconData icon) { | ||
| return OmiSettingsRow( | ||
| leading: Icon(icon), | ||
| leading: OmiSettingsIconTile(Icon(icon)), |
There was a problem hiding this comment.
P2: These rows toggle read/write scopes, so they should use plain rows rather than destination-style icon tiles. Keep Icon(icon) as the leading widget.
(Based on your team's feedback about Settings row styles.)
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/settings/widgets/create_dev_api_key_sheet.dart, line 212:
<comment>These rows toggle read/write scopes, so they should use plain rows rather than destination-style icon tiles. Keep `Icon(icon)` as the leading widget.
(Based on your team's feedback about Settings row styles.) </comment>
<file context>
@@ -209,7 +209,7 @@ class _CreateDevApiKeySheetState extends State<CreateDevApiKeySheet> {
Widget _buildPermissionRow(String resource, String readScope, String writeScope, IconData icon) {
return OmiSettingsRow(
- leading: Icon(icon),
+ leading: OmiSettingsIconTile(Icon(icon)),
title: resource,
trailing: Row(
</file context>
| leading: OmiSettingsIconTile(Icon(icon)), | |
| leading: Icon(icon), |
| @@ -0,0 +1,3 @@ | |||
| { | |||
| "change": "Every page inside Settings has the same clean grouped look as Settings itself" | |||
There was a problem hiding this comment.
P3: The offline-sync route still opens SyncPage, which keeps its bespoke settings layout, so “Every page” overstates the rollout. Change this to a non-universal summary such as “Most Settings pages now share a clean grouped look.”
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-settings-pages-grouped.json, line 2:
<comment>The offline-sync route still opens `SyncPage`, which keeps its bespoke settings layout, so “Every page” overstates the rollout. Change this to a non-universal summary such as “Most Settings pages now share a clean grouped look.”</comment>
<file context>
@@ -0,0 +1,3 @@
+{
+ "change": "Every page inside Settings has the same clean grouped look as Settings itself"
+}
</file context>
| "change": "Every page inside Settings has the same clean grouped look as Settings itself" | |
| "change": "Most Settings pages now share a clean grouped look" |
| children: [ | ||
| OmiSettingsRow.toggle( | ||
| leading: const Icon(Icons.cloud_upload_outlined), | ||
| leading: const OmiSettingsIconTile(Icon(Icons.cloud_upload_outlined)), |
There was a problem hiding this comment.
P3: This is a boolean toggle, but OmiSettingsIconTile gives it the destination/choice-row treatment. Keep the plain icon for this toggle.
(Based on your team's feedback about Settings row styles by page type.) .
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/settings/transcription_settings_page.dart, line 710:
<comment>This is a boolean toggle, but `OmiSettingsIconTile` gives it the destination/choice-row treatment. Keep the plain icon for this toggle.
(Based on your team's feedback about Settings row styles by page type.) .</comment>
<file context>
@@ -710,7 +707,7 @@ class _TranscriptionSettingsPageState extends State<TranscriptionSettingsPage> {
children: [
OmiSettingsRow.toggle(
- leading: const Icon(Icons.cloud_upload_outlined),
+ leading: const OmiSettingsIconTile(Icon(Icons.cloud_upload_outlined)),
title: context.l10n.sendRawAudioToOmi,
subtitle: context.l10n.sendRawAudioToOmiDescription,
</file context>
| leading: const OmiSettingsIconTile(Icon(Icons.cloud_upload_outlined)), | |
| leading: const Icon(Icons.cloud_upload_outlined), |
| final supportsFind = isOmi && !FirmwareUpdateBuildPolicy.current.isOpenGlassDevice(device); | ||
| final doubleTapRow = OmiSettingsRow( | ||
| leading: const FaIcon(FontAwesomeIcons.handPointer), | ||
| leading: const OmiSettingsIconTile(FaIcon(FontAwesomeIcons.handPointer)), |
There was a problem hiding this comment.
P3: These toggle and value controls use destination-style 44pt icon tiles; keep control rows plain, including the auto-sync toggle and LED/mic value rows.
(Based on your team's feedback about Settings row styles.)
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/settings/device_settings.dart, line 416:
<comment>These toggle and value controls use destination-style 44pt icon tiles; keep control rows plain, including the auto-sync toggle and LED/mic value rows.
(Based on your team's feedback about Settings row styles.) </comment>
<file context>
@@ -392,7 +413,7 @@ class _DeviceSettingsState extends State<DeviceSettings> {
final supportsFind = isOmi && !FirmwareUpdateBuildPolicy.current.isOpenGlassDevice(device);
final doubleTapRow = OmiSettingsRow(
- leading: const FaIcon(FontAwesomeIcons.handPointer),
+ leading: const OmiSettingsIconTile(FaIcon(FontAwesomeIcons.handPointer)),
title: l10n.doubleTap,
value: _doubleTapActionLabel(SharedPreferencesUtil().doubleTapAction),
</file context>
| canvas: Color(0xFFFFFFFF), | ||
| canvasCard: Color(0xFFF2F2F7), | ||
| // #C9B89A at 10%: over the white page, #FAF8F4. | ||
| canvasBlend: Color(0x1AC9B89A), |
There was a problem hiding this comment.
P3: canvasBlend is never read anywhere in the app, so the documented warm tint is never painted; apply this token to the Home canvas background.
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_tokens.dart, line 198:
<comment>`canvasBlend` is never read anywhere in the app, so the documented warm tint is never painted; apply this token to the Home canvas background.</comment>
<file context>
@@ -109,6 +192,23 @@ class OmiPalette {
+ canvas: Color(0xFFFFFFFF),
+ canvasCard: Color(0xFFF2F2F7),
+ // #C9B89A at 10%: over the white page, #FAF8F4.
+ canvasBlend: Color(0x1AC9B89A),
+ // Omi v8 in light: circles are frosted white (55%) with a 9% hairline and a faint 6% shadow; the
+ // Ask bar and record button are frosted white with a white edge, a faint outline and a soft shadow.
</file context>
|
Thanks @Itaxh1 — this is a careful, cohesive piece of design-system work. The shared Notes for the eventual merge (not blockers in themselves):
This PR spans ~40 Settings screens and sets app-wide UX conventions (typeface, frame, icon tiles), so it needs a human maintainer's sign-off on the v2 design direction and on the merge order within the 9-part series — leaving it for maintainer review rather than an automated approval. 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 |
|
Reviewed this head (567856e) as part 3 of the v2 Settings series. This is a coherent, well-executed installment — every Settings sub-page moves onto one What I verified in the diff
Why this stays with a human maintainer
Thanks @Itaxh1 — the PR body (own-diff compare link, invariants called out, before/after renders) makes a diff this size genuinely reviewable. This is AI-generated feedback posted on the maintainers' behalf — a human maintainer will make the final call. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Main reflowed notifications_settings_page.dart and live_activity_settings.dart with dart format only; both keep this branch's grouped-page layout.
|
Follow-up on the new head: One interaction from that merge is worth confirming, and it checks out: upstream's usage-page fix for #20621 (keep plan management reachable when usage data fails) landed in Still leaving the v2 design direction and the 9-part merge order (#20342 first) with a human maintainer, as before. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Mobile feature (v2 UX 3/9), approve-only per area rule. CI green, CLEAN mergeState, no abuse signals.
kodjima33
left a comment
There was a problem hiding this comment.
Itaxh1 v2 cleaner UX 3/9 -- feature, approve-only
kodjima33
left a comment
There was a problem hiding this comment.
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
|
Superseded by #20835. Closing; please follow that PR. |
|
Hey @Itaxh1 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
TL;DR: Every page inside Settings moves onto the grouped page: a circled back button, a centred title, outlined cards under small labels, and colour only for warnings and errors. That covers Device Settings, People, Developer, Plan & Usage, Goals, Integrations, Import History, Data Protection, Payments and the rest. The pages work as before; only the frame and rows change. Part 3 of 9 of the v2 cleaner UX; it needs #20342 first.
What changed and why
Half the pages behind Settings still had their own app bars, tinted pills, mixed headers and coloured icons. They now share one frame, so Settings reads as one place.
OmiGroupedPagewithOmiSettingsGroupcards.OmiSettingsIconTile.OmiGroupedCard.1,523 h);yourApiKey,keyNameLabelandpermissionsLabelchange to Title Case, like the labels around them, in every locale.DevApi,McpApiandKnowledgeGraphApiread their base URL per call instead of once, so a test or local override applies.JourneyFixtureBackend.stubslets a scenario answer a route the fixture doesn't model, andsettings_edge.dartadds 24 edge-case scenarios (long names, many keys, empty lists, every Offline Sync state, and more).Screenshots
Before is
main(4bdcc56d0d), after is this branch (with #20342 under it). Rendered byapp/scripts/visual_audit.sh(real widgets, flutter-tester, 390×844 at 2×, fixture data, dark theme). An emulator would need a real sign-in, so these are the repo's own before/after renders.main)Product invariants affected
pages/memories/page.dartonly moves ontoOmiGroupedPage(the page frame). Memory loading, filtering, access and actions are unchanged.How it was verified
flutter analyze: no errors or warnings (the 89 infos are all onmain).dart format --line-length 120: clean.flutter test) on this branch: 4,693 passed, 14 skipped, 0 failed.python3 scripts/l10n.py check: OK.scripts/pr-preflightwith this body: passed.Tests
test/widgets/settings_api_keys_and_timeout_test.dart: a key row's revoke control is a trash icon labelled Revoke (tooltip and screen reader), and it still asks before revoking.test/widgets/usage_page_redesign_test.dart: usage hours group thousands (1,523 h); the selected metric is marked as selected for screen readers instead of with a coloured dot.Failure class (fixes)
Failure-Class: none