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:
1 parent
7181562e0f
commit
233fdbf66c
24 files changed
+2757
-49
No files matched your search
@@ -136,8 +136,9 @@ const days = computed(() =>
|
||||
|
||||
<div class="callout">
|
||||
<OnyxIcon :icon="iconCircleInformation" size="16px" color="primary" />
|
||||
The base and scenario plans are generated by Go `/api/staffing`. SSE broadcast to <code>/stage</code> and
|
||||
phones is the next slice; this page makes the recommendation change visible on one screen.
|
||||
The base and scenario plans are generated by Go /api/staffing. The presenter broadcasts from
|
||||
<NuxtLink to="/control">/control</NuxtLink>; <NuxtLink to="/stage">/stage</NuxtLink> and
|
||||
<NuxtLink to="/live">/live</NuxtLink> follow the scenario over SSE with a 5 s polling fallback.
|
||||
</div>
|
||||
|
||||
<div class="split-grid">
|
||||
@@ -246,7 +247,7 @@ const days = computed(() =>
|
||||
</ul>
|
||||
<p class="small muted table-note">
|
||||
Scenario perturbations are produced by the Go/ML stack. This page reads the base and scenario plans from
|
||||
`/api/staffing`; it does not invent its own multipliers.
|
||||
/api/staffing; it does not invent its own multipliers.
|
||||
</p>
|
||||
</OnyxCard>
|
||||
|
||||
|
||||
Reference in new issue
Block a user