Commit fdefcdd
committed
chore(app-shell): remove legacy monolith detail renderer + renderViaSchema kill-switch (ADR-0085 PR4)
RecordDetailView now always renders through the SchemaRenderer Page
pipeline: an authored PageSchema(pageType='record') when assigned, else
the buildDefaultPageSchema synthesis. The non-schema-driven monolithic
DetailView branch and both entry points are removed:
- objectDef.detail?.renderViaSchema === false (the last surviving
detail.* key — ADR-0085 removed the block from the spec, keeping this
key only as the kill-switch) is no longer read;
- the ?renderViaSchema=0 debug URL param is no longer honored.
Also drops the legacy-only plumbing this branch required: the eager
per-record related-lists fan-out (the schema path's record:related_list
self-fetches lazily per tab) and the intermediate DetailViewSchema
translation layer, now replaced by a synthParts memo that feeds
buildDefaultPageSchema directly. The DetailView component itself stays
in @object-ui/plugin-detail (still used by the record:details renderer).
Removes the now-dead `DetailView`/`RecordChatterPanel` import in
ObjectView and updates the slotted-pages guide.
Closes #2181
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VRBZFKwqib3pjPUua3LjCP1 parent 703dcec commit fdefcdd
4 files changed
Lines changed: 303 additions & 647 deletions
File tree
- .changeset
- content/docs/guide
- packages/app-shell/src/views
| 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 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments