Skip to content

Studio 对象「设置」页签:标题说业务话,键名做成旁边的小字,删掉 ADR 编号;业务项在上,开发者选项单独一段 #36512

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #36510(Studio 的保存方式和用词专题)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。维护者 2026-11-22:「立卡完成通知objectstack 2号座位」,本卡通知席位 repo:objectstack#2。

维护者说过的(2026-11-22)

  • 「studio目前的设计是不是太技术,通常每个元数据修改完直接点保存不就行了吗?除了AI会批量改,人类通常是改一个确认一个,是否建议调整」
  • 「包括界面上很多技术元素感觉实际没必要,而且容易让管理员看不懂」
  • 「Studio 不只是管理员用,应用开发人员也要用。」
  • 对「开发人员直接在有人使用的正式环境里攒几项草稿一起发布」:「虽然合理,但是把问题搞的复杂很多,先不考虑这种场景。通常正式的生产环境只会运行代码包安装的元数据应用。叠加小的个性化定制,不会大规模的批量修改」
  • 「AI 的改动单独一份清单。先不考虑」
  • 协调席给出三张卡的写法后:「立专题和卡」

现状(主干 6a35635a33,本机环境浏览器实测加读文案文件)

实测自建应用「客户」对象的「设置」页签,一个长页面里从上到下是:基础信息、暴露姿态、必需能力、谁能看到哪些记录、语义角色、功能开关。直接摆在页面上的文字有:

  • 「snake_case 唯一标识符(创建后不可修改)」
  • 「暴露姿态:公开 — 被通配授权覆盖(默认)」
  • 「必需能力」:说明里写「AND 门」「逗号分隔的能力名(如 manage_platform_settings)」
  • 「在岗位与共享规则之前生效的记录可见性基线(ADR-0056/0090)」
  • 「跨表单 / 列表 / 详情统一生效(ADR-0085)」

文案在 ui/packages/i18n/src/namespaces/studio/zh.ts 和 en.ts(engine.studio.settings.*)。清点到的:

文案键 里面有
semanticHint ADR-0085
sharingHint ADR-0056/0090
sharingDescUnset (security-owd-unset)、ADR-0090 D1
nameField、stageField、highlightFields、relatedLists、sharingModel 括号里的英文键名
sharingDescControlledByParent (master-detail)
capTrackHistory、capFiles、capFeeds、capActivities、capSearchable、capClone 括号里的英文键名

Studio 里没有任何「开发者模式」开关。

要做的

  1. 标题和说明用业务说法。英文键名不放在标题里,改成标题旁边的小号等宽灰字(开发人员写代码要用,所以保留、可复制)。
  2. 删掉界面上所有 ADR 编号和内部代号(上表里的 ADR-0085、ADR-0056/0090、ADR-0090 D1、security-owd-unset)。中文和英文两套文案都改,其他语言包同步。
  3. 页面分两段:
    • 上面一段是业务项:显示名、复数显示名、图标和颜色、描述、谁能看到哪些记录、记录名称用哪个字段、阶段字段、重点字段、记录页页签、功能开关。
    • 下面单独一段「开发者选项」:内部名称(只读)、暴露姿态、必需能力。在同一页,默认展开,不加开关。
  4. 这几处改写得让不懂内部实现的人能看懂:
    • 「snake_case 唯一标识符(创建后不可修改)」→ 说明它是内部名称、建好后不能改。
    • 「暴露姿态 / 被通配授权覆盖」→ 说明选了以后谁默认能访问这个对象。
    • 「必需能力 / AND 门」→ 说明除了对象权限以外还要额外具备什么。
  5. 页签里的子编辑器(重点字段、记录页页签、共享方式的说明)里如果还有同类文字,一并清理,并在 PR 里列出。

不做的

  • 不隐藏、不删除任何设置项。
  • 不改设置项的含义和保存的内容。
  • 不动其他页签的文案(验证、钩子、动作、API)。

验收

  • 打开自建应用「客户」的「设置」页签:页面上搜不到「ADR」;标题里没有括号英文键名;每个设置项旁边能看到小字的键名,能选中复制。
  • 页面是两段,「开发者选项」在最下面,默认展开,里面有内部名称、暴露姿态、必需能力。
  • 中文和英文界面各看一次。
  • 让一个没接触过平台内部的人读「暴露姿态」「必需能力」两处说明,能说出它们大概管什么(PR 里附改写前后的文字对照即可)。
  • PR 正文附页签改动前后的整页截图,并列出改到的文案键。

