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#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
④ sub-issue of #36890 · Source: #36906's os-dev report 7157110199, open question 1. Seat repo:objectstack#4 ruled 「A for this card; file the B card」: two paths for one operation disagree, so the report side follows the view rule. Part of #36890.
维护者速读
- 在应用里用报表列表的「新建」建一张报表,保存时不指定软件包,于是它成了环境级元数据,不属于任何包。在同一个应用里新建视图,却会存进应用的包(可写包存本包,只读包存它的定制包)。
- Studio 重构(3-4):Studio 列表点仪表盘、报表,直接进应用里的编辑状态;× 回 Studio 列表;报表「新建」进 /apps/<应用>/reports/new #36906(PR feat(studio): open Studio's dashboards and reports in the app's edit state; × returns to the list #37226)已经让从 Studio 打开的新建报表页存进包里;应用自己的「新建」入口还是老做法。
- 改法:让应用自己的新建报表也按视图的规则决定存到哪个包。这会改变以后所有应用里新建报表的存放位置,已有的报表不动。
What
- The app's own new-report save (the reports index's New, outside Studio) resolves the app's package the way views do:
resolveRuntimeCreatePackage, which gives the package when it is writable and its.custompair through the ensure door otherwise, falling back package-less exactly where views do. Use the samesaveAndPublishInPackagepath Studio 重构(3-4):Studio 列表点仪表盘、报表,直接进应用里的编辑状态;× 回 Studio 列表;报表「新建」进 /apps/<应用>/reports/new #36906 added for the Studio leg, so the two legs share one rule. - Pins:
- from an app on a writable package, a new report names
packageId: P; - on an installed (read-only) app it names the pair;
- CONTROL: a refusing ensure door falls back as views do.
- Replace the existing pin that holds the old package-less behaviour outside Studio (added by Studio 重构(3-4):Studio 列表点仪表盘、报表,直接进应用里的编辑状态;× 回 Studio 列表;报表「新建」进 /apps/<应用>/reports/new #36906), and name it in the PR.
- from an app on a writable package, a new report names
- Also reword
resolveRuntimeCreatePackage's console warning ("the view is saved naming no package") so it names the type it is saving (noted in 7157110199).
Done when
- A report made from any app's New lands in the same package a view made there would, and Studio's report list shows it.
Notes
- Size S, priority p2.
- Blocked-by: Studio 重构(3-4):Studio 列表点仪表盘、报表,直接进应用里的编辑状态;× 回 Studio 列表;报表「新建」进 /apps/<应用>/reports/new #36906 (PR feat(studio): open Studio's dashboards and reports in the app's edit state; × returns to the list #37226), which adds the Studio leg this card extends.
- Data placement changes for new reports only; existing reports are not moved.
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 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch 2026-11-25T09:33Z. Bug: two paths for one operation disagree. area:ux · domain:ui · p2 · S ·
pm:blockedon #36906 (PR #37226) are kept, and the card is linked under #36890. It goes to seat 4 on unlock. Line form below, so the unlock scan reads it.Blocked-by: #36906