From 8b13a2f3118483e17a38f98a706b52fce2a2be41 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Nov 2026 10:29:15 +0000 Subject: [PATCH] docs(adr-0035): note the overview's body-table order after the open field sections Add-only dated note under the 2026-11-19 amendment: body tables now follow the field sections drawn open and precede trailing closed ones. Co-authored-by: Claude Claude-Session: https://claude.ai/code/session_01Utp6CZrgaiMgTJCnswR6jQ --- docs/adr/0035-config-driven-master-detail.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/adr/0035-config-driven-master-detail.md b/docs/adr/0035-config-driven-master-detail.md index f37b0d1fffe..aff4c24e21b 100644 --- a/docs/adr/0035-config-driven-master-detail.md +++ b/docs/adr/0035-config-driven-master-detail.md @@ -139,6 +139,20 @@ a self-referential FK surfaces a "children" list. > `inlineEdit` is a body table on the record page and stays out of the > parent's form. +> **Amended (2026-11-20, #35742; epic #35590).** One clause of the note above +> no longer holds: a body table no longer sits "under the header strip and +> above the field sections". The overview's details column now reads top to +> bottom as the header strip (key fields and the stage bar), the field +> sections drawn open, the body tables in the parent's `relatedLists` order, +> then the field sections drawn closed that follow the last open one. A +> closed section between two open ones keeps its place; when every section is +> drawn closed, the tables come last; a field group whose `relatedList` names +> a table still places it among the field sections; and an object with no +> stage bar and no key fields opens on its own fields. "Drawn closed" is what +> the reader sees: a section that opens expanded (the host's "More details" +> today) stays before the tables. Everything else in the note above is +> unchanged. + The derivation is a pure function — `deriveRelatedLists(objectDef, objects)` in `@object-ui/app-shell` (`utils/deriveRelatedLists.ts`) — the read-side analogue of `attachInlineSubforms`. `RecordDetailView` feeds its output into the