Skip to content

Studio 重构后续:退役「软件包」开发视图(无 face 参数的 PackagesPage),动作只留在 Studio「⋯」菜单与「设置 > 软件包」 #37401

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Sub-issue of #36890 · Source: Q3 in the #37139 dev report 7177958131. Card #37139's own Notes defer this to the maintainer after it lands. Part of #36890.

Blocked-by: #37456 (#37424 phase 1; this card is #37424 phase 2, folded with Setup → Packages slimming, tasks 8 + 12)
Re-parented (2026-11-26T06:49Z): moved from #36890 to #37424 on the maintainer's order 「Studio 重构专题 的任务是不是和可以合并到新专题,原来的专题关掉」 (2026-11-26T06:45Z, area thread of seat repo:objectstack#5).

维护者速读

  • 用户能看到什么变化:旧的「软件包开发视图」页面撤掉。它原来的动作现在分在两处:导入、新建、查看、停用、删除在「设置 > 软件包」;编辑信息、导出、复制、还原、收编散落项、新建软件包在 Studio 顶栏的「⋯」菜单。
  • 为什么做:两套入口做同一件事,以后改功能要改两处,而且行为已经出现不一致:开发视图的「还原」不会先确认,菜单里的会。
  • 出错会怎样:如果有动作漏搬,用户就找不到它;所以退役前要逐项核对,包括「发布」。撤回即恢复旧页面。
  • 要你做什么:无(已裁决)。

Ruling

The maintainer's words, verbatim, in seat repo:objectstack#4's session: 「接受你的建议」. This was the answer to the seat's presentation of Q3. The seat recommended retiring the development face only after the Q2 card (#37400) lands, so that a Studio-only author keeps a way to create a package.

What

  • Retire the development face: ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx rendered without a face param. Any address that reaches it lands on a working page instead: Setup → Packages for a holder of the Setup pair, otherwise the current package in Studio. Follow the redirect pattern Studio 重构(4-1):删掉分区路由和残留(:packageId/:tab 路由、AREA_PILLAR_FOR_TYPE、pillar 文案、旧 Studio 应用的菜单项) #36909 uses for retired addresses.
  • Before removing anything, map every development-face action to its new door. That covers Edit, Publish, Revert, Export, Duplicate, Adopt loose items and Import. Publish is expected to sit in Studio's draft bar; confirm it. Record the mapping in the PR body.
  • Drop the strings and code that only the development face reads. Per the released-key rules, a key that shipped in a release is retired through the narrowing route, never silently.

Done when

  • Every development-face action has a working door elsewhere, and each one is pinned.
  • No address strands a user.
  • The development face's code and its unreleased strings are gone.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ux · domain:ui · Task · priority:p2 · pm:blocked · size M; rationale: retire the package development view, so that its actions live only in Studio's 「⋯」 menu and Setup › Packages. It is a ruled #36890 step that removes a duplicate path, which already behaves differently on Restore. It takes the topic child's p2.

    Blocked-by: #37400 is open. On unlock it goes to seat 4 zone a4-S or seat 5 zone o5-U.

  3. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    维护者速读

    Released: blocker closed

    Blocked-by: #37400 no longer holds. #37400 was closed not_planned at 2026-11-26T02:49Z, on the maintainer's words in seat repo:objectstack#4's session (session_01QSeKYpEsWWE9Y5YtSsDgqZ): 「只有 Studio 权限、没有设置权限的开发者,理论上不存在」, then 「关 37400」.

    What this card waited for is already covered. Retiring the development face needed a place to create a package, and Setup → Packages draws New Package on both faces since #37362, which every Studio author can reach.

    The Blocked-by: line in the body names a closed card and is inert. Whoever dispatches this card re-checks the premise first: the development face's remaining actions all have a home in Studio's ⋯ menu (#37362) or in Setup → Packages.

    pm:blocked → pm:queue.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbL6Nn3scsU8yvLyU4

    State (2026-11-26T06:47Z): pm:queue → pm:blocked, Blocked-by: #37456, re-parented from #36890 to #37424 (phase 2, folded with Setup → Packages slimming, tasks 8 + 12). Provenance: who — the maintainer (Bill); words — 「Studio 重构专题 的任务是不是和可以合并到新专题,原来的专题关掉」 and 「按推荐处理」 on the area's decision card (#37401 into phase 2, not dispatched now); where — the seat-5 area thread ux-37424, 2026-11-26T06:45Z. Reason: its old premise (Blocked-by: #37400) is stale, #37400 closed not planned; and it touches PackagesPage.tsx / packageActions.tsx, which #37454's relocated ⋯ menu imports.

  6. added
    pm:blocked
    and removed
    pm:queue
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uipm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions