Skip to content

feat(studio): the Records tab keeps Add field on screen, a header click opens the field, the name field leads, the inspector puts the label first - #34926

Merged
objectstack-fleet[bot] merged 7 commits into
mainfrom
claude/issue-34794-studio-data-tab
Nov 17, 2026
Merged

objectstack-fleet[bot] merged 7 commits into
mainfrom
claude/issue-34794-studio-data-tab

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #34794
Clause-②: yes (widening) — an optional columnMenuLabel member on the exported GridFieldAuthoring context type of @object-ui/components, and new keys in the lazy studio namespace of @object-ui/i18n; nothing that worked before is refused
Metadata-protocol: none

维护者速读

  • 改了什么:Studio 数据栏「记录」页。工具栏左端常驻「添加字段」(右侧属性栏打开时也看得到)。点列头 = 选中该字段并打开属性,不再排序;排序和隐藏放进每个列头的小箭头菜单(就是右键那个菜单)。名称字段排第一列并冻结,「负责人」挪到业务字段之后。对象标题旁不再挂内部名,悬停标题可见。字段属性面板:显示名在最上,API 名称收进默认折叠的「开发者信息」;删除从面板底部移到顶部「···」菜单,删除前弹确认框。
  • 为什么改:Studio 数据栏:「添加字段」常驻工具栏,点列头改字段,名称列排第一,字段属性面板先显示名后内部名 #34794 的 6 项(维护者「都是p1」)。日常改字段不该先面对内部名;1280 宽下打开属性栏后「+」列被挤出屏外;点列头误触排序。
  • 风险与回滚:只动控制台前端(app-shell 的 Studio 数据栏和字段属性面板;components 的表格多一个可选成员;i18n 只加 studio 懒加载命名空间的键)。运行时列表不受影响:不提供该成员的表格,列头 HTML 逐字节不变(有测试钉住)。不动元数据、契约、服务端。回滚即 revert。
  • 先看:StudioDesignSurface.tsx(列头捕获点击选中字段的那段,以及 gridColumnsComputed 里 leadWithNameField 排序那段)、ObjectFieldInspector.tsx(FieldMoreMenu 与 DeveloperSection)、data-table.tsx(columnMenuLabel 小箭头按钮)。
  • 两分钟验证:本地起 CRM,Studio 新建一个对象并加几个字段,打开「记录」页:工具栏最左是「添加字段」;点任一字段列头,右侧打开该字段属性、行顺序不变;点列头小箭头出现「升序排列 / 降序排列 / 隐藏列」;属性面板第一个输入框是显示名,「开发者信息」展开后才见 API 名称;「···」→ 删除会先弹确认。
  • 需要你做的:无,席位落地

What changes

