Discard items left in their pickup box past a 15-minute window

An item's pickup window starts when it goes into its box. Once it runs
out, the item is discarded without a refund and the box is freed; a box
that's open at that moment is left alone. With no scheduler yet, reads,
box actions and the kitchen simulation check for expired items first.

The order card shows a live countdown under "Ready for pickup" and a
"Not picked up in time" banner once discarded. Also bounces the lock
icon and animates the pickup button's label changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 23:26:37 +02:00
co-authored by Claude Opus 5.5
parent 440f9e5696
commit 6fc315a5f2
13 changed files with 1248 additions and 38 deletions
+1
View File
@@ -0,0 +1 @@
ALTER TABLE "order_items" ADD COLUMN "placed_in_box_at" timestamp;