Repository navigation
feat(onboarding): persist pause after Skip, offer default-on Launch at login, and align macOS 27 permission text - #881
Merged
Conversation
- Persist mode-0600 `paused-after-skip` when first-run setup is skipped or closed before arranging (or backed out via Undo & restore), keeping later launches paused instead of auto-tiling unannounced. - Open the Arrange preview board on UI/menu-bar Resume while `paused-after-skip` is set (falling back to Setup if Accessibility was revoked), and clear the marker on `Arrange & start` or headless `spaceman ctl resume` without re-arming it if an open preview closes afterward. - Clear retained missing-Accessibility `last_error` once trust is granted and keep `TilingStart::PausedAfterSkip` reachable on untrusted launches. - Default Launch at login checked on first-run Arrange and Try it (without touching SMAppService until Skip or Arrange & start), allowing one-click opt-out on either step and idempotent `login_item::set(bool)` updates. - Replace remaining hardcoded `"Accessibility"` error/status strings in the agent, snapshot, and CLI runtime paths with `permission_guide::list_name()`.
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
Persists the paused state after skipping first-run onboarding (opening the Arrange preview board on first manual Resume instead of tiling blind), defaults Launch at login checked during onboarding while offering it on both Arrange/Skip and Try-it, and replaces remaining hardcoded "Accessibility" status/error strings with macOS-version-aware
permission_guide::list_name()wording.Before / After
Skip(or closing the tour before arranging) paused only for the current session, so the next reboot or updater restart tiled every open window without a preview.Launch at loginstarted unchecked and appeared only onTry it, so cautious users who clickedSkipnever saw it and Spaceman silently disappeared after reboot.Accessibilityon macOS 27 (Device Control and Data Access/System & App Protection Override).0600)paused-after-skipmarker when first-run setup ends without arranging (Skip, early dismiss, orUndo & restore), keeping subsequent launches quietly paused.Resume Tilingopens directly on theYour workspacesArrange preview board (stepping back toSetupif permission was revoked); confirmingArrange & startor running headlessspaceman ctl resumeclears the marker.Launch at loginchecked by default on first-runArrange(aboveSkip/Arrange & start) andTry itwithout touchingSMAppServiceuntil the user commitsSkiporArrange & start, while manual tour re-runs preserve the existing setting.permission_guide::required_error()andpermission_guide::paused_status()consistently across status/errors and clears stale permission-required errors on grant.scripts/check --no-webdev(5d4e4f52): fmt, 0 file-size/folder-shape warnings, design-token ratchet, clippy-D warnings, all workspace/agent/watchdog/installer tests, CA roots, replay, config860x580/920x660snaps acrossonboarding-arrange,-dual,-empty, and-try-itFIXED_POINT_CLEANafter Round 2)Read
src/config/paths.rs,src/login_item.rs,src/permission_guide.rs,src/app/app_loop/setup.rs,agent/src/onboarding.rs,agent/src/onboarding/flow.rs, andagent/src/onboarding/view.rs.