Repository navigation
Conversation
MemoryStorage.getLocalMemoriesCount gains createdAfter, RewindDatabase gains getScreenshotCount(since:), and HomeStatusStore loads/publishes today's conversation/memory/task/screenshot counts alongside the lifetime ones (nil-safe apply preserved; knowledgeCountsKnown exposed for the first-win gate). Verified: HomeStatusStoreTests incl. new testTodayCountsLoadAndSurviveNilRefresh. Co-Authored-By: Claude Fable 5 <[email protected]>
ActivationProgressStore tracks the two first-48h retention markers from the July 2026 usage study (first conversation captured 8.9x lift, first question asked — churned median is zero): per-owner persisted, auto-graduates accounts with conversation history so veterans on a fresh Mac never see the new-user surface, 48h/5-visit time-box so permission-skippers are never parked. Product-side marks live adjacent to (never inside) the telemetry call sites. HomeTodayStore loads today's proactive insights (the advice stream that previously only surfaced as 99.4%-dismissed floating-bar notifications), today's sampled Rewind frames, and quality-gated first-win memories (FirstWinMemoryFilter drops the file-scan spam shapes). HomeGreetingComposer builds the ambient proof line with a no-zeros contract. Verified: ActivationProgressStoreTests, HomeTodayModelTests, HomeTodayStoreTests all green. Co-Authored-By: Claude Fable 5 <[email protected]>
Home now proves the second brain is working the moment the window opens:
- Greeting + one ambient proof line ("3 conversations · 12 memories ·
214 screens today"; morning case leads with lifetime memory, never a row
of zeros). Replaces the four-cell stat ribbon.
- "What Omi noticed" is the single hero: What-Matters-Now recommendations
(feedback contract intact) merged with today's local proactive insights as
quiet hover-action rows instead of bordered three-button cards.
- "Today in Rewind" filmstrip: sampled real frames of the user's day,
click-through opens Rewind at that moment (one-shot seek handoff).
- New-user first-win surface until activation: "Omi already knows you."
with real onboarding-derived memories, the live Ask-Omi shortcut keycaps,
honest permission-aware pipeline pills, and guaranteed-answerable first
chips; Try-Asking popup suppressed while it owns the moment.
- Suggestion rows collapsed to one row of compact chips (never truncating —
fewer chips render when tight).
- Home stage glow neutralized (INV-UI-1 ratchet down); wordmark shadow
removed; sidebar, legacy home, and all existing pages untouched.
Verified on named bundle omi-today-home (dev backend, seeded account): Today
hub with live counts/filmstrip/noticed rows and first-win surface screenshots
in PR; focused suites green; INV-UI-1 ratchet check OK.
Co-Authored-By: Claude Fable 5 <[email protected]>
…-win, hero data on late gate, off-main thumbnail decode - A first conversation landing WHILE first-win is on screen now completes the capture step (keeping the ask step + celebration) instead of silently graduating the user; veterans with pre-first-win history still graduate. - The first-win surface can only appear after counts load; its hero data + time-box now start at that flip (onChange), not just on page appear, and HomeTodayStore.refresh no longer skips a caller's pass when a different refresh was in flight. - Filmstrip thumbnails decode/downscale off the main thread (ten frames decode at once on Home appear). Verified: ActivationProgressStoreTests (10, incl. new testFirstConversationDuringFirstWinCompletesStepWithoutGraduating), all redesign suites green; named bundle re-launched and recaptured. Co-Authored-By: Claude Fable 5 <[email protected]>
…, day-scoped visits, owner fencing, refresh throttle - Try-Asking popup now posts only once lifetime counts are known (the popup-vs-first-win decision is undecidable before that) and yields via hideTryAskingPopup when the first-win surface appears — no more double ask surfaces for fresh users. - First-win pipeline pills receive honest pipeline state instead of raw permission bits: paused listening/capture render a truthful resume action, never a pulsing 'capturing' dot while zero frames land. - First-win visits count distinct calendar days — six Home tab switches in one session no longer graduate a brand-new user; the 48h time-box is the only age gate. - HomeTodayStore: generation fencing so an in-flight refresh can never publish into the next owner's content after an account switch, plus a 60s activation cooldown so cmd-tab spam stops resampling the filmstrip (10 video-chunk decodes per pass); first-win upgrade passes always run. Verified: all redesign suites green (42 tests incl. new same-day-visit and throttle tests); named bundle relaunched, both surfaces recaptured. Co-Authored-By: Claude Fable 5 <[email protected]>
- Raise line-count ratchet baselines for the four touched oversized files with justifications (net growth +2 to +35; new logic lives in MainWindow/Dashboard/ files). - home-stage e2e flow covers the new Dashboard surface files and exercises the first-win bridge actions (force + state + release). - ActivationProgressStoreTests: lazy per-test defaults with teardown block (Xcode 16.4 @mainactor async lifecycle hook contract), no force unwrap. Verified: make preflight — 18 checks passed. Co-Authored-By: Claude Fable 5 <[email protected]>
The home-stage flow's activation_force_first_win / activation_state steps failed T0 because desktop-flow-lint only scans a fixed source list for registered action names. Verified: desktop-core-harness.sh --self-check --skip-backend-contracts passes locally (56 flows, 134 actions). Co-Authored-By: Claude Fable 5 <[email protected]>
swift-format's OnlyOneTrailingClosureArgument rejects mixed trailing closures; both HomeNoticedRowChrome call sites now pass icon/content/actions as labeled arguments. No behavior change; lint on all Dashboard files clean, 36 focused tests green, bundle relaunched + evidence recaptured. Co-Authored-By: Claude Fable 5 <[email protected]>
…etes the ask step - reloadForCurrentOwner resets transient celebrationPending so an in-place account switch never shows the previous owner's 'second brain is live' greeting (PR #9821 bleed class); same-store owner-switch regression test posts .runtimeOwnerDidChange and asserts B inherits nothing and A's restored progress carries no celebration. - ChatPage main_chat send marks askedOmi (adjacent to its telemetry call, same contract as the floating-bar and home ask sites) so a first question asked from the Chat page completes first-win activation. Verified: ActivationProgressStoreTests 11/11 green; changed-file swift-format lint clean; bundle relaunched and Home evidence recaptured. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Closing as a maintainer. This is still ba61288 (Jul 20), CONFLICTING against current main, with Desktop Swift Build & Tests red. The conflict set includes DesktopHomeView, DashboardPage, ChatPage, Rewind, AppState, and the old product_file_line_count_ratchet_baseline JSON that no longer exists. Home on main is no longer a widget hub. QueryShellHome is the signed-in surface: search absorbs the hub, and the standalone Chat page is gone (INV-NAV-1). HomeTodayModel / ActivationProgressStore / first-win are not on main. Same-day #10146 was reverted (#10147); #10184 then shipped chat-with-history as Home. Landing this Today-hub rewrite on that tree would fight the current shell. The retention diagnosis can still be right. A new PR would have to compose with QueryShellHome — not this branch. |
|
Hey @kodjima33 👋 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! |




