Skip to content

App Studio 改版(3-2):「全部软件包」目录 ~all 搬到设置的访问分组,Studio 不再有这个入口 #37565

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

Filing gate: ③ · Source: docs/adr/0084 on main, #amendment-2026-11-26-moves. Question 5 was ruled: ~all goes to an access-related Setup group, not to Diagnostics (record 7187264388 on #37451). The maintainer asked at 2026-11-26 13:25Z to move phase 3 forward. Sub-issue of #37424 (phase 3).
Grade: area:ux · Feature · p2 · evidence: the Studio ~all scope (the all-packages directory) is drawn from studio-design/** and routed in the console.
Reader: area ux-37424.

维护者速读

  • 用户能看到什么变化:跨所有软件包的「全部目录」搬出 Studio,放到「设置」里和访问相关的分组下。Studio 只用来开发一个软件包。
  • 为什么:Studio 开发一个包,设置管整个组织和全局内容(专题第 12 条,你已同意)。
  • 需要你做的:无。

What

Acceptance

  • Setup shows the directory under the access group, Studio has no ~all entry, and an old ~all link lands on the Setup page.
  • Existing ~all tests are re-pointed, not weakened. Screenshots attached.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZhAqkgRyMYuZeZt9S

    Claim: card thread, area ux-37424 (dispatch order dispatch-37565.md)
    Session: session_01Utp6CZhAqkgRyMYuZeZt9S
    Account: os-bill
    Branch: claude/project-thread-x4tuqk
    Worktree: objectstack-issue-37565
    Domain: domain:ui
    Seat: repo:objectstack#5
    Area: ux-37424
    Thread session: session_01Utp6CZhAqkgRyMYuZeZt9S (card thread of the area's session session_01Utp6CbL6Nn3scsU8yvLyU4)
    File surface: new files under ui/packages/app-shell/src/views/setup/ for the Setup page (AccessDirectoryPage.tsx) and its pure address model, with their tests; ui/packages/app-shell/src/services/builtinComponents.tsx (one registration); packages/platform-objects/src/apps/setup-nav.contributions.ts (one entry in group_access_control) and that package's nav label translations; Studio side kept to the minimum: studioMenuModel.ts (retire the environment entry and point the package-less menu's access rows at the Setup page), studioMenuData.ts and StudioMenu.tsx (drop the retired kind's label key and icon only), metadataArea.ts / StudioMetadataArea.tsx (the one-hop redirect), setupMetadataRedirect.ts and studioEntryPermissions.ts (callers that landed on the retired directory), ui/apps/console/src/components/StudioRoute.tsx (the bare ~all/* route only); the tests that pin ~all re-pointed; ui/e2e/live/declared-sharing-rules-reach-13091.spec.ts (re-pointed); the label strings in the i18n packs; one .changeset/*.md. ⛔ Not StudioDesignSurface.tsx (#37456, #37553). Stop on breach; explain in the report.
    Container & model: M, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
    Sequencing: studioMenuModel.ts and StudioMenu.tsx are also edited by #37454 (PR #37546); merge origin/main once after it lands.
    Blocked-by: none.
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: none
    Premise: holds — read at origin/main 41164656 2026-11-26T13:50Z. The Studio menu draws the environment entry (Access group, every scope) to /studio/~all/metadata, whose root is the type directory scoped to the environment catalog's four types; Setup's group_access_control has no entry for them.
    Reading taken (the area may overrule it on the PR): the Setup page serves the directory and each type's environment list, re-using the metadata-admin pages, with Setup's header; an item, a create and a history still open in Studio, on the editor the environment scope uses today (/studio/~all/metadata/TYPE/NAME?scope=environment), because an environment item is edited by name and may belong to no package. ~all addresses that are the directory (the root, and a type list of the four types in the environment scope) redirect once to the Setup page; the cross-package list of any other type stays where it is. Access rule unchanged: the entry and the page both require studio.access (today's Studio entry gate) on top of Setup's own setup.access. Studio's no-package fallback, which landed on the directory, lands on the package-less scope (~org) instead, which every Studio entrant may open.
    Serial constraints cleared: #37454 (PR #37546, same two Studio menu files, merge after it lands); #37456 and #37553 hold StudioDesignSurface.tsx, not touched here.
    Governing text: docs/adr/0084 #amendment-2026-11-26-moves on main, binding; question 5 ruled in record 7187264388 on #37451.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    Claim amendment (area ux-37424) to claim 7193663065. The card thread stopped at the fence and asked. The area adds three small edits that the move itself makes necessary:

    1. ui/packages/app-shell/src/index.ts: a one-line re-export of ACCESS_DIRECTORY_PATH, which the console's ~all route (already in the surface) imports.
    2. ui/packages/app-shell/src/views/studio-design/StudioEntryRedirect.tsx: a doc-comment-only edit for the ~org fallback. No code changes.
    3. content/docs/permissions/authorization.mdx (around line 271) and content/docs/permissions/permission-sets.mdx (around line 427): reword the one sentence in each that sends readers to /studio/~all/metadata/permission?scope=environment, so it names Setup → Access control instead. No other doc edits.

    Nothing else is added, and the ⛔ on StudioDesignSurface.tsx stands. The report and the PR body name all three.

  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Feature · priority:p2 · pm:dispatched · size S; rationale: phase 3-2 of topic #37424 (the all-packages directory ~all moves into Settings, Access group). 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:uipm:dispatchedpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions