feat: live SSE stage, phone view and presenter control

- proxy Go /api/stream through Nitro; drive /stage, /live, /plan and /forecast from scenario events
- fall back to 5 s polling after SSE failures or heartbeat silence; show Live/Polling/Offline
- authenticate /control and POST /api/scenario in Nitro with server-side control credentials
- add big-screen stage with local QR and a no-login phone recommendation view
- add SSE unit tests and a live smoke test; refresh README/Makefile
This commit is contained in:
Noel Sabia committed 2026-11-14 06:59:07 +01:00
1 parent 7181562e0f
commit 233fdbf66c
24 files changed
+2757 -49

No files matched your search

+4 -1
View File
@@ -8,7 +8,8 @@
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"test": "vitest run",
"mock": "node scripts/generate-mock.mjs"
"mock": "node scripts/generate-mock.mjs",
"smoke:live": "node scripts/smoke-live.mjs"
},
"dependencies": {
"@sit-onyx/chartjs-plugin": "1.0.1",
@@ -17,9 +18,11 @@
"chart.js": "4.6.1",
"maplibre-gl": "6.18.0",
"nuxt": "4.6.4",
"qrcode": "1.5.4",
"sit-onyx": "1.22.0"
},
"devDependencies": {
"@types/qrcode": "1.5.5",
"typescript": "5.9.3",
"vitest": "3.2.4"
}