docs(render): six guides teach through their running examples - #1033
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
blove
enabled auto-merge (squash)
September 6, 2026 05:04
Contributor
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… type Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…self-contained Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ghter registry region Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…e methods; who subscribes Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…luated; the demo ships the array half Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…arses; the demo's spec quoted verbatim Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
blove
force-pushed
the
blove/docs-example-first-render
branch
from
September 6, 2026 05:08
b7ae173 to
8afd3fd
Compare
Contributor
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.
PR 4 of the example-first docs program (plan:
docs/superpowers/plans/2026-09-06-docs-example-first-products.md, PR 4 table; spec:docs/superpowers/specs/2026-09-05-docs-example-first-content-design.md).Pages rewritten (repeat-loops was a 10-line stub):
render/api/{provide-render,render-spec-component}(reference tables kept and corrected) andrender/guides/{registry,repeat-loops,specs,state-store}.Walkthroughs deleted: the six
cockpit/render/*/python/docs/guide.mdfiles;PENDING_PAGESdrops the six render entries (21 remain).Example sources: comment-only
#regionmarkers in six components (inline-template markers included; each example project builds); one hint string in the repeat-loops demo no longer claims keyed reconciliation.Facts settled (each verified in
libs/render/srcand@json-render/core):<render-spec>mounts onlyspec.rootand recursion is opt-in viachildKeys; store resolution is input > config > internal store created once fromspec.state; registry resolution is input > config >VIEW_REGISTRY> empty;repeat.keyandwatchare schema-level and inert in the Angular renderer;visibleis not evaluated on the element that carriesrepeat;$computedtakes a record ofargs(the walkthroughs taught positional args and acomputekey that do not exist); the spec format is flat (root+elements,children: string[]); the render examples'graph.pyis a single-node chat graph outside the render path.Known gap recorded: the repeat-loops example ships the array half only (its specs enumerate rows literally); the page says so and a follow-up should add a real
repeatelement to one spec.Verification:
nx run-many -t test,lintgreen (website, cockpit-registry, cockpit-shell, scripts); generators no drift; prod build renders every page withdata-example-filecounts equal to tag counts;nx e2e website121 passed.🤖 Generated with Claude Code