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": "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