Skip to content

feat(onboarding): persist pause after Skip, offer default-on Launch at login, and align macOS 27 permission text - #881

Merged
kitlangton merged 1 commit into
devfrom
feat-onboarding-decisions-1-2
Dec 4, 2026
Merged

kitlangton merged 1 commit into
devfrom
feat-onboarding-decisions-1-2

Conversation

@kitlangton

Copy link
Copy Markdown
Collaborator

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

  • Before:
    • Clicking 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 login started unchecked and appeared only on Try it, so cautious users who clicked Skip never saw it and Spaceman silently disappeared after reboot.
    • Menu bar status and CLI/agent errors still hardcoded Accessibility on macOS 27 (Device Control and Data Access / System & App Protection Override).
  • After:
    • Writes an owner-only (0600) paused-after-skip marker when first-run setup ends without arranging (Skip, early dismiss, or Undo & restore), keeping subsequent launches quietly paused.
    • Manual UI/menu Resume Tiling opens directly on the Your workspaces Arrange preview board (stepping back to Setup if permission was revoked); confirming Arrange & start or running headless spaceman ctl resume clears the marker.
    • Stages Launch at login checked by default on first-run Arrange (above Skip / Arrange & start) and Try it without touching SMAppService until the user commits Skip or Arrange & start, while manual tour re-runs preserve the existing setting.
    • Uses permission_guide::required_error() and permission_guide::paused_status() consistently across status/errors and clears stale permission-required errors on grant.
Check Result
scripts/check --no-web Passed on dev (5d4e4f52): fmt, 0 file-size/folder-shape warnings, design-token ratchet, clippy -D warnings, all workspace/agent/watchdog/installer tests, CA roots, replay, config
Headless UI verification Rendered dark & light 860x580 / 920x660 snaps across onboarding-arrange, -dual, -empty, and -try-it
Carbon High Fixed-Point Review Passed (FIXED_POINT_CLEAN after 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, and agent/src/onboarding/view.rs.

- 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()`.
@kitlangton
kitlangton merged commit eaf5df5 into dev Dec 4, 2026
@kitlangton
kitlangton deleted the feat-onboarding-decisions-1-2 branch December 4, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant