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:
@@ -98,5 +98,24 @@
|
||||
"sulphites": "Sulphites",
|
||||
"lupin": "Lupin",
|
||||
"molluscs": "Molluscs"
|
||||
},
|
||||
"floorMap": {
|
||||
"none": "No floor plan yet",
|
||||
"noneHint": "A manager draws the floor plans in Management → Tables → Floor plans.",
|
||||
"zoomIn": "Zoom in",
|
||||
"zoomOut": "Zoom out",
|
||||
"fit": "Fit",
|
||||
"bar": "Bar",
|
||||
"notOnMap": "Not on the map:",
|
||||
"legendGuests": "👤 guests / seats",
|
||||
"map": "Map",
|
||||
"list": "List",
|
||||
"state": {
|
||||
"free": "Free",
|
||||
"mine": "Yours",
|
||||
"open": "Open",
|
||||
"paid": "Paid",
|
||||
"reserved": "Booked soon"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user