Compare kitchen ticket times with a service goal and find the time slots with the longest waits.
Kitchen Wait Trends · 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.
snapshotTicketTimesSnapshot | null (optional)
Venue, period, goals in seconds and services with stable IDs and counted time slots. Pass null when unavailable. Omit for the built-in example.
indexnumber (optional)
Offsets the chart entrance when shown in a grid.
Data and integration
Preview
Three fictional services at Juniper Kitchen, including a dinner rush with three slots above its 12-minute goal and a missing interval.
Inputs
Pass a TicketTimesSnapshot with services in display order and optional venue, periodLabel, timeZone, and goalSeconds. Each service has a stable unique id, a label, slots, and an optional goalSeconds override. Each slot has inclusive startMinute and exclusive endMinute, averageSeconds from kitchen release to ticket clearance, and ticketCount, the number of completed tickets used in that average. All durations and goals are in seconds. Time bounds are non-negative whole minutes on the service date’s clock. For example, 1,440 is the following midnight. Use a consistent clock such as UTC for periods crossing an ambiguous daylight-saving boundary.
Source options
Map a kitchen display system or POS feed for one venue and reporting period. Group completed tickets by service and their kitchen release time, then summarize elapsed time to clearance. Refresh the snapshot as more tickets clear. The host resolves the reporting date and converts release times to its chosen clock before passing the slots in. Open tickets are excluded from completed-ticket averages.
Actions
Choose a service, then tap or drag the chart or use the arrow keys, Home and End to inspect time slots. Breakdown shows the slots over goal or all slots, with their duration and completed-ticket volume. Select a row to place the chart cursor on that slot. Press Escape on the chart or choose Service average in Breakdown to reset the selection.
Integration requirements
The service average is weighted by ticketCount and only uses slots with a finite non-negative averageSeconds and a positive whole ticketCount. Send ticketCount: 0 and averageSeconds: null for a confirmed empty slot, or null for an unknown count or duration. The chart shows gaps for slots without an average and for uncovered times. Slots are sorted by startMinute. The last slot with valid bounds at a duplicate start wins, and later overlapping slots are ignored. Goal comparisons round both the average and goal to whole seconds. The slowest slot uses the highest measured average with ties resolved by earliest start. Without a valid goal the widget still shows durations. Use an empty services array for a confirmed empty report or snapshot: null when the feed is unavailable.