fix(cms): reuse canonical profile and nested form surfaces
DC CMS qualification / qualify (push) Successful in 1m39s

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 13:09:58 +03:00
parent 73bf4639a2
commit 10c2d6a70d
13 changed files with 48 additions and 39 deletions
+8 -1
View File
@@ -75,7 +75,8 @@ remain in forms, preserving IDs, names, validation and model serialization.
CMS opts into shared `edges: flat`, with a white accent by default. The header
uses UserProfileMenu with the name/avatar from the existing `/api/me` session
and an adjacent settings action. FeatureSettingsWindow contains the shared
and the complete canonical header: profile label, menu icon, avatar. Settings
open from the menu; there is no separate settings action beside the avatar. FeatureSettingsWindow contains the shared
Select and ColorField; validated preferences persist in browser-local storage
under `dc-cms.ui-preferences.v1`, independently of either site's content.
@@ -89,3 +90,9 @@ color-picker controls are excluded from the legacy DOM adapter.
Verified: dark/light, accent change and reload persistence, reset to white,
nested palette Escape, 390px modal, plus/template picker, pointer drag/reorder
(discarded), switching independent sites, and the shared component/type checks.
Collection entries and JSON disclosures consume `GlassSurface tone="soft"`
with its shared padding/radius/material. The former app-local translucent
item background accumulated across nested cards and converged with TextField
fill; using the canonical opaque nested surface preserves visible field zones
in both themes without adding borders or changing input tokens.