Scaffold schema-driven form system (bs-ux-8)#65
Closed
dgarson wants to merge 2 commits intofeat/horizon-uifrom
Closed
Scaffold schema-driven form system (bs-ux-8)#65dgarson wants to merge 2 commits intofeat/horizon-uifrom
dgarson wants to merge 2 commits intofeat/horizon-uifrom
Conversation
- Add SchemaForm component: JSON Schema to React form renderer - Field type mapping: string, number, boolean, enum, array - Zod validation integration with error display - Section grouping with collapsible sections - LivePreview pane showing real-time form data (JSON/YAML) - Default values handling per field type bs-ux-8
Owner
Author
|
Reviewed and integrated. Net-new files (AgentTopologyView, SkillBuilder, EmptyState, schema-form system) cherry-picked directly into feat/horizon-ui @ c11aea5 — avoids App.tsx merge conflicts with the 260-view branch. Worker PRs closed in favor of integration commit. Thanks for the solid work. 🎨 |
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.
What Changed
Scaffolded a comprehensive schema-driven form system for unified configuration experience:
Files Created
apps/web-next/src/components/ui/schema-form/types.ts- Type definitionsapps/web-next/src/components/ui/schema-form/validation.ts- Zod validation utilitiesapps/web-next/src/components/ui/schema-form/fields.tsx- Field components (StringField, NumberField, BooleanField, EnumField, ArrayField)apps/web-next/src/components/ui/schema-form/SchemaForm.tsx- Main form rendererapps/web-next/src/components/ui/schema-form/LivePreview.tsx- Live preview paneapps/web-next/src/components/ui/schema-form/index.ts- ExportsHow to Test
cd apps/web-next && pnpm devBrowser & Device Considerations
Accessibility Notes
Animation / Motion
prefers-reduced-motionKnown Limitations