Files
mxaccessgw/docs/ui-validation/host/Components/FixtureBody.razor
T
Joseph Doherty 26a90883fa
ci / java (push) Failing after 15m11s
ci / nightly-windev (push) Failing after 10m18s
ci / portable (push) Failing after 27m42s
ci / windows-x86 (push) Failing after 22m19s
Unify gateway styling and preserve identity through recovery
2026-11-13 20:12:00 -05:00

19 lines
997 B
Plaintext

@namespace MxUiCanary.Components
@page "/native-fixture"
@inject IJSRuntime JS
<ThemeShell Product="Synthetic MX UI canary">
<ChildContent>
<p>Synthetic local fixture: no gateway worker, key store, LDAP, COM or real write provider.</p>
<button id="slow-trigger" class="btn btn-secondary" @onclick="()=>_open=true">Open synthetic delayed confirmation</button>
<button id="outside" class="btn btn-secondary">Outside inertness probe</button>
<p id="counts">Synthetic confirms: @_count</p>
<ConfirmDialog IsOpen="@_open" IsBusy="@_busy" Title="Synthetic delayed operation" Message="Fixture only; no session or key is changed." OnCancel="()=>_open=false" OnConfirm="Confirm"/>
<ApiKeysPage/>
</ChildContent>
</ThemeShell>
@code {
bool _open;bool _busy;int _count;
protected override async Task OnAfterRenderAsync(bool firstRender) {if(firstRender)await JS.InvokeVoidAsync("mxCanaryReady");}
async Task Confirm(){if(_busy)return;_busy=true;_count++;await Task.Delay(1500);_busy=false;_open=false;}
}