Commit graph

2 commits

Author SHA1 Message Date
9b4e49b801 Fix kiosk 'Install' installing the main hvac app instead
The whole hvac SPA shares one index.html/<link rel=manifest>, so 'Install'
from any route always used the main manifest (start_url '/hvac/', staff
AuthGate) -- hit 2026-08-26, installing from /hvac/kiosk opened the staff
login instead of the kiosk password prompt.

Fix: new static kiosk-manifest.webmanifest (start_url/scope '/hvac/kiosk',
name 'HVAC Kiosk'), swapped into the document's manifest link while the
Kiosk route is mounted (useKioskManifest hook), restored on unmount. Reuses
the existing hvac icon set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-27 09:34:35 +00:00
7f5891d029 Add PWA manifest support and icons
App had no manifest, no service worker, and no icons — not
installable as a PWA at all despite having PWA meta tags in index.html.
2026-07-29 17:28:39 +00:00