Skip to content

docs: teach defaults then intercept in README and gallery (#146) - #152

Merged
timkindberg merged 4 commits into
feat/145-array-templatesfrom
feat/146-gallery-readme
Aug 16, 2026
Merged

docs: teach defaults then intercept in README and gallery (#146)#152
timkindberg merged 4 commits into
feat/145-array-templatesfrom
feat/146-gallery-readme

Conversation

@timkindberg

@timkindberg timkindberg commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #146 (child of #141). Stacks on #151. Last layer of the ADR 051 epic.

README teaches useFormTree({ defaults }) then <SchemaFields intercept={map | bag | fn} />. Specificity is exact path > where > defaults.

Gallery: App_16/17 are team defaults + path-map exception (off useRenderNodeRules). App_08 stays the function floor, with a footnote that the bag lowers to it. App_07 shows the array template. Did not convert App_01–15 onto the bag.

Agent did the grind.

Test plan

  • Smoke App_07 add/remove with the custom array template
  • Smoke App_08 function intercept sections
  • Smoke App_16 path map + live errors (plan stays default, customized fields don't)
  • README matches what the gallery actually does
  • CI green

Stack created with GitHub Stacks CLI

@timkindberg timkindberg changed the title feat/146 gallery readme docs: teach defaults then intercept in README and gallery (#146) Aug 14, 2026
@timkindberg
timkindberg force-pushed the feat/146-gallery-readme branch from 30aa228 to a3644b7 Compare August 15, 2026 18:50
@timkindberg
timkindberg force-pushed the feat/146-gallery-readme branch from fee4159 to 5b02d12 Compare August 15, 2026 20:25
timkindberg and others added 4 commits August 15, 2026 16:30
Co-authored-by: Cursor <cursoragent@cursor.com>
Street only restyles the input, so `{ control: StreetControl }` is the
same move as `<Default parts>` — label, errors, and recipe inject stay.
RowName / CardGroup / CityNote still place themselves.

Co-authored-by: Cursor <cursoragent@cursor.com>
`ControlOverride<'input'>` is the kind-narrowed Default-parts renderer
the gallery already needed. Intercept maps aren't path-generic yet, so
the archetype is still annotated rather than inferred from the key.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@timkindberg
timkindberg force-pushed the feat/146-gallery-readme branch from 5b02d12 to 1d07d37 Compare August 15, 2026 20:30
@timkindberg
timkindberg merged commit 756d4db into main Aug 16, 2026
2 checks passed
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.

Gallery and README: teach defaults then intercept

1 participant