Skip to content

Studio 重构后续:左侧菜单分组叫「平台 / 访问」,目录页和类型页的分组标题仍是「系统 / 安全」,统一成同一套名字 #37082

Description

@objectstack-fleet

repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

③ maintainer direct order · Source: maintainer (Yibo Wang), 2026-11-24 19:03Z: 「立卡并派发」, replying to the explanation 「左侧菜单的分组叫『平台 / 访问』,目录页的标题还是『系统 / 安全』」. Follow-up of the Studio redesign epic #36890 (#36899 nit N4, close-out 7139248742).

维护者速读

What is on main

Proposed

Rename the shared dictionary's system → Platform / 平台 and security → Access / 访问 in every locale the dictionary carries, so it matches ADR-0084. Then drop the menu-only override in studioMenuGroupLabel.ts, or have it read the dictionary. This also changes Setup's datasource badge, which then reads 平台 / Platform. Before choosing between the two routes below, confirm that is acceptable there:

  • (a) Dictionary rename everywhere. Preferred: one name per group across the product.
  • (b) Studio-scoped. DirectoryPage and the Studio PageShell use the menu labels; Setup keeps System / Security.

State the choice in the PR body. Pin tests: the directory heading, the chips and the PageShell badge in en and zh-CN.

Done when

The Studio menu, the directory's group headings and chips, and the type/item page badge show the same group name in en and zh-CN. A pin test holds it.

Dedupe (gh api search/issues, is:issue, created today): directory domain System Security, Platform Access headings. No match.

Part of #36890 (follow-up). Likely domain:ui, area:ux, size S. The grade is triage's to set.


Generated by Claude Code

