You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9815350
Browse filesBrowse the repository at this point in the historyBrowse files
feat(docs-site): render a field's view.* subtypes + their attrs (#177)
Object pages now show each field's presentation view children (view.currency /
view.badge / view.meter / view.duration / …) and their attributes — a per-field
sub-row listing `view.<subType>` badges and `@attr=value` pairs (@variantMap and
other object-valued attrs render as sorted `k: v` lists). The field builder
consumes the view node + its ownAttrs, so they no longer surface as "not rendered
by any page" in coverage.
Attrs are read directly off each view node, so custom view subtypes (registered
via extraProviders) render their attrs from a bare registration — no per-attr
schema duplication needed in the consumer's provider.
The acme fixture gains a view.currency field (Product.priceCents) exercising the
new sub-row; golden regenerated. Determinism preserved (view attrs sorted).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
<trid="f-verdict"><tdclass="font-mono">verdict</td><tdclass="opacity-60">string</td><td></td><tdclass="text-xs">verdict <b>tag</b> & "quote"</td></tr>
0 commit comments