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
@@ -271,12 +271,12 @@ export function RuleCard({ colour, name, active, badges, summary, description, o
/** The tab's head: what it is, and its "New" button. */
export function TabHead({ title, intro, action }) {
return (
<header className="flex flex-wrap items-start justify-between gap-3">
<div className="grid gap-1 max-w-3xl">
<header className="flex flex-wrap items-start gap-3">
<div className="flex-1 min-w-64 grid gap-1">
<h2 className="text-body-lg font-semibold text-ink">{title}</h2>
<p className="text-label text-ink-2">{intro}</p>
<p className="text-label text-ink-2 max-w-3xl">{intro}</p>
</div>
{action}
{action && <div className="shrink-0 ml-auto">{action}</div>}
</header>
)
}