Read-only: opened from disk, without the daemon running.

feature/kitchen-routing-v2

th_01234567 · b_00112233445566778899aabbccddeeff
submitted
#2 · ConfirmConsider making this button say 'Confirm order' for clarity.
Round 2 · Routing walkthrough · sent
Markdown

Order-routing redesign

The kitchen display one page back is the mockup. Three things change for the pass, and the routing rewrite underneath them is what this round is asking about:

  • Fewer manual status updates per ticket
  • A single "Ready for pickup" state visible to front-of-house
  • Rush tickets float to the top automatically

The payload each station receives on a status transition:

{
  "ticketId": 482,
  "status": "ready_for_pickup",
  "notifiedStations": ["grill", "expo"]
}
StationAvg. ticket time (today)Avg. ticket time (proposed)
Grill46s33s
Salad28s24s
Expo19s15s
Mermaid
flowchart LR
  Placed[Order placed] --> Prepping[In prep] --> Ready[Ready for pickup] --> Served[Served]
commenting on: whole block
#1 · blockThis matches the walkthrough from Tuesday's stand-up. Nice work.
#3 · ReadyShould Ready also branch to a Recall state if an item comes back?
Code · javascript
function priorityScore(ticket) {
  const waitMs = Date.now() - ticket.placedAt;
  const rushBonus = ticket.rush ? 500 : 0;
  return waitMs + rushBonus;
}
Code · diff
--- a/routing.js
+++ b/routing.js
@@ -1,5 +1,7 @@
 function priorityScore(ticket) {
   const waitMs = Date.now() - ticket.placedAt;
   const rushBonus = ticket.rush ? 500 : 0;
-  return waitMs + rushBonus;
+  const recallBonus = ticket.recalled ? 1500 : 0;
+  return waitMs + rushBonus + recallBonus;
 }
Compare
Before
HTML stage
commenting on: whole block
After
HTML stage
commenting on: whole block
Question · single

Does the kitchen display in round 1 match the routing flow (Placed -> In prep -> Ready -> Served) we discussed?

Markdown

Background: average ticket time today is 31 seconds across the three prep stations (grill, salad, expo).

Question · multi

Which stations need their ticket displays updated to match the round 1 mockup?

Question · text

Anything else the kitchen team should flag before we ship?

Question · rank

Rank these three palettes for the status chips (In prep / Rush / Ready for pickup) by legibility under kitchen pass lighting, most legible first. The display one page back uses the first of them.

  • 1 High-contrast
  • 2 Monochrome
  • 3 Pastel
Question · choose-between-rendered-variants

Which ticket-card layout reads faster at a glance?

Layout A Compact, single line
HTML stage
commenting on: whole block
Layout B Spacious, three lines
HTML stage
commenting on: whole block
Round 2 · Routing walkthrough
This round has been sent. Waiting for the next one.