refactor: @xenia/signage: the slides and the player's logic shared by the terminal and the manager (platform-v2 step 5.6a)

The signage slides (SlideView, TextSlide, MenuSlide, Widgets) and the pure
logic (schedule pick, slide windows, menu pages) move from the terminal into
packages/signage, so the manager's previews draw a slide exactly as the TV
does. Sizes are container units (cqmin) instead of viewport units: a slide
draws inside any box with container-type: size (frameStyle sets it on the
TV). Tests move with it (10). Dockerfiles copy its package.json; both apps'
Tailwind content include it; run-all runs its tests. Signage e2e and the
compose stack passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 20:59:33 +02:00
co-authored by Claude Opus 5.5
parent e90c2f4f8f
commit 314e9c2457
16 changed files with 146 additions and 76 deletions
+18
View File
@@ -20,6 +20,7 @@
"@xenia/access": "^0.0.0",
"@xenia/api": "^0.0.0",
"@xenia/i18n": "^0.0.0",
"@xenia/signage": "^0.0.0",
"@xenia/ui": "^0.0.0",
"axios": "^1.21.1",
"lucide-react": "^1.73.0",
@@ -3219,6 +3220,10 @@
"resolved": "packages/i18n",
"link": true
},
"node_modules/@xenia/signage": {
"resolved": "packages/signage",
"link": true
},
"node_modules/@xenia/ui": {
"resolved": "packages/ui",
"link": true
@@ -9572,6 +9577,18 @@
"react": "^19.0.0"
}
},
"packages/signage": {
"name": "@xenia/signage",
"version": "0.0.0",
"dependencies": {
"@xenia/i18n": "^0.0.0",
"lucide-react": "^1.73.0",
"qrcode.react": "^4.2.0"
},
"peerDependencies": {
"react": "^19.0.0"
}
},
"packages/ui": {
"name": "@xenia/ui",
"version": "0.0.0",
@@ -9586,6 +9603,7 @@
"@xenia/access": "^0.0.0",
"@xenia/api": "^0.0.0",
"@xenia/i18n": "^0.0.0",
"@xenia/signage": "^0.0.0",
"@xenia/ui": "^0.0.0",
"axios": "^1.21.1",
"lucide-react": "^1.73.0",