You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
App Studio 改版(follow-up of 1-5):只读软件包里,资源列表的「新建」按钮置灰并带提示 #37580
Filing gate: ③ · Source: card #37456 (half 1, PR #37579, head 892cd55). Its acceptance notes name this case, and ResourceListPage.tsx sits outside that card's claimed surface, so it is filed here rather than widened there. Sub-issue of #37456.
Grade: area:ux · Feature · p2 · evidence: on a read-only package, #37456 draws a lock in the top-left rows, but the resource list's New button stays enabled.
Reader: area ux-37424.
When the package is read-only, render New as disabled, with a tooltip that reuses engine.studio.pkg.readonlyHint (or one new en+zh key if the copy must differ).
Writable packages are unchanged.
Acceptance
On a read-only package, New is disabled and its tooltip names the reason (tested, with an ablation that goes red).
On a writable package, New works as today (tested).
Triage: lands in area:ux · domain:ui · Feature · priority:p2 · pm:queue · size XS; rationale: on a read-only package, the resource list's New button stays enabled although the shell shows a lock. A follow-up of #37456 under topic #37424; p2.
Premise corrected (read at origin/main c3da753). This card says the list's New "stays enabled" on a read-only package. It does not:
ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx: canCreateHere requires (!host?.readOnly || createInPair); without a pair, New is not drawn.
The path the card names (views/studio-design/**) is not where the button lives.
Target kept (the maintainer's decision 8 on #37424: "plus a tooltip on "New""); fix changed: New is not disabled; on a read-only base with a pair it gets a tooltip that says the item goes to the .custom package. Folded into #37918 (phase 2-1, the list page), which carries the corrected item and its tests.
Claim: PM loop round 1 (zone o3-studio), fold member of #37918; the full claim is on #37918.
Session: session_01L9qibzywxH36FPH6ayWMUe
Account: os-tesla
Branch: claude/project-thread-dbfcfi
Seat: repo:objectstack#3
Area: o3-studio
Clause-②: no
Metadata-protocol: none
Thread-read: 7194635915
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Feature · priority:p2 ·
pm:queue· size XS; rationale: on a read-only package, the resource list's New button stays enabled although the shell shows a lock. A follow-up of #37456 under topic #37424; p2.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibzywxH36FPH6ayWMUe
Premise corrected (read at origin/main c3da753). This card says the list's New "stays enabled" on a read-only package. It does not:
ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx:canCreateHererequires(!host?.readOnly || createInPair); without a pair, New is not drawn.createInPair, set byStudioMetadataArea.tsxasreadOnly && !kernel && !!customization && !customization.walled), New is enabled on purpose and creates into the base's.custompair (ADR-0146 D3; Studio 重构(1-1b):元数据列表换成 ObjectGrid,所有类型同一种表格;「新建」在只读底包上落到配对的 .custom 包 #36897).views/studio-design/**) is not where the button lives.Target kept (the maintainer's decision 8 on #37424: "plus a tooltip on "New""); fix changed: New is not disabled; on a read-only base with a pair it gets a tooltip that says the item goes to the
.custompackage. Folded into #37918 (phase 2-1, the list page), which carries the corrected item and its tests.Claim: PM loop round 1 (zone o3-studio), fold member of #37918; the full claim is on #37918.
Session:
session_01L9qibzywxH36FPH6ayWMUeAccount:
os-teslaBranch:
claude/project-thread-dbfcfiSeat:
repo:objectstack#3Area: o3-studio
Clause-②: no
Metadata-protocol: none
Thread-read: 7194635915