• 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
Name
Last commit
Last update
..
AdminPanel.test.tsx Loading commit data...
AdminPanel.tsx Loading commit data...
BusinessPanel.test.tsx Loading commit data...
BusinessPanel.tsx Loading commit data...
Channels.test.tsx Loading commit data...
Channels.tsx Loading commit data...
Discovery.test.tsx Loading commit data...
Discovery.tsx Loading commit data...
GeoDrops.test.tsx Loading commit data...
GeoDrops.tsx Loading commit data...
Library.test.tsx Loading commit data...
Library.tsx Loading commit data...
Login.test.tsx Loading commit data...
Login.tsx Loading commit data...
Nearby.test.tsx Loading commit data...
Nearby.tsx Loading commit data...
Playlists.test.tsx Loading commit data...
Playlists.tsx Loading commit data...
Posts.test.tsx Loading commit data...
Posts.tsx Loading commit data...
Remix.test.tsx Loading commit data...
Remix.tsx Loading commit data...
Roadmap.test.tsx Loading commit data...
Roadmap.tsx Loading commit data...
Rooms.test.tsx Loading commit data...
Rooms.tsx Loading commit data...
Social.test.tsx Loading commit data...
Social.tsx Loading commit data...
Soundmarks.test.tsx Loading commit data...
Soundmarks.tsx Loading commit data...
TelegramLink.test.tsx Loading commit data...
TelegramLink.tsx Loading commit data...
Upload.tsx Loading commit data...