1. 14 Oct, 2026 3 commits
    • Aryan Noshirvnai's avatar
      Fix the actual reason the broadcast circle never looked like a circle · b6cd0b29
      Aryan Noshirvnai authored
      The previous pass only strengthened the circle's styling (stronger fill,
      dashed border) - that wasn't the real bug. The radius is computed as a
      fraction of the map's current visible viewport. Search and "use my location"
      already jump+zoom the map on pin placement, but a plain click never did, so
      clicking to place a pin left the map at its whole-world starting zoom -
      where a small picker map's viewport spans roughly a third of the planet's
      longitude. At that zoom the "radius" came out to literally thousands of
      kilometers. A circle that large has no edge anywhere inside a small map:
      every visible pixel is inside it, so it reads as a flat color wash, not a
      circle - "the circle isn't there" was a completely accurate description.
      
      ClickToPlacePin now zooms in to the same level search/locate already use,
      but only on a station's very first placement (checked via whether a pin
      already exists, not the current zoom, so a user who deliberately zooms back
      out later never gets yanked back in). The computed radius is also clamped
      to a 200m-100km sane range as a defensive backstop against the same
      degenerate math at any other extreme zoom level.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      b6cd0b29
    • Aryan Noshirvnai's avatar
      Rooms: replace bare checkbox with the same themed toggle Radio uses · df189218
      Aryan Noshirvnai authored
      CreateRoomModal's "Tie to a real-world location" was a plain, unstyled
      <input type="checkbox"> - the actual bug behind this round's report, which
      got conflated with a similarly-worded (but separate) fix already shipped for
      Radio's own create form. Both features independently used the identical
      phrase "tie to a real-world location," which is what caused the mix-up.
      
      Swapped it for the same ToggleRow switch Radio now uses, so both features
      share one themed control instead of each inventing its own.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      df189218
    • Aryan Noshirvnai's avatar
      Radio: real toggle for local scope, visible broadcast circle, editable after creation · d9dde94c
      Aryan Noshirvnai authored
      The "Reach: Worldwide/Local" pill pair read as two unrelated buttons rather
      than one feature being switched on - replaced with a single ToggleRow ("Tie
      to a real-world location"), the same shared switch component and wording
      already used elsewhere (Settings, Rooms' own location toggle).
      
      That surfaced a real bug in the shared component: ToggleRow's switch button
      had no explicit type, so inside an actual <form> (its first use inside one)
      it defaulted to type="submit" and silently submitted the form with stale
      state on click instead of just toggling. Fixed in ToggleRow itself.
      
      The broadcast-radius circle was real but easy to miss - 0.12 fill opacity on
      a dark basemap, and briefly rendered as a literal zero-radius circle before
      the viewport-derived radius was computed. Strengthened its contrast, skipped
      the zero-radius frame, and added an explicit "~Xkm radius" badge on the map.
      
      The location+circle picker was also only ever reachable once, during station
      creation. RadioManageTab gained the same toggle + picker + a "Save broadcast
      area" action, so an existing station's broadcast area is visible and
      editable afterward too - the backend (PATCH /radio/{id}) already supported
      this, only the frontend wiring was missing.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      d9dde94c
  2. 13 Oct, 2026 2 commits
    • Aryan Noshirvnai's avatar
    • Aryan Noshirvnai's avatar
      Fix radio artwork proxy gap; redesign tuning dial as a scrolling tape · 0362b75c
      Aryan Noshirvnai authored
      Custom station artwork wasn't rendering: storage.store_image returns a
      backend-relative path ("/images/7/x.png") meant to load same-origin, but
      neither the dev vite proxy nor prod's nginx config had a rule for anything
      besides /api, so the browser 404'd requesting it against its own origin.
      Added a mirroring /images proxy rule to both.
      
      The tuning dial's previous drag-based redesign still felt disconnected: the
      thumb was positioned by percent-of-the-full-150-unit-range while drag
      sensitivity was a separate, decoupled pixel constant, so the thumb visibly
      lagged behind the finger - confirming the range itself wasn't really the
      problem, the position/sensitivity mismatch was. Replaced it with a
      scrolling-tape dial: a fixed center needle never moves, and a tape of
      whole-MHz ticks (plus taller station ticks) scrolls underneath it at exactly
      the same px-per-MHz rate the drag reads at, so it tracks the finger 1:1
      regardless of the band's width. Added whole-MHz snapping during a drag (with
      one haptic tick per newly-entered detent, Vibration API feature-detected) and
      new +/- buttons for an exact 0.1 nudge - routed through a separate step path
      that skips the whole-number magnet, since a magnet strong enough to feel
      good on a drag would otherwise trap a single button press at the same value.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      0362b75c
  3. 12 Oct, 2026 3 commits
    • Aryan Noshirvnai's avatar
      Radio tuner restyle + granular snapping dial; Rooms create-as-popup;… · 33c7b755
      Aryan Noshirvnai authored
      Radio tuner restyle + granular snapping dial; Rooms create-as-popup; live-broadcast playback semantics
      
      - RadioTuner.tsx restyled as a lit console instead of a flat control strip.
      - Rooms' always-visible create form is now a button opening CreateRoomModal,
        matching every other modal's chrome in this app.
      - PlayableSong gained isLive: seek() is a no-op and resuming from pause
        re-fetches live instead of replaying stale audio frozen at the pause point.
        FullPlayer shows a LIVE badge instead of a scrub bar and disables
        Shuffle/Previous/Repeat for live content.
      - Replaced the native tuning <input type="range"> with a custom pointer- and
        keyboard-driven dial: native range sensitivity is fixed to
        element-width/(max-min) with no way to slow it down, so dragging now reads
        raw pixel deltas against a fixed step instead. The dial snaps onto any
        station within the backend's own 0.3 tuning epsilon, with tick marks
        showing where each station sits.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      33c7b755
    • Aryan Noshirvnai's avatar
      Replace Channels with Radio: band+dial tuner, creator station management · 0908e9d2
      Aryan Noshirvnai authored
      Channels tab removed (zero frontend ever built for vibe sets/stories/
      showcase); replaced with Radio - band pills + a real 50-200.0 tuning dial
      (RadioTuner) that locks onto a station client-side using the same epsilon
      as the backend, so dragging the slider never itself hits the network.
      Favoriting/playlisting the now-playing song reuses useClaimThenAct,
      extracted from Home's own useHomeSongPlayback since Radio's now-playing
      song is always someone else's by construction - the exact case that hook
      already handled. New RadioLocationPicker draws a broadcast-radius circle
      sized live from the map's current zoom/pan rather than a manual number
      input. Also closes the long-standing "volume control in the player" gap
      (PlayerContext.volume/setVolume, persisted) - a lever Radio's live-voice
      ducking will need in Phase 2.
      0908e9d2
    • Aryan Noshirvnai's avatar
      Add invite code, PIN, and nearby-map UI for Rooms · b3b12fe9
      Aryan Noshirvnai authored
      Create form gains an optional PIN and a location toggle (via LocationPicker);
      a join-by-code form and a "near me" map (new RoomsNearbyMap.tsx) cover the
      other two discovery paths. A shared attemptJoin() backs all three entry
      points and opens a PIN-entry screen on a 403, distinguishing "wrong PIN" from
      other failures. The room's own DJ sees their invite code and PIN status in
      RoomView's header; nobody else does.
      b3b12fe9
  4. 10 Oct, 2026 1 commit
  5. 08 Oct, 2026 2 commits
    • Aryan Noshirvnai's avatar
      Redesign Login page and rework 4 onboarding animations for clarity · 18253e9a
      Aryan Noshirvnai authored
      Login was flat/bland - added ambient drifting background blobs, a
      larger logo badge, the heading font, and a glass card around the form.
      
      Upload, Telegram, Soundmarks, and Privacy onboarding animations now
      literally depict their feature (file drop->tag, node-to-node connect,
      pin landing on a map, a padlock locking) instead of abstract shapes;
      Discovery and Social were left untouched per explicit feedback. Fixed
      a real Lottie authoring bug along the way: a shape group's "tr" is the
      transform for its containing group, not a per-shape offset, so
      stacking multiple shapes flat in one group silently dropped everything
      after the first.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      18253e9a
    • Aryan Noshirvnai's avatar
      Add first-run onboarding: full-screen walkthrough + welcome Login tagline · 78a9a6a7
      Aryan Noshirvnai authored
      New OnboardingOverlay, shown once for an account with
      has_completed_onboarding === false - six full-screen steps (Upload,
      Telegram linking, Discovery, Social, Soundmarks, then a live Privacy
      step reusing Settings' real toggles), each with a small hand-authored
      Lottie animation via lottie-react's LottieLight (svg-only, no
      expression engine - the full build probes a canvas 2D context at
      import time, which jsdom doesn't implement). Gated in ProtectedRoute.tsx
      rather than a single page, so a new user reaches it no matter which
      protected route they land on first. Skip and the final "Start
      exploring" both call the new completeOnboarding() (optimistic local
      flip + fire-and-forget API call), so it never reappears - confirmed
      against a real fresh login, not just a reload.
      
      Extracted ToggleRow out of Settings.tsx into components/ui/ so the new
      privacy step and Settings share one implementation instead of
      duplicating it. Login.tsx gained a one-line welcome tagline (reusing
      the PWA manifest's own description) above the sign-in form.
      Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
      Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
      78a9a6a7
  6. 07 Oct, 2026 6 commits
  7. 06 Oct, 2026 3 commits
  8. 13 Sep, 2026 1 commit
  9. 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
  10. 03 Sep, 2026 4 commits
  11. 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
  12. 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
  13. 31 Aug, 2026 4 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