Skip to content

Add auto-sync setup guide and fix pending people race#6

Merged
yoaquim merged 5 commits into
mainfrom
chore/auto-sync-setup
Apr 26, 2026
Merged

Add auto-sync setup guide and fix pending people race#6
yoaquim merged 5 commits into
mainfrom
chore/auto-sync-setup

Conversation

@yoaquim
Copy link
Copy Markdown
Owner

@yoaquim yoaquim commented Apr 26, 2026

Summary

  • Auto-sync setup — collapsible section on the Sync page with copy-pasteable crontab and launchd commands. One-click copy for each variant.
  • Fix pending people race — dismissing the last pending person could leave a stale file that resurfaced on refresh. Now writes {"pending":[]} instead of deleting the file.

Test plan

  • npm test — 79 tests pass
  • Verify auto-sync section renders on Sync page
  • Copy crontab command and verify it's valid

yoaquim added 5 commits April 26, 2026 09:10
- Collapsible "Set up automatic sync" section on the Sync page with
  copy-pasteable commands for crontab (macOS/Linux) and launchd (macOS)
- Fix pending people dismiss race: write empty array instead of
  deleting file to avoid stale reads on refresh
@yoaquim yoaquim merged commit c55d898 into main Apr 26, 2026
1 check passed
@yoaquim yoaquim deleted the chore/auto-sync-setup branch April 26, 2026 13:32
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