Repository navigation
Backlog
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatpm:blockedBlocked by another issue/PR — body carries Blocked-by: #Npriority:p2Medium: important, M3
Description
repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W
③ maintainer direct order · Source: maintainer (Yibo Wang), 2026-11-24.
- 09:36Z 「是否建议界面上创建包时,自动创建应用?」
- Seat 3 recommended (09:37Z, restated 11:22Z): 「建议做,但做成『新建包』对话框里的一个勾选项『同时创建应用』,默认勾上,而不是强制创建」.
- 22:05Z: 「立卡」.
Follow-up of the Studio redesign epic #36890 (hand-off §4, comment 7133810009).
维护者速读
- 现在只有 Studio 首页的「新建自己的应用」会同时建包和应用(Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748)。设置里「软件包」页、Studio 包切换器、资源列表上的「新建包」都只建包,建完没有应用:左上角没有应用名,「‹ 返回应用」也没有地方可回。
- 这张卡给这些「新建包」对话框加一个勾选项「同时创建应用」,默认勾上。勾上时和 Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748 一样,建包时一并建好它的应用;取消勾选就只建包,给只放对象、流程给别的包复用的包用。
- 它不取代决定 5 的兜底:安装来的包、以前建的包、组织级入口仍可能没有应用,那时左上角显示包名,返回到应用首页(Studio 重构(1-3):去掉顶部分区,换成可折叠的左侧分组菜单(数据、界面、自动化、平台、访问、AI),右侧是列表和全屏详情 #36899 已做)。
What is on main
ui/packages/app-shell/src/views/metadata-admin/PackageFormDialog.tsxalready has the app step,newApp?: NewAppStep(Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748,studio-design/newAppDoor.ts). In create mode it reserves the app name, creates the package, then creates and publishes its app. Only the Studio landing door (BuilderLanding) passesnewApptoday.CreatePackageDialog(PackagesPage.tsx:633) rendersPackageFormDialog mode="create"withoutnewApp. It is used by the Settings 软件包 page (设置里只留一个「软件包」入口(管理面:新建、启用/停用、删除,新建后进 Studio;并入「已安装应用」),修订甲裁决 #36834),ResourceListPageand the Studio package switcher, and all of them create a package with no app.- Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 removes the Studio home (
/studio,BuilderLanding) and moves its entries elsewhere, including the 「新建应用」 door. After it, every package creation goes through the plain dialog, so this checkbox is what keeps "new package ⇒ has an app" true.
Expected
- In create mode,
PackageFormDialogshows a checkbox 「同时创建应用」 / "Also create an app", ticked by default. Ticked runs the existingnewAppstep (same reserve, create, publish and error handling as Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748). Unticked creates only the package, exactly as today. - Every
CreatePackageDialogcall site gets it. Where the dialog lands afterwards does not change, and with an app the Studio header shows the app's name. - The Studio landing door (Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748) keeps its app-worded dialog until Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 removes it. Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 then points its replacement entry at this dialog with the box ticked.
- Tests: ticked creates a package and an app; unticked creates only a package; a name already taken surfaces as in Studio「新建自己的应用」最后要得到一个应用:一个「新建应用」对话框同时建包和应用;没有应用时页头显示包名 #36748. Add the zh-CN and en strings. Translation keys only means
Clause-② no, unless a published type gains a member.
Not in scope
- Changing the decision-5 fallback for app-less packages (Studio 重构(1-3):去掉顶部分区,换成可折叠的左侧分组菜单(数据、界面、自动化、平台、访问、AI),右侧是列表和全屏详情 #36899).
- Server changes. The two existing doors are reused.
Dedupe (gh api search/issues, is:issue, open and closed): 同时创建应用 (none), create package also create app (closest is #36748, closed by #36764, which covers the Studio landing door only).
Part of #36890 (follow-up; related #36908, #36748, #36834). Likely domain:ui, area:ux, size S–M. The grade is triage's to set.
Generated by Claude Code
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatpm: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:09Z (repo:objectstack#3's request 7145862748)
newAppstep, so it is a small UX extension, and the type is Feature.Feature.priority:p2andpm:queueadded.domain:uiandarea:uxwere already present.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.