feat(terminal): signage menu boards that page by themselves, and the widgets (platform-v2 step 5.5b)
- Menu board: the board's own order, grouped with headings or one list, photos, descriptions, badges (translated), sold out crossed out with a label, prices in the venue's money format, dotted leaders, a page dot row. Pages: rows that fit from the frame's shape (portrait fits more), text size, photos / descriptions, the title and widget bars (`page_size` overrides); they go round every `page_seconds` while the slide lasts. - Widgets on text and menu slides: logo, name, date, clock, message of the day, QR code, weather (hidden without a forecast) in corners and bars, three sizes. - logic.js: menuPages, rowsPerColumn, frameHeightVmin, boardPages, menuMs, pageAt, weatherIcon (+4 tests). - e2e signage.mjs: a long board pages by itself, widgets in place, weather hidden with no place, the chosen product first with its badge, a price change and sold out show within seconds, a portrait TV needs fewer pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -482,6 +482,16 @@
|
||||
},
|
||||
"signage": {
|
||||
"nothing": "Καμία λίστα για αυτή την οθόνη (Προβολή στον διαχειριστή).",
|
||||
"starting": "Εκκίνηση…"
|
||||
"starting": "Εκκίνηση…",
|
||||
"soldOut": "Εξαντλήθηκε",
|
||||
"badges": {
|
||||
"new": "Νέο",
|
||||
"chef": "Πρόταση σεφ",
|
||||
"offer": "Προσφορά",
|
||||
"popular": "Δημοφιλές",
|
||||
"spicy": "Καυτερό",
|
||||
"vegetarian": "Χορτοφαγικό",
|
||||
"vegan": "Vegan"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -482,6 +482,16 @@
|
||||
},
|
||||
"signage": {
|
||||
"nothing": "No playlist for this screen (Signage in the manager).",
|
||||
"starting": "Starting…"
|
||||
"starting": "Starting…",
|
||||
"soldOut": "Sold out",
|
||||
"badges": {
|
||||
"new": "New",
|
||||
"chef": "Chef's pick",
|
||||
"offer": "Offer",
|
||||
"popular": "Popular",
|
||||
"spicy": "Spicy",
|
||||
"vegetarian": "Vegetarian",
|
||||
"vegan": "Vegan"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user