feat(signage): stacks, menu and text widgets, widget order (owner review 2)

- Stacks: horizontal / vertical, 2-6 parts with % shares; each part shows
  a widget, a stack one level deep, or a whole Slides-library slide
- Menu widget (a board's list in its box), text widget, weather for
  tomorrow / the day after and in picture / degrees / both styles
- Widgets' order (arrows, drag with a drop line), drawn in list order;
  arrow keys move the picked widget from its card too
- Server: extras by widget path (QR links, menus, embedded slides),
  POST /preview/slide, resolve(keep_hidden) so hidden products stay
  greyed in the editor's list; screens told when an embedded slide changes
- Editor rows tidied: framed sliders, colours as fields, text look on one
  row, Switch boxed toggles from its whole frame

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 09:44:23 +02:00
co-authored by Claude Opus 5.5
parent 83551714f7
commit 1b993e4573
23 changed files with 1231 additions and 377 deletions
+49 -11
View File
@@ -1366,13 +1366,13 @@
"muted": "Without sound",
"title": "Title",
"body": "Text",
"align": "Alignment",
"align": "Horizontal alignment",
"aligns": {
"left": "Left",
"center": "Centre",
"right": "Right"
},
"vertical": "Height",
"vertical": "Vertical alignment",
"verticals": {
"top": "Top",
"middle": "Middle",
@@ -1406,8 +1406,7 @@
"categoriesHint": "Products added to a chosen category later appear by themselves. A category includes its sub-categories.",
"products": "Single products (from any category)",
"searchProduct": "Search a product to add…",
"hidden": "Hidden from this board",
"showAgain": "show again",
"showAgain": "Show on this board again",
"hide": "Hide from this board",
"onTheBoard_one": "On the board: {{count}} product",
"onTheBoard_other": "On the board: {{count}} products",
@@ -1436,7 +1435,10 @@
"layout": "Layout",
"width": "Width of the list",
"place": "Where the list sits",
"placeHint": "At the full width the list fills the screen: make it narrower to place it."
"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.",
"perPageWidgetHint": "Empty: 8. More than that turns pages."
},
"badges": {
"new": "New",
@@ -1451,13 +1453,17 @@
"title": "Widgets",
"none": "No widgets: add the clock, your logo, the message of the day…",
"kinds": {
"logo": "Logo",
"logo": "Logo or image",
"name": "Venue name",
"date": "Date",
"clock": "Clock",
"message": "Message of the day",
"qr": "QR code",
"weather": "Weather"
"weather": "Weather",
"text": "Text",
"menu": "Menu",
"hstack": "Horizontal stack",
"vstack": "Vertical stack"
},
"position": "Where",
"size": "Size",
@@ -1482,15 +1488,47 @@
"dateShort": "17/11/2026",
"seconds": "With seconds",
"weatherDays": "Days",
"days_one": "Today",
"days_other": "Today and {{count}} days",
"weatherNeedsInternet": "The weather needs internet: without it (or without a town set) the widget is hidden.",
"dragHint": "Tip: pick a widget on the preview, drag it to move it and its handles to size it. Where and size then read \"Custom\".",
"dragHint": "Tip: pick a widget on the preview or here, then drag it (or use the arrow keys) to move it and its handles to size it; where and size then read \"Custom\". The order: a later widget is drawn over an earlier one.",
"custom": "Custom",
"align": "Alignment",
"alignAuto": "Auto",
"dateStyle": "Style",
"canvas": "The slide's widgets: drag one to move it, its handles to size it, arrow keys to nudge it"
"canvas": "The slide's widgets: drag one to move it, its handles to size it, arrow keys to nudge it",
"earlier": "Move up (drawn under the next ones)",
"later": "Move down (drawn over the earlier ones)",
"dragToOrder": "Drag to change the order",
"ownTextPlaceholder": "The message of the day",
"theText": "Text",
"clockShows": "Shows",
"weatherStyle": "Shows",
"weatherStyles": {
"both": "Picture and degrees",
"icon": "Only the picture",
"text": "Only the degrees"
},
"weatherChoices": {
"0-1": "Today",
"0-2": "Today and tomorrow",
"0-3": "Today and the next 2 days",
"1-1": "Tomorrow",
"2-1": "The day after tomorrow"
},
"menuEdit_one": "Products and look ({{count}} product)",
"menuEdit_other": "Products and look ({{count}} products)",
"stack": {
"direction": "Parts",
"row": "Side by side",
"column": "One over the other",
"parts": "How many",
"even": "Split evenly",
"part": "Part {{n}} (%)",
"shows": "Shows",
"nothing": "Nothing",
"aSlide": "A slide from Slides",
"slide": "Slide",
"noSlides": "No slides in Slides yet"
}
},
"tabs": {
"playlists": "Playlists",