From ea4116cc5b110561c5d10ced06196e2f531e65ec Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 3 Jun 2026 04:15:20 -0400 Subject: [PATCH] docs(ui-theme): mark merged to local default + pushed to origin (in sync) --- CLAUDE.md | 9 +++++---- components/ui-theme/GAPS.md | 5 +++-- components/ui-theme/shared-contract/ZB.MOM.WW.Theme.md | 5 +++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0eec661..d9f3c31 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -121,7 +121,7 @@ each project's **code-verified current state**, and the **gaps** between. See | Component | Status | Goal | Design | Implementation | |---|---|---|---|---| | Auth (login / identity / authz) | Adopted (lib `0.1.3`; all 3 apps, merged to **local default** main/master + **pushed to origin** (gitea)) | Shared `ZB.MOM.WW.Auth` lib | [`components/auth/`](components/auth/) | [`ZB.MOM.WW.Auth/`](ZB.MOM.WW.Auth/) | -| UI Theme (layout / tokens / components) | Adopted (lib `0.2.0`; all 3 apps, local `feat/adopt-zb-theme` branches) | Shared `ZB.MOM.WW.Theme` RCL | [`components/ui-theme/`](components/ui-theme/) | [`ZB.MOM.WW.Theme/`](ZB.MOM.WW.Theme/) | +| UI Theme (layout / tokens / components) | Adopted (lib `0.2.0`; all 3 apps, merged to **local default** + **pushed to origin** (gitea)) | Shared `ZB.MOM.WW.Theme` RCL | [`components/ui-theme/`](components/ui-theme/) | [`ZB.MOM.WW.Theme/`](ZB.MOM.WW.Theme/) | | Health (readiness / liveness / active-node) | Built (lib `0.1.0`) | Shared `ZB.MOM.WW.Health` lib | [`components/health/`](components/health/) | [`ZB.MOM.WW.Health/`](ZB.MOM.WW.Health/) | | Observability (metrics / traces / logs) | Built (lib `0.1.0`) | Shared `ZB.MOM.WW.Telemetry` lib + `.Serilog` | [`components/observability/`](components/observability/) | [`ZB.MOM.WW.Telemetry/`](ZB.MOM.WW.Telemetry/) | | Config + validation (options / startup validation) | Adopted (lib `0.1.0`; all 3 apps, local) | Shared `ZB.MOM.WW.Configuration` lib | [`components/configuration/`](components/configuration/) | [`ZB.MOM.WW.Configuration/`](ZB.MOM.WW.Configuration/) | @@ -160,9 +160,10 @@ The shared RCL is **built and lives in this repo** at [`ZB.MOM.WW.Theme/`](ZB.MO **published to the Gitea feed**). The build plan is at [`docs/plans/2026-06-01-zb-mom-ww-theme-shared-library.md`](docs/plans/2026-06-01-zb-mom-ww-theme-shared-library.md); the adoption plan at [`docs/plans/2026-06-03-ui-theme-adoption.md`](docs/plans/2026-06-03-ui-theme-adoption.md). -**Adopted across all three apps on 2026-06-03** (full canonical cutover, SPEC §7) on each repo's local-only -`feat/adopt-zb-theme` branch (OtOpcUa `11de14d`, ScadaBridge `58352a6`, MxGateway `73e54e2` — committed, -spec+code reviewed, **not yet merged/pushed**). The `0.1.0 → 0.2.0` bump first promoted nav-expand persistence +**Adopted across all three apps on 2026-06-03** (full canonical cutover, SPEC §7) on each repo's +`feat/adopt-zb-theme` branch — committed + spec/code-reviewed, then **fast-forward-merged into each repo's local +default (master/main) and PUSHED to origin (gitea)** (in sync; `feat/*` kept locally as history): OtOpcUa +→`lmxopcua` `master`@`11de14d`, ScadaBridge `main`@`58352a6`, MxGateway→`mxaccessgw` `main`@`73e54e2`. The `0.1.0 → 0.2.0` bump first promoted nav-expand persistence into the kit (`NavRailSection.Key`/`data-nav-key` + a localStorage `nav-state.js` enhancer emitted by a new ``), so all three apps share one persistence mechanism (OtOpcUa's bespoke cookie/JS-interop nav island retired); MxGateway additionally gained a net-new Blazor `` `/login` page over its existing diff --git a/components/ui-theme/GAPS.md b/components/ui-theme/GAPS.md index 4be6bea..f6b351d 100644 --- a/components/ui-theme/GAPS.md +++ b/components/ui-theme/GAPS.md @@ -14,8 +14,9 @@ reach adoption of the `ZB.MOM.WW.Theme` shared RCL. Status legend: ⛔ gap · > cookie/JS-interop nav island retired). 0.2.0 published to the Gitea feed; 44 bUnit tests. **MxGateway > additionally gained a net-new Blazor `` `/login` page** reusing its existing hardened > `POST /login` endpoint (antiforgery + `SanitizeReturnUrl` + `SignInAsync` preserved). Every task spec+code -> reviewed (high-risk via serial spec→code; the MxGateway login via an Opus security review). Branch heads: -> OtOpcUa `11de14d`, ScadaBridge `58352a6`, MxGateway `73e54e2` — **committed local-only, not yet merged/pushed**. +> reviewed (high-risk via serial spec→code; the MxGateway login via an Opus security review), then +> **fast-forward-merged into each repo's local default and PUSHED to origin (gitea) 2026-06-03** (in sync; +> `feat/*` kept locally): OtOpcUa `master`@`11de14d`, ScadaBridge `main`@`58352a6`, MxGateway `main`@`73e54e2`. > Plan: `docs/plans/2026-06-03-ui-theme-adoption*.md`. The ⛔/🟡 cells below describe the PRE-adoption > divergence (kept for history). Deferred follow-ups: prune now-dead `.sidebar`/`.nav-link` residual from each > app's kept `site.css`; a kit-side `layout.css` `calc(100vh - 3.3rem)` review. diff --git a/components/ui-theme/shared-contract/ZB.MOM.WW.Theme.md b/components/ui-theme/shared-contract/ZB.MOM.WW.Theme.md index 542f82e..bd77b20 100644 --- a/components/ui-theme/shared-contract/ZB.MOM.WW.Theme.md +++ b/components/ui-theme/shared-contract/ZB.MOM.WW.Theme.md @@ -2,8 +2,9 @@ **Status: Built + Published + Adopted (`0.2.0`).** The RCL lives at [`scadaproj/ZB.MOM.WW.Theme/`](../../../ZB.MOM.WW.Theme/) — built, tested (44 bUnit tests), and -**published to the Gitea NuGet feed**. **Adopted across all three apps on 2026-06-03** (local-only -`feat/adopt-zb-theme` branches; see [`../GAPS.md`](../GAPS.md)). Realizes [`../spec/SPEC.md`](../spec/SPEC.md). +**published to the Gitea NuGet feed**. **Adopted across all three apps on 2026-06-03** — merged to each repo's +local default and **pushed to origin (gitea)**, in sync (see [`../GAPS.md`](../GAPS.md)). +Realizes [`../spec/SPEC.md`](../spec/SPEC.md). `0.2.0` adds **shared nav-expand persistence**: `NavRailSection` gained a `Key` parameter (emitted as `data-nav-key`, defaulting to a slug of `Title`), a vendored `wwwroot/js/nav-state.js` localStorage enhancer