Data UI Backlog

Styling page description

The :styling page showed a bare Slot / Value grid with no hint of what the grammar accepts — an admin pasting HTML discovered the sanitizer by watching their markup vanish. Add a :page-description to the built-in :styling type: what the page does (named slots the system reads) plus the full value grammar — tags, per-tag attributes, href / src URL rules, the closed style property list, the length cap, drop-not-reject. Collapsed by default (the convention; :page-description-open deliberately not set — the styling page is rare and the toggle is one click). The grammar lives in *styling-policy* (lisp/public-pages.lisp), which loads after model.lisp, so the string cannot be derived from the policy at load time: it is a named constant beside the ,*styling-slots* precedent, *styling-page-description*, manually synced with the policy and probe-pinned (one compile test searches every sh:policy-allowed-tags entry into the string — widening the policy without touching the string fails the suite). No engine, wire, or frontend change beyond the key: the generic :page-description machinery (validator, stage-3 re-emit, be-types emission, the collapsed PageDescription block on the list page) already serves every type.

Slot
5800
Status
60 Done
Tags
backend, frontend, model
Contributors
Donnie