feat(design-system): register the Layouts tier in the manifest + Design Studio gallery (#2197 slice 3) - #2393
Merged
Merged
Conversation
…ery (#2391) Slice 3 of the Layouts epic #2197. Register the four page-skeleton templates (MasterDetail/SplitView/GraphCanvas/PaneGrid) in the shared-UI introspection manifest (#2060) as a new `layouts` tier, so they flow through the existing manifest→kit generator (reactUiKit.ts → react-ui.json) and render live in the Design Studio gallery alongside every primitive/component — the design-system docs + QA surface + the palette the v1.0.5 in-app designer emits from. - manifest.ts: 4 templates in PrimitiveName + a `layouts` group + slot/prop specs; an `object` PropType for GraphCanvas vp/world. - registry.tsx: the 4 in the render-map (compile-time sync guard). - reactUiKit.ts: layouts→layout role + guidance overlay (whenUse/whenNot/srcText). - specimens.tsx: a live schematic specimen per template, with variants. - react-ui.json: regenerated (drift guard). - tests: manifest `object` type + an all-variants specimen render smoke. Behavior-preserving for existing pages (adds introspection only). Refs #2197. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…h the #2421 gap-fill Both sides appended to the same manifest surfaces (PrimitiveName union, UI_KIT entries, registry imports/render-map, kit guidance): resolved as union, gap-fill entries first, layouts after. Both sides had also independently added the `object` PropType — deduped to one member. react-ui.json regenerated from the merged manifest (UPDATE_KITS=1), and the specimen no-fallback guard verified over all 56 components. Co-Authored-By: Claude Fable 5 <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.
Slice 3 of the Layouts epic #2197. Registers the four page-skeleton templates (
MasterDetail/SplitView/GraphCanvas/PaneGrid) in the shared-UI introspection manifest (#2060) as a newlayoutstier, so they flow through the existing manifest→kit generator (reactUiKit.ts→react-ui.json) and render live in the Design Studio gallery alongside every primitive/component.Changes
shared/ui/manifest.ts: 4 templates inPrimitiveName+ alayoutsgroup + slot/prop specs + anobjectPropType (GraphCanvasvp/world).shared/ui/registry.tsx: the 4 in the render-map (compile-time sync guard).reactUiKit.ts:layouts→layoutrole + guidance overlay (whenUse/whenNot/srcText).specimens.tsx: a live schematic specimen per template, with variants.react-ui.json: regenerated (drift guard); values verified againsttoRecord.objecttype + an all-variants specimen render smoke.Behavior-preserving for existing pages (adds introspection only). Verified:
npm run typecheckclean,npm run lint0 errors.Refs #2197. Closes #2391.
🤖 Generated with Claude Code