From 3070169e5d26cd278db6fc8f28112f50adbb4981 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 3 Jun 2026 04:38:24 -0400 Subject: [PATCH] docs(ui-theme): record post-adoption site.css prune + reconfirm 0.2.0 on feed Audit follow-up: the deferred 'dead .sidebar/.nav-link residual' was broader than logged (OtOpcUa's site.css duplicated and overrode the whole kit shell). Pruned across all 3 apps on chore/theme-css-prune branches (-167/-95/-106 lines, builds clean). Note the remaining deferred items (kit layout.css calc review; ScadaBridge Host transitive kit ref) and reconfirm the Theme 0.2.0 publish is genuine. --- components/ui-theme/GAPS.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/components/ui-theme/GAPS.md b/components/ui-theme/GAPS.md index f6b351d..b02725e 100644 --- a/components/ui-theme/GAPS.md +++ b/components/ui-theme/GAPS.md @@ -18,8 +18,22 @@ reach adoption of the `ZB.MOM.WW.Theme` shared RCL. Status legend: โ›” gap ยท > **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. +> divergence (kept for history). +> +> **Post-adoption CSS prune (2026-06-03, branch `chore/theme-css-prune` per app).** An audit found each app's +> kept `site.css` still carried the old shell CSS the kit now owns โ€” broader than first logged. Pruned: +> **OtOpcUa** shed a near-verbatim copy of the kit's `layout.css` (`.app-shell`/`.side-rail`/`.rail-link`/ +> `.rail-foot`/`.login-*`) plus dead `#sidebar-collapse` (kit emits `#theme-rail`) and `.rail-eyebrow-chevron` +> (โˆ’167 lines), keeping only app-only `.rail-eyebrow` + `.chip-alert`/`.chip-caution`; **ScadaBridge** shed the +> dead `.sidebar`/`.nav-link`/`.nav-section-toggle` block (โˆ’95), keeping `#reconnect-modal`/`.script-editor-modal`; +> **MxGateway** shed the dead `.sidebar` block + orphaned `.dashboard-login`/`.login-card` (โˆ’106), keeping +> `.app-bar` (still used by `/denied`) + the `.chip` override. Each verified unreferenced before removal; all +> three build clean (0 warn/0 err). OtOpcUa's copy was the notable one โ€” it *overrode* the kit, not just dead code. +> **Still deferred:** a kit-side `layout.css` `calc(100vh - 3.3rem)` review; and ScadaBridge's `Host` consumes the +> kit only **transitively via `CentralUI`** (no direct `PackageReference`) โ€” builds green, but an implicit dependency. +> +> _Feed note: the same audit re-confirmed `ZB.MOM.WW.Theme 0.2.0` **is** genuinely on the Gitea feed (registration +> `count:1`, package base `versions:["0.2.0"]`, search `totalHits:1`) โ€” the publish was real, not optimism._ ---