Record OT deployment acceptance and refresh browser proof

This commit is contained in:
Joseph Doherty
2026-11-13 23:31:04 -05:00
parent 361226b24d
commit 8c11c7fdf1
21 changed files with 404 additions and 2 deletions
@@ -0,0 +1,20 @@
@page "/refresh-pilot"
@layout ZB.MOM.WW.OtOpcUa.AdminUI.Components.Layout.MainLayout
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Pages
@inject FixtureDbReadControl Reads
<p class="notice">Local refresh fixture · synthetic memory-only records and isolated membership shell.</p>
<div class="d-flex flex-wrap gap-2 mb-3">
<button id="fixture-ready" @onclick="() => _interactive=true">Check fixture interaction</button>
<output id="fixture-state">@(_interactive ? "ready" : "waiting")</output>
<button id="fixture-fail" @onclick="() => Reads.FailReads=true">Fail local reads</button>
<button id="fixture-restore" @onclick="() => Reads.FailReads=false">Restore local reads</button>
</div>
<div id="actual-refresh-page">
@if(Kind=="hosts") { <Hosts /> } else { <Fleet /> }
</div>
@code {
[SupplyParameterFromQuery(Name="kind")] public string? Kind {get;set;}
[SupplyParameterFromQuery(Name="initialFail")] public bool InitialFail {get;set;}
private bool _interactive;
protected override void OnInitialized() {Reads.FailReads=InitialFail;}
}