协调席自己加的

  • 「要做的」第 3 条里哪些算业务项、哪些算开发者选项的分法;「默认展开、不加开关」。
  • 第 4 条三处的改写方向(具体措辞请开发拟,PR 里对照)。
  • 第 5 条。
  • 上表来自一次文案清点,子编辑器里的文字和运行时拼出来的文字没有清点到。

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    area:studio
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    通知记录 · 2026-11-22T16:18Z

    维护者 2026-11-22:「立卡完成通知objectstack 2号座位」。本卡按此通知席位 repo:objectstack#2,随后在它的信箱 #34479 里发一条。

  3. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui (Studio object Settings tab) · pm:queue; rationale: area:ux (wording and layout; was the legacy area:studio) · Feature · the Settings tab speaks business language: key names become small print, ADR numbers go, business items come first and developer options sit in their own section. Topic #36510 → p2 as set by the coordinator · size M.

  4. added
    pm:queue
    and removed
    area:studio
    on Nov 22, 2026
  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB

    Claim: PM loop round 1 (area s2-C, topic child of #36510)
    Session: session_01ADHkmQD4KwKe5BckFpeiuB
    Account: os-steve
    Branch: claude/issue-36512-settings-business-wording
    Worktree: objectstack-issue-36512
    Domain: domain:ui
    Seat: repo:objectstack#2
    Area: s2-C
    File surface: ui/packages/app-shell/src/views/studio-design/{ObjectSettingsPanel,HighlightFieldsEditor,RelatedListsEditor}.tsx and their tests (new tests in a new file named for this card); ui/packages/i18n/src/namespaces/studio/*.ts (the engine.studio.settings.* keys only); ui/packages/i18n/src/locales/** only where a settings string the tab renders lives there; .changeset/ (stop on breach; explain in the report)
    Container & model: M, mode:subagent, model: default (dispatch-gates --tier: "no path-derived mandate", floor sonnet · default opus · ceiling fable), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Order: the maintainer, verbatim 「立卡完成通知objectstack 2号座位」 (2026-11-22, on topic #36510); seat plan for the children: #36510 comment 7082082882 ("#36512 … dispatched first")
    Thread-read: 7082325856
    Pre-claim lane: ui/** (Studio Settings tab + studio i18n namespace) — domain:ui, worked in this lane under the keep-lane rule; no other lane's path.
    Pre-claim deps: the card names no Blocked-by: and no "after #N". Open PRs touching the surface: only #36519 (this seat's #36501, zh.ts/en.ts studio namespace, different keys; not seat 7's). overlap-check.mjs re-runs before the first push.
    Prior rulings read: check-prior-rulings.mjs --card 36512 — 11 hit lines in 4 files, none on the engine.studio.settings.* keys or on the Settings tab's section order (ObjectSettingsPanel.tsx:216 cites the #30905 ruling A on related-list fields, which the card does not change: it changes labels only). No ruling bars the wording change.
    Premise: holds at origin/main 70194ff — zh.ts:2148 semanticHint carries (ADR-0085), zh.ts:2184 sharingHint (ADR-0056/0090), zh.ts:2192 sharingDescUnset (security-owd-unset) + ADR-0090 D1, en.ts:2363 nameField and en.ts:2432 capClone carry the key in parentheses.
    Clause-② reading: the studio catalogues are declared Record<string, string> (no typeof key type), so changed values do not move a published type; the dev confirms on the build declaration closure if it adds keys.
    Serial constraints cleared: #36519 (same package, same two catalogue files, disjoint keys) — overlap-check before push decides whether to queue behind it; no seat-7 PR touches studio-design/** or the studio namespace.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
    os-dev-report

    {
      "issue": 36512,
      "status": "blocked",
      "branch": "claude/issue-36512-settings-business-wording",
      "head": "9907a9e3",
      "pr": null,
      "blocked_on": "file surface: the internal name, exposure and required-capabilities rows (card items 3 and 4, and the inspector half of items 1 and 2) are drawn by ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectDefaultInspector.tsx from designer.object.* keys; the claimed surface covers neither",
      "done_in_surface": "engine.studio.settings.* en/zh: ADR numbers, rule codes and parenthesised key names removed, titles reworded; key names drawn as select-all small print beside each setting, outside the control label (11 keys); new pin file plus one updated pin",
      "files_changed": [
        "ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.tsx",
        "ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.test.tsx",
        "ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.businessWording-36512.test.tsx",
        "ui/packages/i18n/src/namespaces/studio/en.ts",
        "ui/packages/i18n/src/namespaces/studio/zh.ts"
      ],
      "line_budget": "336 changed lines (+259 / -77, 5 files) vs the 3000 human-merge threshold, at 9907a9e3",
      "gates": "dispatch-gates --commands at 9907a9e3: 27 derived, 27 run, all exit 0; --ran: 0 NOT-MEASURED, 0 UNRUN. Plus ui check:i18n-dead-keys, check:i18n-keys, check:i18n-drift exit 0. Tests: ObjectSettingsPanel*, inspectorStrings*, i18n studio-namespace: 16 files / 385 tests passed (lock VERDICT command-exit 0). type-check @object-ui/app-shell and @object-ui/i18n: VERDICT command-exit 0. Changeset not yet written, so the 13 changeset-gated families are owed at the final head.",
      "deviations": [
        "no PR opened: the card's acceptance needs the out-of-surface half",
        "screenshots NOT MEASURED: owed with the full delivery"
      ],
      "security_findings": "none"
    }
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB

    File surface amended · 2026-11-22T17:39Z · claim 7082449740, after the dev's blocked report 7082981555.
    Reason: the Settings tab mounts the shared object inspector as its basics card, so the internal-name, exposure and required-capabilities rows (card items 3 and 4) are drawn there, not in ObjectSettingsPanel.tsx.
    Added: ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectDefaultInspector.tsx and its tests (plus one new pin file named for this card); ui/packages/app-shell/src/views/metadata-admin/default-inspector-registry.ts (one optional prop on the inspector props, default = whole panel, so other hosts stay unchanged); the studio designer.object.* keys the inspector renders on this tab; the pins that read those keys (inspectorStrings tests).
    Route: option A of the report (one inspector implementation, mounted twice on the tab: business rows on top, developer rows in a bottom section, expanded, no toggle).
    Not added: packages/spec/src/**. The controlled_by_parent refusal text from the spec (it cites ADR-0055 §1) stays out of this PR; it goes to the seat as a separate spec-lane item, and this PR lists it under ## Acceptance notes.
    Overlap: no open PR touches the added paths (read at 2026-11-22T17:39Z).

  9. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB
    os-dev-report

    {
      "issue": 36512,
      "status": "done",
      "branch": "claude/issue-36512-settings-business-wording",
      "head": "e735eb11",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36540",
      "supersedes": "the blocked report 7082981555 (file surface amended in 7083009664, option A)",
      "files_changed": [
        ".changeset/36512-settings-business-wording.md",
        "ui/packages/app-shell/src/views/metadata-admin/default-inspector-registry.ts",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectDefaultInspector.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectDefaultInspector.test.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectDefaultInspector.sharedSelect-11865.test.tsx",
        "ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.tsx",
        "ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.test.tsx",
        "ui/packages/app-shell/src/views/studio-design/ObjectSettingsPanel.businessWording-36512.test.tsx",
        "ui/packages/i18n/src/namespaces/studio/en.ts",
        "ui/packages/i18n/src/namespaces/studio/zh.ts"
      ],
      "line_budget": "807 changed lines (+626 / -181, 10 files) vs the 3000 human-merge threshold, at e735eb11",
      "gates": "dispatch-gates --commands at e735eb11: 38 derived, 38 run, all exit 0; --ran: 0 NOT-MEASURED, 0 UNRUN; plus ui check:i18n-dead-keys, check:i18n-keys, check:i18n-drift, check:new-line-citations exit 0 (42 lines in the seat's gates-ran file). Tests at add42cde: 421 files, 4494 passed, 1 skipped, plus type-check of @object-ui/app-shell and @object-ui/i18n, lock VERDICT command-exit 0; at e735eb11 the two pins it touched, 25/25. PR check-runs at e735eb11: 22, 17 in_progress, 5 skipped.",
      "clause2": "no, unchanged; measured: app-shell dist/index.d.ts exports nothing from default-inspector-registry, studio catalogues are a string-to-string record",
      "deviations": [
        "maintainer quick-read section has 4 lines (os-dev.md fixes four), not the 6 the dispatch order asked",
        "screenshots taken on the showcase showcase_account object (read-only code package), not a self-built 'customer' object"
      ],
      "security_findings": "none"
    }
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB

    ACCEPT → PR #36540 comment 7084384961 (head e735eb1, 2026-11-22T19:25Z); readied and auto-merge armed by area s2-C. Out of scope: carrier #36526.

  11. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmQD4KwKe5BckFpeiuB

    Delivered · 2026-11-22T19:46Z · PR #36540 merged; the card closed on its Fixes line. pm:dispatched removed in this stroke (closing hygiene). Out-of-scope remainder: #36526.

  12. removed
    pm:dispatched
    on Nov 22, 2026
  13. added a commit that references this issue on Nov 23, 2026
    a10987a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions