See the longest wait, compare queues with the target and request opening a staffed till.
Checkout Queue Monitor · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
lanesreadonly CheckoutLane[] | null
Till records with confirmed open state and waiting count. Supports optional estimatedWaitSeconds, cashier, canOpen and opening. Pass [] for no tills or null when unavailable.
site / targetSecondsstring / number
Store label and wait target in seconds.
onOpenLane(id: string) => void | Promise<void>
Requests opening an eligible closed till. Reject on failure. Publish opening while queued and open after confirmation.
Data and integration
Preview
Fictional checkout lanes with an above-target wait, a missing estimate and an express till available to open.
Inputs
Each till has a stable id, label, open flag and a whole nonnegative waiting count. estimatedWaitSeconds is optional and uses seconds. cashier is an optional display name. Set canOpen to false for an unavailable closed till and opening to true after its opening request is accepted.
Source options
Map live counts, estimates and staffing availability from the host. Supply estimates already calculated and normalized to seconds. Refresh the reported opening state promptly after handling a request.
Actions
Select a till to see its wait, target and cashier. Open till appears only when an opening callback is available and the till is closed, eligible and not already opening. A resolved callback reports submission. The open count follows the host’s confirmed data.
Integration requirements
Counts and longest wait use open tills only. Open tills with estimates rank from longest to shortest wait. Unknown estimates remain separate from zero. An estimate strictly greater than targetSeconds is over target. The default target is 300 seconds.