When visiting the schedule on a desktop browser, the "Add to home screen" banner is shown at the bottom fo the screen.
Clicking the "X" to dismiss removes it from view, but does not persist, so every time I reload the page, it reappears.
The desired behavior should be that if I dismiss it, then it stays dismissed.
This is likely accomplished with locaStorage or some other method.
More broadly, I expected to see a more standards-sligned approach for adding to home screen style - per the MDN PWA guide - leveraging a browser's behaviors and providing the user the experiences they are used to.
That might be a larger refactor, but there's also pre-built libraries that provide a lot of that machinery like https://vite-pwa-org.netlify.app/frameworks/astro (source code) that could feasibly replace the lower-level astrojs-service-worker.
When visiting the schedule on a desktop browser, the "Add to home screen" banner is shown at the bottom fo the screen.
Clicking the "X" to dismiss removes it from view, but does not persist, so every time I reload the page, it reappears.
The desired behavior should be that if I dismiss it, then it stays dismissed.
This is likely accomplished with locaStorage or some other method.
More broadly, I expected to see a more standards-sligned approach for adding to home screen style - per the MDN PWA guide - leveraging a browser's behaviors and providing the user the experiences they are used to.
That might be a larger refactor, but there's also pre-built libraries that provide a lot of that machinery like https://vite-pwa-org.netlify.app/frameworks/astro (source code) that could feasibly replace the lower-level
astrojs-service-worker.