feat(cms): reuse shared setting rows for boolean content controls
DC CMS qualification / qualify (push) Successful in 1m49s

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 21:32:59 +03:00
parent 7f25f59d3e
commit be8ebe43e7
5 changed files with 36 additions and 16 deletions
+10
View File
@@ -115,3 +115,13 @@ tokens. No business module, site data, deployment settings or server API changed
Validation: deterministic generated build, multisite and release-contract tests;
local browser checks of the reported navigation-link fields, dark/light, settings
through the profile menu, custom accent, reset, and Escape focus restoration.
## Full-width boolean setting rows
A boolean editable field can declare `layout: "row"` and an optional `title`.
The editor uses the shared SettingsCard (centered header-only layout) and Switch,
above the following field in schema order. Values continue through the standard
model save/render/publish flow; no carousel-specific CMS state or new CSS is
introduced. Mission Core uses this for its per-carousel image-opening setting.
Local UI acceptance: toggle on → Save → reload retains true, toggle off → Save
removes the image links while preserving the other carousels.