feat(manager): the signage editor: playlists, the timeline, slides with a live preview, templates (platform-v2 step 5.6a)
Management → Signage: playlists (name, landscape / portrait, default transition, duplicate, delete with the screens it plays on); the timeline (drag or arrows to reorder, duplicate, remove, on / off, time and when it shows at a glance, a round's total time); a slide's settings (name, seconds or a video to its end, transition, days / hours / dates, the picture or video, fit, text, alignment, font, colour, size, background colour or photo with darkening; a menu board's title, columns and colours) with a live preview drawn by @xenia/signage at 1920 × 1080 and scaled down; new slides empty or from templates (promotion, announcement, happy hour 17-19, welcome, menu board, video); a warning on the slide and its card when a picture or video doesn't fit the playlist's shape. Unit tests (4), e2e signage.mjs builds a playlist in the manager and the TV plays it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
"approvals": "Εγκρίσεις υπευθύνου",
|
||||
"deliveryFees": "Online παραγγελίες (ρύθμιση)",
|
||||
"qrCodes": "QR τραπεζιών",
|
||||
"media": "Πολυμέσα"
|
||||
"media": "Πολυμέσα",
|
||||
"signage": "Προβολή"
|
||||
},
|
||||
"profile": {
|
||||
"edit": "Επεξεργασία προφίλ",
|
||||
@@ -805,5 +806,164 @@
|
||||
},
|
||||
"builtin": "Ενσωματωμένο",
|
||||
"builtinHint": "Οι ενσωματωμένες εικόνες έρχονται με το Xenia: χρησιμοποιούνται παντού, αλλά δεν μετονομάζονται ούτε διαγράφονται."
|
||||
},
|
||||
"signage": {
|
||||
"pageTitle": "Προβολή",
|
||||
"intro": "Τι δείχνουν οι τηλεοράσεις σας: λίστες με μενού, εικόνες, βίντεο και κείμενα. Φτιάξτε κάθε λίστα για το σχήμα της τηλεόρασής της (οριζόντια ή κάθετη)· η προεπισκόπηση δείχνει τη διαφάνεια ακριβώς όπως η τηλεόραση.",
|
||||
"playlists": "Λίστες",
|
||||
"newPlaylist": "Νέα λίστα",
|
||||
"noPlaylists": "Δεν υπάρχουν λίστες ακόμα.",
|
||||
"noPlaylistsHint": "Φτιάξτε μία για οριζόντια ή κάθετη τηλεόραση και προσθέστε διαφάνειες.",
|
||||
"playlistName": "Όνομα",
|
||||
"playlistPlaceholder": "π.χ. Τηλεόραση βιτρίνας",
|
||||
"orientation": "Σχήμα τηλεόρασης",
|
||||
"orientationHint": "Φαρδιά (οριζόντια) ή ψηλή (κάθετη): διαλέξτε εικόνες και βίντεο για αυτό το σχήμα.",
|
||||
"orientations": {
|
||||
"landscape": "Οριζόντια (φαρδιά)",
|
||||
"portrait": "Κάθετη (ψηλή)"
|
||||
},
|
||||
"defaultTransition": "Μετάβαση",
|
||||
"transitions": {
|
||||
"fade": "Σβήσιμο",
|
||||
"slide": "Ολίσθηση",
|
||||
"zoom": "Ζουμ",
|
||||
"none": "Καμία"
|
||||
},
|
||||
"duplicatePlaylist": "Αντίγραφο της λίστας",
|
||||
"duplicated": "Αντιγράφηκε.",
|
||||
"summary_one": "{{count}} διαφάνεια · {{minutes}}:{{seconds}} ο γύρος",
|
||||
"summary_other": "{{count}} διαφάνειες · {{minutes}}:{{seconds}} ο γύρος",
|
||||
"playingOn": "παίζει σε: {{names}}",
|
||||
"timeline": "Χρονολόγιο",
|
||||
"kinds": {
|
||||
"image": "Εικόνα",
|
||||
"video": "Βίντεο",
|
||||
"text": "Κείμενο",
|
||||
"menu": "Μενού"
|
||||
},
|
||||
"misfit": "Αυτή η εικόνα ή το βίντεο δεν ταιριάζει στο σχήμα της λίστας: θα κοπεί ή θα έχει μπάρες.",
|
||||
"toTheEnd": "ως το τέλος",
|
||||
"seconds_one": "{{count}} δευτερόλεπτο",
|
||||
"seconds_other": "{{count}} δευτερόλεπτα",
|
||||
"off": "κλειστή",
|
||||
"window": {
|
||||
"hours": "{{from}}–{{to}}",
|
||||
"dates": "{{from}} → {{to}}"
|
||||
},
|
||||
"weekdays": {
|
||||
"0": "Δευ",
|
||||
"1": "Τρι",
|
||||
"2": "Τετ",
|
||||
"3": "Πεμ",
|
||||
"4": "Παρ",
|
||||
"5": "Σαβ",
|
||||
"6": "Κυρ"
|
||||
},
|
||||
"duplicateSlide": "Αντίγραφο της διαφάνειας",
|
||||
"deleteSlide": "Αφαίρεση αυτής της διαφάνειας;",
|
||||
"removed": "Η διαφάνεια αφαιρέθηκε.",
|
||||
"addSlide": "Προσθήκη διαφάνειας",
|
||||
"added": "Η διαφάνεια προστέθηκε.",
|
||||
"undo": "Αναίρεση αλλαγών",
|
||||
"pickSlide": "Διαλέξτε μια διαφάνεια στο χρονολόγιο για να την αλλάξετε.",
|
||||
"noSlides": "Δεν υπάρχουν διαφάνειες: προσθέστε την πρώτη.",
|
||||
"blank": "Κενή",
|
||||
"templatesTitle": "Ή ξεκινήστε από έτοιμη διαφάνεια",
|
||||
"templates": {
|
||||
"promo": {
|
||||
"name": "Εικόνα προσφοράς"
|
||||
},
|
||||
"announcement": {
|
||||
"name": "Ανακοίνωση"
|
||||
},
|
||||
"happyHour": {
|
||||
"name": "Happy hour (μόνο 17:00–19:00)",
|
||||
"title": "Happy hour",
|
||||
"body": "17:00 – 19:00"
|
||||
},
|
||||
"welcome": {
|
||||
"name": "Καλώς ήρθατε",
|
||||
"title": "Καλώς ήρθατε"
|
||||
},
|
||||
"menuBoard": {
|
||||
"name": "Μενού",
|
||||
"title": "Μενού"
|
||||
},
|
||||
"video": {
|
||||
"name": "Βίντεο ως το τέλος"
|
||||
},
|
||||
"image": {
|
||||
"name": "Εικόνα"
|
||||
},
|
||||
"text": {
|
||||
"name": "Κείμενο"
|
||||
},
|
||||
"menu": {
|
||||
"name": "Μενού"
|
||||
}
|
||||
},
|
||||
"deletePlaylistTitle": "Διαγραφή «{{name}}»;",
|
||||
"deletePlaylistBody": "Οι διαφάνειές της φεύγουν μαζί της. Οι εικόνες και τα βίντεο μένουν στη βιβλιοθήκη.",
|
||||
"deletePlaylistUsed": "Παίζει σε: {{names}}. Αυτές οι οθόνες δεν θα δείχνουν τίποτα μέχρι να τους δώσετε άλλη λίστα. Οι διαφάνειές της φεύγουν· οι εικόνες και τα βίντεο μένουν στη βιβλιοθήκη.",
|
||||
"discard": "Η διαφάνεια έχει αλλαγές που δεν αποθηκεύτηκαν. Να φύγετε;",
|
||||
"slideName": "Όνομα στο χρονολόγιο",
|
||||
"slideNameHint": "Μόνο για εσάς (προαιρετικό).",
|
||||
"enabled": "Να εμφανίζεται",
|
||||
"videoToEnd": "Το βίντεο παίζει ως το τέλος",
|
||||
"videoToEndHint": "Όχι: δείχνεται για τα δευτερόλεπτα παρακάτω (και επαναλαμβάνεται αν είναι μικρότερο).",
|
||||
"duration": "Δευτερόλεπτα στην οθόνη",
|
||||
"durationMenuHint": "Ένα μεγάλο μενού γυρίζει σελίδες και μένει όσο χρειάζεται.",
|
||||
"transition": "Μπαίνει με",
|
||||
"transitionDefault": "Τη μετάβαση της λίστας",
|
||||
"when": "Πότε εμφανίζεται",
|
||||
"whenHint": "Κενό για πάντα. Διαλέξτε μέρες, ώρες (μπορεί να περνούν τα μεσάνυχτα) ή ημερομηνίες για να εμφανίζεται μόνο τότε.",
|
||||
"days": "Μέρες",
|
||||
"timeFrom": "Από (ώρα)",
|
||||
"timeTo": "Έως (ώρα)",
|
||||
"dateFrom": "Από (ημερομηνία)",
|
||||
"dateTo": "Έως (ημερομηνία)",
|
||||
"picture": "Η εικόνα",
|
||||
"video": "Το βίντεο",
|
||||
"fit": "Προσαρμογή",
|
||||
"fits": {
|
||||
"cover": "Γεμίζει την οθόνη (μπορεί να κοπεί)",
|
||||
"contain": "Ολόκληρη (μπορεί να αφήσει μπάρες)"
|
||||
},
|
||||
"around": "Χρώμα στις μπάρες",
|
||||
"muted": "Χωρίς ήχο",
|
||||
"title": "Τίτλος",
|
||||
"body": "Κείμενο",
|
||||
"align": "Στοίχιση",
|
||||
"aligns": {
|
||||
"left": "Αριστερά",
|
||||
"center": "Κέντρο",
|
||||
"right": "Δεξιά"
|
||||
},
|
||||
"vertical": "Ύψος",
|
||||
"verticals": {
|
||||
"top": "Πάνω",
|
||||
"middle": "Μέση",
|
||||
"bottom": "Κάτω"
|
||||
},
|
||||
"font": "Γραμματοσειρά",
|
||||
"fonts": {
|
||||
"sans": "Καθαρή",
|
||||
"serif": "Κλασική",
|
||||
"rounded": "Στρογγυλή",
|
||||
"condensed": "Στενή",
|
||||
"display": "Έντονη αφίσα"
|
||||
},
|
||||
"textColour": "Χρώμα κειμένου",
|
||||
"textSize": "Μέγεθος κειμένου: {{value}}%",
|
||||
"change": "Αλλαγή",
|
||||
"pickVideo": "Επιλογή βίντεο",
|
||||
"pickPicture": "Επιλογή εικόνας",
|
||||
"background": "Φόντο",
|
||||
"bgColour": "Ένα χρώμα",
|
||||
"bgPhoto": "Μια φωτογραφία",
|
||||
"colour": "Χρώμα",
|
||||
"dim": "Σκούρεμα φωτογραφίας: {{value}}%",
|
||||
"columns": "Στήλες",
|
||||
"accent": "Χρώμα τιμών και επικεφαλίδων"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"approvals": "Manager approvals",
|
||||
"deliveryFees": "Online ordering",
|
||||
"qrCodes": "Table QR codes",
|
||||
"media": "Media"
|
||||
"media": "Media",
|
||||
"signage": "Signage"
|
||||
},
|
||||
"profile": {
|
||||
"edit": "Edit profile",
|
||||
@@ -805,5 +806,164 @@
|
||||
},
|
||||
"builtin": "Built-in",
|
||||
"builtinHint": "Built-in pictures come with Xenia: they can be used anywhere, but not renamed or deleted."
|
||||
},
|
||||
"signage": {
|
||||
"pageTitle": "Signage",
|
||||
"intro": "What your TVs show: playlists of menu boards, pictures, videos and texts. Build each playlist for the shape of its TV (landscape or portrait); the preview shows a slide exactly as the TV will.",
|
||||
"playlists": "Playlists",
|
||||
"newPlaylist": "New playlist",
|
||||
"noPlaylists": "No playlists yet.",
|
||||
"noPlaylistsHint": "Make one for a landscape or a portrait TV, then add slides.",
|
||||
"playlistName": "Name",
|
||||
"playlistPlaceholder": "e.g. Window TV",
|
||||
"orientation": "TV shape",
|
||||
"orientationHint": "Wide (landscape) or tall (portrait): pick the pictures and videos for this shape.",
|
||||
"orientations": {
|
||||
"landscape": "Landscape (wide)",
|
||||
"portrait": "Portrait (tall)"
|
||||
},
|
||||
"defaultTransition": "Transition",
|
||||
"transitions": {
|
||||
"fade": "Fade",
|
||||
"slide": "Slide in",
|
||||
"zoom": "Zoom",
|
||||
"none": "None"
|
||||
},
|
||||
"duplicatePlaylist": "Duplicate the playlist",
|
||||
"duplicated": "Copied.",
|
||||
"summary_one": "{{count}} slide · {{minutes}}:{{seconds}} a round",
|
||||
"summary_other": "{{count}} slides · {{minutes}}:{{seconds}} a round",
|
||||
"playingOn": "playing on {{names}}",
|
||||
"timeline": "Timeline",
|
||||
"kinds": {
|
||||
"image": "Picture",
|
||||
"video": "Video",
|
||||
"text": "Text",
|
||||
"menu": "Menu board"
|
||||
},
|
||||
"misfit": "This picture or video doesn't fit the playlist's shape: it will be cropped or have bars.",
|
||||
"toTheEnd": "to the end",
|
||||
"seconds_one": "{{count}} second",
|
||||
"seconds_other": "{{count}} seconds",
|
||||
"off": "off",
|
||||
"window": {
|
||||
"hours": "{{from}}–{{to}}",
|
||||
"dates": "{{from}} → {{to}}"
|
||||
},
|
||||
"weekdays": {
|
||||
"0": "Mon",
|
||||
"1": "Tue",
|
||||
"2": "Wed",
|
||||
"3": "Thu",
|
||||
"4": "Fri",
|
||||
"5": "Sat",
|
||||
"6": "Sun"
|
||||
},
|
||||
"duplicateSlide": "Duplicate the slide",
|
||||
"deleteSlide": "Remove this slide?",
|
||||
"removed": "Slide removed.",
|
||||
"addSlide": "Add a slide",
|
||||
"added": "Slide added.",
|
||||
"undo": "Undo changes",
|
||||
"pickSlide": "Pick a slide on the timeline to change it.",
|
||||
"noSlides": "No slides yet: add the first one.",
|
||||
"blank": "Start empty",
|
||||
"templatesTitle": "Or start from a ready-made slide",
|
||||
"templates": {
|
||||
"promo": {
|
||||
"name": "Promotion picture"
|
||||
},
|
||||
"announcement": {
|
||||
"name": "Announcement"
|
||||
},
|
||||
"happyHour": {
|
||||
"name": "Happy hour (17:00–19:00 only)",
|
||||
"title": "Happy hour",
|
||||
"body": "17:00 – 19:00"
|
||||
},
|
||||
"welcome": {
|
||||
"name": "Welcome",
|
||||
"title": "Welcome"
|
||||
},
|
||||
"menuBoard": {
|
||||
"name": "Menu board",
|
||||
"title": "Menu"
|
||||
},
|
||||
"video": {
|
||||
"name": "Video to its end"
|
||||
},
|
||||
"image": {
|
||||
"name": "Picture"
|
||||
},
|
||||
"text": {
|
||||
"name": "Text"
|
||||
},
|
||||
"menu": {
|
||||
"name": "Menu board"
|
||||
}
|
||||
},
|
||||
"deletePlaylistTitle": "Delete \"{{name}}\"?",
|
||||
"deletePlaylistBody": "Its slides go with it. The pictures and videos stay in the media library.",
|
||||
"deletePlaylistUsed": "It is playing on {{names}}: those screens will show nothing until you give them another playlist. Its slides go with it; the pictures and videos stay in the media library.",
|
||||
"discard": "This slide has changes that aren't saved. Leave it anyway?",
|
||||
"slideName": "Name on the timeline",
|
||||
"slideNameHint": "Only for you (optional).",
|
||||
"enabled": "Show this slide",
|
||||
"videoToEnd": "Play the video to its end",
|
||||
"videoToEndHint": "Off: it shows for the seconds below (and repeats if it is shorter).",
|
||||
"duration": "Seconds on screen",
|
||||
"durationMenuHint": "A long menu turns its pages and stays as long as it needs.",
|
||||
"transition": "Comes in with",
|
||||
"transitionDefault": "The playlist's transition",
|
||||
"when": "When it shows",
|
||||
"whenHint": "Leave empty for always. Pick days, hours (they may pass midnight) or dates to show it only then.",
|
||||
"days": "Days",
|
||||
"timeFrom": "From (time)",
|
||||
"timeTo": "To (time)",
|
||||
"dateFrom": "From (date)",
|
||||
"dateTo": "To (date)",
|
||||
"picture": "The picture",
|
||||
"video": "The video",
|
||||
"fit": "Fit",
|
||||
"fits": {
|
||||
"cover": "Fill the screen (may crop)",
|
||||
"contain": "Show it whole (may leave bars)"
|
||||
},
|
||||
"around": "Colour of the bars",
|
||||
"muted": "Without sound",
|
||||
"title": "Title",
|
||||
"body": "Text",
|
||||
"align": "Alignment",
|
||||
"aligns": {
|
||||
"left": "Left",
|
||||
"center": "Centre",
|
||||
"right": "Right"
|
||||
},
|
||||
"vertical": "Height",
|
||||
"verticals": {
|
||||
"top": "Top",
|
||||
"middle": "Middle",
|
||||
"bottom": "Bottom"
|
||||
},
|
||||
"font": "Font",
|
||||
"fonts": {
|
||||
"sans": "Clean",
|
||||
"serif": "Classic",
|
||||
"rounded": "Rounded",
|
||||
"condensed": "Narrow",
|
||||
"display": "Bold poster"
|
||||
},
|
||||
"textColour": "Text colour",
|
||||
"textSize": "Text size: {{value}}%",
|
||||
"change": "Change",
|
||||
"pickVideo": "Pick a video",
|
||||
"pickPicture": "Pick a picture",
|
||||
"background": "Background",
|
||||
"bgColour": "A colour",
|
||||
"bgPhoto": "A photo",
|
||||
"colour": "Colour",
|
||||
"dim": "Darken the photo: {{value}}%",
|
||||
"columns": "Columns",
|
||||
"accent": "Prices and headings colour"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user