feat(manager): the menu board editor and widgets (platform-v2 step 5.6b)

- Menu board: everything or chosen whole categories (sub-categories
  included, new products join) plus single products found by search; hide a
  product from the board (and show it again); the board's own order with
  arrows on what the server resolved (categories and products; boardOrder
  writes it); a badge per product; grouping, headings, photos, descriptions,
  whose prices (a sales point or none), sold out crossed out or hidden,
  columns, products per page (or as many as fit), seconds per page; colours,
  font, size, background.
- Widgets (text and menu slides): logo, venue name, date (long / short),
  clock (seconds), message of the day (or its own text), QR code (ordering /
  QR menu / a link + caption), weather (1-3 days, says it needs internet);
  where (corners, bars) and size.
- The preview stays in view while the settings scroll.
- @xenia/signage: the venue clock's Intl call names its time zone where the
  i18n guard reads it.
- tests: manager signage.test.mjs +1; e2e signage.mjs builds a menu board in
  the editor (categories, a single product, the order, a badge, hiding, a
  clock) and checks what was saved and resolved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 22:16:49 +02:00
co-authored by Claude Opus 5.5
parent 152388321e
commit 5f6b51fb8b
11 changed files with 509 additions and 20 deletions
+81 -1
View File
@@ -964,6 +964,86 @@
"colour": "Χρώμα",
"dim": "Σκούρεμα φωτογραφίας: {{value}}%",
"columns": "Στήλες",
"accent": "Χρώμα τιμών και επικεφαλίδων"
"accent": "Χρώμα τιμών και επικεφαλίδων",
"menu": {
"what": "Τι δείχνει",
"all": "Όλα τα προϊόντα (και τα νέα)",
"custom": "Επιλεγμένες κατηγορίες και προϊόντα",
"categories": "Ολόκληρες κατηγορίες",
"categoriesHint": "Προϊόντα που προστίθενται αργότερα σε μια επιλεγμένη κατηγορία εμφανίζονται μόνα τους. Μια κατηγορία περιλαμβάνει τις υποκατηγορίες της.",
"products": "Μεμονωμένα προϊόντα (από οποιαδήποτε κατηγορία)",
"searchProduct": "Αναζήτηση προϊόντος για προσθήκη…",
"hidden": "Κρυμμένα από αυτό το μενού",
"showAgain": "εμφάνιση ξανά",
"hide": "Απόκρυψη από αυτό το μενού",
"onTheBoard_one": "Στο μενού: {{count}} προϊόν",
"onTheBoard_other": "Στο μενού: {{count}} προϊόντα",
"orderHint": "Η δική του σειρά: μετακινήστε κατηγορίες και προϊόντα με τα βέλη. Η σειρά των σερβιτόρων και του ταμείου δεν αλλάζει.",
"badge": "Σήμα",
"noBadge": "Χωρίς σήμα",
"empty": "Τίποτα ακόμα: διαλέξτε κατηγορίες ή προϊόντα παραπάνω.",
"options": "Τι δείχνει κάθε γραμμή",
"group": "Ομαδοποίηση ανά κατηγορία",
"headings": "Επικεφαλίδες κατηγοριών",
"photos": "Φωτογραφίες",
"descriptions": "Περιγραφές",
"prices": "Τιμές",
"noPrices": "Χωρίς τιμές",
"soldOut": "Εξαντλημένα",
"strike": "Διαγραμμένα",
"hideSoldOut": "Κρυμμένα",
"perPage": "Προϊόντα ανά σελίδα",
"perPageHint": "Κενό: όσα χωράνε στην τηλεόραση. Ένα μεγάλο μενού γυρίζει σελίδες.",
"auto": "Όσα χωράνε",
"pageSeconds": "Δευτερόλεπτα ανά σελίδα"
},
"badges": {
"new": "Νέο",
"chef": "Πρόταση σεφ",
"offer": "Προσφορά",
"popular": "Δημοφιλές",
"spicy": "Καυτερό",
"vegetarian": "Χορτοφαγικό",
"vegan": "Vegan"
},
"widgets": {
"title": "Στοιχεία",
"none": "Κανένα στοιχείο: προσθέστε ρολόι, λογότυπο, μήνυμα ημέρας…",
"kinds": {
"logo": "Λογότυπο",
"name": "Όνομα καταστήματος",
"date": "Ημερομηνία",
"clock": "Ρολόι",
"message": "Μήνυμα ημέρας",
"qr": "Κωδικός QR",
"weather": "Καιρός"
},
"position": "Πού",
"size": "Μέγεθος",
"sizes": {
"small": "Μικρό",
"medium": "Μεσαίο",
"large": "Μεγάλο"
},
"positions": {
"top-left": "Πάνω αριστερά",
"top-center": "Πάνω κέντρο",
"top-right": "Πάνω δεξιά",
"bottom-left": "Κάτω αριστερά",
"bottom-center": "Κάτω κέντρο",
"bottom-right": "Κάτω δεξιά",
"top-bar": "Μπάρα πάνω",
"bottom-bar": "Μπάρα κάτω"
},
"ownText": "Δικό του κείμενο (προαιρετικό)",
"ownTextHint": "Κενό: το μήνυμα ημέρας του καταστήματος (Προβολή → Οθόνες).",
"dateLong": "Τρίτη, 17 Νοεμβρίου 2026",
"dateShort": "17/11/2026",
"seconds": "Με δευτερόλεπτα",
"weatherDays": "Μέρες",
"days_one": "Σήμερα",
"days_other": "Σήμερα και {{count}} μέρες",
"weatherNeedsInternet": "Ο καιρός χρειάζεται internet: χωρίς αυτό (ή χωρίς πόλη) το στοιχείο κρύβεται."
}
}
}