feat(overview): adopt delivered theme patch and record UI validation

This commit is contained in:
Joseph Doherty
2026-11-13 17:32:32 -05:00
parent d8d633ddb2
commit f698f97889
99 changed files with 11587 additions and 26 deletions
@@ -0,0 +1,25 @@
@namespace OverviewUiCanary.Components
@* Host page. Head order matters: Bootstrap first (the Theme kit's shell and
TechButton are built on Bootstrap utility classes), then <ThemeHead/> which
brings the design tokens and IBM Plex, then site.css so this app's own
dashboard anatomy can override either. *@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<base href="/" />
<link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css" />
<ThemeHead />
<link rel="stylesheet" href="/css/site.css" />
<HeadOutlet @rendermode="InteractiveServer" />
</head>
<body>
<Routes @rendermode="InteractiveServer" />
<script src="/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
<ThemeScripts />
<script>window.overviewCanaryReady = () => document.documentElement.dataset.overviewReady = "true";</script>
<ReadyProbe @rendermode="InteractiveServer" />
<script src="/_framework/blazor.web.js"></script>
</body>
</html>
@@ -0,0 +1,8 @@
@namespace OverviewUiCanary.Components
@inject IJSRuntime JS
@code {
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender) await JS.InvokeVoidAsync("overviewCanaryReady");
}
}
@@ -0,0 +1,6 @@
@using Microsoft.AspNetCore.Components
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using ZB.MOM.WW.Overview.Components
@using ZB.MOM.WW.Theme