Studio Data pillar, Records tab (ui/packages/app-shell):

  1. Add field is always on screen. A new StudioGridAddFieldButton sits at the start of the records grid's own toolbar row (ListView's toolbarLeading). It opens the same AddFieldPopover, with the pillar's own addField, taken names and extension mode. It draws only when the grid's field-authoring context carries onAddColumn, which is exactly when canAddFields holds, so the toolbar entry and the kept trailing "+" column cannot disagree.
  2. A header click opens the field. The records body takes a click on a field's column header in the capture phase, the Interfaces canvas's ColumnHeaderSelect pattern, and selects that field (its properties open; the header is outlined). It does not sort. Controls inside the header keep their own click. A column the author's buffer does not declare (the injected owner_id) keeps the grid's click. Sort and hide are one click away: the host sets the new columnMenuLabel, and every header draws a caret that opens the table's existing column menu (the right-click menu).
  3. The name field leads. gridColumnsComputed now orders the columns through the shared leadWithNameField (ADR-0079 D4) over the author's fields, then the served-only columns. The name field is the frozen first column (ObjectGrid's default frozenColumns). owner_id follows the business fields. Only the Studio grid's columns change; runtime list views are not touched.
  4. The machine name is a tooltip. The Data header passes titleProps.title (the object's name) instead of apiName, so the mono chip beside the title is gone.

Field inspector (ObjectFieldInspector):

  1. Label first. The display-name box is the first control. The API name moved into a "Developer info" section (DeveloperSection), collapsed by default, with a one-line hint. The body is hidden, not unmounted, so its state and the inspector's existing readers keep working.
  2. Delete is behind ⋯ and confirmed. The footer Remove button is gone. A FieldMoreMenu at the end of the header actions holds "Remove FIELD", which opens an AlertDialog (title, body, Cancel, Delete) before removeField runs. The trigger is disabled on a locked inspector (display-patch or read-only), and there is no menu on an external object, matching the old footer exactly.

@object-ui/components: GridFieldAuthoring.columnMenuLabel (optional). When set, data-table draws a caret in every column header, named by the value, that toggles the table's own column menu. The caret's click never reaches the header (no sort). Without a provider, or without the member, the header is unchanged.

@object-ui/i18n (lazy studio namespace only, en + zh): designer.field.section.developer, designer.field.section.developerHint, designer.field.removeConfirmTitle, designer.field.removeConfirmBody, engine.studio.data.columnMenu.

Changeset: .changeset/34794-studio-records-tab-authoring.md, patch for @object-ui/app-shell, @object-ui/i18n and @object-ui/components.

Before / after (live, 1280×800, zh-CN, CRM fresh boot)

Acceptance line Before (origin/main c513d62) After (this branch)
Add field reachable with the pane open only the trailing "+" column, at x=1559 in a 680-wide scroller (scrollWidth 1347): off screen toolbar "添加字段" at x=256 in the toolbar's leading slot; click opens the popover (label input visible); "+" column kept
Header click sorted the rows opens the field's properties (label box = 会议地点), rows unchanged
Sort / hide right-click only, no visible entry caret on every header opens 升序排列 / 降序排列 / 隐藏列; 升序 reorders the rows, 隐藏列 removes the column
Column order #, owner_id 负责人 (frozen), name, … name 名称 (sticky), 会议日期, 会议地点, 主持人, 参会人, 会议纪要, 备注, owner_id 负责人
Inspector order API 名称 above 显示名 first control is the label box; API name hidden until 开发者信息 is opened, then editable
Delete footer 删除“X”, no confirmation (0 dialogs) no footer button; ··· → 删除“会议地点” → dialog 删除字段“会议地点”?… 取消 / 删除; Cancel keeps the column, Delete removes it
Object title mono chip with the machine name h1 text 会议, title = huiyi_jiyao_meeting, no chip

Tests

  • New ui/packages/components/src/renderers/complex/__tests__/data-table-header-column-menu-34794.test.tsx (4): no provider or no member ⇒ header HTML byte-identical to a plain table, and with the member the carets are the only added nodes; the caret's name, aria-expanded, menu entries, toggle, no sort on caret click; the menu sorts desc, asc, and hides; the header's own click still sorts.
  • New ui/packages/app-shell/src/views/studio-design/DataPillar.recordsTab-34794.test.tsx (6, real grid): column order and sticky name column; toolbar Add field in list-toolbar-leading that creates a field; read-only rail draws neither entry; header click opens the inspector without sorting, caret menu has 3 entries; the served owner_id header selects nothing; title tooltip, no chip.
  • ObjectFieldInspector.test.tsx (shared harness) gains 4 cases: order and collapse; rename from the opened section and the taken-name refusal; ⋯ → Remove → dialog, Cancel keeps / Delete removes; read-only ⇒ trigger disabled, external ⇒ no menu.
  • Existing suites updated for the moved controls: DataPillar.authoredBuffer-29793 (new column order), DataPillar.celGate, DataPillar.readOnlyRailReason-12303, ObjectFieldInspector.displayPatchReason-28986, external-object, StudioItemHeader.statusPlace-12524, StudioDesignSurface.heldDataCreate-26845 / heldDataLeave-26705 / heldFlowCreate-26845 (title tooltip in place of the chip). Edited suites that reach a dynamic @objectstack/lint / @objectstack/formula load now pay it at collection (check:test-source-alias).

Acceptance notes

  • The caret mirrors the right-click menu, so it is drawn on every column the menu is offered on, the actions column included.
  • On the CRM package and com.objectstack.platform-objects (code packages, writable: false), both Add field entries are offered, because the pillar authors an extension there (canAddFields with extendsBase, already true of the "+" column). On com.objectstack.setup neither is drawn. The toolbar entry agrees with the "+" column in all three.
  • Deleting a published field that holds rows is refused by the server's draft save (409 DESTRUCTIVE_CHANGE), and the pillar shows its existing "更改未保存" banner. This change only adds the confirmation before removeField; it does not change what the save sends.
  • The column order comes from leadWithNameField, so an object that declares no name field keeps its declared order with the served-only columns after it.
  • PR feat(studio): the Studio AI panel matches the console's AI assistant #34851 (Studio 里的 AI 面板:与应用里的 AI 助手统一名字、入口、宽度和标题栏,放大改为原地铺满 #34725) also adds an optional GridFieldAuthoring member and touches data-table.tsx; overlap-check merges both cleanly.

Verification

i18n-locale-en reading (console build, eager-closure budget)

vite build of ui/apps/console at 44f9722, then node scripts/check-eager-closure-budget.mjs: exit 0.

✅ Console eager closure is 1895.6 KB gzipped across 102 of 2535 chunks (budget: 2431.6 KB, headroom: 536.0 KB).
  ✅ ui-components            322.4 KB / 338.9 KB ceiling (headroom 16.5 KB)
  ✅ i18n-locale-en            60.4 KB / 60.5 KB ceiling (headroom 0.2 KB)

The new strings land only in the lazy i18n-ns-studio-en chunk: "Developer info", "Sort and hide" and "Delete the field “" each count 0 in i18n-locale-en-*.js and 1 in i18n-ns-studio-en-*.js. The ceiling is untouched.

Tests (under os-verify-lock)
  • Final head d2e0c11: the 19 changed and new suites, Test Files 19 passed (19), Tests 170 passed (170), VERDICT command-exit 0.
  • 32680d0 content: 234 files that exercise the touched surfaces (app-shell, components, plugin-grid and the whole packages/i18n/src), Tests 3007 passed | 1 failed | 13 skipped. The one failure (DataPillar.readOnlyRailReason-12303, a reader of the old footer Remove) is fixed in 44f9722: Tests 4 passed (4).
  • pnpm --dir ui exec vitest run scripts/ at d2e0c11: Test Files 171 passed | 2 skipped, Tests 5077 passed.
  • Type-check at 44f9722: @object-ui/components exit 0, @object-ui/app-shell exit 0, @object-ui/i18n exit 0 (each runs tsc --noEmit and tsc -p tsconfig.test.json).
  • The merge of origin/main into d2e0c11 touched none of the 20 files in this diff.
Ablations (one behaviour each; mutate through scripts/ablation-replace.mjs, anchor hit and blob change verified on disk, restore verified by blob == HEAD and empty git diff HEAD)
  • Caret ({columnMenuLabel && ( → {false && …): 3 of 4 cases in the data-table suite red; the header-sorts case stays green, as it should.
  • Header select (the declared-field guard → return;): "a header click selects the field…" red.
  • Column order (return ordered → return all.map(…)): "the name field leads…" red.
  • Confirm (onSelect={() => setConfirming(true)} → onRemove()): "…asks first — Cancel keeps the field…" red.
  • Toolbar button (guard → return null;): "Add field sits in the grid's toolbar row…" red.
  • The first attempt at the header-select and toolbar mutations was refused by the tool as a no-op (the replacement text already occurred in the file). They were re-run with distinct replacement text, and those are the results above. Final tree diff vs HEAD: 0 lines.
Gates
Live readings (1280×800, zh-CN, objectstack dev --seed-admin --fresh on examples/app-crm, console vite dev)

A new package 会议纪要 and object 会议 with 会议日期, 会议地点, 主持人, 参会人, 会议纪要, 备注, published and seeded with 4 rows.

  • Column order: name:名称(sticky), huiyi_riqi, huiyi_didian, zhuchiren, canhui_ren, huiyi_jiyao, beizhu, owner_id:负责人, _actions(sticky).
  • Title: text 会议, title huiyi_jiyao_meeting, chip absent.
  • Header click on 会议地点: label box 会议地点, rows unchanged.
  • Toolbar Add field with the pane open: {x:256,y:157,w:87,h:28} inside list-toolbar-leading; the "+" column is at x=1659 in a 680-wide body (scrollWidth 1447). The click opens the popover.
  • Caret on 会议日期: entries 升序排列 / 降序排列 / 隐藏列; the open inspector stays on 会议地点. 升序 reorders the rows. 隐藏列 on 备注 removes its header.
  • Inspector: first visible control field-label-input=会议地点; API name not visible; toggle reads 开发者信息. Opened: API name visible and enabled (huiyi_didian). No footer 删除 button.
  • ··· on 参会人: entry 删除“参会人”; the dialog shows; Cancel keeps the column; Delete removes it from the grid (and the server's draft save answered 409 DESTRUCTIVE_CHANGE for a field with rows; see Acceptance notes).
  • A header click on 负责人 (owner_id) opens no inspector.
  • com.objectstack.setup: no toolbar Add field, no "+" column, no carets. CRM and platform-objects: both Add field entries, as the "+" column already was (extension authoring). A header click opens the display-patch inspector with the ··· trigger disabled.
  • Control, runtime list /apps/com.example.crm/crm_account: columns name, industry, annual_revenue, website; no toolbar Add field, no caret, no "+" column.
  • External object: NOT MEASURED live (the CRM boot has no external datasource); pinned by external-object.test.tsx and the inspector suite (no ··· menu).
  • The backend ran on the pre-merge closure build plus a pnpm install for the two new workspace links main added. The console ran from source.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz

@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 review · 2026-11-17T16:33Z

L1: ACCEPT
Head-sha: d2e0c11

What I read at this head: all 20 files (+814/−54), the PR body, the card #34794, claim 6947836360 (corrected 6947879967), the seat amendment 6948353285, dev report 6954122169, and the check-runs on this sha. check-governed-merges on the final file list: not governed.

Checklist:

  • Shape: draft, Fixes #34794, Clause-② and Metadata-protocol lines in both the body and the changeset.
  • Scope: every path is inside the claim plus the amendment (components/.../data-table.tsx, context/gridFieldAuthoring.tsx and their test). metadata-admin/previews/external-object.test.tsx sits outside the literal studio-design/** / inspector-tests globs. It only re-points its reads of the moved Remove control, so I count it as a test reader of ObjectFieldInspector, not as new surface.
  • Changeset: patches for app-shell, i18n and components, the three published packages whose src moved.
  • Clause-②: yes (widening) matches the amendment: optional GridFieldAuthoring.columnMenuLabel plus lazy studio keys. Without the member the header is pinned byte-identical. The components widening owes the seat's L2 at TIER_DEFAULT. This L1 does not stand in for it.
  • UI strings: the five new keys are in studio/en.ts and studio/zh.ts. Every visible string in the new FieldMoreMenu, AlertDialog and DeveloperSection comes through tr/tFormat with existing keys (engine.studio.if.more, engine.edit.delete, engine.cancel, designer.field.remove). The eager en ceiling was read by the dev: 60.4 / 60.5 KB, new strings only in the lazy chunk.
  • Docs: none made false. build-without-code.mdx speaks of Add field only at the package level. The dev's note on sortability.mdx is right: it describes runtime grids, which keep the sort click.
  • Tests: real commands with exit codes. There are 5 ablations, each red on its own case.
  • Unrelated files: none.

Must-fix

None.

Should-fix

None.

Notes / nits

  • N1 (nit): StudioGridAddFieldButton falls back to a hard-coded 'Add field' when addColumnLabel is unset. Today it is unreachable, because the pillar always sets the label with onAddColumn. A keyed fallback, or no fallback at all, would keep the next host honest.
  • N2 (nit): the en wording runs "Remove “X”" (menu entry), then "Delete the field “X”?" (dialog title), then "Delete" (button). zh reads 删除 throughout. Aligning the en menu entry to "Delete" would make the chain one verb.
  • Deviation 1, judged acceptable: the collection-time import '@objectstack/lint' / '@objectstack/formula' lines in the edited suites. They are test-only and required by check:test-source-alias (exit 1 before, 0 after). The PR's Tests section declares them.
  • Deviation 2, judged acceptable: a create through the toolbar Add field is shown by unit test only. Live, the button was measured on screen with the pane open and its click opens the popover. The create itself runs the pillar's same addField as the kept "+" column, and DataPillar.recordsTab-34794 pins the create from the toolbar entry.
  • Header selection is pointer-only. The capture-phase click selects a field from its header, while keyboard users reach sort and hide through the caret, which is a real button. Field selection by keyboard still has the pillar's other routes. Not a regression; noted for the epic's a11y read.
  • Carrier owed: the class-a candidate in the report (deleting a published field that holds rows → draft save 409 DESTRUCTIVE_CHANGE, with only the generic unsaved banner and no way to confirm) predates this PR. It needs a filed carrier from the area, not a change here.
  • Overlap: feat(studio): the Studio AI panel matches the console's AI assistant #34851 also adds an optional GridFieldAuthoring member and edits data-table.tsx. The dev's overlap-check says it merges cleanly. Whichever lands second re-runs the data-table pins.

CI at review time

There are 56 check-runs on this sha: 19 success, 13 skipped, 24 in progress, 0 failed. The in-progress runs are Test UI 1–16, Type Check UI, Lint UI, Build & E2E UI and five Lint lanes. Landing needs every run on the landing head green.

Routing

L1 ACCEPT. Next is the seat's L2 at TIER_DEFAULT for the components widening. The area lands it after that, with CI fully green.

Lint UI on d2e0c11 failed with object-ui/no-unused-imports on
`tFormat` in ObjectFieldInspector.displayPatchReason-28986.test.tsx and
`within` in external-object.test.tsx, left over after the moved Remove
control's reads were re-pointed. Imports only; no test logic changes.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB

L1 delta review · 2026-11-17T16:38Z

L1: ACCEPT
Head-sha: 8239a21

This supersedes the ACCEPT in 6954262589 at d2e0c11. The delta from d2e0c11 is one commit, 8239a21: two test files, +2/−2.

  • ObjectFieldInspector.displayPatchReason-28986.test.tsx now imports { t } instead of { t, tFormat }. tFormat has 0 remaining uses in the file at this head.
  • previews/external-object.test.tsx drops within from its @testing-library/react import. within has 0 remaining uses in the file at this head.

These are the two object-ui/no-unused-imports errors that turned Lint UI red on d2e0c11, left behind by this PR's own re-pointing of the old footer-Remove reads. The commit makes no logic change and adds no file. The scope, changeset, Clause-② and i18n findings of 6954262589 stand unchanged, and so do its nits N1/N2 and notes.

Must-fix

None.

Should-fix

None.

CI at review time

The run on this sha just started: 19 check-runs registered, 1 success, 3 skipped, 15 in progress, 0 failed. The UI lanes (Lint UI, Test UI, Build & E2E UI) are not registered yet. Landing needs every run on the landing head green, Lint UI included.

Routing

The seat's L2 at TIER_DEFAULT for the GridFieldAuthoring.columnMenuLabel widening is still owed. Read it on this head. The area lands it after that.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 8239a213b0cf42c851b71f2c89e48a62fb40214c
Local-runs: none

What I read: card #34794 (body and all six comments: triage 6947138136, claim 6947836360 and its correction 6947879967, the blocked report 6948315503, the seat amendment 6948353285, the done report 6954122169); PR #34926 (body, 20-file list, the net diff against merge-base b3c3acd3a4); the L1-a ACCEPT 6954262589; the check-runs on the previous head d2e0c11ab7 and on this head. To check the #34851 overlap I ran a read-only git merge-tree of current origin/main (189358f212) against the previous head. That is not a build or a test run.

Head move: d2e0c11ab7..8239a213b0 is one commit (test(app-shell): drop two unused test imports flagged by Lint UI), 2 files, +2/−2. It drops tFormat from ObjectFieldInspector.displayPatchReason-28986.test.tsx:24 and within from external-object.test.tsx:13. No source changed. That commit is the whole fix for the previous head's M1, the Lint UI red. My review of d2e0c11ab7 (FAIL on M1 alone) is kept apart at record-d2e0c11-FAIL.md in the same folder.

CI when I wrote this: NOT CONCLUDED. CI had just started on 8239a213b0: 3 runs succeeded, 5 were skipped, and 15 were in progress (the Lint and Type Check lanes and Check Changeset). Lint UI, Type Check UI and Test UI 1–16 had not been reported yet. On d2e0c11ab7, every run except Lint UI finished green. The Test UI shards there were cancelled by the push, not failed. This PASS holds only if every check-run on 8239a213b0 concludes green. Any red run turns it into a FAIL. Do not post or adopt it until they have concluded.

Seat check of the condition above: at 2026-11-17T17:05Z every check-run on 8239a213b0 has concluded, 45 success, 13 skipped and 0 failed, Lint UI included. The PASS holds.

① Derived judgments

  • GridFieldAuthoring.columnMenuLabel?: string (public surface, @object-ui/components): right. The member is optional and the change only adds to the type. In the whole tree the one GridFieldAuthoringProvider is in Studio's DataPillar (StudioDesignSurface.tsx), and useGridFieldAuthoring is read only by data-table.tsx and the new StudioGridAddField.tsx. No existing consumer or object literal has to change.
  • data-table header (shared renderer): right. The caret is drawn only when fieldAuthoring?.columnMenuLabel is truthy. It reuses the existing contextMenu state shape {x, y, columnKey} and the existing menu. That menu offers sort entries only where isColumnSortable allows, so a non-sortable column gets only Hide, the same as right-click today. The caret's click calls e.stopPropagation(), so it neither sorts the column nor reaches the document listener that closes the menu, which keeps the toggle working. The new test pins the header HTML byte for byte with no provider and with a provider that leaves the member unset. With the member set, it checks that the carets are the only nodes added. headerClick → sort is unchanged in the components layer.
  • Header click selects instead of sorting, and it does not leak to runtime grids: right. The onClickCapture handler lives only on Studio's data-records-body div and is scoped by e.currentTarget.contains(header). It handles a click only when the column is in the draft's own readFields(shownDraft.fields), and it leaves clicks on controls inside the header alone. Runtime list views have no provider, no columnMenuLabel and no capture handler, so they keep the sort click. The dev's live check of /apps/com.example.crm/crm_account agrees.
  • StudioGridAddFieldButton in renderStudioGridList's toolbarLeading: right. It renders null unless the authoring context has onAddColumn (set only when canAddFields is true) and the Studio-local StudioGridAddFieldContext holds a value. renderStudioGridList has one call site, so the button is off everywhere outside the pillar.
  • Column order through leadWithNameField (ADR-0079 D4): right. It only reorders column names already in memory, held fields first and then the served-only ones. The memo deps gain draftNameField and draftDisplayNameField, and they still avoid depending on the whole draft. leadWithNameField is on main (ui/packages/core/src/utils/record-title.ts:417). This applies only to the Studio grid.
  • ObjectFieldInspector: right. The label comes first. FieldApiNameInput moves into DeveloperSection, which hides its body with hidden and does not unmount it, and the DisplayPatchLock and rename checks are unchanged. The footer InspectorRemoveButton becomes FieldMoreMenu, whose AlertDialog runs before removeField. The menu is disabled when the inspector is locked and absent on an external object, the same conditions as the old footer. The confirmation is new behaviour, ruled in seat amendment 6948353285.
  • Overlap with feat(studio): the Studio AI panel matches the console's AI assistant #34851 (merged e05445e4f5 at 16:09Z, after this head's 16:01Z merge of main): no textual or semantic clash. git merge-tree of origin/main against this head is clean (tree 0ab45b61e0). In the merged tree the provider value carries both columnMenuLabel and ...(agentColumnMarks ? { columnMarks } : {}). In data-table, columnMarks draws after the header label and the caret draws after the edit button, two separate nodes. Neither test sets the other PR's member: feat(studio): the Studio AI panel matches the console's AI assistant #34851's data-table-columnMarks-34725 finds headers by getByRole('columnheader', { name: /…/ }), and feat(studio): the Studio AI panel matches the console's AI assistant #34851's DataPillar.copilotChangesLine-34725 reads neither column order nor the API-name chip. Both PRs' data-table and DataPillar pins must re-run on the landing head. They will, because this head has to be rebased or merged onto main anyway.

② Semver level

  • The changeset .changeset/34794-studio-records-tab-authoring.md is patch for @object-ui/app-shell, @object-ui/i18n and @object-ui/components, the three published packages whose src moved. Under AGENTS.md §Before-you-finish 3, a non-protocol widening with Metadata-protocol: none ships patch. Right.
  • Clause-②: yes (widening) appears at the start of a line in both the PR body and the changeset body. It names the optional columnMenuLabel and the lazy studio keys, and it matches the seat amendment. Right.
  • Metadata-protocol: none appears in both and is right: nothing a metadata author can write changes.

③ Boundary flags

  • Dev open_questions: none in the done report. Both questions in the blocked report (the confirmation that did not exist, and the components surface) were answered by seat amendment 6948353285, and the diff follows its route.
  • Dev out-of-scope: (a) draft save → 409 DESTRUCTIVE_CHANGE with no way to confirm. This predates the PR and still needs a carrier filed by the area, as L1 said. (b) sortability.mdx describes runtime grids, which keep the sort click, so the doc is still correct.
  • SQL push-down: not applicable. No new id materialisation or in-app join. The only data-shaped change is ordering column names already in memory on the client.

M1 (must-fix on d2e0c11ab7), resolved on this head: Lint UI failed on two unused test imports (within in external-object.test.tsx:13, tFormat in ObjectFieldInspector.displayPatchReason-28986.test.tsx:24). Commit 8239a213b0 removes exactly those two and nothing else. Whether the fix holds is decided by Lint UI's conclusion on this head. The dev report and PR body said all 37 local gate commands exited 0, but CI showed this lint error. The ESLint pass over @object-ui/app-shell either was not among those commands or did not run on these files. It should be fixed in the dev's gate run, not in this PR.

Must-fix still open: none.

Should-fix: none.

  • N1 (nit): Studio's capture-phase e.stopPropagation() on a header click also stops the native click before it reaches data-table's document-level close listener. So a caret menu that is open stays open when the author clicks another field's header to select it. This comes from reading the code, not from a run. Closing an open menu in that handler, or not stopping native propagation, would fix it. It is cosmetic.
  • N2 (nit, carried from L1 N1/N2): the hard-coded 'Add field' fallback in StudioGridAddFieldButton, and the en verb chain Remove → Delete → Delete. Both are still open and both are nits.
  • N3 (nit): the caret is drawn on every column the right-click menu covers, the actions column included. The PR body says so. Hiding the actions column from the design grid was already possible by right-click.

Merge standard: only the nits N1 to N3 remain open, and nits may stay open at landing. Landing needs every check-run on the landing head green, and on this head they had not concluded when I wrote this (see above).

Implemented-by: claude/issue-34794-studio-data-tab
Reviewed-by: session_01WGufzgh1zkZzDXL36ckWAG

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz

Landing · area o3-C · head 8239a21

Probe Reading
check-governed-merges.mjs --pr 34926 NOT governed (0 of 20 paths hit the register); 872 changed lines (+816/−56) ≤ 3000 → Tier S
Review L1 ACCEPT 6954416414 at this head (supersedes 6954262589); seat contract review PASS 6955121319 at this head (TIER_DEFAULT, for the GridFieldAuthoring.columnMenuLabel widening)
Open findings nits only (merge standard 「只对 nit 级采用」): L1 N1 (hard-coded 'Add field' fallback, unreachable, record only); L1 N2 (en Remove/Delete verb chain), carried by the seat as epic note 22 on #34571; L2 N1 (an open caret menu stays open when another header is clicked, cosmetic, record only); L2 N3 (caret on the actions column, declared in the body)
CI K = 14 (< 15, no branch update); on 8239a21: 45 success, 13 skipped, 0 failed, Lint UI included; mergeable clean
Carrier the dev's out-of-scope class-a finding (409 DESTRUCTIVE_CHANGE on deleting a field with rows, no confirm path) is filed as #34931

The queue build re-runs the data-table and DataPillar pins on the landing head beside #34851's GridFieldAuthoring member. State: ready + auto-merge now; on MERGED, #34794 closes via Fixes and its pm:* state label comes off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio 数据栏:「添加字段」常驻工具栏,点列头改字段,名称列排第一,字段属性面板先显示名后内部名

2 participants