Activity

  1. added
    domain:ui
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-24T19:08Z (repo:objectstack#3's request 7141632336)

    • Triage: lands in area:ux; rationale: one Studio shows two names for the same group, menu 平台 / 访问 vs directory and badge 系统 / 安全 (core feature ① one consistent design). The fix needs no new interface, so it is a Bug.
    • Type Bug, priority:p2, pm:queue added; domain:ui and area:ux already present.
    • Grade line: area:ux · Bug · cosmetic, inconsistent naming · Studio directory and type pages, en and zh-CN · read (named lines) · p2 (the UX rule) · size S.
    • Linked as a sub-issue of the Studio epic 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 (a maintainer-ordered follow-up: 「立卡并派发」, quoted in the body).
    • Route: Studio epic remainder → repo:objectstack#4.
  3. added
    pm:queue
    priority:p2
    on Nov 24, 2026
  4. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H

    Claim: PM loop round 1
    Session: session_01QSeKYkkwuF6UuFtu85Yd5H
    Account: os-justin
    Branch: claude/issue-37082-studio-group-names
    Worktree: objectstack-issue-37082
    Domain: domain:ui
    Seat: repo:objectstack#4
    Area: a4-S
    File surface: ui/packages/app-shell/src/views/metadata-admin/i18n.ts (the translateMetadataDomain dictionary, every locale it carries), ui/packages/app-shell/src/views/studio-design/studioMenuGroupLabel.ts, ui/packages/app-shell/src/views/metadata-admin/DirectoryPage.tsx and PageShell.tsx (only if route (b) is chosen), ui/packages/i18n/src/namespaces/** (only where the group names live), pin tests for the directory headings, the chips and the PageShell badge in en and zh-CN, and a changeset. ⛔ Nothing else (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the shared dictionary translateMetadataDomain (ui/packages/app-shell/src/views/metadata-admin/i18n.ts:674) in objectstack, kept at System / Security while #36899's menu says Platform / Access | none — the menu override is menu-only by the seat ruling on #36985 | Studio builders, every visit to the 全部元数据 directory and a type page
    Thread-read: 7141671713
    Premise: holds (read on origin/main 9d70768): translateMetadataDomain is at metadata-admin/i18n.ts:674, and its readers are DirectoryPage.tsx:310 and PageShell.tsx:300 / :352. studioMenuGroupLabel.ts:9-25 is the menu-only override. The dictionary is re-exported from metadata-admin/index.ts:48; its values change, but its signature does not.
    Pre-claim lane: repo:objectstack seat 4 zone a4-S (triage route 7141671713: "Studio epic remainder → repo:objectstack#4"); every path under ui/**, domain:ui, area:ux
    Pre-claim deps: none (no Blocked-by:); #36899 merged
    Prior rulings read: maintainer 19:03Z 「立卡并派发」 (quoted on the card); ADR-0084 as amended by PR #36921 (group names 数据、界面、自动化、平台、访问、AI); epic #36890 decision 11; the #36985 seat ruling and L1-b (3) S1 7134737804 (the dictionary was left unchanged because Setup's datasource item page reads it); triage first touch 7141671713 (Bug, p2, size S). The card prefers route (a), a dictionary rename everywhere, and asks for the Setup datasource badge's change to be confirmed acceptable. The dev measures Setup's readers and states the choice and the evidence in the PR. If (a) would change what any non-Studio surface says, the dev reports that, and the seat brings it to the maintainer before landing.
    Serial constraints cleared: in-flight #36900 (claude/issue-36900-studio-cmdk) may read the menu model for palette groups, but does not edit studioMenuGroupLabel.ts by its claim. The dev runs overlap-check.mjs before every push.
    Size: S.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
    os-dev-report

    {
      "issue": 37082,
      "status": "done",
      "branch": "claude/issue-37082-studio-group-names",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37121",
      "session": "session_01QSeKYkkwuF6UuFtu85Yd5H",
      "premise_still_valid": true,
      "summary": "Route (a): the shared dictionary DOMAIN_LABELS_EN/ZH (translateMetadataDomain, ui/packages/app-shell/src/views/metadata-admin/i18n.ts) now draws system as Platform/平台 and security as Access/访问 (ADR-0084 amended); studioMenuGroupLabel reads the dictionary and its two menu-only keys engine.studio.menu.groupSystem/groupSecurity are removed from the studio namespace (en, zh). Readers measured on 9d707686: DirectoryPage chips and headings, PageShell badge (list and compact header) in Studio, and the one non-Studio surface, Setup's datasource item page (SETUP_KEPT_METADATA_TYPE = datasource), whose badge goes System/系统 -> Platform/平台; ADR-0084's type-to-group table puts datasource under 平台 Platform, so it is the same group and (a) holds; no security-domain type is kept in Setup; app-shell is private and an org-wide code search finds no external consumer of the re-export. Beyond the claim's file list, two existing tests pinning the old words (PageShell.narrowHeader-12306, StudioDesignSurface.accessSegment-12452) and one doc comment in studioMenuModel.ts were edited because this change made them false; the PR body asks the maintainer to confirm the Setup datasource badge change.",
      "tests": "Head b5fb87598, from ui/ under os-verify-lock: pnpm exec vitest run --maxWorkers=2 (new DirectoryPage.groupNames-37082 pin en+zh-CN, PageShell.narrowHeader-12306, DirectoryPage.stateVocabulary-29705, all of packages/app-shell/src/views/studio-design/) -> Test Files 303 passed (303), Tests 2299 passed (2299), VERDICT command-exit 0. Ablation via scripts/ablation-replace.mjs on i18n.ts (zh system 平台 -> 系统): anchor 1 -> 0, blob 56974a0e -> 9c1f7650, 6 failed | 15 passed (the five zh-CN cases of the new pin + the menu case in studioMenuModel.test.ts; en green), restored blob == HEAD, git diff HEAD empty. No dist path involved (in-package relative import).",
      "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands -> 38 families, each exit 0 captured before any pipe (incl. pnpm --dir ui exec vitest run scripts/: Test Files 172 passed | 2 skipped (174)); --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (derived zero, exit codes recorded). Extra: pnpm --dir ui run check:i18n-dead-keys / check:i18n-keys / check:i18n-drift exit 0; pnpm --filter @object-ui/app-shell --filter @object-ui/i18n run type-check exit 0 (both script names echoed); overlap-check VERDICT clean exit 0 before each push. CI on b5fb87598 at report time: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, CI release & engine, docs & code guards, repo & tooling, scoped x3), PR-body guards, Type Check (consumer, debt ledger, source, workspace) = in_progress; 18.x upgrade harness, Borrowed queue verdict, Packed-tarball smoke, Queue verdict, Schedule gate = skipped. UI jobs (Lint UI, Type Check UI, Test UI, Build & E2E UI) not yet listed: NOT MEASURED, reason: not started at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch, not REST); relay pr_create POST /repos/objectstack-ai/objectstack/pulls (+ assignees leg POST /issues/37121/assignees) via fleet-write run 45481047390; post-stamped comment POST /repos/objectstack-ai/objectstack/issues/37082/comments",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · DOMAIN_LABELS_* keep a UI-local platform key that also reads Platform/平台; no producer sets domain platform (spec enum is data/ui/automation/system/security/ai), so it cannot collide today · noted in PR Acceptance notes, not filed"]
    }
  7. removed
    pm:dispatched
    on Nov 24, 2026
  8. os-justin commented on Nov 24, 2026

    @os-justin
    Collaborator

    os-closed-card-sweep — machine-findable marker for this generated comment.

    Removed the pm-loop state label(s) this closed card no longer claims: pm:dispatched.

    A state label claims work is in flight. This card is closed on a merged delivery, so the claim
    is stale; every other label is left exactly as it was found. Nothing here is a judgement about
    the card, and no verdict-bearing label is ever touched by this sweep.

    seat repo:objectstack#4 close-out sweep

    Generated by Claude Code


    Generated by Claude Code

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

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions