• Aryan Noshirvnai's avatar
    Add shared-library search to the Library page · 8d5e0200
    Aryan Noshirvnai authored
    Users could only search their own library - there was no way to find
    music already tagged by someone else on Stax. Added a "My Library" /
    "Shared" scope toggle that appears while actively searching; switching to
    Shared re-runs the query against every user's library via the new
    /library/shared/search endpoint. Kept on the Library page rather than a
    new tab or folded into Discovery: typing a search is the same action as
    the existing owner-scoped one, just widened in scope, while Discovery's
    own mental model (ambient/mic-driven identification) is genuinely
    different.
    
    Shared results can't be streamed or playlisted directly - every row
    belongs to another user - so SharedSongRow claims a real owned copy via
    /library/shared/claim before playing or adding to a playlist, reusing the
    same "get your own copy, then use it" flow Discovery already has for a
    mic hit that turns out to be something someone else has.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    8d5e0200
Name
Last commit
Last update
..
auth.ts Loading commit data...
channels.ts Loading commit data...
client.test.ts Loading commit data...
client.ts Loading commit data...
discovery.ts Loading commit data...
jwt.test.ts Loading commit data...
jwt.ts Loading commit data...
library.ts Loading commit data...
music.ts Loading commit data...
remix.ts Loading commit data...
roomSocket.ts Loading commit data...
social.ts Loading commit data...
soundmarks.ts Loading commit data...
stream.ts Loading commit data...