feat(manager): the floor plan editor reworked; Management -> Tables on the page rule; area colours

- Floor editor: one toolbar over the map and the panels (grid on / off, grid resolution Ultra high
  ... Very low, edit the shape, Fit width / Whole plan, undo, save), panels top-aligned and sticky.
- The floor's shape: a '+' on the edge under the pointer, press to add a corner (and drag it);
  resting on a corner shows a bubble to remove it (never below 3).
- Areas: resize handles on the sides and corners, a colour (pastel, see-through; floor_items.color,
  migration 0041), the name repeated in the corner when tables cover it (live maps too).
- Labels can be clicked again after they're placed (transparent fill, not none).
- Management -> Tables: <Page> with the tabs above (?tab=), the list as a container, toolbar
  buttons one height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 15:17:45 +02:00
co-authored by Claude Opus 5.5
parent 476c55abc0
commit 244e93f827
17 changed files with 389 additions and 111 deletions
+18 -4
View File
@@ -2585,15 +2585,15 @@
"tableCount_one": "{{count}} table",
"tableCount_other": "{{count}} tables",
"grid": "Grid",
"gridSize": "Grid size",
"gridSize": "Grid resolution",
"gridCell": "Cells of {{size}}",
"editShape": "Edit the floor's shape",
"shapeHint": "Drag the corners to give the floor its real shape (an L, a terrace…). Pick a corner to add one after it or remove it.",
"shapeHint": "Drag a corner to move it. On an edge a + shows: press there to add a corner (and drag it). Rest on a corner to remove it.",
"shapeTitle": "The floor's shape",
"cornerCount_one": "{{count}} corner",
"cornerCount_other": "{{count}} corners",
"addCorner": "Add a corner after it",
"removeCorner": "Remove the corner",
"removeCorner": "Remove this corner",
"rectangle": "Back to a rectangle",
"canvas": "The floor plan: drag the tables and things; arrow keys move the selected one",
"keysHint": "Arrow keys move what's selected (one grid cell, or 5; with Shift 1), Delete takes it off, Escape lets go.",
@@ -2632,7 +2632,21 @@
"rotateLeft": "Turn left 15°",
"rotateRight": "Turn right 15°",
"takeOff": "Take it off the plan",
"removeThing": "Remove"
"removeThing": "Remove",
"gridLevels": {
"ultraHigh": "Ultra high",
"high": "High",
"normal": "Normal",
"low": "Low",
"veryLow": "Very low"
},
"fit": "Fit",
"fitWidth": "Fit width",
"fitAll": "Whole plan",
"shapeHowTo": "A floor has at least 3 corners.",
"colour": "Colour",
"noColour": "None",
"areaResizeHint": "Drag the handles on its sides and corners to resize it."
},
"orders": {
"back": "Back",