Repository navigation
Mobile: simplify the app shell — one Home feed, Ask Omi sheet, global search - #19730
Merged
Merged
Conversation
…obal search) - Home and Conversations merge: capture row, Daily Recaps, then every conversation. The bottom tab bar is gone; Home | Tasks switch at the top. - Chat opens as a sheet over a blurred Home; greeting + starter chips, composer card with attach / Omi app chip / mic; tool steps as quiet lines that fold into one, with an Activity sheet timeline. - Search overlay drops from the top: browse tiles with counts (starred, folders, recaps, memories, people, places, new folder), grouped results for conversations, recaps, tasks and memories. - Apps tab folds into Settings > Integrations; Memories and Goals get rows on the Settings sheet; the mind map leads Memories. - Light is the default appearance for users who never picked one. - Home Screen settings page and its four toggles are removed. - Backend: GET /v1/users/daily-summaries/search and GET /v1/search/overview, with regenerated OpenAPI and clients. WIP handoff commit: pre-commit and pre-push checks not run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Addressability: Home/Tasks switcher carries the catalogued tab keys; catalog sources and tab indices follow the two-tab shell - Spine fixture: inert device provider answers the capture row's reads - UX contract: folder options sheet and search emoji use tokens - Memories: mind-map preview is a quiet card, no dead retry button - Integrations: drop the misleading Connected header - Home recaps: date eyebrow, bolder headline, overview or stats body - Analyzer: const in search audit scenarios Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Search API returns ApiResult (executeApi + generated DTOs); the search page says when a kind of result failed instead of showing it as none - Home/Tasks switcher exposes its tap to screen readers - ConversationsPage cancels its deferred timers on dispose (it mounts with Home now) - Chat starters wrap under large text instead of scrolling off screen - Tests follow the two-page shell and the Memories/Goals settings rows - Regenerated app-client OpenAPI and TS/Swift clients Co-Authored-By: Claude Opus 5.5 <[email protected]>
The app already shows a tile without a number for null; returning 0 on a failed aggregation would show 'Memories 0' to someone with hundreds. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…h Cancel Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ines fit - The header Connect pill and the onboarding permissions screen used a white logo that vanished on the light surfaces - Recap overview shows as many whole lines as fit, ending on an ellipsis - Audit: tasks-in-shell scenario shows Tasks under the Home | Tasks switcher Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he spine Speaker filtering moved to search's People tile. AppsPage stays while the protected B1 spine oracle imports it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Git-on-my-level
marked this pull request as ready for review
September 29, 2026 09:44
apoorvdarshan
added a commit
to apoorvdarshan/omi
that referenced
this pull request
Sep 29, 2026
Upstream BasedHardware#19730 removed bottom_nav_bar.dart. Point readers to the current Home owner and identify the old tab plan as historical. Validation: agent documentation references checked by final preflight.
apoorvdarshan
added a commit
to apoorvdarshan/omi
that referenced
this pull request
Sep 29, 2026
Upstream BasedHardware#19730 removed bottom_nav_bar.dart. Point readers to the current Home owner and identify the old tab plan as historical. Validation: agent documentation references checked by final preflight.
apoorvdarshan
added a commit
to apoorvdarshan/omi
that referenced
this pull request
Sep 29, 2026
Upstream BasedHardware#19730 removed bottom_nav_bar.dart. Point readers to the current Home owner and identify the old tab plan as historical. Validation: agent documentation references checked by final preflight.
apoorvdarshan
added a commit
to apoorvdarshan/omi
that referenced
this pull request
Sep 29, 2026
Upstream BasedHardware#19730 removed bottom_nav_bar.dart. Point readers to the current Home owner and identify the old tab plan as historical. Validation: agent documentation references checked by final preflight.
apoorvdarshan
added a commit
to apoorvdarshan/omi
that referenced
this pull request
Sep 29, 2026
Upstream BasedHardware#19730 removed bottom_nav_bar.dart. Point readers to the current Home owner and identify the old tab plan as historical. Validation: agent documentation references checked by final preflight.
Git-on-my-level
added a commit
that referenced
this pull request
Sep 29, 2026
agent-doc-references failed in Hygiene because main's app-shell simplification (#19730) deleted app/lib/widgets/bottom_nav_bar.dart while msd-ui-b2-remaining-surfaces.md still names it as an owner. The v5 import pulls AGENTS.md docs into scope, so this PR's Hygiene lane runs the check against the merged tree. Reworded the three references to the home tab surface and noted the removal; no other pointer changed. Verified: python3 .github/scripts/check_agent_doc_references.py OK on the merged tree (merge-tree probe of HEAD + origin/main).
This was referenced Sep 29, 2026
kodjima33
added a commit
that referenced
this pull request
Sep 30, 2026
…esolves (#19885) ## What The palette token set started as `OmiPalette.dark` until the appearance provider's first build resolved it, so anything painted before that frame (and any test that never sets it) rendered dark even though the product default has been Light since #19730. The initial palette is now light; Dark and System still apply the moment the provider resolves. ## Verification - `flutter test test/unit/appearance_test.dart test/visual_audit/visual_audit_smoke_test.dart test/widgets/header_sync_button_test.dart` (Flutter 3.44.5): 101 passed, including the new assertion that `OmiColors.active` starts light. - Stored preference default is unchanged (`appearanceMode` defaults to `'light'`; `AppearanceProvider.parse` maps unknown → light; `boot_persisted_state_test` pins it). ## Product invariants affected none ## Failure class (fixes) Failure-Class: none <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/19885?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
This was referenced Sep 30, 2026
Merged
mdmohsin7
added a commit
that referenced
this pull request
Oct 3, 2026
…e cache (#20497) ## Summary The app catalog under **Settings → Integrations** shows nothing below the search bar for anyone who has used apps before. - **Cause:** #19730 moved the old Apps tab's catalog onto Integrations and gated its load on `appProvider.apps.isEmpty`. The old Apps tab called `getApps()` on every open. - **Why the gate skips:** start-up fills `apps` from the local cache (`app_shell.dart`, `setAppsFromCache()`), so `getApps()` never runs. - **Result:** `groupedApps`, the only thing the catalog draws, stays empty and the page is blank. ## Change - **`AppProvider.ensureCatalogLoaded()`** owns the decision now. It fetches the catalog when `groupedApps` is empty, keyed on the data the catalog actually draws rather than `apps`. It also loads popular apps when that list is empty, as before. - **`IntegrationsPage`** calls it instead of the `apps.isEmpty` check. - **No duplicate fetches:** `getApps()` already coalesces concurrent loads. ## Product invariants affected none ## Failure class Failure-Class: none ## Verification - New test in `test/providers/app_provider_load_test.dart` sets up the failing state: `apps` filled from the cache, `groupedApps` empty. It asserts that `ensureCatalogLoaded()` fetches the catalog once and fills the groups. - `flutter test test/providers/app_provider_load_test.dart test/providers/app_provider_enabled_fetch_failure_test.dart`: 6 tests pass. - `flutter analyze` on the changed files: only the two `avoid_print` infos already on `main`. - `scripts/pr-preflight --pr-body-file <this body>`: passes. - Not yet checked in the running app. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/20497?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
shuoYun114
pushed a commit
to shuoYun114/omi
that referenced
this pull request
Oct 4, 2026
…e cache BasedHardware#19730 moved the Apps tab catalog onto Settings > Integrations and gated its load on `appProvider.apps.isEmpty`. Start-up fills `apps` from the local cache (app_shell setAppsFromCache), so for anyone who had used apps before, getApps() never ran, `groupedApps` stayed empty, and the catalog under the search bar was blank. The old Apps tab called getApps() on every open. AppProvider.ensureCatalogLoaded() now owns that decision and keys it on `groupedApps`, the data the catalog draws; Integrations calls it. Duplicate loads are already coalesced by getApps(). Verification: - flutter test test/providers/app_provider_load_test.dart test/providers/app_provider_enabled_fetch_failure_test.dart: 6 pass, including the new cached-apps case. - flutter analyze on the changed files: only the two existing avoid_print infos already on main. Failure-Class: none
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A radical simplification of the mobile app shell (Flutter,
app/), plus the backend search routes it needs.GET /v1/search/overview(tile counts; a failed count isnull, so the tile shows no number rather than a false 0) andGET /v1/users/daily-summaries/search, with route-policy entries, regenerated app-client OpenAPI and Dart/TS/Swift clients.Rollout — read before merging
app/docs/ux-contract.md): chat is a sheet from every entry point, not a pushed page.app/test/spine/). The protected B1 catalog oracle still requiresomi.home.tab_conversations; since conversations now live on Home, that key is placed on the Home tab (tapping it really does reach the conversation list). Catalog tab indices follow the two-page shell.Verification (worktree
lane/mobile-simple-ui, Flutter 3.44.5)bash app/test.sh(spine + all unit/widget)2a3b475a46)make mobile-verify ARGS="fast --all"app/scripts/analyze_ratchet.shpython3 app/scripts/l10n.py checkscripts/check_app_addressability.py.github/scripts/check_mobile_ux_contract.pyscripts/check_mobile_boundaries.py(api-result, capture)scripts/check_spine_contracts.pylisten_*files hit the CPU-time guard while a render job was loading the machine; both pass in isolation--check; app-client compatibilityNot verified: nothing has run on a device or simulator, and no backend deploy has happened. The screenshots are
flutter-testerrenders of the production widgets (app/scripts/visual_audit.sh, 390×844 @2×, light), not device captures.What changed during verification (on top of the handoff commit)
executeApi/ApiResultwith generated DTOs. The search page now says "Some results couldn't load · Try Again" instead of showing a failed kind as "no results".excludeSemanticshad swallowed it). Chat starters wrap under large text instead of scrolling off screen.ConversationsPagecancels its deferred timers on dispose. It mounts with Home now, so the old uncancellableFuture.delayedleaked.Screenshots
Before (main
6cff62d02b, main's own audit suite) and after (this branch), both light. They were rendered with:Scenario ids to compare:
home-feed,tasks-in-shell,chat-sheet,chat-steps,search-browse,search-results,search-partial,search-folder,apps-integrations,settings-sheet,settings-goals,memories-swipe-delete. Screenshots are not committed.Follow-ups (not in this PR)
beforeside cannot compile main's pages with this branch's suite. Acompat/pre-simple-ui/suite would restore two-sided runs across this change.showConversationDateRangePicker(lib/widgets/calendar_date_picker_sheet.dart) andChatPage.isPivotBottomare now unused.Product invariants affected
backend/database/memories.pygains a read-onlycount()for the Memories tile: active canonicalmemory_items, falling back to the legacy collection. It includes Archive-tier items in the number (documented as an approximation). No memory content is read, and no default access policy changes.Failure-Class: none
Line-Count-Exception: backend/database/conversations.py | 3175 -> 3191 | count helpers for the search overview belong beside the existing conversation count queries
Line-Count-Exception: backend/database/memories.py | 1576 -> 1605 | default-visible memory count sits next to count_memories_created and shares its dual-store rules
Line-Count-Exception: backend/database/users.py | 2361 -> 2369 | people count beside the people collection accessors
Line-Count-Exception: backend/routers/users.py | 2490 -> 2510 | recap search route sits with the other daily-summaries routes it must precede
🤖 Generated with Claude Code