No description
Find a file
jtricerolph 5180adf8d2 Kiosk: live-force reset to welcome screen, configurable inactivity timeout
Kiosk's SSE connection now stays open for the whole session instead of
closing the moment a booking is pushed, so a staff-triggered Reset (from
the extension/Terminals popup or the Devices admin page) now actually
forces the tablet back to the welcome screen immediately, discarding
whatever was mid-entry — not just flipping its status in the DB with
nothing listening tablet-side. Removed the two now-redundant/harmful
pushIdle() calls in routes/checkin.js's own submit success/failure paths,
which would otherwise race the confirmation/error screen now that the
stream stays open. Added a confirm() prompt before Reset on both trigger
surfaces since it's now a real interruption, not just an unstick.

Also made the tablet's inactivity auto-cancel timeout configurable from
Settings (checkin_inactivity_timeout_minutes, default 5, same as the old
hardcoded value) instead of a fixed constant, read via the existing
token-gated GET /api/checkin/:token response.
2026-10-09 12:19:53 +00:00
backend Kiosk: live-force reset to welcome screen, configurable inactivity timeout 2026-10-09 12:19:53 +00:00
frontend Kiosk: live-force reset to welcome screen, configurable inactivity timeout 2026-10-09 12:19:53 +00:00
.gitignore Initial scaffold: tablet-checkin app 2026-09-01 17:35:39 +00:00
docker-compose.yml Initial scaffold: tablet-checkin app 2026-09-01 17:35:39 +00:00
seed-app.js Initial scaffold: tablet-checkin app 2026-09-01 17:35:39 +00:00