Repository navigation
Conversation
(cherry picked from commit 25c0330)
showModalBottomSheet fixes a sheet's background when the sheet opens. After switching the appearance on a page opened from Settings and going back, the Settings sheet kept the old surface under rows and a header drawn in the new palette: black behind white rows in Light, light behind dark rows in Dark, with the header text invisible in both. OmiSheetRoute reads its surface each time the theme rebuilds the sheet. showOmiSheet uses it on surface1, and Settings uses it on surface0 in place of its raw showModalBottomSheet. (cherry picked from commit 05fa5fc)
The Home row's Ask Omi control looked like a text field (a grey "Ask Omi" placeholder) with a mic that opened chat listening. It is now a button: the Ask Omi glyph and label in primary text, on the same pill, height and border as the record button beside it. Voice stays in the chat composer. HomeAskOmiButton is shared by Home and the visual-audit frame, which kept its own copy of the old bar. (cherry picked from commit 4382e90)
Center the localized Ask Anything label and remove the chat glyph from the Home button. Keep the existing chat opening behavior and use the same control in Home and its visual audit. (cherry picked from commit 2c2d9bf)
|
Thanks @Itaxh1 — this is a well-built combined change, and the backend story checks out. I verified against current Per-file notes on the implementation (40 non-l10n files; the other 99 are l10n/generated for the 18 new strings):
Things that need a maintainer call rather than fixes from you:
No security, auth, workflow, or dependency surfaces are touched, and I found nothing suspicious in the diff. Leaving the product/supersession decisions to human maintainer review — the implementation itself is in good shape. 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 |
kodjima33
left a comment
There was a problem hiding this comment.
Mobile feature combining 3 sibling PRs (chat history, theme-aware sheets, Ask Anything button). Feature, not a bug fix -> approve-only. mergeStateStatus is DIRTY, so holding at approve per policy override (no rebase).
|
Reviewed the combined change on 390a380 — nice work bringing the three threads together coherently. File-level notes from static review (plus the green CI runs):
Two merge-time notes: the three source PRs (#19838, #19844, #19855) will be superseded by this one — they should be closed when this lands so the same changes can't be merged twice. Leaving formal sign-off with the maintainer approval already recorded on this head. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
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! |
What changed and why
Combines the Home Ask Anything button, saved mobile chat history and presentation, and the fix for sheets retaining their old background after a Light/Dark switch. Built from current upstream
main(2fd2969ee1e7) with the three individual PRs preserved as separate commits for review.Closes #19840, #19843 and #19854. The individual PRs remain open; this PR brings their changes together.
25c03303942705fa5fcfa55f4382e907f0c2,2c2d9bf21a2cHome and chat
Home's bottom chat entry becomes one text-only button, keeping its pill dimensions, palette, border and position beside the recording control.
HomeAskOmiButtonis shared with the visual-audit scenario. Voice remains available in the chat composer.The chat history page offers New Chat, app choices, saved sessions, refresh/retry and pagination. The Chat Apps management shortcut is removed while existing app choices remain available. Session creation happens once on the first question, and failed creation never sends into the server-current thread. History reads replace the transcript only after success; revision checks reject stale results. Deletion requires confirmation and server success; Clear Chat on a saved session is scoped to that session. Drafts survive history loading and ordinary rebuilds. Pendant voice replies cannot append to an explicitly selected past thread.
Empty chat shows the time-of-day greeting, first name, today's non-discarded conversation count and “What do you want to know?” on one 1.1-second entrance timeline. The count uses conversations already loaded in the provider. Only the latest completed answer can supply a follow-up above the composer; longer questions wrap within the available width. Header pulls settle or dismiss according to distance/velocity, and transcript scrolling cannot dismiss the sheet. Reduce Motion renders the final entrance state and stops repeating typing dots.
Settings and shared sheets
The original route captured the background color when it opened, while its content picked up the new palette.
OmiSheetRouteresolves its surface again on theme rebuilds. Settings usessurface0; existingshowOmiSheetcallers usesurface1, retaining their current API and shell. Transparent sheets that paint their own surface remain unchanged.Integration and documentation
startFresh: truefrom feat(app): chat history, new chats and greeting for Ask Omi on mobile #19838 when the new button opens chat.app/scripts/l10n.py: all existing main strings plus the 17 chat strings and one button label survive in all 49 locales; generated files are current.Screenshots
These are the seven original screenshots from the individual PR builds, collected here for review and hosted at an immutable asset commit. They are not presented as fresh screenshots of the combined build. Settings email addresses are blurred.
Home — #19855
Chat greeting and count — #19838
Settings before and after — #19844
Product invariants affected
none
The invariant-path selector reports no locked-invariant citations for this diff. Shared mobile brand and UX checks still run in preflight. The desktop transcript invariant does not govern this mobile session client.
How it was verified
TZ=UTC bash app/test.sh --concurrency 2 --reporter expanded: 3,613 ordinary tests passed, plus 138 opt-in contract tests, zero failures on the complete rerun.TZ=UTC make mobile-verify ARGS="fast --all": all 6 journey files passed; 23 checks passed, zero failed/skipped. Coverage includes conversation detail, chat sending, memory editing, expired-session recovery, capture reconnection and persisted speaker names.(cd app && bash scripts/analyze_ratchet.sh): passed.(cd app && python3 scripts/l10n.py check): passed (49 locales, 3,492 keys).git diff --check: clean.390a380c76was built and installed at 18:56 EDT on September 29. That commit SHA is embedded in its compiled binary and all 766 Dart source hashes match its build inputs. App/widget signing was verified; temporary signing/App Group overrides were restored and are absent from this diff.870a45e4f2/2fd2969ee1. The final rebase completed without conflicts. The entire trackedapp/Git tree, including tests/assets/native sources, is byte-identical between the tested snapshot55a5c0ae3aand published head390a380c76. Pre-push regenerated one ignored local environment output; the final phone build above was rebuilt afterward from the published commit. No reviewed source file changed.The initial full run, alongside repository preflight, recorded 3,612 passes and one failure in the existing Limitless watchdog test's 70 ms wall-clock assertion. That test and its relevant device sources are identical to main. All four Limitless tests passed separately; the complete standalone rerun above passed without changing any test or device code.
Hermetic tests use loopback fixtures. Installation is confirmed; no automated interaction with the user's phone or new combined-build screenshot is claimed.
Initial hosted checks for this head have no failures (12 successful checks, 23 skipped jobs, one neutral review check). Heavy mobile jobs are among the skipped jobs.
Hosted full mobile CI requires a maintainer to add
ci:fulland then Re-run all jobs on the latest commit. The initial fork workflow defers heavy mobile checks; a passing aggregate from that run is not evidence that those checks executed.Tests
test/backend/chat_sessions_api_test.darttest/providers/chat_history_state_test.darttest/widgets/chat_history_navigation_test.darttest/widgets/chat_presentation_test.darttest/widgets/chat_greeting_count_test.darttest/widgets/past_chats_page_test.dartsurface0across Dark → Light → Dark; shared sheetsurface1across Light → Darktest/widgets/settings/settings_sheet_appearance_test.dartHomeAskOmiButtonThe three user-facing changes retain their individual changelog fragments. No check, baseline exception or unrelated cleanup is added.
Failure class (fixes)
Failure-Class: none
The Settings fix corrects a captured route surface through a shared primitive and a real-route regression test. The advisory platform-share class was inspected; its share-anchor/exception contract does not describe this theme-state defect.