• Aryan Noshirvnai's avatar
    Add a global Home landing page, favorite hearts, and fix two mobile overflow bugs · 23de29b2
    Aryan Noshirvnai authored
    Home replaces Library as the default post-login/catch-all destination: newly
    added songs app-wide, new albums, and lightweight suggestions, backed by the
    new GET /home/feed. Songs the caller already owns play directly; everyone
    else's go through the same claim-then-play flow Library's shared search
    already uses (useHomeSongPlayback, shared between the card and row
    components). AuthContext now also exposes the caller's own userId, needed to
    tell the two cases apart.
    
    Favorite heart button on every song row, optimistic with revert-on-failure;
    the Liked Songs playlist sorts first and gets a filled-heart icon once it
    exists.
    
    Mobile sweep (live, Playwright, phone viewport) found and fixed two real
    bugs: the hover-only play overlay was invisible on touch devices except for
    the currently-playing track, and Social's 4-pill tab row pushed the whole
    page wider than the viewport on a phone instead of wrapping or scrolling.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    23de29b2
Social.tsx 2.5 KB