maintenance/frontend
jtricerolph 8ddb99d2d7 Add a Departing state to the Rooms Accessible View
A guest checking out today but not yet gone was previously lumped in
with ordinary stayovers — fully greyed out, no way to tell "the guest is
gone in 20 minutes" apart from "the guest isn't leaving at all". Split
that out into its own bucket:

Backend: classifyBookingStatus() now also recognises 'depart'/'checkedout'
statuses (already checked out — room's free regardless of the date
window). fetchRoomOccupancy() returns occupied/departing/arriving; an
in-house booking whose departure date is today lands in 'departing'
instead of 'occupied'. The ?unoccupied=true task filter and /api/occupancy
both updated for the new three-way split.

Frontend: departing rooms get a light dim (opacity only, no greyscale)
instead of the hard grey-out, plus a purple 'Departing' badge — matching
the booked=green/occupied=blue/departing=purple colour language hvac
already uses for NewBook room states. Chip label breakdown now reads
"X free • Y arriving • Z departing • W occupied".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-03 09:33:57 +00:00
..
public/icons Replace letter icons with Lucide PWA icons 2026-07-11 20:30:09 +00:00
src Add a Departing state to the Rooms Accessible View 2026-09-03 09:33:57 +00:00
Dockerfile Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
index.html Add iOS install hint + Apple PWA meta tags 2026-08-06 14:12:12 +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 Use full "Maintenance" as PWA short_name instead of "Maint." 2026-07-29 17:23:19 +00:00