Fix kiosk inactivity timer for remote sessions; make Intakes table mobile-responsive

Remote sessions (customer's phone) no longer get the 45-second inactivity redirect
that requires a KioskDevice cookie — would have landed them on an error page.
Intakes staff table hides non-essential columns on small screens so the primary
customer/status/actions columns are visible without horizontal scrolling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 21:00:43 -04:00
parent 38748c2152
commit 75b0a8afe2
2 changed files with 26 additions and 17 deletions
@@ -916,8 +916,13 @@ public class KioskController : Controller
ViewBag.SessionToken = session.SessionToken;
ViewBag.SessionType = session.SessionType;
// Reset to Welcome screen after 45 s of inactivity on any intake step.
// The Welcome screen itself stays on indefinitely (no timeout override there).
ViewBag.InactivityTimeoutMs = 45_000;
// In-person kiosk: reset to Welcome screen after 45 s of inactivity so an
// abandoned tablet doesn't stay on a customer's half-filled form indefinitely.
// Remote sessions: customer is on their own phone — never redirect; they may
// take several minutes between steps and have no KioskDevice cookie anyway.
if (session.SessionType == KioskSessionType.InPerson)
ViewBag.InactivityTimeoutMs = 45_000;
else
ViewBag.ShowInactivityTimer = false;
}
}