Skip to content

Commit 33b946d

Browse files
committed
docs(adr): ADR-0085 note records pinOverview and fieldTabs as ruled exceptions
One dated Note in section 2, after the actionLayout note. It records the maintainer's 2026-11-27 ruling: two object-level record-page keys, pinOverview and fieldTabs, are ruled exceptions to the "hide/re-arrange keys are rejected at this layer" guard. The note states each key's scope, names the implementing cards, separates the object-level fieldTabs from the form-level FormSchema.fieldTabs, and says the guard keeps its force for every other key. ADR text only: no spec, skill or package change. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibzs1FgtddC54pwhqBf
1 parent 30a8047 commit 33b946d

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

‎docs/adr/0085-object-semantic-roles-over-surface-hint-blocks.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,37 @@ Keys that merely hide/re-arrange correct information (`hideRelatedTab`, `showRef
140140
> [#36629](https://github.com/objectstack-ai/objectstack/pull/36629); the row menus by
141141
> [#36815](https://github.com/objectstack-ai/objectstack/pull/36815).
142142
143+
> **Note (2026-11-27, [#37800](https://github.com/objectstack-ai/objectstack/issues/37800), ruling
144+
> recorded on #37800 and [#37792](https://github.com/objectstack-ai/objectstack/issues/37792)).** The
145+
> 2026-11-23 note counts two places where §2's "keys that merely hide/re-arrange correct information
146+
> are rejected at this layer" yields, `relatedLists` (2026-11-20) and its own `actionLayout`. There
147+
> are now three. The third is one ruling that carries two object keys, `pinOverview` and `fieldTabs`,
148+
> and both are **ruled exceptions**. This note does not claim that either key passes the admission
149+
> test: each only re-arranges one surface, the synthesized (default) record page. The maintainer
150+
> (Jack) asked for them in the seat thread on 2026-11-27,
151+
> 「我觉得这个应该是一个元数据的配置项吧,这种应该是常见需求。」 (03:36Z) and
152+
> 「我能够具体配置每一个页签显示哪些分组吗?然后还有一个开关控制第一个页面要不要pin到左侧」 (03:40Z), and
153+
> chose 「例外 + 新键 fieldTabs」 on the 04:07Z decision card (records
154+
> [`7209632085`](https://github.com/objectstack-ai/objectstack/issues/37800#issuecomment-7209632085)
155+
> on #37800 and
156+
> [`7209608089`](https://github.com/objectstack-ai/objectstack/issues/37792#issuecomment-7209608089)
157+
> on #37792; the card bodies quote him). His 「是否建议保留 relatedList 这个语法」 (03:51Z) ended with
158+
> `relatedLists` kept, unrenamed and unchanged: field tabs are a sibling key, not entries in it.
159+
> `pinOverview` says whether the overview (the 概览 tab, the record's own fields) pins to the left
160+
> column, on the wide (desktop) full page only, where pinning is otherwise derived
161+
> (`ui/packages/plugin-detail/src/synth/recordPageColumns.ts#recordPagePinsDetails`); the side
162+
> preview and a phone never pin. `fieldTabs` names field groups that leave the overview and are drawn
163+
> as tabs right after it, in declared order, ahead of every other tab. An object that declares
164+
> neither key draws as before. Neither key is in the spec yet: `ObjectSchema` is strict and refuses
165+
> both until [#37792](https://github.com/objectstack-ai/objectstack/issues/37792) lands `pinOverview`
166+
> and [#37802](https://github.com/objectstack-ai/objectstack/issues/37802) lands `fieldTabs`. This
167+
> object-level `fieldTabs` is not the form-level `FormSchema.fieldTabs` that the `@object-ui` form
168+
> renderer reads (`ui/packages/types/src/form.ts`, beside `defaultFieldTab` and `fieldTabsPosition`),
169+
> which spreads one form's fields across tab panels. It is the same word at a different layer, and
170+
> this note rules only the object key. The guard keeps its force for every other key: any other
171+
> object key that only hides or only re-arranges still needs its own ruling, above all per-page
172+
> show/hide switches.
173+
143174
### 3. Deletions (all evidenced zero-author)
144175

145176
- **`detail` block removed from `ObjectSchema`** — all three typed keys. `renderViaSchema` retires *together with* the legacy monolith renderer path in objectui (separate execution PR; the key is only that path's steering wheel, deleting it alone saves nothing). `hideReferenceRail`/`hideRelatedTab` are removed outright (the former is a proven no-op for spec authors; the latter's raison d'être — overriding rail/tab dedup — died with the rail).

0 commit comments

Comments
 (0)