Commit 059f7ba
docs(components): react-page scope comment says ObjectGrid, not the unregistered ObjectTable (#2938)
The `kind:'react'` page header comment advertised two identifiers that do
not exist, so an author following it hit a wall either way:
- `<ObjectTable>` -> ReferenceError, surfaced as the red "React page error"
panel. `buildComponentScope` PascalCases each public non-container tag
from the curated PUBLIC_BLOCKS contract, which carries `object-grid`
(registered in plugin-grid) and no `object-table` at all, so the real
injected identifier has always been `ObjectGrid`.
- `<Block type="object-table" />` -> "Unknown component type", since
nothing registers that type anywhere in the product.
`object-table` survives only in sdui-parser's synthetic compiler fixtures,
which build their own inline manifests and never touch the real registry.
Comment-only; no behavior change.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent dc7a798 commit 059f7ba
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments