Repository navigation
Backlog
Backlog
Copy link
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Description
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
③ maintainer direct order · Source: maintainer, in the a4-S zone session (repo:objectstack#4's Studio zone), 2026-11-24. Follow-up of the Studio redesign epic #36890: it gives the Packages page's development face a door once #36908 removes the Studio home. Part of #36890.
维护者速读
- Studio 首页(Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 要删)是「软件包开发视图」唯一的入口。开发视图里有导入、编辑软件包信息、导出、复制、还原、收编散落项。首页删掉后,这些动作在界面上就找不到了。
- 改法:Studio 顶栏左侧本来显示「‹ 返回应用 · 应用名」(按决定 5,没有应用时显示包名)。在名字右边加一个「⋯」,里面放整个软件包层面的动作。
- 「导入」是新建一个包,不是对当前包做操作,所以放到「设置 > 软件包」页头,和「新建」并排。
维护者原话(按先后)
- 「B:在 Studio 顶部菜单显示软件包(应用名称),右侧加一个 ... 下拉菜单?」
- 「同意」(回复的是下面这张菜单表,以及「导入放在设置 > 软件包页头」)
菜单(已定)
| 菜单项 | 说明 | 什么时候灰掉或隐藏 |
|---|---|---|
| 编辑软件包信息 | 名称、版本、说明、依赖 | 只读的安装包(市场装来的)灰掉 |
| 导出 | 下载包文件,用来搬环境或备份 | — |
| 复制为新软件包 | 在副本上另做一版 | — |
| 还原到上次发布 | 丢掉上次发布之后的改动,先二次确认 | 只读包、没有改动时灰掉 |
| 收编散落项 | 把不属于任何包的元数据收进这个包 | 只读包灰掉 |
| 在设置中管理… | 跳到「设置 > 软件包」的这一项(启用 / 停用 / 删除) | — |
- 「⋯」只给有
manage_metadata的人显示。 - 在组织级范围(
~org)和全部包范围(~all)里不显示,因为没有当前包。 - 「发布全部草稿」不放进菜单:Studio 已经有「变更 / 发布」入口,不出两套。
- 每一项都复用开发视图里现成的对话框和操作,不另写一套。
What is on main (read on origin/main 9d70768)
- The Studio top bar's left end is
ui/packages/app-shell/src/views/studio-design/StudioBackToApp.tsx(objectstack#36501). It holds 「‹ Back to app」, the current package's app name or the package's own label, and the Studio mark. - The development face is
ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsxwith nofaceparam. Its detail sheet offers Edit, Publish, Revert, Export, Duplicate and Adopt loose items underauthoring = face !== 'admin'(:876, actions about :1366-1440). The page header carries Import. The administration face (?face=admin, Setup → Packages) offers only View info, Disable / Enable, Delete and 「Open in Studio」. - Before Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908, the development face's only served doors are the Studio home's 「All packages」 link and each package card's 「Manage」.
Done when
- On a package's Studio page, a
manage_metadataholder sees 「⋯」 beside the app or package name. It has the six items above, each greyed or hidden by the rules in the table, and each one works the way the development face's action does today. - On Setup → Packages, Import sits in the header beside New Package. It works as it does on the development face.
~organd~allshow no 「⋯」; a user withoutmanage_metadatasees none.- Pin tests in en and zh-CN for the menu's items and their disabled states, and for Import on the admin face.
Notes
- Whether the development-face page is then retired is not decided here; ask the maintainer once this lands.
- Business reason: the people who build and ship apps (implementers, ISVs, internal dev teams) need these whole-package actions to move an app between environments (export → import), ship a package to a customer, gather early loose objects into a package, or roll a package back. Without a door, these work only by typing the address.
- Reader: zone a4-S of seat repo:objectstack#4. It dispatches one
os-dev, after Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 or alongside it: both touch Studio's entry surfaces, and the overlap check decides the order. - Dedupe (
gh api search/issues, is:issue, open and closed):studio package menu export duplicate(81 hits),studio 软件包 菜单 导出(0),package actions studio header(373),packages development face door(102). None is this mechanism; the related cards are Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 (removes the home) and 设置里只留一个「软件包」入口(管理面:新建、启用/停用、删除,新建后进 Studio;并入「已安装应用」),修订甲裁决 #36834 (Setup → Packages, closed).
Grading: area:ux · Feature · package-level authoring actions lose their door when the Studio home goes · builders and implementers · evidence: read from code · priority:p2 (topic child ⇒ p2). Size M. Metadata-protocol: none. The domain is triage's to set.
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T22:37Z
Feature.pm:queueanddomain:uiadded.priority:p2andarea:uxwere already present.manage_metadata· read (named files) · size M.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Held behind #36908 · 2026-11-25T02:28Z · zone a4-S hot-file serial
Blocked-by: #36908
ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx: the new-package door and the Setup → Packages header and dialog. Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 also editsstudioNewPackage.ts. That is a real overlap on the same component, so the zone serializes instead of writing both at once.pm:queueand is dispatched to its own cloud session, in the order 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 then Studio 重构后续:顶栏应用名右侧加「⋯」软件包菜单(编辑信息、导出、复制、还原、收编散落项、在设置中管理);「导入」放到「设置 > 软件包」页头 #37139. The zone's cap of 6 (7150676005) leaves room, so only the overlap holds it.