1. 07 Oct, 2026 4 commits
    • Aryan Noshirvnai's avatar
      Fix Settings toggle switch thumb rendering outside the pill · 2db3c721
      Aryan Noshirvnai authored
      The thumb span relied on left:auto + a translate-x offset for horizontal
      position, but the <button>'s native text-align:center UA default (never
      neutralized by an explicit left) made its auto-resolved static position
      land near the pill's right edge in both checked states, so the translate
      pushed it visibly outside the pill instead of sliding within it. Anchor
      it with an explicit left-0.5 base position instead, matching the
      standard Tailwind switch recipe, so position no longer depends on the
      browser's static-position resolution for an auto-positioned box.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      2db3c721
    • Aryan Noshirvnai's avatar
      Swap visual identity to shadcn preset b311momZs0 with real light/dark mode · b1407273
      Aryan Noshirvnai authored
      Re-themes the whole app by bridging the existing cobalt token names in
      src/index.css to shadcn's new CSS variables, rather than rewriting every
      component. Adds ThemeContext + a Settings appearance toggle so .dark now
      actually gets applied somewhere in the app - closing the token collision
      where shadcn's --color-background/--color-primary/--color-secondary would
      otherwise silently fall back to shadcn's light values next to an
      all-dark app. Defaults new visitors to dark to match the app's prior
      dark-only behavior. Self-hosts DM Sans/Outfit via @fontsource-variable
      instead of the old Google Fonts link.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      b1407273
    • Aryan Noshirvnai's avatar
      Move Liked Songs into the Library tab as a real album-like entry · c7c9043b
      Aryan Noshirvnai authored
      Favorites are a personal/library concept, not something that should live
      only under the separate Playlists page. A "Liked Songs" card now appears
      first in Library's own Albums grid (same shape as every other AlbumCard, a
      heart tile standing in for cover art) whenever the caller has at least one
      liked song - derived from the already-loaded library list's is_liked flags,
      no extra request.
      
      New /library/liked page is built to look and behave exactly like a real
      album page (AlbumDetail) rather than the plainer list Playlists' own detail
      view uses: big header tile, track count, Play button, SongRow list with
      working hearts/swipe/add-to-playlist. Sourced from getLibrary() + is_liked
      directly, not the playlist endpoints - nothing about playlist
      membership/ordering is relevant here. Unliking a song removes it from the
      list immediately, since every row is only present because it's liked.
      
      Still backed by the same is_liked_playlist under the hood, so it still
      appears in Playlists too - this is a second, more prominent entry point,
      not a replacement.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      c7c9043b
    • Aryan Noshirvnai's avatar
      Home: drop uploader attribution, add favorite heart to every row · 3254e7c0
      Aryan Noshirvnai authored
      Matches the backend's dedup + unattributed feed: HomeSong no longer carries
      a username, and no uploader name is shown anywhere on the page. Added a
      favorite heart to HomeSongRow (used by both New Songs/Suggestions and an
      expanded album's track list) - an owned song favorites directly, someone
      else's claims first via the same useHomeSongPlayback hook already used for
      play/add-to-playlist, optimistic with revert-on-failure.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      3254e7c0
  2. 06 Oct, 2026 3 commits
  3. 13 Sep, 2026 1 commit
  4. 06 Sep, 2026 2 commits
    • 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
    • Aryan Noshirvnai's avatar
      Add missing transitions to in-page content swaps and new list rows · 35ada4a6
      Aryan Noshirvnai authored
      Several jaggy/instant UI changes had zero animation: the tab switchers on
      Social, Soundmarks, AdminPanel, and BusinessPanel all swapped their body
      with a plain conditional; Library's search-results-vs-default-grid toggle
      and TelegramLink's phone/code/password steps and chat-list/chat-detail
      views did the same, the latter two via a full remount with nothing
      softening it. New CSS class animate-content-enter (fade + rise, 200ms)
      now covers all of these via a keyed wrapper, so React genuinely remounts
      on each real swap and replays it.
      
      Separately, newly-added list rows (Upload's queue, Discovery's history)
      just popped in with no transition. Both now reuse the existing
      animate-message-enter class, which only plays on a row's actual first
      mount - each row keeps a stable key across later re-renders, so this
      fires once per genuinely new row, not on every status update. Discovery's
      history rows get a capped per-row stagger; fixed a flash-then-fade bug
      this exposed in animate-message-enter's own definition (needed
      animation-fill-mode: backwards to hold the pre-animation state during the
      delay) and its total absence from the prefers-reduced-motion block.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      35ada4a6
  5. 03 Sep, 2026 4 commits
  6. 02 Sep, 2026 2 commits
    • Aryan Noshirvnai's avatar
      Fix jaggy lyric transitions, screen cutoffs, and broken swipe gestures in FullPlayer · 3f615474
      Aryan Noshirvnai authored
      Three real-device bugs reported after the lyrics overlay rebuild: the live
      line swapped text with no transition (now keyed + animated via CSS), the
      full lyrics screen's fade mask was too narrow for the larger font and had
      no safe-area bottom padding (widened + padded), and swipe-up-to-open did
      nothing on a real touchscreen (ad-hoc pointer handlers lacked move/cancel
      handling and touchAction: none - replaced with a shared useVerticalSwipe
      hook).
      
      Verifying the swipe fix in a real browser surfaced two further bugs
      invisible in jsdom: every focus() call in FullPlayer scrolls its target
      into view by default, firing while panels are still off-screen/mid-
      transition and dragging documentElement's scroll position around (fixed
      with preventScroll: true everywhere, plus locking documentElement's
      overflow alongside body's). And the lyrics header is only 64px tall, so a
      downward swipe crosses its bottom edge before the hook's deferred pointer
      capture can engage - useVerticalSwipe now tracks drags via window-level
      listeners instead of ones scoped to the dragged element.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      3f615474
    • Aryan Noshirvnai's avatar
      Overlay lyrics on the album art, matching Spotify's actual placement · 435c86a2
      Aryan Noshirvnai authored
      The previous pass put the live line as a small gray caption below the
      cover art - still easy to miss, per the user's own Spotify screenshots.
      Spotify's real placement overlays it directly on the art with a
      gradient scrim, inside a scrollable card further down the page.
      
      Adapted rather than copied, since this player is a fixed panel that
      doesn't scroll: the live line (plus a one-line preview of what's next)
      sits overlaid on the bottom of the art, reachable three ways now -
      swipe up, tap the line, or an explicit chevron button - instead of one
      easy-to-miss caption. The full lyrics screen's typography also moved
      from centered/small to Spotify's actual large, bold, left-aligned
      style. Verified against a real library song via Playwright.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      435c86a2
  7. 01 Sep, 2026 7 commits
    • Aryan Noshirvnai's avatar
      Dedicated album page, route-level code splitting, lyrics affordance fix · bba848ef
      Aryan Noshirvnai authored
      Album cards/rows now navigate to a real /library/album page (SongRow
      extracted to its own component so both Library and the new page share
      it) showing tracks in genuine order via the backend's new endpoint,
      replacing the same-day expand-in-place version - starting playback
      from any track queues the rest of the real album order behind it.
      
      Every route is now a React.lazy() chunk instead of one ~590KB bundle
      loaded before any page could render (down to ~397KB initial + per-
      route chunks fetched on demand); Library/Playlists cover art also
      loads lazily so a long list doesn't compete with the requests that
      matter for first paint.
      
      FullPlayer's inline lyric line gets a small Quote icon - couldn't
      reproduce a "lyrics not shown" report after testing 8 real library
      songs, but plain gray text not visually reading as an interactive
      lyrics preview was a plausible contributor either way.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      bba848ef
    • Aryan Noshirvnai's avatar
      Rebuild FullPlayer lyrics to match Spotify's actual current pattern · 95b835fc
      Aryan Noshirvnai authored
      Researched how Spotify actually surfaces lyrics rather than guessing:
      the live synced line plays right under the cover art on the main Now
      Playing screen at all times, no tap needed, and the full scrollable
      view is a step deeper reached by swiping up (with a tap on the line
      itself kept as a focusable fallback, since Spotify keeps one too).
      
      Replaces the previous "tap a bar to crossfade cover/lyrics in place"
      implementation, which showed a static first line rather than the
      actually-playing one and still needed an explicit tap to see anything
      at all. Lyrics is now a real slide-up screen (mirroring Queue's own
      push-navigation pattern) with its own back control, swipe-down close,
      Escape, and system back support.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      95b835fc
    • Aryan Noshirvnai's avatar
      Spotify-style album grid + all-songs view on Library's default page · 7c321a44
      Aryan Noshirvnai authored
      The default (non-search) view was a flat song list even though
      /library/search already derived a proper Albums grouping for search
      results. Adds the same grouping to the default view - computed
      client-side from the already-loaded library (mirroring the backend's
      own (album, artist) logic) rather than adding a redundant endpoint -
      as a cover-art card grid above an always-visible All Songs list.
      Tapping a card expands its tracks, same interaction search's album
      rows already use. Verified visually with dev-test-user's real library
      via Playwright (mobile + desktop) before shipping.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      7c321a44
    • Aryan Noshirvnai's avatar
      Multi-select in Upload and Telegram chat music identification · 04d2c5c1
      Aryan Noshirvnai authored
      Upload now takes multiple files in one go: each gets its own queued
      row (removable before upload), progress, result, and error state, fed
      through the existing one-file-at-a-time endpoint sequentially rather
      than in parallel - the per-file identify/tag pipeline is already the
      expensive part, so racing several through it wouldn't help.
      
      TelegramLink's chat music list gets the equivalent for saving: a
      checkbox per not-yet-saved row and a sticky "Save N selected" action
      that calls /music/tag once per song, same sequential reasoning. The
      existing per-song Save button still works for saving just one.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      04d2c5c1
    • Aryan Noshirvnai's avatar
      Replace Upload's download link with add-to-playlist/play · 3592c605
      Aryan Noshirvnai authored
      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: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      3592c605
    • Aryan Noshirvnai's avatar
      Update Roadmap for confidence ranking fix + stale TODO cleanup · 36c09de9
      Aryan Noshirvnai authored
      Documents the identify_audio() ranking fix (backend commit follows
      separately) and corrects a stale frontend TODO item - the confidence
      meter half of "show identify confidence" already shipped 2026-08-28,
      only the "couldn't identify" empty state is still actually open.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      36c09de9
    • Aryan Noshirvnai's avatar
      Add will-change hints to animated overlays (real-device stuck-transition fix) · 30b4016d
      Aryan Noshirvnai authored
      User reported FullPlayer's Queue/Lyrics panels occasionally freeze
      mid-slide after backing out, only on a real phone. Traced the full
      React/history state machine for every close path (Escape, backdrop,
      X, system back button, rapid/interrupted sequences) via 6 scripted
      reproductions - the underlying state and resulting CSS classes are
      already correct in every case, which points at Android's predictive-
      back gesture: its compositor-level preview snapshot can catch an
      element mid-transition on a layer that wasn't already GPU-promoted.
      Added will-change-transform to every transitioning overlay (FullPlayer
      itself, its Queue/Lyrics panels, the three shared bottom-sheet modals,
      and Layout's More sheet) so the browser promotes the layer proactively
      instead of mid-transition. Best-effort pending real-device
      confirmation - documented in Roadmap with the next lead if it recurs.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      30b4016d
  8. 31 Aug, 2026 6 commits
    • Aryan Noshirvnai's avatar
      Split AdminPanel's three tabs into their own section components · c28afaef
      Aryan Noshirvnai authored
      AdminPanel.tsx was 668 lines with all three tab bodies (soundmarks,
      review queue, users) inlined directly in the page component - the
      only prior extraction was the two modals. Pulled each tab into its
      own presentational component (SoundmarksSection, ReviewQueueSection,
      UsersSection, plus a SoundmarkRow used by the first), matching the
      existing SoundmarkFormModal/PlaylistModal pattern already used in
      this file. Pure structural change, no behavior difference - all
      existing tests pass unchanged.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      c28afaef
    • Aryan Noshirvnai's avatar
      Add enter/exit motion to the flat modal and page transitions · 2d4c014a
      Aryan Noshirvnai authored
      The three shared bottom-sheet modals (AddToPlaylistModal, SongPicker,
      RemixSongPicker) and Layout's mobile More sheet popped in/out
      instantly with zero transition. Wired into useMountTransition (same
      300ms fade+rise idiom already used by FullPlayer/NowPlayingBar) so
      the backdrop fades and the panel slides/rises both ways. The three
      modals defer calling their real onClose prop until the exit animation
      actually finishes, since the caller still owns whether they exist in
      the tree at all and would otherwise unmount them mid-animation.
      
      Also gives every page navigation a subtle fade+rise on mount (Layout
      re-mounts per page already, so a plain CSS animation is enough - no
      router-level transition machinery needed), and fades EmptyState in
      instead of appearing flat.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      2d4c014a
    • Aryan Noshirvnai's avatar
      Fix swipe rows swallowing clicks (real pointer capture bug) · bf57f549
      Aryan Noshirvnai authored
      useSwipeAction called setPointerCapture unconditionally on
      pointerdown, which redirects the browser's synthesized click event to
      the capturing row element instead of whatever was actually tapped -
      silently breaking every button inside a Library row (Play, Add to
      playlist) on a real device. Invisible in the unit suite since jsdom
      stubs setPointerCapture as a no-op; found via real end-to-end
      (Playwright) testing while verifying the synced-lyrics fix below.
      Capture now only engages once a real drag is detected.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      bf57f549
    • Aryan Noshirvnai's avatar
      Fix back-button/navigation clobber, add in-app install banner · 7689db70
      Aryan Noshirvnai authored
      useBackButtonClose's cleanup unconditionally called history.back() to
      consume its own leftover entry, which broke the More sheet: clicking
      an item both navigates (route Link) and closes the sheet in the same
      click, and the cleanup's history.back() undid that navigation since
      it was now the top-most entry, making every More button appear to do
      nothing. Each pushed entry now carries a unique id and cleanup only
      consumes it if it's still current.
      
      Also adds a custom in-app "Install Stax" banner (useInstallPrompt +
      InstallBanner) since the browser's own install icon is easy to miss -
      captures beforeinstallprompt at module load (not component-scoped,
      since every page remounts its own <Layout>) and shows manual Share ->
      Add to Home Screen instructions on iOS Safari, which has no
      programmatic install API at all.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      7689db70
    • Aryan Noshirvnai's avatar
      Add PWA installability, system back button, swipe-to-queue/delete · 03069f85
      Aryan Noshirvnai authored
      Makes Stax installable via Add to Home Screen (manifest + service
      worker, cobalt-themed icons incl. maskable variants), makes the
      Android/browser back button close overlays one level at a time instead
      of navigating away (useBackButtonClose, stack-based to handle nested
      overlays correctly), and adds swipe gestures on Library rows: right to
      queue (PlayerContext.addToQueue, appends without touching playback),
      left to delete (confirm + calls the existing but previously
      unwired DELETE /library/{file_id} endpoint).
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      03069f85
    • Aryan Noshirvnai's avatar
      Spotify-inspired UX: real-time synced lyrics, minimal nav active-state, hover play overlay · c0c5d56c
      Aryan Noshirvnai authored
      Real-time synced lyrics view in FullPlayer: line-by-line highlight follows
      playback position, auto-scrolls the active line to center, tapping a line
      seeks there. Falls back to the existing static text view (then EmptyState)
      exactly as before when a song has no synced timing.
      
      Interaction patterns only - color identity deliberately stays cobalt, not
      Spotify's green, per the earlier explicit decision to avoid that look:
      - Nav active-state simplified to bold+accent icon/label, no background
        chip, with real aria-current="page" (sidebar, mobile tabs, More sheet)
      - Library's shared song row overlays play/pause on the artwork itself on
        hover (always visible for whichever track is actually current) instead
        of a separate always-on circular button beside it
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      c0c5d56c
  9. 28 Aug, 2026 1 commit
  10. 23 Aug, 2026 2 commits
  11. 22 Aug, 2026 8 commits