Back to Project
Floor Plan & Bookings
Konva Editor · Realtime Sync · State Machine
Floor Plan & Bookings
Konva Editor → Canonical Layout → Realtime Sync → Booking State Machine
1 · KONVA FLOOR-PLAN EDITOR (iPAD)
Canvas primitives
Tables · seats · zones
Shapes · walls · DJ booth
Drag · resize · rotate
Snap-to-grid
Touch + Apple Pencil
Auto-layout templates
Bottle service standard
Lounge · Stage front
VIP rooms
Generate from capacity
Operator picks · adjusts
Table metadata
Min spend · party cap
Tier · zone · shareable
Photo · description
Server assignment
Drives booking surface
2 · CANONICAL POSTGRES LAYOUT
tables · floor_plans · zones · server_assignments
One source of truth · referenced by every downstream surface
RLS: operators write · clients read (active) · servers read (assigned)
3 · CONSUMING SURFACES · REALTIME
Tonight cockpit
Operator iPad
Occupancy heatmap
Arrivals · pending
Server map
Guest booking
Mobile (Expo)
Live availability
Table preview
Min spend rules
Bottle server view
Tablet
Only assigned tables
Open tab · settle
Tip splits
Door / Host
Web or tablet
Guest check-in
Walk-up seating
ID verify
4 · BOOKING STATE MACHINE
pending
confirmed
active
completed
cancelled
no_show
Transitions driven by deposit-split · guest-checkin-confirm · settle-booking · admin override
Konva canvas · canonical Postgres · Supabase Realtime · per-role RLS