Replace Upload's download link with add-to-playlist/play
The result card now plays the tagged track directly through the shared
player and offers "Add to playlist" (reusing AddToPlaylistModal, whose
song prop is narrowed to {id, title} since that's all it actually
reads - lets Upload's TagMetadata-shaped result satisfy it without
fabricating a fake LibrarySong). download_url is gone from the backend
response too (see stax_backend_api), closing an unauthenticated-file
access gap that had no remaining caller once this landed. Adds
Upload.tsx's first test coverage.
Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
src/pages/Upload.test.tsx
0 → 100644
Please
register
or
sign in
to comment