Commit f94905d
Phase 4 of #2545. FormRenderer (and its captive FieldFactory) was an
exported-but-dead second form render path with zero runtime consumers — the
only import in the whole repo was its own test file. It duplicated
plugin-form's ObjectForm (the path every app actually uses via the component
registry) as a degraded variant: raw-HTML/Tailwind instead of shared UI
primitives, a hard-coded Submit button, no submitBehavior/aria/groups support.
- delete packages/react/src/components/form/ entirely (FormRenderer,
FieldFactory, their test, README, index) and the now-empty re-export
`export * from './components/form'` in packages/react/src/index.ts
- remove the public exports FormRenderer/FormRendererProps/FieldFactory/
FieldFactoryProps/ExtendedFormField from @object-ui/react (changeset: minor)
- docs: delete content/docs/core/form-renderer.mdx, drop it from core meta.json
nav, repoint the schema-renderer and enhanced-actions cross-links (the latter
to the live /docs/components/form page), delete the stale example
packages/types/examples/form-renderer-example.ts
- fix stale guidance that listed FormRenderer as an app-shell export
(app-shell never exported it): app-shell/README.md, three skills guides; the
plugin-development guide's registration example now shows the real
ObjectFormRenderer symbol
Verified: pnpm react build clean; vitest react 23 files / 295 tests pass; no
FormRenderer/FieldFactory/ExtendedFormField references remain outside CHANGELOGs.
Refs #2545.
Claude-Session: https://claude.ai/code/session_01Ln4gqtxXuymoQmyy4iRM2z
Co-authored-by: Claude <noreply@anthropic.com>
1 parent fba6875 commit f94905d
17 files changed
Lines changed: 26 additions & 2401 deletions
File tree
- .changeset
- content/docs/core
- packages
- app-shell
- react/src
- components/form
- types/examples
- skills/objectui/guides
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 55 | | |
72 | 56 | | |
73 | 57 | | |
| |||
130 | 114 | | |
131 | 115 | | |
132 | 116 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | 117 | | |
149 | 118 | | |
150 | 119 | | |
| |||
0 commit comments