|
| 1 | +--- |
| 2 | +'@object-ui/types': minor |
| 3 | +'@object-ui/plugin-kanban': minor |
| 4 | +'@object-ui/plugin-gantt': minor |
| 5 | +'@object-ui/components': patch |
| 6 | +'@object-ui/cli': patch |
| 7 | +'@object-ui/console': patch |
| 8 | +'@object-ui/runner': patch |
| 9 | +'@object-ui/sdui-parser': minor |
| 10 | +--- |
| 11 | + |
| 12 | +Four node type keys retire, and the kanban and gantt families converge on their |
| 13 | +`object-*` spellings: `kanban` (objectui#8802), `kanban-ui` and `kanban-enhanced` |
| 14 | +(objectui#8257), and `gantt` (objectui#8008). All four were ruled by the |
| 15 | +maintainer in one batch on 2026-09-09. |
| 16 | + |
| 17 | +**⛔ No stored document moves.** The strings `kanban` and `gantt` name two |
| 18 | +different things at two different layers, and only one of them is retiring: |
| 19 | + |
| 20 | +| layer | value | who writes it | retired? | |
| 21 | +| --- | --- | --- | --- | |
| 22 | +| stored `NamedListView.type` | `"kanban"`, `"gantt"` | `CreateViewDialog`, persisted per tenant | **no — untouched** | |
| 23 | +| node type key | `kanban`, `gantt` | hand-authored JSON | **yes** | |
| 24 | + |
| 25 | +`ObjectView`'s `switch (viewType)` maps a stored view type onto the node type it |
| 26 | +renders, and it already emitted `object-kanban` and `object-gantt` — as it does |
| 27 | +for all twelve stored view types. So every kanban and gantt view any user ever |
| 28 | +created through the console already renders through the surviving spelling. |
| 29 | +Nothing in a tenant database changes, and ⛔ nothing should be migrated there. |
| 30 | + |
| 31 | +**What each retirement was, measured.** Three of the four were |
| 32 | +registration-only: no schema face in `@object-ui/types` ever declared |
| 33 | +`kanban-ui`, `kanban-enhanced` or `gantt` as a component node type, so |
| 34 | +unregistering is the whole retirement. The bare `kanban` key was the exception — |
| 35 | +it had a declared arm on both faces (`KanbanSchema` in `complex.ts` and its Zod |
| 36 | +mirror), and a plain deletion there would have been the objectui#7664 failure: |
| 37 | +`BaseSchema` is `.passthrough()`, so a document naming a dropped key validates |
| 38 | +green and renders nothing. It therefore retires as a **named refusal**: the Zod |
| 39 | +union keeps an arm claiming the literal and answers a `{ "type": "kanban" }` |
| 40 | +document with a message naming `object-kanban` as the remedy, while the |
| 41 | +TypeScript half is the absence of the arm from `ComplexSchema` and of the key |
| 42 | +from `SchemaRegistry`, so `tsc` refuses it at the authoring site. |
| 43 | + |
| 44 | +**⭐ This closes objectui#8818's `objectFields` hole — for that ENTRY, not for |
| 45 | +the class.** `SchemaRenderer` strips a fixed enumerated metadata list and |
| 46 | +spreads the rest as React props; `objectFields` is not on that list, and |
| 47 | +`KanbanRenderer` — the component the `kanban-ui` key resolved to — declares |
| 48 | +`objectFields` as a real prop, so an authored value reached the predicate layer |
| 49 | +with no schema face judging it. With the registration gone, no authored node |
| 50 | +reaches that component through the registry. ⚠️ The **class** is still open: the |
| 51 | +hole returns the moment another registered renderer declares an `objectFields` |
| 52 | +prop. objectui#8818's option (a) — stripping at the `SchemaRenderer` boundary — |
| 53 | +is what would close the class. |
| 54 | + |
| 55 | +**⚠️ What the `kanban` arm took with it, stated because it is the cost of this |
| 56 | +change.** That arm was the only schema face that ever declared `columns`, |
| 57 | +`cardTitle`, `swimlaneField`, `grouping` and `navigation`, the only one that |
| 58 | +refused `allowCollapse` / `cardTemplates` / `columnWidths` / `titleField` / |
| 59 | +`draggable` / `onColumnAdd` / `onCardAdd` by name, and — through |
| 60 | +`columns: KanbanColumn[]` — the only one that judged a lane's `cards` |
| 61 | +(objectui#6939). The surviving `ObjectKanbanSchema` face declares none of them. |
| 62 | +⛔ Nothing about an `object-kanban` document changes: it was never judged by the |
| 63 | +`kanban` arm, so all of those keys have always ridden `BaseSchema`'s index |
| 64 | +signature there. What is gone is the `kanban` document that had them. Declaring |
| 65 | +them on `ObjectKanbanSchema` would WIDEN a published accept set, which is a |
| 66 | +maintainer ruling and not part of this one; every one of these readings is |
| 67 | +pinned where it can be seen rather than left to be rediscovered. |
| 68 | + |
| 69 | +**Migrating.** Replace `"type": "kanban"` with `"type": "object-kanban"` and |
| 70 | +`"type": "gantt"` with `"type": "object-gantt"` in hand-authored documents. The |
| 71 | +`object-kanban` face requires `groupBy` and one of `bind` / `data` / |
| 72 | +`objectName`; a purely static board (lanes carrying their own cards, no record |
| 73 | +source) adds `"groupBy"` and `"data": []`. `kanban-ui` and `kanban-enhanced` |
| 74 | +have no authored documents anywhere in this repository to migrate. |
| 75 | + |
| 76 | +**⚠️ The namespaced spellings retire with the registrations — `view:kanban` and |
| 77 | +`view:gantt` are the same two keys.** `ComponentRegistry.register(type, C, |
| 78 | +{ namespace })` stores BOTH `namespace:type` and a bare-`type` fallback, so |
| 79 | +every one of these keys had a namespaced twin that goes with it: |
| 80 | + |
| 81 | +| retired spelling | namespaced twin | author instead | |
| 82 | +| --- | --- | --- | |
| 83 | +| `kanban` | `view:kanban` | `object-kanban` | |
| 84 | +| `gantt` | `view:gantt` | `object-gantt` | |
| 85 | +| `kanban-ui` | `plugin-kanban:kanban-ui` | `object-kanban` | |
| 86 | +| `kanban-enhanced` | `plugin-kanban:kanban-enhanced` | `object-kanban` | |
| 87 | + |
| 88 | +Both spellings are pinned as gone, each against a firing control on the |
| 89 | +surviving key, in `plugin-kanban/src/__tests__/kanban-family-registry-keys-retired-8257.test.ts` |
| 90 | +and `plugin-gantt/src/__tests__/bare-gantt-node-key-retired-8008.test.ts`. |
| 91 | + |
| 92 | +**What an unmigrated `view:kanban` / `view:gantt` node now renders depends on |
| 93 | +the host.** In `apps/console` it renders the protocol **placeholder** panel, not |
| 94 | +the OBJUI-001 "Unknown component type" error: the console calls the opt-in |
| 95 | +`registerPlaceholders()` (`@object-ui/components`, `renderers/placeholders.tsx`) |
| 96 | +*after* its plugin registrations, `view:kanban` and `view:gantt` are both in |
| 97 | +that file's `PROTOCOL_COMPONENTS` list, and the placeholder only claims a key |
| 98 | +nothing else has taken — which, until this change, `@object-ui/plugin-kanban` |
| 99 | +and `@object-ui/plugin-gantt` had. In every other host, which does not call that |
| 100 | +bootstrap, the same node renders OBJUI-001. |
| 101 | + |
| 102 | +**⚠️ `objectui check` will NOT flag either namespaced spelling.** The CLI's |
| 103 | +`known-schema-types.ts` is generated from the repository's real registration |
| 104 | +calls, and the placeholder registration is a real one — so `view:kanban` and |
| 105 | +`view:gantt` are still on that list and still validate green, while the node |
| 106 | +renders a placeholder rather than a board. The bare `kanban` / `gantt` entries |
| 107 | +DID leave the generated list; only the namespaced pair survives, and only |
| 108 | +because of the placeholder. Grep your documents for the namespaced spellings |
| 109 | +directly; do not rely on `objectui check` to find them. |
| 110 | + |
| 111 | +`KanbanRenderer` is still exported from this package's entry point |
| 112 | +(`@object-ui/plugin-kanban`); only its registry key is gone. ⚠️ `KanbanEnhanced` |
| 113 | +is a different case, and the earlier draft of this note stated it wrongly: this |
| 114 | +package's `exports` map has exactly two entries — `.` and `./style.css` — and |
| 115 | +the barrel never re-exported the component, so |
| 116 | +`@object-ui/plugin-kanban/KanbanEnhanced` has never been a resolvable specifier |
| 117 | +for a consumer. With `kanban-enhanced` unregistered, `KanbanEnhanced.tsx` has |
| 118 | +zero non-test importers. ⛔ The file is deliberately left in place: deleting |
| 119 | +published-but-unreachable source is a further narrowing and needs its own |
| 120 | +maintainer ruling, which this change does not have. |
| 121 | + |
| 122 | +**⚠️ `@object-ui/sdui-parser`: `QUICK_ADD_HOST_TYPES` loses `kanban` with the |
| 123 | +registration.** The `inert-quick-add` diagnostic (objectui#8285) named the two |
| 124 | +tags `ObjectKanbanRenderer` answered to; one of them retires here, so the set is |
| 125 | +now `{ 'object-kanban' }`. ⛔ Nothing is silently dropped by that narrowing, and |
| 126 | +this is measured rather than argued: `checkKanbanQuickAdd` has exactly one call |
| 127 | +site — `validate.ts`'s per-prop walk — and that walk runs only in the branch |
| 128 | +where the manifest RESOLVED the tag. A tag no registration produces is answered |
| 129 | +one level up by `unknown-component`, an **error**, and its props are never |
| 130 | +walked, so on a manifest built from the live registry a `<kanban quickAdd>` node |
| 131 | +draws `error/unknown-component` and nothing else, against a firing control on |
| 132 | +`<object-kanban quickAdd>` that still draws `warning/inert-quick-add`. Keeping |
| 133 | +`kanban` in the set would have been reachable only through a hand-built manifest |
| 134 | +declaring a component of that name — which, after this retirement, is somebody |
| 135 | +else's component, and the message asserts things about `ObjectKanban` that would |
| 136 | +be false of it. This supersedes the `kanban` half of the objectui#8285 entry. |
| 137 | + |
| 138 | +**The diagnostic's remedy text moves from a tag to a component.** It used to end |
| 139 | +"render `<kanban-ui>` from a React host that passes `onQuickAdd`". That sentence |
| 140 | +is falsified by this change: `kanban-ui` is no longer a node type key, so a page |
| 141 | +written to the old advice draws `unknown-component`. It now names |
| 142 | +`KanbanRenderer` from `@object-ui/plugin-kanban` — still exported, still |
| 143 | +forwarding both halves by identity — which is the surviving way to get the pair. |
| 144 | +`content/docs/plugins/plugin-kanban.mdx` says the same thing the same way. |
0 commit comments