feat(signage): new widgets (shape, scrolling text, countdown, opening hours, Wi-Fi, contact details); the venue's opening hours on the server, edited on the Schedule page

Shapes: rectangle, circle, triangle, polygon, star or own corners, fill or gradient,
border. Countdown: to a time every day or a date, from now / a span before / a set
time, in venue time (the slide shows what is left right now). Opening hours, Wi-Fi
(with a join-the-network code) and contact details read the venue's identity and
opening hours (GET/PUT /api/identity/hours; Schedule -> Opening hours, shaded on its
timeline); the editor warns with a link when they're missing. Plan 6R.15, F-112.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 13:24:54 +02:00
co-authored by Claude Opus 5.5
parent 2a38602d45
commit f26e51273c
22 changed files with 1002 additions and 46 deletions
+108 -3
View File
@@ -1480,7 +1480,13 @@
"text": "Text",
"menu": "Menu",
"hstack": "Horizontal stack",
"vstack": "Vertical stack"
"vstack": "Vertical stack",
"shape": "Shape",
"ticker": "Scrolling text",
"countdown": "Countdown",
"hours": "Opening hours",
"wifi": "Wi-Fi",
"contact": "Contact details"
},
"position": "Where",
"size": "Size",
@@ -1569,7 +1575,94 @@
"qrBackground": "QR code background",
"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."
"full_other": "This slide holds the most widgets allowed ({{count}}). Signage → Message & settings → Performance.",
"shape": {
"kind": "Shape",
"kinds": {
"rectangle": "Rectangle",
"circle": "Circle / ellipse",
"triangle": "Triangle",
"polygon": "Polygon",
"star": "Star",
"custom": "Your own corners"
},
"sides": "Sides",
"points": "Points",
"custom": "Corners",
"customHint": "Each corner as x,y in % of the shape's box, separated by spaces.",
"fill": "Fill",
"fillTo": "Gradient to",
"oneColour": "One colour",
"angle": "Gradient direction",
"stroke": "Border",
"noStroke": "No border",
"strokeWidth": "Border width",
"inner": "Star depth",
"radius": "Rounded corners"
},
"ticker": {
"text": "The text",
"direction": "Moves",
"directions": {
"left": "To the left",
"right": "To the right"
},
"speed": "Speed"
},
"countdown": {
"title": "Title",
"titlePlaceholder": "e.g. Happy hour ends in",
"ends": "Ends",
"modes": {
"daily": "Every day",
"date": "On a date"
},
"everyDayAt": "Every day at",
"at": "At",
"starts": "Starts counting",
"startModes": {
"now": "Always (from any time)",
"before": "A time before the end",
"at": "At a set time"
},
"minutesBefore": "Minutes before the end",
"min": "min",
"startsAt": "Starts at",
"waiting": "Before it starts",
"waitingModes": {
"full": "Show the whole time, standing",
"hide": "Hide it"
},
"done": "When it ends, show",
"doneHint": "Empty: the countdown hides.",
"donePlaceholder": "e.g. It's happy hour!"
},
"hours": {
"style": "Shows",
"styles": {
"week": "The week",
"today": "Today"
},
"titlePlaceholder": "e.g. Opening hours",
"group": "Days with the same hours on one line",
"groupHint": "E.g. Mon–Fri 12:00–23:00.",
"missing": "The venue's opening hours aren't set yet: the widget stays hidden.",
"setThem": "Set them on the Schedule page"
},
"wifi": {
"shows": "Shows",
"qr": "A code to join",
"password": "The password",
"missing": "The guests' Wi-Fi isn't set yet: the widget stays hidden.",
"hint": "The network and password come from the venue's identity."
},
"contact": {
"shows": "Shows",
"none": "Nothing chosen",
"missing": "None of these contact details is set yet: the widget stays hidden.",
"hint": "The details come from the venue's identity; empty ones don't show."
},
"fromIdentity": "Settings → Identity"
},
"tabs": {
"playlists": "Playlists",
@@ -3507,7 +3600,19 @@
"firstHourHint": "For the \"By hour\" view.",
"opens": "Opens",
"closes": "Closes",
"openingHint": "Shaded on the timeline."
"openingHint": "Shaded on the timeline.",
"openingButton": "Opening hours",
"openingTitle": "Opening hours",
"openingIntro": "When the venue is open, day by day (up to three spans a day; a span may pass midnight). Shaded on the timeline and shown by signage's opening hours widget.",
"openingSaved": "Opening hours saved",
"closedDay": "Closed",
"removeSpan": "Remove these hours",
"addSpan": "Add hours",
"openThisDay": "Open this day",
"copyToAll": "Same for every day",
"openingNote": "A note",
"openingNoteHint": "E.g. \"Closed on holidays\" (optional).",
"openingInvalid": "Each span needs two different times."
},
"reports": {
"failed": "This report couldn't be loaded.",
+2 -1
View File
@@ -491,7 +491,8 @@
"calibrate": {
"title": "Calibrating the picture of {{name}}",
"hint": "In the manager (Signage → Screens), move each edge until the arrows touch the edges of the screen."
}
},
"closed": "Closed"
},
"menuTablet": {
"title": "Menu",