feat: the table map (platform-v2 step 6.8, D-31)

- floor_plans / floor_items (0035), tables' plan_id + width/height/rotation/shape;
  /api/floor-plans (set-up, catalog.tables.manage, floor_plans.changed) and
  /api/floor-plans/live (each table's state, guests, waiters, time; zone rule)
- @xenia/floorplan: the drawing (Floor, Item, TableShape, FloorView) and its geometry
  (grid snap in whole cells, outlines, chairs), tested
- manager: Management -> Tables -> Floor plans (editor: drag, grid, irregular floor,
  walls/bar/labels/areas, background picture), Tables page List / Map
- counter POS: Tables List / Map; waiter: Map mode, the list stays the default
- tests: test_floor_plans.py, floor + geometry unit tests, manager/waiter/terminal e2e

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 17:00:45 +02:00
co-authored by Claude Opus 5.5
parent fd3254aa31
commit f4aae6abbc
47 changed files with 2102 additions and 8 deletions
+7
View File
@@ -329,5 +329,12 @@
"pricing": {
"bad_limit": "Ένα όριο έκπτωσης πρέπει να είναι αριθμός 0 ή μεγαλύτερος, ή κενό για χωρίς όριο.",
"bad_condition": "Μια συνθήκη είναι ελλιπής: συμπληρώστε όλες τις τιμές της."
},
"floor_plan": {
"not_found": "Η κάτοψη δεν βρέθηκε.",
"bad_outline": "Το σχήμα του χώρου χρειάζεται 3 έως 100 γωνίες, όλες μέσα στην κάτοψη.",
"bad_zone": "Αυτή η ζώνη δεν υπάρχει πια.",
"bad_background": "Το φόντο πρέπει να είναι εικόνα από τη βιβλιοθήκη πολυμέσων.",
"bad_layout": "Η διάταξη έχει ένα τραπέζι δύο φορές ή μια θέση που δεν είναι αριθμός."
}
}