feat(docs-site): render remaining authored attrs (relationships/origins/sources/layout/object/field/template)#178
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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@layoutattrs, object-level@attrs(@dataflow/@neo4j), field-level@attrs(@column/@storage…), identity@constraintName, and template-page attrs (prompt + output). A genericotherAttrs(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