1. 03 Sep, 2026 1 commit
  2. 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
  3. 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
  4. 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
  5. 28 Aug, 2026 1 commit
  6. 23 Aug, 2026 2 commits
  7. 22 Aug, 2026 8 commits
  8. 19 Aug, 2026 1 commit
  9. 18 Aug, 2026 5 commits
  10. 16 Aug, 2026 5 commits
    • Aryan Noshirvnai's avatar
    • Aryan Noshirvnai's avatar
      Restructure Roadmap: split "what's next" into Backend/Frontend, each item with a status · f9c51957
      Aryan Noshirvnai authored
      Replaces the old Now/Next/Ideas/QOL columns with two lists - Backend and
      Frontend - so backend work (currently the priority; UI/UX is paused) is
      easy to see at a glance instead of interleaved with frontend items.
      
      Every item now carries a status instead of being a flat bullet:
      - Ready to start - clearly scoped, no blockers
      - Needs design - the idea is real but the approach isn't decided yet
        (e.g. Discovery->Library has no audio file to actually save; Discovery's
        confidence score is buried in a string for AcoustID and doesn't exist at
        all for Shazam matches)
      - Blocked - waiting on something else first (proxy-aware IP detection
        waits on a real load balancer existing; confirm dialogs wait on the
        backend delete endpoints landing)
      
      All prior items carried over, none dropped - "General QOL" folded into
      Frontend since every item in it already was frontend-only.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      f9c51957
    • 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
    • Aryan Noshirvnai's avatar
      Revert committing .env files - bake the correct default into code instead · d53c3623
      Aryan Noshirvnai authored
      Committing .env/.env.development/.env.production (previous commit) fixed
      the immediate symptom (fresh checkout had no working config) but broke a
      convention that exists for good reason: gitignoring .env means nobody has
      to judge whether a given line is sensitive before adding it. "Nothing in
      here is sensitive right now" is true but fragile - it only holds until
      someone adds a real secret to that file later without remembering the
      convention was bent for it.
      
      The actual problem was "a missing env override silently breaks the app
      with no error," not "the file isn't committed." Fixed properly: client.ts
      now defaults VITE_API_BASE_URL to '/api' (the same-origin proxy path both
      `vite dev` and `vite preview` already serve this app through) instead of
      requiring an env file to supply it - matching the pattern vite.config.ts
      already used for BACKEND_PROXY_TARGET. A fresh checkout now works
      correctly with zero env files at all, verified by rebuilding with none
      present and confirming '/api' is still what's baked into the bundle.
      
      .env/.env.development/.env.production deleted and re-gitignored;
      .env.example is back to being a pure template, documenting when you'd
      actually need to override either default (a different deployment
      topology), not real values to copy.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      d53c3623
    • Aryan Noshirvnai's avatar
      Stop gitignoring env config that holds no secrets - commit .env/.env.development/.env.production · 434f1a2e
      Aryan Noshirvnai authored
      .env, .env.development(.local), and .env.production(.local) have held zero
      actual secrets since the dev auto-login token pair was removed earlier
      today - just a backend URL and a proxy target, neither sensitive (the
      backend URL is already visible in the compiled JS bundle regardless).
      Gitignoring them anyway meant a fresh checkout had no working config at
      all, and specifically meant .env.development.local/.env.production.local
      (the overrides that route API calls through vite's same-origin proxy
      instead of an absolute http:// URL, avoiding mixed-content blocking) could
      silently go missing with zero server-side signal - exactly the failure
      mode that caused two separate "nothing works" incidents today.
      
      Renamed the two .local overrides to .env.development/.env.production
      (Vite's convention for committed, mode-specific config, as opposed to
      .local's convention for gitignored personal overrides) and committed all
      three files for real. *.local stays gitignored for genuine personal
      overrides (e.g. .env.local) going forward. .env.example now documents that
      the real values are already committed, not something to copy by hand.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      434f1a2e
  11. 15 Aug, 2026 2 commits
    • Aryan Noshirvnai's avatar
      Fix mixed-content-blocked API calls in the production build + harden auth-failure recovery · a631b91b
      Aryan Noshirvnai authored
      Two compounding bugs behind "cannot sign in" / protected pages showing a
      blank page instead of prompting to log in:
      
      1. The production build (vite build, mode=production) doesn't read
         .env.development.local - only .env - so it baked in the raw
         http://144.76.210.145:8000 absolute URL instead of the /api proxy path.
         Since the page is served over https:// (via vite preview, see
         stax_dev_mode_is_the_real_slowness in project memory), the browser
         silently blocked every single fetch as mixed content - no server-side
         error, just every API call failing client-side. Added
         .env.production.local (gitignored, documented in .env.example so a
         fresh checkout doesn't regress) with the same /api override
         .env.development.local already used for dev mode.
      
      2. AuthContext's role-fetch effect only recognized a clean 401 ApiError as
         "not authenticated" - a mixed-content-blocked fetch throws a raw
         TypeError instead, which the old check didn't recognize, so `role`
         stayed null forever and RequireRole rendered a blank page indefinitely
         instead of ever redirecting to /login. Now only a 5xx (a transient
         server hiccup) is treated as "stay logged in, don't overreact" -
         everything else, including a network-level failure, is treated as "not
         authenticated" so the user always gets a login prompt instead of
         silence.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      a631b91b
    • Aryan Noshirvnai's avatar
      Remove the dev auto-login shortcut - it kept going stale and presenting as "site is slow" · 9d69f811
      Aryan Noshirvnai authored
      VITE_DEV_ACCESS_TOKEN/VITE_DEV_REFRESH_TOKEN was a single refresh token
      baked into .env and shared across every consumer (every dev session, every
      test run, every stray curl). Refresh tokens are single-use/rotating by
      design - the instant any one consumer used it, the backend rotated it and
      the file's copy went dead for everyone else, with no way to keep a static
      file in sync with a rotating secret. Confirmed live in the backend log:
      the real browser session was stuck looping GET /auth/me -> 401 -> POST
      /auth/refresh -> 401 on every page load, which is what "still very slow"
      actually was - not a performance bug, an auth bug that looked like one.
      
      Regenerating the pair (done twice already this session) only delays the
      same failure. Removed the mechanism entirely: isAuthenticated's initial
      value now comes straight from whatever's already in localStorage, exactly
      like a real logged-in user. Real username/password login (shipped earlier
      today) replaces the dev shortcut with no such failure mode - log in with
      dev-test-user / StaxDev2026! instead.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      9d69f811