feat(signage): venue badges, widgets' own look, widgets placed inside stacks, Save and leave, shared controls (owner review 5)

- Badges: the venue's list (setting signage.badges: names el/en, colours, an icon from a food and
  drink set) edited under Signage -> "Message & settings"; sent with the venue to screens and
  previews; several badges per product (MenuList.badges lists, a single one still read) in the
  shared multiple Dropdown; a board's badge colour / text colour override them (None = each own).
- Widgets: colour, background plate, font, bold / italic / underline, text size, QR colours;
  widgets in a stack's part get every setting, vertical alignment, and a custom box inside their
  place, picked (stack, then widget) and dragged on the preview (selection by path "2.1.0").
- Menu slides: vertical alignment of the list (board_valign); "Where the list sits" is now
  "Horizontal alignment".
- Message of the day: one component in the settings tab, on the Overview and from its widget.
- Leaving a slide with changes: "Save and leave" (ConfirmDialog altLabel).
- @xenia/ui: ColourField (with colour.js helpers), FieldRow (framed only while wrapped), Slider,
  IconPicker, Segmented multiple; native selects on the Overview and signage replaced by Dropdown,
  the device settings' colour input by ColourField.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 14:17:27 +02:00
co-authored by Claude Opus 5.5
parent aaa0914778
commit aa3fe85053
51 changed files with 1378 additions and 432 deletions
+49 -13
View File
@@ -1434,7 +1434,7 @@
"which": "Products",
"layout": "Layout",
"width": "Width of the list",
"place": "Where the list sits",
"place": "Horizontal alignment",
"placeHint": "At the full width the list fills the screen: make it narrower to place it.",
"hiddenTag": "hidden",
"pageSecondsHint": "When the list doesn't fit on the screen it is split into pages that take turns: each page stays this many seconds.",
@@ -1443,7 +1443,9 @@
"rename": "Name it differently on this board",
"renameBack": "Back to the catalogue's name",
"catalogueName": "The catalogue's name (the waiters see this one)",
"catalogueNameIs": "Catalogue: {{name}}"
"catalogueNameIs": "Catalogue: {{name}}",
"vplace": "Vertical alignment",
"vplaceHint": "Where a short list sits: at the top, in the middle or at the bottom."
},
"badges": {
"new": "New",
@@ -1488,7 +1490,7 @@
"bottom-bar": "Bar at the bottom"
},
"ownText": "Its own text (optional)",
"ownTextHint": "Empty: the venue's message of the day (Signage → Screens).",
"ownTextHint": "Empty: the venue's message of the day (the same on every screen).",
"dateLong": "Tuesday, 17 November 2026",
"dateShort": "17/11/2026",
"seconds": "With seconds",
@@ -1539,14 +1541,29 @@
"removeSlide": "Take the slide out of this part",
"removeWidget": "Remove this widget",
"before": "Move before",
"after": "Move after"
}
"after": "Move after",
"pickHint": "On the preview, pick the stack, then click a widget in it to move or size it inside its part."
},
"inPart": "In its place",
"fillsPlace": "Aligned in its place",
"backInPlace": "Back to aligned",
"vertical": "Vertical alignment",
"look": "Text and colours",
"plateOnly": "Background plate",
"colour": "Colour",
"asSlide": "As the slide",
"plate": "Background plate",
"noPlate": "None",
"textSize": "Text size",
"qrColour": "QR code colour",
"qrBackground": "QR code background",
"changeMessage": "Change the message"
},
"tabs": {
"playlists": "Playlists",
"screens": "Screens",
"schedules": "Schedules",
"settings": "Message and weather",
"settings": "Message & settings",
"slides": "Slides"
},
"screens": {
@@ -1638,7 +1655,8 @@
"noForecast": "No forecast: the server can't reach the weather service (no internet?). The widget is hidden meanwhile.",
"waiting": "No forecast yet.",
"refresh": "Fetch now",
"forget": "Remove the town"
"forget": "Remove the town",
"messagePlaceholder": "e.g. Today: fresh grilled octopus"
},
"discardTitle": "Unsaved changes",
"discardYes": "Leave without saving",
@@ -1696,7 +1714,7 @@
"rounded": "Rounded",
"round": "Round"
},
"hint": "Each field changes only itself. Headings and prices start in the names' size and font (\"As the names\"). The badges' colour also colours the page dots. Names aligned right all end at the same point, with equal dots before the prices.",
"hint": "Each field changes only itself. Headings and prices start in the names' size and font (\"As the names\"). Badges take their own colours (Signage → Message & settings) unless you pick colours here for all of them. Names aligned right all end at the same point, with equal dots before the prices.",
"f": {
"heading": {
"size": "Headings size",
@@ -1723,6 +1741,9 @@
"size": "Dots size",
"colour": "Dots colour",
"line": "Dots line"
},
"widget": {
"style": "Style"
}
},
"badgeColour": "Badges colour",
@@ -1730,12 +1751,23 @@
"badgeTextAuto": "Automatic",
"reset": "Reset the look",
"resetTitle": "Reset the look of this menu?",
"resetBody": "Every size, colour, font, style, alignment and spacing goes back to the start. The products, their order and names stay. \"Undo changes\" brings it back until you save."
"resetBody": "Every size, colour, font, style, alignment and spacing goes back to the start. The products, their order and names stay. \"Undo changes\" brings it back until you save.",
"pageDots": "Page dots colour",
"badgeOwn": "Each badge's own"
},
"colourPick": {
"custom": "Your own colour",
"code": "Colour code",
"opacity": "Opacity"
"saveAndLeave": "Save and leave",
"badgesSettings": {
"title": "Badges for menu boards",
"hint": "The badges you can put on products on menu boards and menu widgets: their names, colours and icons. Their colours are the defaults: a board can still give all its badges a colour of its own.",
"nameEl": "Name in Greek",
"nameEn": "Name in English",
"colour": "Background",
"text": "Text",
"icon": "Icon",
"add": "Add a badge",
"removeTitle": "Remove the badge \"{{name}}\"?",
"removeBody": "Boards that use it stop showing it. Nothing changes until you save.",
"needName": "Every badge needs a name (in Greek or in English)."
}
},
"overview": {
@@ -2104,6 +2136,10 @@
"putOnTab": "Put on tabs",
"tabOutsideShifts": "Paid on tabs to someone with no shift",
"tabOutsideShiftsTip": "Recorded as received by that person (e.g. the owner); it isn't in any shift's drawer, so it isn't in the drawer's expected amount."
},
"tvMessage": {
"title": "Message of the day",
"hint": "On every TV at once, on the widgets that show it."
}
},
"products": {