Repository navigation
fix(desktop): drop post-onboarding walkthrough, pin drag card under Settings - #10343
Merged
kodjima33 merged 5 commits intoJul 22, 2026
Merged
Conversation
Delete the coach-mark tour that ran after onboarding: the overlay, its 5-step copy in DesktopHomeView, and the SidebarCoachAnchorKey frame publishing in DesktopTopBar and SidebarView. A just-onboarded user still lands on Home with the sidebar collapsed (that logic lives in the onboardingJustCompleted trigger, not the walkthrough).
…indow The drag-to-grant card was x-centered on the System Settings window but vertically pinned to the screen's bottom quarter, so it drifted far from the window. Anchor it a fixed gap beneath the window's bottom edge instead, so it follows the window as it moves and never covers the drop target. Flip to just above the window when Settings sits too low to fit the card below.
Removing the coach-mark anchorPreference shrank SidebarView.swift; lower the down-only baseline shard to match.
…n demo The screen-demo step (reached after picking the summon shortcut) led with the onboarding_mac_lineup computer illustration; drop it so the step is just the voice-chord prompt. The shared PNG stays for the legacy floating-bar demo step.
…t Gmail - Skip any permission step (mic, system audio, screen, full disk, accessibility, automation) the user has already granted, using the same live permission detection as the legacy onboarding, so onboarding never asks for what's already given. - Auto-detect an already-connected Gmail in the context step (like Calendar), showing it as connected without a reconnect. - Mark the name-observer token nonisolated(unsafe) so the nonisolated deinit can remove it — fixes a clean cold build under Swift 6 strict concurrency.
undivisible
pushed a commit
to undivisible/omi
that referenced
this pull request
Sep 29, 2026
…ettings (BasedHardware#10343) ## Summary Two desktop onboarding follow-ups that missed the BasedHardware#10340 merge window (they were pushed to that branch after it merged, so they never reached `main`). Each is its own commit: - **Remove the post-onboarding coach-mark walkthrough** — the tour that ran after onboarding (dimming the window and spotlighting each top-bar nav pill + the Capture control) is deleted: the overlay, its 5-step copy in `DesktopHomeView`, and the `SidebarCoachAnchorKey` frame-publishing in `DesktopTopBar`/`SidebarView`. A just-onboarded user still lands on Home with the sidebar collapsed (that logic lives in the `onboardingJustCompleted` trigger, not the walkthrough), so they now go straight to chat with no coach-marks. - **Pin the permission drag-to-grant card under System Settings** — the card was x-centered on the Settings window but vertically pinned to the screen's bottom quarter, so it drifted far from the window. It now anchors a fixed gap beneath the live Settings window's bottom edge (flipping to just above the window when Settings sits too low to fit the card below), so it follows the window as it moves and never covers the drop target. Adds unit tests for the under/above/no-anchor placement cases. - **Ratchet** the `desktop-swift-mainwindow` line-count baseline down for the 2 lines the walkthrough removal drops from `SidebarView.swift`. ## Verification Unit tests added for `dragCardFrame` (`ScreenRecordingPermissionPolicyTests`). I could not exercise the change on a live build in this environment, so the drag-card repositioning is covered by those tests, not a runtime run — flagging that explicitly. ## Product invariants affected - INV-INT-1 ## Failure class (fixes) Failure-Class: none <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10343?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 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.
Summary
Desktop onboarding follow-ups on top of the Second Brain redesign — cleanups that missed the #10340 merge window plus live-detection fixes so the flow never asks for what the user already has. Each is its own commit:
DesktopHomeView, and theSidebarCoachAnchorKeyframe-publishing inDesktopTopBar/SidebarView. A just-onboarded user still lands on Home with the sidebar collapsed (that logic lives in theonboardingJustCompletedtrigger, not the walkthrough), so they go straight to chat with no coach-marks.advanceandbegin, so a resumed session also skips permissions granted while the user was away. The user is never asked for something they've already given.deinit— thenameObservertoken is markednonisolated(unsafe)so the nonisolateddeinitcan remove it; a pre-existing fix(desktop): restore onboarding functionality dropped by Second Brain redesign #10340 issue that only surfaced on a clean cold build under Swift 6 strict concurrency.desktop-swift-mainwindowline-count baseline down for the lines the walkthrough removal drops.Verification
xcrun swift build -c debug— clean cold build from this branch (Build complete!), which is what surfaced and confirms thedeinitfix.ScreenRecordingPermissionPolicyTests.dragCardFrame: under / above / no-anchor cases).isGranted/refreshPermCheck,GmailReaderService.verifyConnection) already exercised by the connect flow.Product invariants affected
Failure class (fixes)
Failure-Class: none