Data UI Backlog

View form

A fourth form, :view-form, sibling of :list-form / :add-form / :update-form, same shape. View mode today renders :update-form read-only, so a reading surface cannot differ from the edit form — the blog gap: a post page cannot drop the Deploy button or re-order fields for reading. Core decision (settled 2026-10-21): treated exactly like the other forms in every respect, no fallback — absent means no view surface, just as absent :add-form means no Add surface. Payload presence ⇔ declaration (*forms* gains the fourth member; existing models' payloads stay byte-identical); the form parameter accepts view-form with no server-side fallback; frontend View button renders iff the payload carries view-form (the viewFormName update-form → list-form fallback chain dies). Buttons: explicit :button in a view form is legal, v1 unused; emission rule is buttons render on the update form only. Status companions land under :fields t (accepted feature); the injected :roles stays add/update-only. Rollups: :view-form joins the valid-rollup-matrix forbidden-key list. Settings auto-open read-only branch: update-capable → edit, else view-form present → view, else don't open. Base model: :users, :roles, :permissions, :settings, :secrets gain :view-form (:fields t); :resources loses all three of its forms (internal, display nil — dead payload; verify no be-list call targets it first). Corpus copy rule: every model in models/ and models/test/ — any type with :update-form gains :view-form with the same :fields. Layout: zero new keys — the label gutter renders iff at least one field renders a label; all-hidden collapses it flush-left (correct rendering, not an inference rule; mixed label-above stacking is post-MVP :layout :stack).

Notes: view-form-notes.org

Plan: view-form-plan.org

Implemented per the plan end to end:

Slot
3100
Status
60 Done
Tags
mvp, backend, frontend, model
Contributors
Donnie, Rose, Grok
Plans
View form — plan, View form, View form — plan (Grok)