Skip to content

Fix native File Provider approval onboarding#83

Closed
aseembits93 wants to merge 7 commits into
mainfrom
enable-prompt
Closed

Fix native File Provider approval onboarding#83
aseembits93 wants to merge 7 commits into
mainfrom
enable-prompt

Conversation

@aseembits93

@aseembits93 aseembits93 commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Treat the macOS native "Start Syncing" OK action as File Provider approval during onboarding, so users do not need a separate Enable click after accepting the native prompt.
  • Handle remembered macOS denial state by preparing the File Provider domain for retry, then directing explicit retries to System Settings / File Providers when macOS still reports Locality disabled.
  • Add desktop UI/backend coverage for the native prompt, denial retry, and System Settings fallback flows.
  • Add make install-macos-prompt-test-app plus a dry-run-tested installer for a fresh prompt-test app install/reset/register/launch flow.

Test Plan

  • cargo test -p locality-desktop workspace_mount_onboarding -- --nocapture
  • cargo test -p loc-cli macos_file_provider_unavailable_error_is_actionable -- --nocapture
  • npm --prefix apps/desktop test -- onboarding-mount.test.ts --run
  • npm --prefix apps/desktop run build
  • bash -n scripts/install-macos-prompt-test-app.sh scripts/install-macos-prompt-test-app.test.sh && make test-macos-prompt-test-app-installer
  • git diff --check

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
locality Ready Ready Preview, Comment Jul 14, 2026 8:21pm

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