feat(signage,scenes): schedule lines with screens and smart days, screens' defaults, horizontal timeline, scenes

- Scenes (Alembic 0043, models/scene.py, /api/scenes, core.scenes.manage): named
  modes on or off (optionally until a time); price rules / deals get the
  condition "a scene is on"; signage lines can play only during a scene;
  turning one on tells every screen and pushes the online menu.
- Signage schedules are lines (signage_schedule_items): playlist, screens
  ([] = every screen), priority, days, smart days (1st / last day, first / last
  week, Greek public holidays or not: core/calendar_days.py, mirrored in
  @xenia/signage), hours, dates, scene. No line → the screen's default
  playlist. 0043 turns the old named schedules into lines for their screens.
- Screens: default playlist, TV shape, turn; what plays now and why.
- Manager: tabs Screens · Playlists · Schedules · Slides (placeholder) ·
  Message and weather; schedule lines with playlist / screens / priority /
  delete on one line; the playlist editor's horizontal timeline of fixed
  cards, the slide's basics beside its preview (one height), then its content;
  Management → Scenes; the scene condition in pricing.
- Tests: backend (lines, smart days, scenes, prices), player logic, e2e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 19:22:47 +02:00
co-authored by Claude Opus 5.5
parent abab158b7c
commit 60e6a16217
44 changed files with 1429 additions and 533 deletions
+7 -1
View File
@@ -187,7 +187,9 @@
"content_invalid": "Μια ρύθμιση της διαφάνειας δεν είναι έγκυρη ({{field}}: {{reason}}).",
"order_mismatch": "Η λίστα άλλαξε στο μεταξύ. Φορτώστε τη ξανά και δοκιμάστε πάλι.",
"weather_offline": "Η υπηρεσία καιρού δεν είναι διαθέσιμη: ο διακομιστής του καταστήματος χρειάζεται internet γι' αυτήν.",
"schedule_unknown": "Το πρόγραμμα {{schedule_id}} δεν βρέθηκε."
"schedule_unknown": "Το πρόγραμμα {{schedule_id}} δεν βρέθηκε.",
"scene_unknown": "Αυτή η σκηνή δεν υπάρχει πια.",
"screen_unknown": "Αυτή η οθόνη δεν υπάρχει πια."
},
"menu_tablet": {
"no_table": "Αυτό το tablet δεν είναι σε τραπέζι, οπότε δεν καλεί σερβιτόρο.",
@@ -358,5 +360,9 @@
"channel_price": {
"not_found": "Η τιμή καναλιού δεν βρέθηκε.",
"set_one_product": "Η σταθερή τιμή είναι για ένα προϊόν: επιλέξτε ένα προϊόν (χωρίς κατηγορίες) ή αλλάξτε την τιμή κατά ποσό ή ποσοστό."
},
"scene": {
"not_found": "Η σκηνή δεν βρέθηκε.",
"until_past": "Αυτή η ώρα έχει περάσει: διαλέξτε μια μεταγενέστερη."
}
}