-
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:
Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
7689db70