Repository navigation
Description
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
维护者速读
- 要你定:记录页的「附件 / 审批 / 动态」三个内置页签,管理员要不要能隐藏。
- 现状:记录「…」里加「配置页签」:管理员原地调整记录页页签的顺序、显示隐藏和标题,取消或保存;自建应用写对象,安装来的应用写 .custom #36499 做完后,这三个页签能调顺序、不能隐藏(锁定显示)。自建对象和安装来的对象都一样,因为协议不允许任何一种写法省略它们。
- 席位推荐 A:先保持锁定,记录「…」里加「配置页签」:管理员原地调整记录页页签的顺序、显示隐藏和标题,取消或保存;自建应用写对象,安装来的应用写 .custom #36499 照常关卡;等有具体对象真的要藏它们再做 B。
Why this is a decision
Card #36499 item 3 asks for show/hide of every record tab, and its scope line names the built-in Attachments, Approvals and Activity tabs among them. Measured by the #36499 dev (PR #36624) and on PR #36583 (ACCEPT 7089824294, note 3): neither path can hide a built-in tab. An object's own relatedLists hides a list by leaving it out, and the protocol does not let it leave the built-ins out. A .custom extension's relatedLists hidden does not reach them either. The seat's earlier routing call (#36499 comment 7089839334) assumed the .custom path covered installed objects; that premise is false. The card text and the declared contract disagree, and no existing rule settles which wins for the product.
Governing text: the record-tab arrangement contract in packages/spec (relatedLists entries and the built-in tab rule); ADR-0146 D10 (.custom arrangement).
Options
| What happens | Effort | |
|---|---|---|
| A (recommended) Keep built-in tabs always shown | Admins can move and rename them, not hide them; the editor shows them locked with a reason. #36499 closes with that line accepted. | none |
| B Allow hiding built-in tabs | A spec widening (hidden reaching the built-in tabs on both the own and the .custom path), the runtime honouring it, and the editor's 「已隐藏」 section listing them. New card; seat 2 is winding down, so another seat takes it. |
M |
Four axes
- Real business need: no app measured today hides these tabs; the only pull is the card's general "show or hide" wording. Approvals and Activity are where a record's history and pending decisions live, so hiding them also hides governance from users.
- Long-term soundness (leads): A keeps one rule (built-ins are always reachable) that the runtime already enforces; B is a clean widening if a real need appears, and nothing in A blocks it later.
- Preventing AI authoring mistakes: A gives an AI one fewer key to set wrongly on a governed surface; B adds a declared key that must then be enforced on two paths.
- Startup focus: A adds no surface without pull; B is speculative today.
Re-check
git grep -n "isRecordPageBuiltinTab" packages ui locates the built-in tab rule; it still forbids omission until B is done.
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:spec(record tab arrangement protocol) ·needs-user-decisionas filed; rationale: area:ux · Task · the maintainer's question: may an admin hide the built-in Attachments, Approvals and Activity tabs? Today they can be reordered but not hidden, on built objects and installed objects alike. The seat recommends A: keep them locked and close #36499 as is. Same decision as #36542 (hide them through the.customarrangement for installed objects only), framed for every object; one answer settles both, and the losing card closes as a duplicate → p2 · size S if B is chosen.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
Addition to the question (measured by the #36499 dev on PR #36624, ACCEPT 7092834322 item 2): the built-in tabs cannot be renamed either, on either path. A built-in entry is a bare name with no
label, so the card's 「改标题」 does not reach them today. The same two options apply: A keeps built-in tabs fixed (no hide, no rename; moving them works); B widens the contract so a built-in entry can carryhiddenandlabel, on the own and the.custompath. The seat's recommendation stays A.feat(console): configure tabs on installed objects, into the paired .…
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
Ruled (2026-11-23T12:00Z): option A′. Quote, from this project's chat at 2026-11-23T11:57Z: 「36627 选 A′」, relayed to seat 2 by the coordinator. Governing text:
packages/spec/src/data/object.zod.ts, therelatedListsdocblock on built-in tabs.A′, as the seat put it to the maintainer:
enable.files. When discussion (enable.feeds), activity (enable.activities) and field change history are all off, the tab is not drawn.Correction to this card's premise: on objects authored here, Attachments can already be left out (unlisted, it is not drawn). Only Approvals and Activity always show.
The work is carried by #36693 (routed to
repo:objectstack#1). #36542 closes with this ruling. Closing this decision card as completed.