Problem
Login is buried in Settings > Account. No onboarding for new users. Magic link auth assumes prior registration knowledge.
Proposed Flow
- App works 100% locally (no account required)
- After N notes created, show subtle "Sync across devices" prompt
- "Enable Sync" button in sidebar footer or status bar
- Modal with clear value proposition + email input
- Magic link → deep link verification → auto-sync starts
- Success toast + persistent sync indicator
Files to Change
renderer/components/sync/LoginModal.tsx — redesign as "Enable Sync" modal
renderer/stores/authStore.ts — add isFirstTimeUser detection
renderer/components/Sidebar.tsx or StatusBar.tsx — add entry point
web/app/(marketing)/auth/verify/ — improve fallback UX when deep link fails
Acceptance Criteria
Problem
Login is buried in Settings > Account. No onboarding for new users. Magic link auth assumes prior registration knowledge.
Proposed Flow
Files to Change
renderer/components/sync/LoginModal.tsx— redesign as "Enable Sync" modalrenderer/stores/authStore.ts— addisFirstTimeUserdetectionrenderer/components/Sidebar.tsxorStatusBar.tsx— add entry pointweb/app/(marketing)/auth/verify/— improve fallback UX when deep link failsAcceptance Criteria