maintenance/frontend
jtricerolph 3740727950 Fix session-expiry redirect breaking standalone PWA out of its shell
Two compounding issues were kicking installed/standalone maintenance
PWA sessions out into the portal's framed browser view on re-login:

- manifest scope was the app's own base path instead of "/", so any
  same-origin navigation outside it (like the old redirect to
  /login) dropped the standalone window into a regular browser tab
- AuthGate unconditionally hard-navigated window.top to the central
  /login on session expiry, even when not embedded in the portal
  iframe, which is exactly the navigation the doc warns against

AuthGate now only bounces to central login when actually embedded
(and passes ?from= so it returns to this app afterwards); standalone
or directly-opened tabs get an in-app login form and never navigate
away. Also wired up the previously-dead inactivity auto-logout timer
(disabled for installed PWAs, configurable per device otherwise).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 17:06:55 +00:00
..
public/icons Replace letter icons with Lucide PWA icons 2026-07-11 20:30:09 +00:00
src Fix session-expiry redirect breaking standalone PWA out of its shell 2026-07-24 17:06:55 +00:00
Dockerfile Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
index.html Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
nginx.conf Fix maintenance /assets 403 and remove vite-plugin-pwa 2026-07-14 08:45:32 +00:00
package-lock.json Make maintenance installable as a PWA 2026-07-11 11:27:00 +00:00
package.json Add PWA manifest + update banner to maintenance app 2026-07-20 22:28:08 +00:00
tsconfig.json Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
vite.config.ts Fix session-expiry redirect breaking standalone PWA out of its shell 2026-07-24 17:06:55 +00:00