Skip to content

feat(docs-site): render remaining authored attrs (relationships/origins/sources/layout/object/field/template)#178

Merged
dmealing merged 1 commit into
mainfrom
feat/docs-site-render-attrs
Jul 5, 2026
Merged

feat(docs-site): render remaining authored attrs (relationships/origins/sources/layout/object/field/template)#178
dmealing merged 1 commit into
mainfrom
feat/docs-site-render-attrs

Conversation

@dmealing

@dmealing dmealing commented Jul 5, 2026

Copy link
Copy Markdown
Member

Extends view.* attr rendering (0.15.12) to every remaining authored @attr — relationship @onDelete/@onUpdate, origin @of/@agg/@filter, a view source's @view, grid @layout attrs, object-level @attrs (@dataflow/@neo4j), field-level @attrs (@column/@storage…), identity @constraintName, and template-page attrs (prompt + output). A generic otherAttrs(node, skip) catch-all documents a consumer's own vocabulary from a bare registration and prevents future attrs silently going un-rendered.

Dogfooded on a real ~280-page model: coverage now reports 0 "not rendered by any page" warnings. acme fixture gains an example of each; golden regenerated (deterministic).

🤖 Generated with Claude Code

…ins, sources, layout, object/field/template)

Extends the view.* attr rendering (0.15.12) to every remaining authored `@attr`,
so a model's full metadata surfaces in the docs and coverage reports zero
"not rendered by any page" warnings on a real ~280-page model:

- object pages: relationship @onDelete/@onUpdate; origin @of/@agg/@filter on the
  field-provenance table; a view source's @view in the storage line; a grid
  @layout section (@pageSize/@defaultSortOrder…); object-level @attrs (e.g.
  @dataflow/@neo4j) in an Attributes section; field-level @attrs (@column/@storage…)
  as badges; identity @constraintName in the index detail cell.
- template pages: any non-standard authored attr on prompt + output (e.g. @dataflow).

A generic `otherAttrs(node, skip)` catch-all consumes + renders whatever a bespoke
renderer doesn't, so a consumer's own vocabulary is documented from a bare
registration and future attrs never silently go un-rendered. The acme fixture gains
an example of each; golden regenerated (deterministic; all builders escape at the
boundary since this render lib does not).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dmealing
dmealing merged commit f84c74e into main Jul 5, 2026
1 check passed
@dmealing
dmealing deleted the feat/docs-site-render-attrs branch July 5, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant