Skip to content

App Studio 改版(3-1):数据集归到「数据」组并放常用,岗位放常用——注册表 domain ui→data、菜单点名放置、ADR-0084 表格同步 #37564

In progress

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Filing gate: ③ · Source: docs/adr/0084 on main, #amendment-2026-11-26-moves: dataset and position are placed in 常用 by name (question 4, ruled yes; record 7187264388 on #37451). On 2026-11-26 at 13:25Z the maintainer asked to bring phase 3 forward (「这些很简单吧?」). Sub-issue of #37424 (phase 3).
Grade: area:ux · Feature · p2 · evidence: packages/spec/src/kernel/metadata-plugin.zod.ts:977 registers dataset with domain: 'ui'. studioMenuPlacement.ts already carries the 常用 / 高级 tiers (ruling on #37192).
Reader: area ux-37424.

维护者速读

  • 用户能看到什么变化:Studio 菜单里的「数据集」从「界面」组挪到「数据」组,紧跟在对象后面,并且常驻显示。「岗位」在「访问」组里常驻显示。
  • 为什么:数据集是图表和 AI 问数共用的语义层,属于数据。
  • 注意:要改 spec 注册表,需要合约审查。ADR-0084 的菜单表有测试盯着,必须在同一个 PR 里一起改,所以走 Tier H 审批。
  • 需要你做的:这个 Tier H PR 由你合并。

What

Acceptance

Activity

  1. added
    priority:p2
    pm:queue
    domain:spec
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    Claim: card thread, area ux-37424 (dispatch order dispatch-37564.md)
    Session: session_01Utp6CbL6Nn3scsU8yvLyU4
    Thread session: session_01Utp6CbgELiNQU6e7me1RQy
    Account: os-bill
    Branch: claude/project-thread-80m7oi
    Worktree: objectstack-issue-37564
    Domain: domain:spec
    Seat: repo:objectstack#5
    Area: ux-37424
    File surface: packages/spec/src/kernel/metadata-plugin.zod.ts (the dataset row of DEFAULT_METADATA_TYPE_REGISTRY: its domain value and the comment above it, nothing else) and packages/spec/src/kernel/metadata-plugin.test.ts (the pin for that value); any generated spec artifact check:generated proves stale (none expected: the declared type of the registry does not move); ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.ts and its test; the tests that pin the ten 常用 types as a literal list or hold position in the fold (studioMenuModel.test.ts, StudioMenu.test.tsx), and any other test the run names that pins dataset under ui; docs/adr/0084-application-builder-information-architecture.md (the dataset and position rows of the type-to-group table, the order of the rows behind dataset, the marks that say the rows were rewritten, and nit N8: one link on the 2026-11-24 top note); one .changeset/*.md. ⛔ Not studioMenuModel.ts or StudioMenu.tsx (#37454 and #37456 hold them; the model reads the list and needs no edit). ⛔ No second table of the pinned row shape in the ADR. Stop on breach; explain in the report.
    Container & model: M, mode:thread, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier: MANDATORY docs/adr/**), effort: xhigh (reason: ADR-0084 revision plus a spec registry value, standing ADR-revision order)
    Clause-②: no
    Metadata-protocol: none
    Registry change, judged: dataset's domain moves from ui to data inside a published constant. No accepted set widens or narrows: the domain enum keeps its six values, the registry is written by no author, and a *.dataset.ts item validates as it did. The public surface does not grow: no export, key or type is added, and the constant's declared type (MetadataTypeRegistryEntryParsed[]) is unchanged, so api-surface and authorable-surface are expected not to move (measured on the build, reported in the PR). What does change is a served value: GET /meta/types answers domain: "data" for dataset, and that listing's domain-then-type order moves the row. A contract-tier review is owed all the same, by path (packages/spec/src/**, docs/adr/**).
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds — read at origin/main 41164656 2026-11-26T13:39Z. dataset is registered domain: 'ui'; STUDIO_MENU_PLACEMENT holds dataset and position as advanced; ADR-0084's table draws dataset under 界面 UI at order 7 and position 高级; form is not registered, so it gets no row here. The registry domain is read by the /meta/types listing (served value and sort), the Studio menu, the type directory and a type page's badge, and by nothing else.
    Serial constraints cleared: #37454 (PR #37546, in rework) edits studioMenuModel.ts, StudioMenu.tsx and both of their tests; this card edits the two tests only, and merges origin/main once after #37546 lands, before its final head. #37565 (card thread) retires the ~all entry and edits the same expectations in studioMenuModel.test.ts; whichever lands second merges main. #37456 (card thread) reshapes the menu's header and reads no placement. #37566 touches labels only. No open PR touches metadata-plugin.zod.ts's dataset row, studioMenuPlacement.ts or docs/adr/0084.
    Governing text: docs/adr/0084 #amendment-2026-11-26-moves on main, binding (dataset a 数据 Data type directly after object, 常用; position 常用 where it is; each row rewritten in the pull request that moves it); ruling record 7187264388 on #37451 (question 4, ruled yes); carrier note 7189717418 on #37424 (N8).
    Landing: Tier H (docs/adr/**). Approvers os-zhuang and hotlong; the maintainer merges. The thread opens the PR as a draft and arms nothing.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:spec · Feature · priority:p2 · pm:dispatched · size S; rationale: phase 3-1 of topic #37424 (datasets move to the Data group as common, positions go to common). Grade follows the parent; already dispatched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:specpm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions