fix(adminui): refresh stale F9 stub copy on /alerts page

ScriptedAlarmActor (Runtime/ScriptedAlarms) shipped a while back — the
"Engine wiring (F9 ScriptedAlarmActor) is pending" stub message was
misleading. Also drop the matching "(F9)" / "(future)" parentheticals
in the intro panel and frame the empty state as a current-window
condition, not a missing feature.
This commit is contained in:
Joseph Doherty
2026-05-26 13:53:09 -04:00
parent e4d0d82f7f
commit a1a7646b33

View File

@@ -1,7 +1,7 @@
@page "/alerts" @page "/alerts"
@* Live alarm tail via SignalR. Subscribes to /hubs/alerts and shows the most-recent @* Live alarm tail via SignalR. Subscribes to /hubs/alerts and shows the most-recent
AlarmTransitionEvent entries. Engine wiring (ScriptedAlarmActor publish on the `alerts` AlarmTransitionEvent entries published by ScriptedAlarmActor (Runtime/ScriptedAlarms)
topic) lands with F9; until then the connection stays open and the table is empty. *@ and the AB CIP ALMD bridge. *@
@attribute [Microsoft.AspNetCore.Authorization.Authorize] @attribute [Microsoft.AspNetCore.Authorization.Authorize]
@rendermode RenderMode.InteractiveServer @rendermode RenderMode.InteractiveServer
@using Microsoft.AspNetCore.SignalR.Client @using Microsoft.AspNetCore.SignalR.Client
@@ -23,14 +23,14 @@
<section class="panel notice rise" style="animation-delay:.02s"> <section class="panel notice rise" style="animation-delay:.02s">
Live alarm transitions from the cluster's <span class="mono">alerts</span> DPS topic. Shows Live alarm transitions from the cluster's <span class="mono">alerts</span> DPS topic. Shows
the most-recent @Capacity entries since the page opened; reload for a fresh window. Sources: the most-recent @Capacity entries since the page opened; reload for a fresh window. Sources:
ScriptedAlarmActor, native AB CIP ALMD bridge (F9), Galaxy alarm bridge (future). ScriptedAlarmActor, native driver alarm bridges (AB CIP ALMD, Galaxy where wired).
</section> </section>
@if (_rows.Count == 0) @if (_rows.Count == 0)
{ {
<section class="panel notice rise mt-3" style="animation-delay:.08s"> <section class="panel notice rise mt-3" style="animation-delay:.08s">
No alarms yet. Engine wiring (F9 ScriptedAlarmActor) is pending; once it ships the table No alarms in the current window. The table will populate as soon as a
below will start populating in real time. ScriptedAlarmActor or driver alarm bridge publishes a transition.
</section> </section>
} }
else else