• Aryan Noshirvnai's avatar
    Add guest browsing, a real 4-page onboarding, and background-persistent batch uploads · 0854f96b
    Aryan Noshirvnai authored
    Home and Discovery are now guest-accessible (ProtectedRoute's new
    allowGuest prop) - an unauthenticated visitor lands on Home with only
    Home/Discover/Log In in the nav; Discover's mic-identify genuinely works
    for them too, just prompting sign-up to save instead of claiming/liking.
    useClaimThenAct redirects to /login instead of attempting a claim for a
    guest, covering Home's feed rows and Radio's now-playing song alike.
    
    OnboardingOverlay is rewritten from a 6-step feature tour into a real
    4-page onboarding: welcome, create profile (display name + avatar),
    pick preferred genres (fixed chip list, new src/lib/genres.ts), then the
    existing privacy toggles - all skippable, but whatever was filled in
    before skipping is still saved via the new updateProfile()/uploadAvatar()
    clients.
    
    UploadQueueContext now uploads with bounded concurrency (3 at a time)
    instead of one file at a time, and reconciles with the backend's new
    job-based /music/upload on mount and via a shared poller - this is what
    makes "upload several files as a stream" and "tagging survives closing
    the tab" actually true from the frontend's side.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    0854f96b
ProtectedRoute.tsx 1.22 KB