Repository navigation
Done
Copy link
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority: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 requestpriority: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.objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-25T17:40Z
pm:blocked→pm:queue. Its blocker Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 closed as completed (PR feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 merged).objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Held behind #37134 · zone a4-S hot-file serial
Blocked-by: #37134
ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx. The draft PR feat(ui): New Package offers 「同时创建应用」 / Also create an app, ticked by default #37338 for 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 (in CI now) edits the same file: +16/−3, plus its testPackagesPage.installedAppsUpdates-34722.test.tsx. That is the order this zone set on 7150788369: 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 first, then Studio 重构后续:顶栏应用名右侧加「⋯」软件包菜单(编辑信息、导出、复制、还原、收编散落项、在设置中管理);「导入」放到「设置 > 软件包」页头 #37139.pm:queueand is the zone's next dispatch, in its own cloud session. 「已定制」有两种算法:Setup 详情计入排列调整,全部元数据页头和列表筛选不计 #37236 took the free slot meanwhile, since it shares no file with feat(ui): New Package offers 「同时创建应用」 / Also create an app, ticked by default #37338.objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-25T21:33Z
pm:blocked→pm:queue. Its blockers Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 and 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 are closed (「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 via PR feat(ui): New Package offers 「同时创建应用」 / Also create an app, ticked by default #37338).objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Claim: PM loop round 3
Session:
session_01QSeKYkkwuF6UuFtu85Yd5HAccount:
os-justinBranch:
claude/issue-37139-studio-package-menuWorktree: cloud session (its own container)
Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-S
File surface:
studio-design/StudioBackToApp.tsx(the 「⋯」 beside the app or package name) and a new menu component beside it;metadata-admin/PackagesPage.tsx: Import in the admin face's header, and the development face's dialogs and actions exposed for reuse, not copied;studio-design/studioEntryPermissions.tsif themanage_metadatagate is read there;⛔ No server, spec or route change. The development face itself is not retired: that is the maintainer's call after this lands (stop on breach; explain in the report)
Container & model:
M,mode:cloud,model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate",effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7175259993
Premise: holds (read on origin/main
6cc6177a). The Studio home is gone (Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908, PR feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166), so the development face's package actions (Edit, Export, Duplicate, Revert, Adopt loose items) have no served door. Setup → Packages' admin face has no Import, and feat(ui): New Package offers 「同时创建应用」 / Also create an app, ticked by default #37338 made no change there.Pre-claim lane: repo:objectstack seat 4 zone a4-S (sub-issue of epic 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890; cap 3)
Pre-claim deps: none open (Studio 重构(决定 9):去掉 Studio 首页(/studio 的包卡片页),逐项搬走它承载的入口 #36908 and 「新建包」对话框加一个「同时创建应用」勾选项(默认勾上),勾上时建包的同时建好它的应用;取消勾选只建包 #37134 merged).
Prior rulings read: the maintainer's 「B:在 Studio 顶部菜单显示软件包(应用名称),右侧加一个 ... 下拉菜单?」 and 「同意」 to the card's menu table and to Import in the Setup → Packages header; decision 5 (no app ⇒ the package name).
Serial constraints cleared:
PackagesPage.installedAppsUpdates-34722.test.tsxand the studio namespace; the dev rebases on it.Size: M (plus the XS rider).
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYmjeYX4T3tqfUCDu4K
os-dev-report
{ "issue": 37139, "rider": 37349, "status": "done", "branch": "claude/issue-37139-studio-package-menu", "pr": "https://github.com/objectstack-ai/objectstack/pull/37362", "session": "session_01QSeKYmjeYX4T3tqfUCDu4K", "premise_still_valid": true, "summary": "#37139: Studio's top bar draws a 「⋯」 package menu right of the app/package name (StudioPackageMenu, through a new `menu` slot on StudioBackToApp) for a manage_metadata holder on a current package, never on ~org/~all. Six items in the table's order; each reuses the development face's request/dialog/form, which moved into metadata-admin/packageActions.tsx and are imported by both the menu and the unchanged PackageDetailSheet. Greyed: Edit/Duplicate/Revert/Adopt on a read-only package, Revert also at a known pending count of 0; Revert asks first; Manage in Setup… opens Setup → Packages on the row via a new page-local `?package=ID`. Setup → Packages draws Import beside New Package. #37349 (own commit 17748fb8): 17 studio rows removed (menu.typeCount + 16 app-worded newApp.*), each confirmed by check-i18n-dead-keys and a grep; none in @object-ui/i18n@18.6.0 (npm pack, control key present), so Clause-② no. Assignee was already os-justin (PM-set); not touched.", "tests": "head 178bfae9 (tree == f332471b, the tree every local run read). StudioPackageMenu-37139.test.tsx 26/26; scoped set after rebase on 80da0864: `pnpm --dir ui exec vitest run --maxWorkers=2` over 112 app-shell files (all PackagesPage.*, PackageFormDialog*, EditPackageDialog, CreatePackageDialog*, StudioDesignSurface*, StudioPackageMenu-37139, PackageCustomizationsPanel, StudioAreaAppOpen-36906, studioAppEdit) + packages/i18n/ → Test Files 223 passed (223), Tests 2862 passed | 13 skipped; os-verify-lock VERDICT command-exit 0. `pnpm --filter @object-ui/app-shell type-check` VERDICT exit 0 (tsconfig.test.json --listFilesOnly reads both pin files). NARROWED, declared: app-shell's full 2432-file suite was started and stopped by me (pid recorded by the lock, 11873) after 31 min with no file reported on the shared 4-core box; CI Test UI (16 shards) runs it. Ablations (ablation-replace, each anchor x1→x0, restored to HEAD blob, git diff HEAD empty; source-aliased, no dist leg): 1 {menu} slot deleted → 'six items' 2 failed; 2 readOnly=false → read-only greys 2 failed; 3 noChanges=false → 'nothing changed' 2 failed; 4 packageId!==null → scopeSegment.length>0 → ~org/~all 2 failed; 5 canAuthorPackage→true → 'without manage_metadata' 2 failed (control passed); 6 admin actions back to adminFace ? newPackageButton → Import header+works en/zh 4 failed (dev-face control passed); 7 ?package= effect neutered → opens-that-package 1 failed. First attempts at 1 and 4 were refused by the tool before running (empty replacement; replacement inside its anchor) and measured nothing; re-run with --delete / a distinct replacement.", "gates": "dispatch-gates --commands: 39 derived (same set on 975fe6a3 and 178bfae9); --ran reconciliation 39 run, 0 NOT-MEASURED, exit 0. 37 exit 0 on 975fe6a3 (same two commits before the rebase onto 80da0864); check:type-check-debt first exit 3 (PREREQUISITE NOT MET: queued behind my own suite's lock hold) then exit 0 under the lock on the rebased tree (re-measure 0 raw errors); `pnpm --dir ui exec vitest run scripts/` exit 0 (172 files). Push gates on 178bfae9's tree: check:test-source-alias exit 0, check:i18n-keys exit 0, overlap-check VERDICT clean exit 0 (#37351 had landed; rebased onto it), check:new-line-citations 0 new. CI on 178bfae9: all 58 check runs completed, none failed — the eleven required: Lint & Repo Gates success, TypeScript Type Check success, Test Core success, Build Core skipped (path filter: no core package touched), Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success (16/16 shards success), Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success; also Check Changeset success, PR-body guards success, Check PR Size success, every Lint · / Type Check · sub-job success.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "13 — all reads: mcp__github__issue_read ×4 (get #37139, get #37349, get_comments ×2), mcp__github__pull_request_read ×9 (get_files #37338, get_files #37166, get #37351, get_check_runs #37362 ×6). No MCP write.", "api_writes": "3 relay strokes (fleet-write repository_dispatch), each written as objectstack-fleet[bot]: ① pr_create run 45719020167 → POST /repos/objectstack-ai/objectstack/pulls (draft, read back 11940/11940 bytes identical) + POST /repos/objectstack-ai/objectstack/issues/37362/assignees (os-justin, read back); ② this os-dev-report → POST /repos/objectstack-ai/objectstack/issues/37139/comments; ③ the pointer → POST /repos/objectstack-ai/objectstack/issues/37349/comments. git push is not a REST write. No GitHub MCP write.", "open_questions": [ { "question": "Duplicate as a new package: the agreed table gives it no greyed state (「—」), but the server refuses to duplicate a read-only package (DUPLICATE_SOURCE_NOT_A_BASE) and the development face does not offer it there. The menu greys it on a read-only package with the read-only reason. Keep?", "options": [ "A keep it greyed on a read-only package (as built): never offers a door the server always refuses; matches the development face", "B always enabled, per the table's 「—」: the click then shows the server's refusal (which names customizing in the pair or an unmanaged install) — one-line change plus its pin" ], "recommendation": "A, because a door that always refuses is the failure the rest of Studio's courtesy gates avoid, and the dispatch asks each item to behave as the development face does." }, { "question": "A Studio-only author (manage_metadata, without Setup → Packages' setup.access + manage_platform_settings) still has no New Package door (carried from #37134's report), and the menu's 「Manage in Setup…」 sends them to a page Setup refuses them. Should the 「⋯」 menu carry 「新建软件包」, and should 「Manage in Setup…」 be greyed or hidden for a non-holder of the Setup pair?", "options": [ "A add 「新建软件包」 to the menu (opens the one CreatePackageDialog, lands in Studio on the new package) and grey 「Manage in Setup…」 with a reason when holdsSetupPackages() is false — a follow-up card, S size", "B leave the menu as the agreed table; the Studio-only author's door is decided with the development face's retirement question", "C only grey 「Manage in Setup…」 for a non-holder (studioEntryFallbackPath already follows that doctrine), leave New Package out" ], "recommendation": "A, because Studio's own entry rule already says no door sends a principal to a page they may not open, and the Studio-only author has no other create path once the development face is retired; but it widens the agreed menu table, so it is the maintainer's call." }, { "question": "Retire the development face (the Packages page with no `face`) now that its actions have a Studio door? The card defers this to after landing.", "options": [ "A ask the maintainer once #37362 lands, as the card says", "B keep both faces" ], "recommendation": "A — per the card." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — the development face's own Revert still runs without a confirmation (the menu's asks first, per the table); unifying them changes the development face, which this dispatch keeps unchanged. Recorded in the PR's Acceptance notes." ] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
Finalized head for L1 · 2026-11-26T00:42Z ·
178bfae9· zone a4-S (#37139 + rider #37349 → PR #37362)178bfae9: 45 success, 13 skipped, 0 failed (Test UI 16/16). K: 7 behindmain;merge-treeis clean.check-governed-merges.mjs --pr 37362: not governed and under 3,000, so not Tier H. The zone lands it after ACCEPT.done.StudioPackageMenuthrough amenuslot onStudioBackToApp) for amanage_metadataholder on a current package. It never appears on~orgor~all.metadata-admin/packageActions.tsx;PackageDetailSheetis unchanged and imports them.17748fb8: 17 unread studio rows are removed, none of them in@object-ui/i18n@18.6.0, soClause-②: no.DUPLICATE_SOURCE_NOT_A_BASE) and the development face doesn't offer it there. The dispatch asked each item to behave as the development face does, so this reads the table's 「—」 faithfully.