Home redesign: show users why Omi is valuable the moment the window opens
Why (data)
Mined PostHog (project 302298,
$os=macOS), Mixpanel, prod Firestore, and the interview-derived PRs before designing (full analyst reports in the session workspace; summary below):What changed
Existing users — the "Today" hub (was: wordmark + zeroed stat ribbon + 3 generic prompts):
RewindSeekRequestStore).New users — the "first win" surface (until activation = first conversation captured + first question asked, the two 48h retention markers):
ShortcutSettings(never hardcoded), one ask affordance, guaranteed-answerable first chips ("What do you already know about me?" first).Hygiene: Home stage glow + hover tint neutralized and wordmark shadow removed (INV-UI-1 ratchet down — the old glow literal predated the check); stat-ribbon components removed with their usage. No screens deleted: sidebar, all pages, legacy home, and the 18-step onboarding flow (fresh #9847 interview work) are untouched.
Screenshots
(attached below: before, Today hub, first-win — all captured from a running named bundle with real seeded data; plus the HTML mockup used for design review)
Verification
xcrun swift build --build-testsclean; clean-release build (rm -rf .build && swift build -c release) clean.HomeTodayModelTests(10) ·ActivationProgressStoreTests(9) ·HomeTodayStoreTests(3) ·HomeStatusStoreTests(incl. new today-counts test) ·RewindSeekRequestTests.omi-today-home(dev backend, seeded account): Today hub renders live counts, real personalized chip ("How do I fix ShipBob payment failure?"), real Rewind filmstrip frames (after fixingRewindStorage.initialize()ordering found during this verification); noticed-feed rows verified with two locally-seeded insight rows; first-win surface rendered via the new non-prod bridge actionactivation_force_first_winshowing real account memories, live ⌘O keycaps, and the honest "Screen memory — Turn on →" pill (bundle genuinely lacks the TCC grant).nearestScreenshotIndex) + code path review, not a live cursor click (no-cursor policy on this machine); a genuinely fresh account's first-win (vs the forced QA state + gating unit tests) and the live first-conversation/first-query activation marks were not exercised end-to-end with a virgin account.python3 .github/scripts/check_brand_ui.py→ OK: INV-UI-1 no purple increase across 19 changed UI files.check_desktop_test_quality.py→ at/below baseline.make preflightgreen.Invariants
Path-matched invariant IDs (all held; none behaviorally changed):
ChatProvider.mainInstance; the only additions are read-only stores and a product-side activation mark adjacent to existing send sites. No second transcript store.AuthSessionCoordinator— the diff touchesAppState+ListenEvents.swift(one adjacent activation mark) and readsAuthService.givenNamefor the greeting; no auth/session transitions added or changed.MemoryStoragegains a read-onlycreatedAftercount filter; no memory writes, deletes, or sync-path changes.Failure-Class: none
Notes for reviewers
Advice/insightrows come from localProactiveStorage(type.insight); dismissing syncs the existingisDismissedflag. The notification pipeline is unchanged — this adds the surface the data says was missing, it does not remove notifications (volume reduction is a separate track).HomeSuggestionsStoreGemini seam; hour-tick density timeline for Rewind.🤖 Generated with Claude Code