feat(signage): menus play whole rounds, seconds fields with − / +, widget limit setting, widgets as big as their content (owner review 6)

- A menu board with pages plays whole rounds (menuMs rounds its seconds up); the editor says how
  long it really plays under "Seconds on screen", the card and the playlist total use it.
- Seconds on screen / per page: shared NumberInput (− / +, may be emptied: an error under the
  field and Save blocked until filled; 1 s at least, server ge=1).
- Performance (Signage -> Message & settings): widgets per slide (signage.max_widgets, 10
  recommended, up to 50), checked by the server (signage.too_many_widgets) and the editor.
- Text, clock, date, QR, weather, logo placed by hand: the box is exactly the content (its height
  x text size sets the size, the width follows; handles scale keeping the shape; text size grows
  the box); a slide's widget may run off the slide while 5 % stays on it.
- Slider: the value as close to the slider as the frame's padding; floor and table-colour sliders
  use the shared Slider. Timeline cards' ring no longer clipped; larger playlist buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 15:11:48 +02:00
co-authored by Claude Opus 5.5
parent aa3fe85053
commit aa8ba5d1d4
33 changed files with 436 additions and 75 deletions
+2 -1
View File
@@ -189,7 +189,8 @@
"weather_offline": "The weather service can't be reached: the venue's server needs internet for it.",
"schedule_unknown": "Schedule {{schedule_id}} not found.",
"scene_unknown": "That scene doesn't exist any more.",
"screen_unknown": "That screen doesn't exist any more."
"screen_unknown": "That screen doesn't exist any more.",
"too_many_widgets": "A slide holds at most {{max}} widgets (Signage → Message & settings → Performance)."
},
"menu_tablet": {
"no_table": "This tablet isn't at a table, so it can't call a waiter.",
+15 -3
View File
@@ -1557,7 +1557,9 @@
"textSize": "Text size",
"qrColour": "QR code colour",
"qrBackground": "QR code background",
"changeMessage": "Change the message"
"changeMessage": "Change the message",
"full_one": "This slide holds the most widgets allowed ({{count}}). Signage → Message & settings → Performance.",
"full_other": "This slide holds the most widgets allowed ({{count}}). Signage → Message & settings → Performance."
},
"tabs": {
"playlists": "Playlists",
@@ -1768,6 +1770,16 @@
"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)."
},
"secondsEmpty": "Fill in the seconds (1 or more) to save.",
"playNote": "Plays {{real}} s, not {{set}} s: a menu with pages plays whole rounds ({{rounds}} × {{pages}} pages of {{per}} s), so it never stops in the middle of one.",
"performance": {
"title": "Performance",
"hint": "How many widgets a slide may hold. We strongly recommend {{n}}: every widget is redrawn on the TV all the time, and small TV computers slow down with many.",
"maxWidgets": "Widgets per slide",
"empty": "Fill in a number (1 or more).",
"backTo": "Back to {{n}}",
"warning": "More than {{n}} widgets can make the TVs stutter (slides turning late, videos jerking). Check your screens after you add them."
}
},
"overview": {
@@ -2855,7 +2867,6 @@
"width": "Width",
"height": "Height",
"background": "Background picture",
"backgroundOpacity": "How strong: {{value}}%",
"table": "Table {{name}}",
"shape": "Shape",
"shapes": {
@@ -2896,7 +2907,8 @@
"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."
"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.",
"backgroundOpacityLabel": "How strong"
},
"orders": {
"back": "Back",