feat(manager): UI review pass 3 (fees tabs, products panes, floor editor, permissions search, pricing heads)

- Online orders → Settings: the fee tabs breathe (inset strip); a rule's buttons
  and switch centred together.
- Products: categories and list as panes that scroll on their own, headers and
  footers stay; the list sunken with white rows; the category search is the
  shared SearchInput. Product editor: "Make main" text instead of a star, the
  left tabs share the width.
- Floor editor: no "+" next to a corner; − / fit width / whole plan / +;
  "Edit the floor's shape" → "Save shape" (saves the shape and size at once);
  sizes in grid cells by half cells (steppers; typing snapped every keystroke
  before), resize handles on every unrotated table and thing, half-cell snapping.
- MediaField: the picture's name under the buttons, Remove red on hover.
- Staff permissions: a search box at the top.
- Prep zone name hint fixed. Offers & pricing: title first, then tabs; every tab
  has its head with the New button at the top right.
- Tests: floor cells, e2e (cell steppers, no + near a corner, Save shape,
  permission search, products panes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 17:51:17 +02:00
co-authored by Claude Opus 5.5
parent 181b2f16b0
commit 301502965c
20 changed files with 257 additions and 97 deletions
+15 -2
View File
@@ -249,6 +249,8 @@
"custom": "Custom"
},
"permissions": {
"search": "Search permissions",
"noMatch": "No permission matches this search.",
"column": "Permissions",
"open": "Permissions",
"count_one": "{{count}} permission",
@@ -2078,6 +2080,7 @@
"noCategory": "Not in any category yet.",
"main": "Main",
"makeMain": "Make it the main category",
"setMain": "Make main",
"removeCategory": "Remove from this category",
"addCategory": "Add a category…",
"prepZones": "Prep zones",
@@ -2646,7 +2649,17 @@
"shapeHowTo": "A floor has at least 3 corners.",
"colour": "Colour",
"noColour": "None",
"areaResizeHint": "Drag the handles on its sides and corners to resize it."
"areaResizeHint": "Drag the handles on its sides and corners to resize it.",
"saveShape": "Save shape",
"shapeSaved": "The floor's shape is saved.",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out",
"cells_one": "{{value}} cell",
"cells_other": "{{value}} cells",
"decimal": ".",
"length": "Length",
"thickness": "Thickness",
"cellsHint": "In grid cells (by half cells): a cell is the grid's size, so sizes follow the grid resolution. Or drag the handles on its sides and corners."
},
"orders": {
"back": "Back",
@@ -2851,7 +2864,7 @@
"saved": "Zone saved",
"about": "The zone",
"name": "Name",
"nameHint": "The zone's own name, used inside the system (lists, reports, settings). Staff see the name below.",
"nameHint": "The zone's own name, used inside the system (lists, reports, settings). Staff see its \"Name in messages\" instead.",
"namePh": "e.g. Kitchen, Grill, Bar",
"nameNeeded": "Give the zone a name.",
"shown": "Name in messages",