• Aryan Noshirvnai's avatar
    Add Playlist UI - the first item off the roadmap's "Next" column · 0f155d5e
    Aryan Noshirvnai authored
    Playlists have had a fully working backend (create, list, add-track) with
    zero frontend UI since much earlier in this project. Adds:
    
    - New page (/playlists, in nav): list playlists, create one inline, open
      one to see and play its tracks, back button to return to the list.
    - AddToPlaylistModal: a per-row action on the Library page to add a song
      to an existing playlist, or create a new one and add to it in one step -
      mirrors SongPicker's modal pattern. Stays open after a successful add so
      adding to several playlists doesn't mean reopening the picker each time.
    - Backend: new GET /playlists/{id} (stax_backend_api, separate commit) -
      the only endpoint actually missing; everything else already existed.
    
    Verified live end to end through the deployed proxy: create a playlist,
    add a real library song, fetch the playlist back with its track. Updated
    the Roadmap page to reflect this is done.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    0f155d5e
AddToPlaylistModal.tsx 5.62 KB