feat(signage): widget settings regrouped (main / Text and colours / More), alignment that lines up multi-line widgets, multi-line texts, gallery title, logos larger than the slide; calibration past the recognised resolution and shown the first time

Owner review 2026-11-23 of every widget:
- A widget card is its main settings (the row and what needs room under it: pictures, a gallery's
  pictures or folder, weather details and place, a countdown's start and end, reviews' stars and
  author, a scrolling text's speed, a shape's colours and border, QR caption), then "Text and
  colours" (new LookFields.jsx: text colour, plate, font, style, size, weight, highlight, shadow,
  QR colours; a logo's / gallery's border), then More settings (opacity, rotation, animation, fit,
  typing, blink, QR logo; shadow / border only where there is no Text and colours).
- Date format / separator and clock 12/24 / separator are main settings.
- Alignment only where it lines something up; the TV now aligns the lines of a text, the hours
  (centre: days and times meet in the middle), contact rows, Wi-Fi (code left / right / above),
  the weather's column / card / list / hourly, reviews (stars too), a countdown, a QR caption.
- Text and message: a 2-line textarea in its own row; Enter makes new lines (the TV sizes by the
  longest line and the number of lines).
- Gallery: a title above or below the pictures (title_position).
- A widget's box may reach 400 % of the slide (a logo zoomed in past the slide's edges saved again).
- "Auto" stays "Auto" in Greek; scrolling text Left / Right; reviews' stars choice no longer clipped;
  countdown "When it ends" hint as an info tip (fields level).

Calibration: an edge may go past the recognised window (down to -2000 px); the dialog's rows are
centred, "Each click moves" sits above its choice, the window size is labelled "Recognised
resolution" with what it means; the TV asks for its screen answer on every calibrate event and
while calibrating (the outline shows the first time), the dialog sends "on" again after 1.5 s.
NumberInput takes a leading minus when min < 0. E2E: waits for the Add-a-slide dialog to go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-23 05:40:04 +02:00
co-authored by Claude Opus 5.5
parent 1b111c0e27
commit cd8218689c
20 changed files with 431 additions and 257 deletions
+23 -12
View File
@@ -1594,8 +1594,7 @@
"backInPlace": "Back to aligned",
"vertical": "Vertical alignment",
"look": "Text and colours",
"plateOnly": "Background plate",
"colour": "Colour",
"colour": "Text colour",
"asSlide": "As the slide",
"plate": "Background plate",
"noPlate": "None",
@@ -1633,8 +1632,8 @@
"text": "The text",
"direction": "Moves",
"directions": {
"left": "To the left",
"right": "To the right"
"left": "Left",
"right": "Right"
},
"speed": "Speed"
},
@@ -1717,7 +1716,14 @@
"noFolders": "No media folders yet.",
"toMedia": "Make one on the Media page",
"add": "Add pictures or videos",
"empty": "Nothing in the gallery yet: it stays hidden."
"empty": "Nothing in the gallery yet: it stays hidden.",
"title": "Title",
"titlePlaceholder": "None",
"titleAt": "Title goes",
"titleAts": {
"above": "Above",
"below": "Below"
}
},
"weatherLayout": "Layout",
"weatherLayouts": {
@@ -1741,7 +1747,8 @@
"weatherHours": "Hours",
"weatherPlace": "The place",
"weatherPlaceLabel": "Show its name",
"logoFromIdentity": "No picture chosen: the venue's logo (Settings → Identity) shows."
"logoFromIdentity": "No picture chosen: the venue's logo (Settings → Identity) shows.",
"enterHint": "Enter starts a new line."
},
"tabs": {
"playlists": "Playlists",
@@ -1986,21 +1993,25 @@
"open": "Calibrate the picture",
"title": "Calibrate the picture: {{name}}",
"intro": "The TV now shows its picture's edges with four arrows pointing out. Move each edge until its arrow just touches the edge of the screen, or pick a shape. Changes show on the TV at once.",
"window": "The TV's window: {{w}} × {{h}} px ({{shape}}).",
"window": "{{w}} × {{h}} px ({{shape}})",
"waiting": "Waiting for the TV to tell its size… Is it on and showing signage?",
"presets": "Shapes",
"full": "Whole screen",
"step": "Each click moves",
"edges": {
"top": "Top edge in",
"right": "Right edge in",
"bottom": "Bottom edge in",
"left": "Left edge in"
"top": "Top edge",
"right": "Right edge",
"bottom": "Bottom edge",
"left": "Left edge"
},
"picture": "The picture: {{w}} × {{h}} px ({{shape}})",
"outside": "Outside the picture the TV stays black.",
"reset": "Whole screen again",
"done": "Done"
"done": "Done",
"recognised": "Recognised resolution",
"recognisedHint": "The size the TV reported for itself. If its real picture is larger or smaller, change it right here with the edges below.",
"edgesHint": "A positive number moves that edge in; a negative one pushes it out, past the recognised resolution.",
"past": "Part of the picture now reaches past the recognised resolution: if the TV really has no picture there, that part is cut off."
},
"reviews": {
"title": "Reviews",