kitchen/frontend/src
jtricerolph fe095d0891 Fix session-expiry redirect breaking standalone PWA out of its shell
AuthGate unconditionally hard-navigated window.top to the central
/login on session expiry, even when not embedded in the portal
iframe — dropping an installed/directly-opened kitchen session into
the portal's framed browser view instead of staying in its own
window.

Now only bounces to central login when actually embedded (passing
?from= so it returns here 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). The legacy
token/restrictedPages/login/logout compat shim is unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 17:07:10 +00:00
..
components Fix session-expiry redirect breaking standalone PWA out of its shell 2026-07-24 17:07:10 +00:00
pages Audit pass: cookie auth migration, route guards, GP% clamp, CSV export, OCR transaction safety, N+1 fix, and cleanup 2026-07-13 10:04:20 +00:00
utils Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
api.ts Migrate all kitchen frontend fetch calls to /kitchen/api/ prefix (B5b) 2026-07-12 12:56:11 +00:00
App.tsx Audit pass: cookie auth migration, route guards, GP% clamp, CSV export, OCR transaction safety, N+1 fix, and cleanup 2026-07-13 10:04:20 +00:00
index.css Remove responsive breakpoint — sidebar always visible (desktop-forced via CSS) 2026-07-21 08:54:51 +00:00
main.tsx Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
types.ts Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00