Commit Graph

13 Commits

Author SHA1 Message Date
Joseph Doherty 9e243493fb ui: Central UI density/consistency sweep + Theme 0.4.1
Applies the family-wide admin-UI cleanup playbook to the Central UI so the
Blazor surfaces stop diverging from the shared kit: buttons are grouped rather
than individually sized, long cell values are contained instead of widening
tables, and hard-coded colours give way to theme tokens.

The headline fix is that MainLayout passed Accent="#2f5fd0" to ThemeShell,
which the kit emits as an inline style on the shell root. Being a descendant of
<html>, it beat the [data-bs-theme="dark"] override for the entire app, so the
dark accent had never rendered. Declaring --accent in site.css :root instead
lets both schemes resolve; light is unchanged because the value already matched
the kit's light default.

Theme pins to 0.4.1, which upstreams the local .btn sizing block verbatim, so
that block is deleted here rather than duplicated. Verified byte-identical
before removal; the repo now declares no --bs-btn-* anywhere.

NOT purely cosmetic, contrary to the sweep's stated scope: four detail-modal
surfaces (NotificationReport, ConfigurationAuditLog, ParkedMessages,
SiteCallsReport) were additionally refactored from holding the selected record
to holding its id and re-resolving from the current page each render, with the
resolve doubling as the visibility gate. A background refresh that drops the
row now closes the modal instead of showing a stale snapshot. This is a
behaviour change and is called out rather than buried: a full-suite run turned
up one intermittent CentralUI failure, CloseButton_DismissesModal, whose stack
(GetRequiredEventBindingEntry during DispatchEventAsync) indicates the handler
was disposed between render and click — a window the previous field-held record
made structurally impossible. Treat the modal lifecycle here as unreviewed.

Build 0/0; suite green apart from that one intermittent failure.
2026-08-11 05:50:12 -04:00
Joseph Doherty f08a4d609f test(playwright): M9 surface coverage — template search, schema-library, move-connection (#263) 2026-06-19 04:31:38 -04:00
Joseph Doherty 8419eb0d86 test(playwright): Templates edit-attribute + delete-blocked-by-instance edge cases (Wave 4) 2026-06-07 03:47:04 -04:00
Joseph Doherty 64222cf596 test(playwright): Templates duplicate-name + create-cancel edge cases (Wave 4) 2026-06-07 03:37:25 -04:00
Joseph Doherty 6523499ddb test(playwright): harden ApiMethod Name selector + tab-settle + modal-title (review fix) 2026-06-06 15:23:01 -04:00
Joseph Doherty 1ecce58437 test(playwright): add ApiMethod validation + visibility + delete coverage (Wave 3) 2026-06-06 15:16:39 -04:00
Joseph Doherty 8e65fc51e5 test(playwright): node-scope DataConnection kebab + target site node (review fix) 2026-06-06 15:13:47 -04:00
Joseph Doherty e2a6453fb6 test(playwright): add SharedScript list/delete + form-render coverage (Wave 3) 2026-06-06 15:10:33 -04:00
Joseph Doherty 6861f5c14c test(playwright): add DataConnection tree-delete + create-gating coverage (Wave 3) 2026-06-06 15:07:53 -04:00
Joseph Doherty 22a440bddf test(playwright): use label-anchored ExternalSystem form selectors (review fix) 2026-06-06 15:02:08 -04:00
Joseph Doherty 1536cdb884 test(playwright): add ExternalSystem CRUD + validation coverage (Wave 3) 2026-06-06 14:55:18 -04:00
Joseph Doherty 917e5f30bf test(e2e): structural modal discriminator + simpler post-delete wait (review fixes) 2026-06-05 10:34:07 -04:00
Joseph Doherty 19c4412fd1 test(e2e): cover Template create/add-attribute/delete round-trip 2026-06-05 10:28:53 -04:00