Repository navigation
Description
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H
④ sub-issue of #36890 · Source: #37192 proposal §3.10 (F1), filed after #37201 landed (PR #37341). Part of #36890.
维护者速读
- 问题:在 Studio 里打开一个对象,「记录」页签只按字段列出数据,看不到这个对象的视图;在 Studio 里要管它们,只能去「高级」里那张所有对象混在一起的视图总表(销售包有 62 条)。做应用的人每建一个对象都会碰到。
- 选项:A 对象页加一个「视图」入口,点了进应用里这个对象的列表页去管(切换、新建、改名、设默认、删除在那里已经做好),关掉回到 Studio,约 1 个 PR;B 对象页加同样的入口,但打开的是 Studio 自己的视图总表、只显示这个对象的,约 1 个小 PR;C 对象页再加一个页签「视图」,里面就是这个对象的视图列表,约 1 到 2 个 PR;D 把应用里的视图切换和「管理视图」再做一份放进 Studio 的「记录」页签,约 2 个 PR;E 不做。
- 推荐 A:视图本来就该在看得到数据的列表页上管,应用里已经有完整的一套,仪表盘和报表从 Studio 点开也是这样进应用的。
- 不定会怎样:不会坏,视图仍能在「高级」的总表和应用里管;只是从对象页找不到,对象越多总表越难用。
Analysis
Decision thread for seat repo:objectstack#4, zone a4-S. Read-only. Code read at origin/main 134b71db (2026-11-25T21:25Z). Paths: SD = ui/packages/app-shell/src/views/studio-design, AS = ui/packages/app-shell/src/views.
The question in one sentence
A builder who opens an object in Studio finds nothing on the object's page that shows or leads to that object's list views: where do they go to manage them?
Background, and one correction to the source
Proposal §3.10 on #37192 wrote F1 as: "The 记录 tab switches views but cannot list, rename, reorder, set default or delete them. Decide: a 管理视图 entry on the 记录 tab's switcher, or an eighth tab."
Measured on main, the first half is not so. Studio's 记录 tab draws no view switcher and no saved view. It hands the list the object's own fields as columns, and its comment says why: "No saved view exists in design mode" (premise 1). So "an entry on the 记录 tab's switcher" has no switcher to sit on; option D below is what building one would mean.
The second half has an answer the proposal did not read. The running app's list page for the same object already manages its views, for a person who is a workspace administrator and holds the metadata capability: the view dropdown, New view, the view's settings panel, and a 管理视图 dialog with rename, set default, pin, delete, and restore of a customized package view (premise 2). PRs #36037, #36342 and #36782 are among those that built it. The same two conditions are what let a person into Studio at all (premise 7), so everyone who works in Studio is offered that dialog in the app.
Studio keeps a way under every option. 高级 › 视图 lists every object's views, and a row opens the generic editor (epic decision 3). No option removes it.
So the question is what the object's page offers: a door to the app's list page, a door to Studio's own list, a tab, a second copy of the app's manager, or nothing.
Governing text:
- ADR-0084, amendment of 2026-11-25, the rule that sorts a type, item 1: "It has no parent object. Its schema does not require one object. A type bound to one object is authored from that object." —
git grep -n "It has no parent object" origin/main -- docs/adr/0084-application-builder-information-architecture.md(line 281). This is a clause of the menu's sorting rule. It gives the direction and the reasonviewsits under 高级. It binds no particular door, so no option below conflicts with it, E included. - ADR-0146, note of 2026-11-24 (epic 专题:运行界面的设计模式(管理员在界面上直接改菜单和页头按钮;看板、仪表盘、报表的设计入口都在页面上,不再去 Studio) #36359): "The running app is an editing surface too, for a workspace administrator." Its list of what is edited there, without opening Studio, includes "A list or kanban view's settings, on the view" —
git grep -n "A list or kanban view's settings, on the view" origin/main -- docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md(line 323). - ADR-0146, amendment of 2026-11-24, decision 3 of epic 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890: "
view,pageandappopen Studio's generic editor for now" —git grep -n '`view`, `page` and `app` open Studio' origin/main -- docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md(line 260). No option changes where aviewrow of a Studio list opens. - ADR-0159, the ruling it carries, item 3: "
viewbecomes lists only." —git grep -n "becomes \*\*lists only\*\*" origin/main -- docs/adr/0159-forms-are-their-own-metadata-type-public-forms-are-form-items-view-is-lists-only.md(line 22). After the next major, "an object's views" means its list views exactly. No option conflicts with it.
The options differ on product shape, which no text settles.
Protocol: Metadata-protocol: none, Clause-②: no, for every option. No option changes the spec.
Premises (each with its re-check, run at the repository root)
- Studio's 记录 tab shows no saved view and no view switcher.
git grep -n "No saved view exists in design mode" origin/main -- ui/packages/app-shell/src/views/studio-design/DataPillar.tsx→ one hit, line 2390.git grep -c -E "listViews|ManageViewsDialog|ViewTabBar" origin/main -- ui/packages/app-shell/src/views/studio-design/DataPillar.tsx→ prints nothing (zero hits, exit 1).- The list component shows named views only from the
listViewsit is handed:git grep -n "const namedListViews = schema.listViews" origin/main -- ui/packages/plugin-view/src/ObjectView.tsx(line 1340). - Read in the code, not walked in a browser.
- The running app's list page manages the object's views.
git grep -n -E "<ManageViewsDialog|onRename=|onDelete=|onSetDefault=|onSetPinned=|onReorder=" origin/main -- ui/packages/app-shell/src/views/ObjectView.tsx(lines 1631–1641). - The drag order in 管理视图 is the reader's own, in one browser. The order everyone sees is the declared sequence and then a stored number on each view, edited in the view editor.
git grep -n "reorders the tabs FOR THIS READER" origin/main -- ui/packages/app-shell/src/views/objectViewViewCrud.tsx(line 518). - Studio's only list of views is the flat one under 高级.
git grep -n "{ type: 'view', tier: 'advanced' }" origin/main -- ui/packages/app-shell/src/views/studio-design/studioMenuPlacement.ts. It has an Object column:git grep -n -A2 "schemaId: 'view'" origin/main -- packages/spec/src/system/metadata-list-registry.ts. Its search reads a row's name, label and description. - Studio can already open an app page and come back. A dashboard or a report opened from a Studio list opens in the app, and × returns to the Studio list after a reload too (epic decisions 6 and 15, PR feat(studio): open Studio's dashboards and reports in the app's edit state; × returns to the list #37226).
git grep -n "STUDIO_RETURN_PARAM" origin/main -- ui/packages/app-shell/src/urlParams.ts; the component isSD/StudioAreaAppOpen.tsx. - The two object-bound types that are already tabs of the object page are edited there in place. 钩子 and 操作:
git grep -n -E "view: '(hooks|actions)'" origin/main -- ui/packages/app-shell/src/views/studio-design/objectDesignerTabs.ts(lines 39 and 41). - Who may manage views in the app is who may enter Studio. Both ask for a workspace administrator who holds
manage_metadata.- The app:
git grep -n -A2 "export function mayManageViews" origin/main -- ui/packages/app-shell/src/views/objectViewViewSharing.ts(lines 46–47:isAdmin && canAuthorMetadata). - Studio:
git grep -n "isAdmin && canAuthorMetadata" origin/main -- ui/packages/app-shell/src/hooks/useStudioDesignGate.ts(line 188).
- The app:
- Where a view made in the app is saved. ADR-0146's note: "A view created in the app is saved into the app's package when that is writable, otherwise into its pair." —
git grep -n "A view created in the app is saved into the app's package" origin/main -- docs/adr/0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md. Under A the app is one the open package publishes (decision 6), so that is the open package or its pair. - A view the app knows only from the object's definition, with no stored row, cannot be changed there. The app says so and writes nothing:
git grep -n "cannotEditMetaView" origin/main -- ui/packages/app-shell/src/views/objectViewViewCrud.tsx(lines 367, 465, 490, 534). How many of a package's views are in that class was not measured. - Sizes. 62 views on the 销售 package (the per-type table of the proposal on [Decision] Studio left menu: features are there but the focus is unclear — order and visual weight inside the groups #37192, from the maintainer's screenshot). 36 views on showcase, a package of 24 objects (PR feat(studio): the left menu reads the placement table — 常用 types first, the rest in one 「高级」 fold #37341, walk-through steps 1 and 2). Re-check needs a running stack: open the package in Studio, open 高级, and read the number beside 视图.
Options
| What is done | What the customer sees | Effort | |
|---|---|---|---|
| A — the object page opens the app's list page | The object page gets one entry, 「视图」 with the number of views. It opens this object's list page in the app, picked the way decision 6 picks an app for a dashboard, and × returns to the Studio object page (decision 15). With no published app, or for an object that has only a draft, the entry opens what B opens. Studio builds no manager. | On the object page: a 「视图」 button showing how many views the object has. One click, and they are on the real list with real records, where the view dropdown switches and creates views and 管理视图 renames, sets the default, pins and deletes. × brings them back to the object in Studio. | ui · 1 PR, plus one dated line in ADR-0146 (its amendment lists what Studio opens in the app) · precedent PR #37226 (+1853/−61, 36 files), which built open-in-app-and-return for dashboards and reports. This adds one target to that mechanism. |
| B — the object page opens Studio's own list, narrowed | The same entry. It opens 高级 › 视图 showing this object's views only. A row opens the generic editor, as today. | The same 「视图」 button. One click shows a short list of this object's views inside Studio, with New. To rename one or change its filter they open its form. They see the result later, in the app. | ui · 1 PR · 无先例 (no landed PR opens a type's list narrowed to one object). Nearest size: PR #36782 (+342/−41, 10 files). |
| C — an eighth tab, 「视图」 | The object page gets a 视图 tab that holds that same narrowed list, in place. A row opens the generic editor. | A 视图 tab beside 钩子 and 操作, listing this object's views. Otherwise as B. | ui · 1 to 2 PRs · 无先例 in this repository (the 钩子 and 操作 panels came in before the two repositories merged). Nearest sizes: PR #30211 (+908/−30, 7 files); the tab-row rework PR #37168 (+1676/−2501, 141 files). |
| D — a copy of the app's manager on Studio's 记录 tab | The view dropdown and 管理视图 are mounted on the 记录 tab, and the grid draws the chosen view. This is §3.10's "管理视图 on the 记录 tab's switcher". | The 记录 grid changes with the chosen view: its columns become that view's columns. 管理视图 is there too, a second copy of the app's. | ui · 2 PRs · 无先例 (no landed PR mounts 管理视图 in a second host). Nearest sizes: PR #27943, the app's view dropdown (+2206/−560, 51 files); PR #34926, the 记录 tab's field tools (+816/−56, 20 files). |
| E — nothing | 高级 › 视图 stays the only Studio list. | As today: the flat list of every object's views, with an Object column. | none |
Business meaning:
- A is "views are arranged where the records are shown, and Studio shows the way there". A dashboard and a report already open this way from Studio.
- B is "a shortcut from the object to its own shelf of the long list".
- C is "the same shelf, fitted into the object's own cabinet".
- D is "the same counter built twice, once in each room". Every later change to view management is made twice.
- E is "leave the one long shelf".
Four axes (business view)
Long-term soundness (weighted at least half). Two years out, an object's list views are shaped on the object's own list page in the running app, where the person sees real records while they change a filter, a column or the default. Studio reaches that page from the object in one click and keeps one cross-object list for audits. That is how the mainstream platforms model it. Salesforce keeps list views on the object's tab in the app (New, Clone, Rename, Sharing and Delete are list view controls); they are not in Object Manager. Airtable keeps views on the table. Twenty makes views on the object's records. (From recall, not re-checked.) This product has taken the same direction twice: ADR-0146's note names a view's settings as edited in the running app, and the maintainer ruled that a dashboard or a report opened from Studio opens in the app's own edit state (the maintainer's words on epic #36890: 「报表、仪表盘这些开发好的,可以页显示列表,点击之后直接弹出前端的设计页面吗?」). Decision 3 keeps view in Studio's generic editor "for now"; A is the door that fits where that sentence is heading, and it changes nothing decision 3 says.
A adds no new surface for managing views: Studio's list stays, the app's manager stays, and the object page points to the fuller of the two. B adds none either, and stays inside Studio, but it leads to the form-only editor, the one decision 3 calls temporary. C is B drawn as a tab. Two object-bound types are tabs already (钩子 and 操作, premise 6), and that is the in-product precedent for C. The difference is that a hook or an action has no page of its own in the running app where its result is seen, so its tab is the only home it could have; a view has one, with its manager built. D is the only option that builds the same operations twice, and the fleet's rule for one operation with two implementations is to keep one and rebind the other (SKILL 〈升级与决策〉, meta-rule ②). D also changes what the 记录 grid means: today its columns are the object's fields, and that grid is where a field is added and opened; with a view chosen, a field the view hides loses its column.
Real business pull. Measured: 62 views in one flat list on 销售, 36 on showcase. The maintainer's direction on #37192: 「包括很多应该属于对象下的,是不是默认不需要看到」. Not found: any customer report. The dedupe search returns no card that asks for view management on Studio's object page. So the pull is for a door from the object, and for the list being hard to use at this size. A, B and C all answer it. Nothing measured asks for D.
Preventing AI and authoring mistakes. A view must name its object, and the schema refuses one that does not. With A, a person makes a new view on the object's own list page, where the object is already filled in, and a wrong filter or a wrong default is seen at once on real records. With B and C the author changes a view in a form and sees the result later, in the app: a wrong filter is silent until someone opens the list. With D, a view that hides a field silently removes that field's column from the grid where fields are authored; the builder sees a field "gone" with nothing saying why.
Startup focus. A is one navigation entry on a mechanism that exists. B is one entry and a narrowed list. C is a tab to keep in the row. D is a second manager that has to follow every later change to the first. E adds nothing.
os-decision-facets
① Long-term: A sends the object page to where views are shaped on real records, the direction ADR-0146's note and the dashboard and report ruling already took; B and C lead to the form-only editor decision 3 calls temporary; D builds the app's manager a second time — favours A.
② Business pull: 62 views in one flat list on 销售, 36 on showcase; the maintainer's direction 「应该属于对象下的」; no customer report found — supports a door from the object (A, B or C), nothing asks for D.
③ AI mistakes: A makes views where the object is filled in and the result shows on real records; B and C hide a wrong filter until the app is opened; D removes a field's column silently — favours A.
④ Startup focus: A is one entry on an existing mechanism; B is one entry and a narrowed list; C adds a tab; D adds a second manager; E adds nothing — favours B and A, against D.
Prior rulings read: view,studio,object,records,manage → 243 hits (6 at three terms); ADR-0084 amendment 2026-11-25 rule 1, ADR-0146 amendment 2026-11-24 (decision 3) and its note of the same day, ADR-0159 ruling item 3; thread: none (new card; the source ruling is #37192 record 7151834490)
Recommendation
A. By axis ① alone: two years out an object's views are shaped on its list page in the running app, as Salesforce, Airtable and Twenty do it, and this product has already built that manager and already opens dashboards and reports in the app from Studio. The object page needs the door to it.
Self-check: 只看①选 A;②③④ 是否翻转:否。
- Not B: it is A's fallback on its own. It is a real door and the smallest one, but it ends at the form, where a change to a view cannot be seen. Named because the rule asks: B's ① reading is the nearest to A's, and B is the smaller piece of work: by the nearest sizes about a fifth of A's (+342 against +1853 lines; neither is a like-for-like precedent). Effort does not move the letter.
- Not C: the same list as B at the cost of an eighth tab.
- Not D: two copies of one manager, and the 记录 grid stops being the field grid.
- Not E: the maintainer's direction 「应该属于对象下的」 stays unanswered for views; nothing on the object leads to them.
Confidence gaps.
- The platform comparisons are from recall.
- Premise 1 is read in the code and not walked in a browser. The view counts are from the screenshot and the PR's walk-through.
- Not measured: how often an object sits in a package that publishes no app (A's fallback case), and how many views have no stored row and so cannot be changed in the app (premise 9). For those, A's door shows the view and the app declines the change; Studio's list is where they are read.
- A view that a read-only (installed) package ships can be renamed and customized in the app, and not deleted (PR fix(ui): a view a read-only package ships hides only Delete in Manage views and opens its view panel read-only #36037). No option changes that.
- Order. §3.10 listed "reorder". Under every option, the drag in 管理视图 orders the views for the reader alone (premise 3); the order everyone sees is a number on each view, changed in the view editor. Making an administrator's drag set the order for everyone is a separate change to the app's dialog, with no measured pull; it is in no option. If the maintainer wants it, a condition on the ruling is enough and it is carried with the execution.
After the ruling
- A: the seat files one ui card under 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 (zone a4-S, p2). Content: the 「视图」 entry on the object page with its count; the app picked as decision 6 picks it; × back as decision 15; the fallback to the narrowed 高级 › 视图 list; each of those pinned by a test that goes red on revert; a browser walk on showcase. One dated line in ADR-0146's amendment, in the weekly ADR PR. The dispatch order names one premise for the dev to verify first: the open-in-app mechanism takes an object's list page as a target without changing what it does for a dashboard or a report. If it does not, the dev reports the fork. ⛔ The dev does not build a manager in Studio instead, and does not ship the fallback alone.
- B: one small ui card: the entry and the narrowed list.
- C: one ui card after a short design note on the tab's place in the row and its fold.
- D: not dispatched as code first. The seat opens a contract-tier design pass on what the 记录 grid's columns mean with a view chosen, then two cards.
- E: no card. The seat records the ruling here and closes this card.
Related
- Epic 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 (decisions 3, 6, 15); decision card [Decision] Studio left menu: features are there but the focus is unclear — order and visual weight inside the groups #37192 (the ruling this follows); Studio 菜单(M3):左侧菜单读顺序表——分组标题变小号灰字、默认只显示常用、其余收进「高级」 #37201 and PR feat(studio): the left menu reads the placement table — 常用 types first, the rest in one 「高级」 fold #37341 (the menu that put 视图 under 高级).
- Epic 专题:运行界面的设计模式(管理员在界面上直接改菜单和页头按钮;看板、仪表盘、报表的设计入口都在页面上,不再去 Studio) #36359 (the running app as an editing surface) and epic 专题:列表页重做(结构向 Twenty 对齐:框架、筛选、排序、选项、视图切换与新建、选中后的操作;外壳不动) #35547 (the list page redo: view switching and creation).
- 表单从 view 拆成独立的 form 元数据类型,对外表单并入(第一步:ADR 与分卡) #36868 and ADR-0159 (forms leave
view). - Sibling follow-ups from the same §3.10: F2 (field mappings) and F3 (the first item of a 高级 type), filed beside this card.
Dedupe (gh api -X GET search/issues, is:issue, open and closed): studio object views manage (148), 管理视图 (148), studio 视图 对象 (74), manage views studio records tab (60). No card holds this question. Nearest: #36359 and #35547 (epics, above), #35974 (closed, read-only package views in 管理视图).
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
First touch, 2026-11-25T22:32Z.
priority:p2. A UX Feature from a topic (专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890) defaults to p2.needs-user-decision,area:uxand the 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 parent stay. No dispatch until the maintainer picks. After a ruling it goes to repo:objectstack#4, zone a4-S, with the other 专题:Studio 重构——某个应用的开发界面:左侧按类型分组的菜单 → 列表 → 右侧全屏详情(去掉顶部分区) #36890 children.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Ruled · 2026-11-25T22:53Z · A
The maintainer's words, verbatim, in seat repo:objectstack#4's session: 「以上同意」. This answered the seat's presentation of this card, which recommended A. Freshness check: re-read through 7176498936, the newest comment, which has no later edit.
State:
needs-user-decision→pm:queue. Under the maintainer's wind-down order it is not dispatched today; zone a4-S (epic #36890) claims it next round and cites this comment asRuling-ref:.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Re-ruled · 2026-11-25T23:24Z · E (not done); this supersedes A in 7176905458
The maintainer's words, in seat repo:objectstack#4's session, verbatim:
Freshness: re-read through 7176905458, the newest comment, which has no later edit.
State: closed as not planned, and
pm:queueis removed in the same stroke.