-
Notifications
You must be signed in to change notification settings - Fork 0
Reception
The reception module has two surfaces: a live status board at /reception for the front desk, and a roll-call view at /admin/roll-call for admin, director, and reception roles.
/reception shows every active user with a single status badge:
- In office: clocked in, not on a break.
- WFH: working from home today.
- On leave: approved leave overlaps today.
- Running late: pre-logged or detected late this morning, shown in amber.
- Clocked out: clocked in earlier today and has now clocked out.
- Not in: no record for today.
The page polls /api/reception/status every 30 seconds. Tabs at the top filter by status. Each row links to the user's profile.
/admin/roll-call is the head-count view for an evacuation or end-of-day sweep. It shows:
- The total number of people currently clocked in.
- The list of names with their last clock-in time.
- Active visitors currently on site, with host names.
Both the user list and the visitor list update by polling, so a reception attendant can leave the page open during the day.
A reception attendant can register a walk-in visitor from either page or from the public kiosk. The flow is the same as a pre-registered visitor with expected_at set to now() and checked_in_at set immediately.