From 499cb968364e45cfc16ae5153d51a27deacc98b6 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 07:36:10 +0000 Subject: [PATCH 01/10] feat(plugin-view): an editable object-view grid selects a cell first and saves each cell on its own The grid an object-view draws itself (no renderListView host) passes cellSelection to ObjectGrid when the view makes it editable (named view inlineEdit, else table.editable), so it drops the pending-changes bar and Save All for per-cell save. A read-only grid keeps click-to-open. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- ui/packages/plugin-view/src/ObjectView.tsx | 7 + ...ectView.namedViewInlineEdit-10885.test.tsx | 21 ++- .../ObjectView.perCellSave-36270.test.tsx | 150 ++++++++++++++++++ .../ObjectView.tableEditable-10976.test.tsx | 21 ++- 4 files changed, 187 insertions(+), 12 deletions(-) create mode 100644 ui/packages/plugin-view/src/__tests__/ObjectView.perCellSave-36270.test.tsx diff --git a/ui/packages/plugin-view/src/ObjectView.tsx b/ui/packages/plugin-view/src/ObjectView.tsx index 4d86d8966ee..191f8d9adb9 100644 --- a/ui/packages/plugin-view/src/ObjectView.tsx +++ b/ui/packages/plugin-view/src/ObjectView.tsx @@ -3271,10 +3271,17 @@ export const ObjectView: React.FC = ({ // Default: use ObjectGrid — keyed on identity alone; it refetches in place // on the data-invalidation bus (see `identityKey` above). + // + // objectstack#36270 — a grid this view makes editable (the named view's + // `inlineEdit`, else `table.editable`) edits as the list page's grid does: + // a click selects a cell, double-click, Enter or typing opens its editor, + // and each committed cell saves on its own, with no pending-changes bar + // and no "Save All". A read-only grid keeps click-to-open. return ( , userActions?: Record expect(screen.getByText('Alpha')).toBeInTheDocument()); const td = screen.getByText('Alpha').closest('td') as HTMLElement; fireEvent.click(td); - // The editor mounts on click; one tick lets React flush it, so `false` means - // "never opened", not "not opened yet". + // objectstack#36270 — an editable grid selects the cell on that click (the + // list page's select-first model) and Enter asks for its editor; a + // read-only grid has no selected cell to ask, and the click opens the row. + const catcher = document.querySelector('[data-slot="cell-type-catcher"]'); + if (catcher) fireEvent.keyDown(catcher, { key: 'Enter' }); + // One tick lets React flush the editor, so `false` means "never opened", + // not "not opened yet". await new Promise((r) => setTimeout(r, 50)); return { - editor: td.querySelector('input') != null, + editor: document.querySelector('td[data-editing-cell] input') != null, recordForm: screen.queryByTestId('object-form') != null, + readOnlyReason: screen.queryByTestId('cell-readonly-reason'), }; } @@ -117,8 +124,10 @@ describe('objectui#10885 — route 2 hands `ObjectGrid` the named view\'s `inlin it('THE GRANT STILL WINS: a named `inlineEdit: true` opens no editor when the object refuses inline edit', async () => { const r = await clickCell({ inlineEdit: true }, { edit: false }); expect(r.editor).toBe(false); - // The click landed: it went through to the row, as on a read-only grid. - expect(r.recordForm).toBe(true); + // The click landed: it selected the cell, which says why it opens no + // editor, and opened no record (objectstack#36270). + expect(r.readOnlyReason).not.toBeNull(); + expect(r.recordForm).toBe(false); }); it('CONTROL: a named view that declares no `inlineEdit` stays read-only, as before', async () => { diff --git a/ui/packages/plugin-view/src/__tests__/ObjectView.perCellSave-36270.test.tsx b/ui/packages/plugin-view/src/__tests__/ObjectView.perCellSave-36270.test.tsx new file mode 100644 index 00000000000..38afca77e5d --- /dev/null +++ b/ui/packages/plugin-view/src/__tests__/ObjectView.perCellSave-36270.test.tsx @@ -0,0 +1,150 @@ +/** + * ObjectUI + * Copyright (c) 2024-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * objectstack#36270 — the grid an `object-view` draws itself (route 2, no + * `renderListView` host) edits as the list page's grid does when the view + * makes it editable: a click selects a cell, Enter opens its editor, and the + * committed cell saves on its own. No pending-changes bar and no "Save All" + * is drawn. A read-only grid keeps click-to-open. + * + * Mounts the REAL `ObjectGrid` under `ObjectView`, with the same harness as + * `ObjectView.tableEditable-10976.test.tsx`, and reads what a user sees: the + * write the data source receives and the bar that is (not) drawn. + */ + +import React from 'react'; +import { describe, it, expect, vi, beforeAll, beforeEach, afterEach } from 'vitest'; +import { render, screen, waitFor, fireEvent, cleanup } from '@testing-library/react'; +import '@testing-library/jest-dom'; +import { ActionProvider, SchemaRendererProvider } from '@object-ui/react'; +import type { DataSource, ObjectViewSchema } from '@object-ui/types'; +import { ObjectView } from '../ObjectView'; +import { installExplainDouble } from './explainDouble'; + +vi.mock('@object-ui/plugin-form', async (importOriginal) => ({ + ...(await importOriginal>()), + ObjectForm: () =>
, +})); + +const OBJECT = 'per_cell_save_task'; + +beforeAll(() => { + if (!Element.prototype.scrollIntoView) { + Element.prototype.scrollIntoView = vi.fn() as unknown as Element['scrollIntoView']; + } +}); + +beforeEach(() => { + installExplainDouble(); +}); + +afterEach(() => { + // Unmount before restoring the real `fetch` (objectui#7439). + cleanup(); + vi.unstubAllGlobals(); + vi.restoreAllMocks(); +}); + +function makeDataSource() { + const store: Record = { + r1: { id: 'r1', name: 'Alpha' }, + r2: { id: 'r2', name: 'Beta' }, + }; + const update = vi.fn(async (_object: string, id: string, changes: Record) => { + store[id] = { ...store[id], ...changes }; + return { ...store[id] }; + }); + return { + update, + ds: { + find: vi.fn(async () => ({ data: Object.values(store).map((r) => ({ ...r })), total: 2 })), + findOne: vi.fn(), + create: vi.fn(), + update, + delete: vi.fn(), + getObjectSchema: vi.fn(async () => ({ + name: OBJECT, + label: 'Task', + fields: { id: { type: 'text' }, name: { type: 'text', label: 'Name' } }, + })), + } as unknown as DataSource, + }; +} + +function mount(schema: ObjectViewSchema, ds: DataSource) { + return render( + + + + + , + ); +} + +/** Select the `Alpha` cell, open its editor with Enter, type `value`, commit with Enter. */ +async function editAlpha(value: string) { + await waitFor(() => expect(screen.getByText('Alpha')).toBeInTheDocument()); + const td = screen.getByText('Alpha').closest('td') as HTMLElement; + fireEvent.click(td); + const catcher = await waitFor(() => { + const el = document.querySelector('[data-slot="cell-type-catcher"]'); + expect(el).toBeTruthy(); + return el!; + }); + fireEvent.keyDown(catcher, { key: 'Enter' }); + const input = await waitFor(() => { + const el = document.querySelector('td[data-editing-cell] input'); + expect(el).toBeTruthy(); + return el!; + }); + fireEvent.change(input, { target: { value } }); + fireEvent.keyDown(input, { key: 'Enter' }); +} + +describe("objectstack#36270 — an editable object-view's own grid saves each cell on its own", () => { + it('`table.editable`: the committed cell sends one update for its record, and no Save All is drawn', async () => { + const { ds, update } = makeDataSource(); + mount({ type: 'object-view', objectName: OBJECT, layout: 'drawer', table: { columns: ['name'], editable: true } }, ds); + await editAlpha('Alpha one'); + await waitFor(() => expect(update).toHaveBeenCalledTimes(1)); + expect(update.mock.calls[0][0]).toBe(OBJECT); + expect(update.mock.calls[0][1]).toBe('r1'); + expect(update.mock.calls[0][2]).toEqual({ name: 'Alpha one' }); + await screen.findByText('Alpha one'); + expect(screen.queryByText(/Save All/)).toBeNull(); + expect(screen.queryByText(/Cancel All/)).toBeNull(); + // Selecting and editing a cell opened no record. + expect(screen.queryByTestId('object-form')).toBeNull(); + }); + + it("a named view's `inlineEdit: true`: the same per-cell save", async () => { + const { ds, update } = makeDataSource(); + const schema = { + type: 'object-view', + objectName: OBJECT, + layout: 'drawer', + defaultListView: 'v1', + listViews: { v1: { label: 'Open work', type: 'grid', columns: ['name'], inlineEdit: true } }, + } as unknown as ObjectViewSchema; + mount(schema, ds); + await editAlpha('Alpha two'); + await waitFor(() => expect(update).toHaveBeenCalledTimes(1)); + expect(update.mock.calls[0][2]).toEqual({ name: 'Alpha two' }); + expect(screen.queryByText(/Save All/)).toBeNull(); + }); + + it('CONTROL: a read-only object-view grid keeps click-to-open and selects no cell', async () => { + const { ds } = makeDataSource(); + mount({ type: 'object-view', objectName: OBJECT, layout: 'drawer', table: { columns: ['name'] } }, ds); + await waitFor(() => expect(screen.getByText('Alpha')).toBeInTheDocument()); + fireEvent.click(screen.getByText('Alpha').closest('td') as HTMLElement); + await waitFor(() => expect(screen.getByTestId('object-form')).toBeInTheDocument()); + expect(document.querySelector('[data-slot="cell-type-catcher"]')).toBeNull(); + }); +}); diff --git a/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx b/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx index 0e1f2ca2717..4a4f0a62148 100644 --- a/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx +++ b/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx @@ -17,7 +17,8 @@ * this file reads what a user sees. `ObjectGrid` gates the key itself * (`inlineEditable` is `schema.editable` AND the object's inline-edit verdict * AND the principal's `update` grant), so these cases mount the real grid and - * ask one question: does a click on a cell open an in-cell editor. Same harness + * ask one question: does selecting a cell and pressing Enter open an in-cell + * editor (the select-first model, objectstack#36270). Same harness * as the named-view twin, `ObjectView.namedViewInlineEdit-10885.test.tsx`. */ @@ -90,12 +91,18 @@ async function clickCell(table: NonNullable, userActi await waitFor(() => expect(screen.getByText('Alpha')).toBeInTheDocument()); const td = screen.getByText('Alpha').closest('td') as HTMLElement; fireEvent.click(td); - // The editor mounts on click; one tick lets React flush it, so `false` means - // "never opened", not "not opened yet". + // objectstack#36270 — an editable grid selects the cell on that click (the + // list page's select-first model) and Enter asks for its editor; a + // read-only grid has no selected cell to ask, and the click opens the row. + const catcher = document.querySelector('[data-slot="cell-type-catcher"]'); + if (catcher) fireEvent.keyDown(catcher, { key: 'Enter' }); + // One tick lets React flush the editor, so `false` means "never opened", + // not "not opened yet". await new Promise((r) => setTimeout(r, 50)); return { - editor: td.querySelector('input') != null, + editor: document.querySelector('td[data-editing-cell] input') != null, recordForm: screen.queryByTestId('object-form') != null, + readOnlyReason: screen.queryByTestId('cell-readonly-reason'), }; } @@ -109,8 +116,10 @@ describe('objectui#10976 — `table.editable` reaches the real grid', () => { it('THE GRANT STILL WINS: `table.editable: true` opens no editor when the object refuses inline edit', async () => { const r = await clickCell({ columns: ['name'], editable: true, singleClickEdit: true }, { edit: false }); expect(r.editor).toBe(false); - // The click landed: it went through to the row, as on a read-only grid. - expect(r.recordForm).toBe(true); + // The click landed: it selected the cell, which says why it opens no + // editor, and opened no record (objectstack#36270). + expect(r.readOnlyReason).not.toBeNull(); + expect(r.recordForm).toBe(false); }); it('CONTROL: a `table` that writes no `editable` stays read-only, as before', async () => { From d084d3db7e0419f36fab2e2a755629a68cad5f18 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 07:37:19 +0000 Subject: [PATCH 02/10] chore(changeset): object-view grid per-cell save Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- .changeset/36270-object-view-grid-per-cell-save.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .changeset/36270-object-view-grid-per-cell-save.md diff --git a/.changeset/36270-object-view-grid-per-cell-save.md b/.changeset/36270-object-view-grid-per-cell-save.md new file mode 100644 index 00000000000..97651da83e4 --- /dev/null +++ b/.changeset/36270-object-view-grid-per-cell-save.md @@ -0,0 +1,12 @@ +--- +'@object-ui/plugin-view': patch +--- + +feat(object-view): an editable object-view grid selects a cell first and saves each cell on its own, with no Save All + +Clause-②: no +Metadata-protocol: none + +The grid an `object-view` draws itself (the registered renderer with no `renderListView` host, such as the Studio's view preview) now edits as the list page's grid does when the view makes it editable, through the named view's `inlineEdit` or, without one, `table.editable`. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. + +A read-only object-view grid is unchanged: a click on a row still opens the record. The editing grant is unchanged too: neither key can open editing that the object or the reader's `update` grant refuses, and a refused cell now says why when it is asked to edit, as on the list page. From a416bdce7b72924c9cb022103d700aaf90c82266 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 08:27:02 +0000 Subject: [PATCH 03/10] wip(plugin-grid): authored editable object-grid opts into select-first (local, held) Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- .../authoredGridPerCellSave-36270.test.tsx | 140 ++++++++++++++++++ ui/packages/plugin-grid/src/index.tsx | 15 +- 2 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 ui/packages/plugin-grid/src/__tests__/authoredGridPerCellSave-36270.test.tsx diff --git a/ui/packages/plugin-grid/src/__tests__/authoredGridPerCellSave-36270.test.tsx b/ui/packages/plugin-grid/src/__tests__/authoredGridPerCellSave-36270.test.tsx new file mode 100644 index 00000000000..e1dd506ad4b --- /dev/null +++ b/ui/packages/plugin-grid/src/__tests__/authoredGridPerCellSave-36270.test.tsx @@ -0,0 +1,140 @@ +/** + * ObjectUI + * Copyright (c) 2024-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * objectstack#36270 — an AUTHORED `object-grid` node (a page's SDUI node, or + * `` on a `kind: 'react'` page, both drawn by the registered + * renderer) that edits (`editable: true`) edits as the list page's grid does: + * a click selects a cell, Enter opens its editor, and the committed cell saves + * on its own. No pending-changes bar and no "Save All" is drawn. A read-only + * node keeps click-to-open, and a host that says `cellSelection` itself wins. + * + * Rendered through `SchemaRenderer` and the registry, the path an authored + * node takes, never by importing `ObjectGrid` directly. + */ + +import { describe, it, expect, vi, beforeAll, beforeEach, afterEach } from 'vitest'; +import { render, screen, waitFor, fireEvent, cleanup } from '@testing-library/react'; +import '@testing-library/jest-dom'; +import React from 'react'; +import { ActionProvider, SchemaRenderer, SchemaRendererProvider } from '@object-ui/react'; +// Module-scope side-effect imports: the registry must hold every key the +// node draws before the first render. +import '@object-ui/components'; +import { registerAllFields } from '@object-ui/fields'; +import '../index'; +import { __clearRecordCrudVerdictCache } from '../hooks/useRecordCrudVerdicts'; +import { __resetApprovalsServiceLatch } from '../hooks/useRowApprovalLocks'; +import { installExplainDouble } from './explainDouble'; + +registerAllFields(); + +const OBJECT = 'authored_grid_task'; + +beforeAll(() => { + if (!Element.prototype.scrollIntoView) { + Element.prototype.scrollIntoView = vi.fn() as unknown as Element['scrollIntoView']; + } +}); +beforeEach(() => { + __clearRecordCrudVerdictCache(); + __resetApprovalsServiceLatch(); + installExplainDouble(); +}); +afterEach(() => { + cleanup(); + vi.unstubAllGlobals(); +}); + +function makeDataSource() { + const store: Record = { + r1: { id: 'r1', name: 'Alpha' }, + r2: { id: 'r2', name: 'Beta' }, + }; + const update = vi.fn(async (_object: string, id: string, changes: Record) => { + store[id] = { ...store[id], ...changes }; + return { ...store[id] }; + }); + const ds = { + find: vi.fn(async () => { + const data = Object.values(store).map((r) => ({ ...r })); + return { data, total: data.length, hasMore: false, pageSize: 50 }; + }), + findOne: vi.fn(), + create: vi.fn(), + update, + delete: vi.fn(), + getObjectSchema: vi.fn(async (name: string) => ({ + name, + fields: { id: { type: 'text' }, name: { type: 'text', label: 'Name' } }, + })), + }; + return { ds, update }; +} + +function mount(node: Record, ds: unknown, extra: Record = {}) { + return render( + + + + + , + ); +} + +const catcher = () => document.querySelector('[data-slot="cell-type-catcher"]'); + +describe('objectstack#36270 — an authored editable object-grid saves each cell on its own', () => { + it('the committed cell sends one update for its record, and no Save All is drawn', async () => { + const { ds, update } = makeDataSource(); + mount({ editable: true }, ds); + await screen.findByText('Beta'); + fireEvent.click(screen.getByText('Alpha').closest('td') as HTMLElement); + const typeCatcher = await waitFor(() => { + const el = catcher(); + expect(el).toBeTruthy(); + return el!; + }); + fireEvent.keyDown(typeCatcher, { key: 'Enter' }); + const input = await waitFor(() => { + const el = document.querySelector('td[data-editing-cell] input'); + expect(el).toBeTruthy(); + return el!; + }); + fireEvent.change(input, { target: { value: 'Alpha one' } }); + fireEvent.keyDown(input, { key: 'Enter' }); + await waitFor(() => expect(update).toHaveBeenCalledTimes(1)); + expect(update.mock.calls[0][0]).toBe(OBJECT); + expect(update.mock.calls[0][1]).toBe('r1'); + expect(update.mock.calls[0][2]).toEqual({ name: 'Alpha one' }); + await screen.findByText('Alpha one'); + expect(screen.queryByText(/Save All/)).toBeNull(); + expect(screen.queryByText(/Cancel All/)).toBeNull(); + }); + + it('CONTROL: a read-only authored grid selects no cell on a click', async () => { + const { ds } = makeDataSource(); + mount({}, ds); + await screen.findByText('Beta'); + fireEvent.click(screen.getByText('Alpha').closest('td') as HTMLElement); + await new Promise((r) => setTimeout(r, 50)); + expect(catcher()).toBeNull(); + }); + + it("CONTROL: a host's own `cellSelection` wins over the node's `editable`", async () => { + const { ds } = makeDataSource(); + mount({ editable: true }, ds, { cellSelection: false }); + await screen.findByText('Beta'); + fireEvent.click(screen.getByText('Alpha').closest('td') as HTMLElement); + await new Promise((r) => setTimeout(r, 50)); + expect(catcher()).toBeNull(); + }); +}); diff --git a/ui/packages/plugin-grid/src/index.tsx b/ui/packages/plugin-grid/src/index.tsx index 9c81199f3a2..f2490e9acf7 100644 --- a/ui/packages/plugin-grid/src/index.tsx +++ b/ui/packages/plugin-grid/src/index.tsx @@ -187,7 +187,20 @@ export const ObjectGridRenderer: React.FC<{ schema: any; [key: string]: any }> = requiresDataSource={gridNeedsDataSource(schema, (rest as { data?: unknown }).data)} noDataSourceMessage={noDataSourceMessage('object-grid', schema?.objectName)} > - {(bound) => } + {(bound) => ( + + )} ); }); From cf12f0d9bd4d0b125f2368139feeba76449ae395 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 09:07:06 +0000 Subject: [PATCH 04/10] feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired A grid that renders editable (editable set and the viewer allowed to edit) now uses the select-first cell model wherever it is drawn: the object-view grid and an authored object-grid node, as on the list page. A click selects, double-click, Enter, F2 or typing opens the editor, and each committed cell saves on its own; no Save All bar is drawn. Read-only grids keep click-to-open, and a host's cellSelection prop still wins. singleClickEdit has no single-click entry left to switch, so it is retired under ADR-0049: a retiredKey tombstone in the spec, the D2 conversion object-grid-single-click-edit-removed, its D3 entry and retired-key row, and a ?: never tombstone in @object-ui/types (the object-view table slot no longer relays it). keyboardNavigation's describe narrows to what is enforced: always on for a grid that renders editable. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- ...0-object-grid-single-click-edit-retired.md | 34 ++++ .../36270-object-view-grid-per-cell-save.md | 12 -- content/docs/frontend/plugins/plugin-grid.mdx | 81 ++++---- content/docs/frontend/plugins/plugin-view.mdx | 2 +- content/docs/references/ui/component.mdx | 4 +- packages/spec/authorable-surface/ui.json | 2 +- packages/spec/liveness/page.json | 4 +- .../object-grid-single-click-edit-removed.ts | 179 ++++++++++++++++++ packages/spec/src/conversions/registry.ts | 2 + ...18.ui__ObjectGridProps__singleClickEdit.ts | 15 ++ ...8.object-grid-single-click-edit-retired.ts | 32 ++++ .../spec/src/migrations/registry.ts.template | 15 ++ packages/spec/src/ui/component.zod.ts | 36 +++- ...-grid-single-click-edit-retirement.test.ts | 144 ++++++++++++++ .../object-grid-single-click-edit.pin.test.ts | 123 ++++++++++++ packages/spec/vitest.repo-tests.json | 1 + ui/packages/plugin-grid/README.md | 56 +++--- ui/packages/plugin-grid/src/ObjectGrid.tsx | 24 ++- .../ObjectGrid.autosave-35685.test.tsx | 3 +- .../ObjectGrid.cellSelection-35684.test.tsx | 19 +- ...jectGrid.keyboardNavigation-11068.test.tsx | 73 +++++-- .../src/__tests__/columnTypeEmitSeam.test.tsx | 2 +- .../gridDependentValues-7165.test.tsx | 3 +- ...inCellSelectMultipleRouting-35688.test.tsx | 3 +- .../inlineEditConcurrency-12292.test.tsx | 3 +- .../inlineEditConflictFields-33557.test.tsx | 3 +- .../inlineEditDatePicker-12664.test.tsx | 3 +- .../inlineEditDuringSave-12322.test.tsx | 3 +- .../src/__tests__/inlineEditExitMode.test.tsx | 3 +- .../inlineEditFieldWriteGrant-12103.test.tsx | 3 +- .../__tests__/inlineEditLookupRepro.test.tsx | 3 +- .../inlineEditNoopAndHeader-11816.test.tsx | 3 +- ...ineEditPendingKeyedByRecord-12310.test.tsx | 3 +- .../inlineEditPermissionGate.test.tsx | 3 +- .../__tests__/inlineEditPersistence.test.tsx | 3 +- .../inlineEditRecordVerdict-27365.test.tsx | 2 +- .../inlineEditRuleCheck-27520.test.tsx | 2 +- .../inlineEditSaveFeedback-12303.test.tsx | 2 +- .../inlineEditSaveNotice-28252.test.tsx | 2 +- .../__tests__/lookupPickerKeys-7154.test.tsx | 3 +- .../maskedColumnSurfaces-10583.test.tsx | 6 +- .../relationalMetaCopySet-7166.test.tsx | 3 +- .../__tests__/rowContextMenu-28434.test.tsx | 7 +- ui/packages/plugin-grid/src/index.tsx | 22 +-- ui/packages/plugin-view/README.md | 2 +- ui/packages/plugin-view/src/ObjectView.tsx | 8 - ...ectView.namedViewInlineEdit-10885.test.tsx | 15 +- .../ObjectView.tableEditable-10976.test.tsx | 21 +- .../ObjectView.tableSlotRelay-10976.test.tsx | 9 +- .../object-view-slot-key-lists.test.ts | 8 +- .../object-view-table-slot-10976.test.ts | 1 - .../unmirrored-declared-round6-6152.test.ts | 12 +- ui/packages/types/src/objectql.ts | 23 ++- ui/packages/types/src/zod/objectql.zod.ts | 22 ++- 54 files changed, 859 insertions(+), 213 deletions(-) create mode 100644 .changeset/36270-object-grid-single-click-edit-retired.md delete mode 100644 .changeset/36270-object-view-grid-per-cell-save.md create mode 100644 packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts create mode 100644 packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts create mode 100644 packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts create mode 100644 packages/spec/src/ui/object-grid-single-click-edit-retirement.test.ts create mode 100644 packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts diff --git a/.changeset/36270-object-grid-single-click-edit-retired.md b/.changeset/36270-object-grid-single-click-edit-retired.md new file mode 100644 index 00000000000..c69c8710d80 --- /dev/null +++ b/.changeset/36270-object-grid-single-click-edit-retired.md @@ -0,0 +1,34 @@ +--- +'@objectstack/spec': minor +'@object-ui/types': minor +'@object-ui/plugin-grid': minor +'@object-ui/plugin-view': minor +--- + +feat(spec,ui)!: every grid that renders editable selects a cell first and saves each cell on its own, and `object-grid`'s `singleClickEdit` is retired + +Clause-②: no (narrowing) +Metadata-protocol: narrowed + + + +**BREAKING** accept-set narrowing on the `object-grid` page block (`@objectstack/spec`, `ComponentPropsMap['object-grid'].singleClickEdit`) and on `@object-ui/types` (`ObjectGridSchema.singleClickEdit`, and the `object-view` `table` slot that relayed it), with the grids following it in the same release. + +- **Now.** A grid that renders editable (`editable` set and the viewer allowed to edit the object) uses the list page's select-first cell model wherever it is drawn: the grid an `object-view` draws itself (the Studio's view preview, a page that places an `object-view`) and an authored `object-grid` node. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. +- **Unchanged.** A grid that renders read-only keeps its click-to-open row. Neither `editable` nor a view's `inlineEdit` can open editing that the object or the reader's `update` grant refuses, and a refused cell now says why when it is asked to edit, as on the list page. A React host that draws `ObjectGrid` itself can still pass `cellSelection={false}` to keep the staged model with its Save All bar. +- **`keyboardNavigation` narrowed to what is enforced.** On a grid that renders editable the arrow-key navigation is always on, because the selection moves with those keys; `false` no longer turns it off there. On a read-only grid `true` still turns it on. + +| FROM | TO | +|:--|:--| +| `object-grid` `properties.singleClickEdit: true` (or absent: the old default) | delete the key; a click selects the cell and double-click, Enter, F2 or typing opens its editor | +| `object-grid` `properties.singleClickEdit: false` | delete the key; double-click still opens the editor | +| `object-view` `table.singleClickEdit` | delete the key | + +The one-line fix: delete `singleClickEdit` wherever it is written; `os migrate meta --from 17 --write` deletes it from page sources. Writing it after upgrade fails `tsc` (the input type is `never`) and fails the parse with that prescription. + +The retirement kit: + +- **`@objectstack/spec`**: `singleClickEdit` is a `retiredKey()` tombstone on `ObjectGridPropsSchema`, registered in `RETIRED_KEYS_BY_MAJOR[18]` as `ui/ObjectGridProps:singleClickEdit`. The D2 conversion `object-grid-single-click-edit-removed` deletes it from `object-grid` components (top-level regions, nested `children` and named slots), whatever its value, and the D3 entry `object-grid-single-click-edit-retired` names what the upgrade still owes: help text and tests that describe the old gestures. `keyboardNavigation`'s describe says what is enforced. The liveness ledger records the retirement and the narrowed read. +- **`@object-ui/types`**: `ObjectGridSchema.singleClickEdit` is `?: never` with a `retirementTombstone()` twin, and the `object-view` `table` slot inherits it. `DataTableSchema.singleClickEdit`, a flag a host sets in code, is unchanged. +- **`@object-ui/plugin-grid`**: `ObjectGrid` turns the select-first model on wherever the grid renders editable (a host's `cellSelection` still wins), and no longer reads `singleClickEdit`. The `object-grid` inputs no longer list it. +- **`@object-ui/plugin-view`**: `table.singleClickEdit` is no longer relayed to the grid. diff --git a/.changeset/36270-object-view-grid-per-cell-save.md b/.changeset/36270-object-view-grid-per-cell-save.md deleted file mode 100644 index 97651da83e4..00000000000 --- a/.changeset/36270-object-view-grid-per-cell-save.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@object-ui/plugin-view': patch ---- - -feat(object-view): an editable object-view grid selects a cell first and saves each cell on its own, with no Save All - -Clause-②: no -Metadata-protocol: none - -The grid an `object-view` draws itself (the registered renderer with no `renderListView` host, such as the Studio's view preview) now edits as the list page's grid does when the view makes it editable, through the named view's `inlineEdit` or, without one, `table.editable`. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. - -A read-only object-view grid is unchanged: a click on a row still opens the record. The editing grant is unchanged too: neither key can open editing that the object or the reader's `update` grant refuses, and a refused cell now says why when it is asked to edit, as on the list page. diff --git a/content/docs/frontend/plugins/plugin-grid.mdx b/content/docs/frontend/plugins/plugin-grid.mdx index 8db647681dd..db9b60668d7 100644 --- a/content/docs/frontend/plugins/plugin-grid.mdx +++ b/content/docs/frontend/plugins/plugin-grid.mdx @@ -347,20 +347,23 @@ Enable inline cell editing for quick data updates: { "field": "email", "label": "Email" }, { "field": "status", "label": "Status", "type": "select" } ], - "editable": true, - "singleClickEdit": false + "editable": true } } ``` `editable` is the only switch: it is a grid-level flag, and edits persist through the host's data source (`dataSource.update`) with no callback to wire. +A grid that renders editable (`editable` set and the reader allowed to edit +the object) uses the **select-first** cell model described below: a click +selects a cell, and double-click, Enter, F2 or typing opens its editor. A grid +that renders read-only keeps its click-to-open row. `singleClickEdit` is +retired (objectstack#36270): `@objectstack/spec` refuses it, and +`os migrate meta` deletes it from existing sources. **Features:** -- **Double-click to edit**: double-click any editable cell to enter edit mode - (`singleClickEdit: true` opens it on the first click instead) -- **Keyboard shortcuts**: press Enter on a focused cell to start editing, Enter - again to save, Escape to cancel +- **Select, then edit**: a click selects a cell; double-click, Enter, F2 or + typing opens its editor, Enter commits, Escape cancels - **Per-field read-only**: which cells open is decided by the **field definition**, not by a column key — a field marked `readonly`, and computed/binary field types (formula, autonumber, file, …), never open an @@ -387,14 +390,17 @@ through the host's data source (`dataSource.update`) with no callback to wire. To own persistence in a React host, supply `onCellChange` as a **component prop** — it is not a schema key. -#### On an object's list page +#### The select-first cell model -The console's list page draws its grid with the **select-first** cell model -(objectstack#35684, objectstack#35687), which its host turns on (the -`cellSelection` component prop, not a schema key). There is no inline-edit -mode and no toggle: the grid is editable wherever the reader may edit the -object and the view does not declare `userActions.editInline: false`, and -`singleClickEdit` is not read there. +Every grid that renders editable uses the **select-first** cell model +(objectstack#35684, objectstack#35687, objectstack#36270): the console's list +page, the grid an `object-view` draws, and an authored `object-grid`. There is +no inline-edit mode and no toggle. On the list page the grid is editable +wherever the reader may edit the object and the view does not declare +`userActions.editInline: false`; elsewhere it is editable where `editable` is +set and the reader may edit the object. A React host can pass the +`cellSelection` component prop (not a schema key) as `false` to keep the staged +model described under [Batch Editing](#batch-editing--multi-row-save). - **A click selects** a cell (a ring around it); it neither edits nor opens the record. Only the name link keeps its own click (it opens the record). Every @@ -539,10 +545,12 @@ WAI-ARIA grid pattern (objectui#11068): - **Editing.** On an editable grid, Enter still opens the focused cell, and an open cell's editor keeps every key. An edit ended with Enter or Escape hands focus back to its cell, so the arrows carry on from there. -- **Default.** On when the grid renders editable — the authored `editable` *and* - the viewer's permission to update the object, the same value inline editing - obeys. A read-only grid keeps every cell its own Tab stop unless you write - `true`, and `false` turns it off on an editable grid. +- **Default.** Always on when the grid renders editable — the authored + `editable` *and* the viewer's permission to update the object, the same value + inline editing obeys — because that grid selects a cell first and moves the + selection with these keys; `false` does not turn it off there + (objectstack#36270). A read-only grid keeps every cell its own Tab stop unless + you write `true`. - While it is on, the table is exposed to assistive technology as a `grid`. A grouped grid navigates within each group's table; the mobile card layout has no cells and is unaffected. @@ -550,26 +558,29 @@ WAI-ARIA grid pattern (objectui#11068): ### Batch Editing & Multi-Row Save Edit multiple cells across multiple rows and save them individually or all at -once. This is the model of a grid without the select-first cell model (a -related list, a dashboard table, an `object-grid` outside a list page); a list -page saves each cell as it is committed (above). The schema half is just -`editable` — the save/cancel affordances appear on their own once a row has -pending changes: +once. This is the staged model, which no metadata selects: since +objectstack#36270 every grid that renders editable saves each cell as it is +committed (above). A React host that draws `ObjectGrid` itself opts back into +it by passing `cellSelection={false}`; then a click opens a cell's editor, and +the save/cancel affordances appear on their own once a row has pending +changes: -```json -{ - "type": "object-grid", - "properties": { - "objectName": "products", - "columns": [ - { "field": "sku", "label": "SKU" }, - { "field": "name", "label": "Name" }, - { "field": "price", "label": "Price", "type": "currency", "align": "right" }, - { "field": "stock", "label": "Stock", "type": "number", "align": "right" } +```tsx + ``` Left alone, saving goes through the host's data source. A React host that needs diff --git a/content/docs/frontend/plugins/plugin-view.mdx b/content/docs/frontend/plugins/plugin-view.mdx index ffd6dcc3d83..02d38cad969 100644 --- a/content/docs/frontend/plugins/plugin-view.mdx +++ b/content/docs/frontend/plugins/plugin-view.mdx @@ -235,7 +235,7 @@ object through: | Sub-config | Keys `ObjectView` forwards | | --- | --- | -| `table` | read by name: `columns`, `fields`, `title`, `filter`, `sort`, `pagination`, `pageSize`, `selection`, `selectable`, `operations`, `className`; handed to the grid as written: `editable`, `singleClickEdit`, `frozenColumns`, `rowHeight`, `resizable`, `reorderableColumns`, `searchableFields`, `showSearch`, `showPagination`, `showColumnTypeIcons`, `conditionalFormatting`, `rowActions`, `bulkActions`, `bulkActionDefs`, `exportOptions`, `grouping`, `aggregations`, `rowColor`, `label` | +| `table` | read by name: `columns`, `fields`, `title`, `filter`, `sort`, `pagination`, `pageSize`, `selection`, `selectable`, `operations`, `className`; handed to the grid as written: `editable`, `frozenColumns`, `rowHeight`, `resizable`, `reorderableColumns`, `searchableFields`, `showSearch`, `showPagination`, `showColumnTypeIcons`, `conditionalFormatting`, `rowActions`, `bulkActions`, `bulkActionDefs`, `exportOptions`, `grouping`, `aggregations`, `rowColor`, `label` | | `form` | `fields`, `customFields`, `sections`, `groups`, `layout`, `columns`, `title`, `description`, `subforms`, `buttons`, `defaults`, `initialValues`, `readOnly`, `showSubmit`, `submitText`, `showCancel`, `cancelText`, `showReset`, `className` | `table` declares exactly these keys (objectui#10976). Any other grid key — diff --git a/content/docs/references/ui/component.mdx b/content/docs/references/ui/component.mdx index 22cc601e118..372e8f66b12 100644 --- a/content/docs/references/ui/component.mdx +++ b/content/docs/references/ui/component.mdx @@ -847,8 +847,8 @@ Sort field and direction pair | **bulkActionDefs** | `{ name: string; label?: string; icon?: string; variant?: Enum<'primary' \| 'secondary' \| 'danger' \| 'ghost' \| 'outline'>; … }[]` | optional | Inline bulk-action definitions (full defs, not names) — the same `BulkActionDef` entries a list view's `bulkActionDefs` declares | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Row-click navigation config — the same block `ListViewSchema.navigation` declares (`{ mode, size, openNewTab, preventNavigation }`) | | **editable** | `boolean` | optional | Enable inline cell editing | -| **singleClickEdit** | `boolean` | optional | Enter cell edit on single click (default true when editable) | -| **keyboardNavigation** | `boolean` | optional | Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells become one Tab stop that the arrow keys, Home / End and Ctrl+Home / Ctrl+End move between. Defaults to on when the grid renders editable — `editable` set and the viewer allowed to edit; a grid that renders read-only keeps every cell its own Tab stop unless this is `true`, and `false` turns it off on an editable grid | +| **singleClickEdit** | `never` | optional | [REMOVED] `object-grid` property `singleClickEdit` was removed in @objectstack/spec 18.7.0 (ADR-0049) — a grid that renders editable now selects a cell on a click and opens its editor on double-click, Enter, F2 or typing, so a single-click entry no longer exists for this key to switch. Delete the key; `editable` (with the viewer's write verdict) decides whether the grid edits. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | +| **keyboardNavigation** | `boolean` | optional | Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells become one Tab stop that the arrow keys, Home / End and Ctrl+Home / Ctrl+End move between. Always on when the grid renders editable — `editable` set and the viewer allowed to edit — because that grid selects a cell first and moves the selection with these keys; a grid that renders read-only keeps every cell its own Tab stop unless this is `true` | | **resizable** | `boolean` | optional | Allow column resize (the renderer default is on) | | **resizableColumns** | `never` | optional | [REMOVED] `object-grid` property `resizableColumns` was removed in @objectstack/spec 17.7.0 (ADR-0049) — it was the legacy second spelling of `resizable`, read only when `resizable` was absent, so one switch had two spellings and a grid authoring both silently ignored this one. Use `resizable`. Rename the key; the value (a boolean) is unchanged. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **reorderableColumns** | `boolean` | optional | Allow column drag-reorder | diff --git a/packages/spec/authorable-surface/ui.json b/packages/spec/authorable-surface/ui.json index 4778370ac4b..46973fc53a0 100644 --- a/packages/spec/authorable-surface/ui.json +++ b/packages/spec/authorable-surface/ui.json @@ -914,7 +914,7 @@ "ui/ObjectGridProps:showColumnTypeIcons", "ui/ObjectGridProps:showPagination", "ui/ObjectGridProps:showSearch", - "ui/ObjectGridProps:singleClickEdit", + "ui/ObjectGridProps:singleClickEdit [RETIRED]", "ui/ObjectGridProps:sort", "ui/ObjectGridProps:staticData", "ui/ObjectGridProps:title", diff --git a/packages/spec/liveness/page.json b/packages/spec/liveness/page.json index 274b21400e7..71f901f49cd 100644 --- a/packages/spec/liveness/page.json +++ b/packages/spec/liveness/page.json @@ -132,12 +132,12 @@ "verifiedAt": "2026-10-15", "evidenceScope": "in-repo", "evidence": "ui/packages/components/src/renderers/layout/page.tsx#RegionLayout resolves the named slots (header/sidebar/main/aside/footer, by #findRegion, case-insensitive) and appends the remainder below main (#getRemainingRegions); #HeaderSidebarMainTemplate places header/sidebar/main, #ThreeColumnTemplate the five, #DashboardTemplate header/footer and grids the rest — re-read 2026-10-15. The spec declares the same slots per template (PAGE_TEMPLATE_SLOTS) and refuses a region its template does not place (checkPageRegionPlacement, #23610)", - "note": "region → component tree rendering (header/main/sidebar/footer). RE-CITED 2026-08-10 (#7133/#7142): same split-citation pruning as `template` — at objectui @11c1e71e the containers.tsx half names `regions` only in a comment (:798, 'page:section — thin wrapper used inside regions'). Verdict unchanged: LIVE. Component-level liveness stays unclassified (undrilled container, #4956); one component key carries a verdict OUTSIDE this file: `components[].responsive` is a retiredKey tombstone (#11027, ADR-0049 D2 — dead on a two-repo measurement; see the file _note). COMPONENT-MEMBER READ POINTS (moved out of packages/spec/src, #23434; ruling 6165388570 letter C, Q1 A as the seat read it): an EVIDENCE LIST only — no verdict is asserted, so component-level liveness stays unclassified as above. Each entry names the ComponentPropsMap row and member it reads, then its read points in the spelling `objectui @SHA FILE#SYMBOL` (the SHA is the objectui tree the point was last read in; a pin hop moves nothing here, and a renamed or deleted symbol is the event that re-measures it). Inside one entry, a letter defined at its head abbreviates a repeated file: with `P = objectui @SHA FILE`, `P#a P#b` reads `objectui @SHA FILE#a`, `objectui @SHA FILE#b`. Entries, in source order: [1] page:header (H = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageHeaderRenderer): title (`schema?.title ?? schema?.properties?.title`), the refused `icon` (resolved only per header action) and `breadcrumb` (an empty slot), `actions` (resolvedHeaderActions then headerActionPlan), recordChrome (`=== false` on either carrier, branching the header), the refused `showStar` (the record chip draws its star only where the host wires `onToggleFavorite`, and no reference host does; retired #23650) and showCopyId (the record chip), maxVisible and mobileMaxVisible (`?? 3` / `?? 1`), all in H; re-read 2026-10-15, first cited sha-less; [2] page:tabs (T = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageTabsRenderer): tabStyle (`schema?.properties?.type || schema?.tabStyle || 'line'`), alwaysShowStrip (`schema?.alwaysShowStrip === true || schema?.properties?.alwaysShowStrip === true`), items[].value (`it.value`, falling back to `tab-${idx}`; the refused `key` is the designer's `page:tabs.items.itemFields` input in objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG), items[].label (`translateLabel(pickLocalized(it.label, language), language, ttLabel)`: the inline locale map first, then the bundle, the order packages/spec/src/ui/i18n-label-resolver.ts mirrors, whose module docblock cited it by line, sha-less, until #23434; objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageAccordionRenderer composes an accordion item's label the same way), all in T; the retired props key `type` (the reason for the rename): left unhoisted by objectui @b9814b334 packages/react/src/SchemaRenderer.tsx#HOIST_PROTECTED_KEYS, and skipped as a base prop by objectui @b9814b334 packages/sdui-parser/src/validate.ts#BASE_PROPS; re-read 2026-10-15, first cited sha-less; [3] page:tabs items[].icon (C = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx): C#triggerClass (`LazyIcon` inside the TabsTrigger) in C#PageTabsRenderer; published by its registration's `items` input; vocabulary objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; [4] page:tabs items[].visibleWhen (the tab-item evaluator: `data` is the row, bare fields spread flat, ambient roots after it): objectui @1fb1ced36243 packages/components/src/renderers/layout/containers.tsx#isItemVisible (its ExpressionEvaluator) in PageTabsRenderer; [5] record:details / record:highlights / record:related_list / record:quick_actions .requiredPermissions (RECORD_BLOCK_REQUIRED_PERMISSIONS_DESCRIPTION; R = objectui @b9814b334 packages/plugin-detail/src/renderers/, P = objectui @b9814b334 packages/permissions/src/): the gate `perms.hasCapabilities(required)` and the notice in R record-details.tsx#RecordDetailsBody, R record-highlights.tsx#highlightsAllowed (RecordHighlightsBody), R record-related-list.tsx#RecordRelatedListBody, R record-quick-actions.tsx#RecordQuickActionsBody; earlier withholding: no record R record-details.tsx#RecordDetailsBody, no object and the related read gate R record-related-list.tsx#RecordRelatedListBody; a gated highlights registers no fields R record-highlights.tsx#RecordHighlightsBody (useRegisterHighlightFields); ALL OF THEM and fail-open on unreported P MePermissionsProvider.tsx#hasCapabilities; fail-open P PermissionProvider.tsx#ALL_CAPABILITIES and P usePermissions.ts#NO_PROVIDER_PERMISSIONS; the binding wrapper (objectui#12294) objectui @b9814b334 packages/plugin-detail/src/renderers/recordBinding.tsx#recordBindingBlock; [6] record:details sections[].headerColor (closed enum, #12126): the six class literals of objectui @b9814b334 packages/plugin-detail/src/headerColor.ts#headerColorClass (objectui#6294, merged 2026-08-25); re-read 2026-10-15, first cited sha-less; [7] record:details sections[] hideEmpty, collapsible, showBorder and the #11661 trio (renderer defaults measured; the trio at objectui @190fbd01): objectui @190fbd01 packages/plugin-detail/src/renderers/record-details.tsx#RecordDetailsRenderer and objectui @190fbd01 packages/plugin-detail/src/DetailSection.tsx#DetailSection (`hideEmpty ?? true`; the undeclared `s.title ?? s.label` limb); [8] record:related_list.parentDataSource (the name): the sibling record blocks' binding read objectui @f0532d8a packages/plugin-detail/src/renderers/recordBinding.tsx#recordBindingBlock (`isElementDataSourceConfig(schema.dataSource)`), measured on objectui main; [9] record:details sections[].count (read since objectui c08c9332a, objectui#12192): objectui @b9814b334 packages/plugin-detail/src/renderers/record-details.tsx#countField (inside filteredSections; fills every `{{ count }}` hole); [10] record:related_list.parentDataSource (the read, since objectui d81e46043, objectui#12407; R = objectui @4016370af3c9 packages/plugin-detail/src/renderers/): R record-related-list.tsx#RecordRelatedListRenderer (`schema.parentDataSource`, handed to the parent read) and its no-row answer R record-related-list.tsx#NoParentRecord; R recordBinding.tsx#ParentRecordBinding (unbound: the children as they are) and R recordBinding.tsx#BoundRecordProvider (`$top: 1` under the binding's `$orderby`); the LIVE record is the file _note's; [11] record:activity guidance `items` / `loading` (host feed slot; R = objectui @89cad75d5570 packages/plugin-detail/src/renderers/): R record-activity.tsx#hostItems and R record-activity.tsx#loading in RecordActivityRenderer; record:chatter / record:discussion `feed` reads neither, R record-chatter.tsx#RecordChatterRenderer; [12] record:chatter.position (vocabulary bottom / right / left, #8762): objectui @665661ab0932 packages/plugin-detail/src/RecordChatterPanel.tsx#position (`right`/`left` dock vs `bottom` in-flow); the designer's CHATTER_INPUTS and the merge fallback in objectui @665661ab0932 packages/plugin-detail/src/renderers/record-chatter.tsx#RecordChatterRenderer; [13] record:reference_rail (RecordReferenceRailProps): objectui @b9814b334 packages/plugin-detail/src/renderers/record-reference-rail.tsx#RecordReferenceRailRenderer ( an entry `icon` is unread, `title` a raw React child); the synthesizer emitting `icon` objectui @b9814b334 packages/plugin-detail/src/synth/buildDefaultPageSchema.ts#buildDefaultPageSchema; re-read 2026-10-15, first cited sha-less; [14] record:alert, record:quick_actions, record:history: objectui @b9814b334 packages/plugin-detail/src/renderers/record-alert.tsx#RecordAlertRenderer, objectui @b9814b334 packages/plugin-detail/src/renderers/record-quick-actions.tsx#RecordQuickActionsRenderer, objectui @b9814b334 packages/plugin-detail/src/renderers/record-history.tsx#RecordHistoryRenderer and objectui @b9814b334 packages/plugin-detail/src/HistoryTimeline.tsx#HistoryTimeline (each renderer's ACTUAL reads, against its registration's declared inputs); re-read 2026-10-15, first cited sha-less; [15] record:line_items (RecordLineItemsProps; L = objectui @31971ff1e28f packages/plugin-form/src/LineItemsPanel.tsx): registered as `line_items` (namespace `record`) in objectui @31971ff1e28f packages/plugin-form/src/index.tsx with its mapping objectui @31971ff1e28f packages/plugin-form/src/index.tsx#RECORD_LINE_ITEMS_DATA_SOURCE; the fifteen `schema.KEY` reads in L#LineItemsPanel (childObject L#heldReloadRef; parentObject L#parentObject; parentId, recordId L#parentId; amountField, totalField L#parentPatch; filter L#scopeFilter; limit L#message; columns L#gridField (applyColumnPermissions)); the gate objectui @31971ff1e28f packages/react/src/element-data-source/ElementDataSourceGate.tsx#useElementDataSourceSchema; read set unchanged at objectui main d59f11c0d3dc; [16] record:line_items guidance (addLabel, sortField, onRowExpand not handed to the grid): objectui @9dfaca654311 packages/plugin-form/src/LineItemsPanel.tsx#gridField; [17] record:approvals (RecordApprovalsProps, EMPTY key set; A = objectui @47b1f0bb71 packages/app-shell/src/views/): registered as `approvals` (namespace `record`) in A record-approvals-renderer.tsx#RecordApprovalsRenderer; approvals A record-approvals-renderer.tsx#hostApprovals, threaded by A RecordDetailView.tsx#RecordDetailView and emitted by objectui @47b1f0bb71 packages/plugin-detail/src/synth/buildDefaultPageSchema.ts#buildDefaultPageSchema; currentUserId falls back in A RecordApprovalsPanel.tsx#isSubmitter; Studio page create seeds without options in A metadata-admin/anchors.ts#synth; [18] page:accordion items[].value (refused): objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageAccordionRenderer overwrites it with `panel-${idx}`; the designer input `page:accordion.items.itemFields` in objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG (objectui#7973); re-read 2026-10-15, first cited sha-less; [19] page:accordion items[].icon (C = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx): C#commonChildren (`LazyIcon` in the AccordionTrigger) inside C#PageAccordionRenderer; published by its `accordion` registration's `items` input; vocabulary objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; [20] page:accordion.variant: objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageAccordionRenderer (`schema?.variant ?? schema?.properties?.variant ?? 'flush'`); re-read 2026-10-15, first cited sha-less; [21] element:text.variant retired `heading` / `subheading`: objectui @89cad75d55 packages/components/src/renderers/basic/elements.tsx#VARIANT_TAG; [22] element:button.icon (B = objectui @b9814b334 packages/components/src/renderers/form/button.tsx, R = objectui @b9814b334 packages/components/src/renderers/action/resolve-icon.ts): B#Icon (resolveIcon) and its render on either side of the label in B#ButtonRenderer; R#resolveIcon R#describeIconLookup R#toPascalCase R#iconNameMap R#recordIconName (the vocabulary: the generated objectui @b9814b334 packages/components/src/lib/lucide-record-icon-names.ts#LUCIDE_RECORD_ICON_NAME_TABLE); contrast objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; no `icon` in the registration's inputs inside B#ButtonRenderer (objectui#9910 added the `children` slot input); history: the read point moved files on the hop onto objectui 9602dc820, and the registration ranges were first wrong-since-written at objectui a472b0716; [23] action:* rows, the effective executor and the runner's reads (R = objectui @b9814b334 packages/core/src/actions/ActionRunner.ts, first read at objectui @1fb1ced36243 with every anchor at the same symbols; A = objectui @b9814b334 packages/components/src/renderers/action/): executor resolution R#execute (`action.type || action.actionType || action.name`); forwarded executor A action-button.tsx#forwarded, A action-icon.tsx#forwarded (`type: schema.actionType`), A action-group.tsx#paramsPayload, A action-menu.tsx#paramsPayload (`type: action.type`); the name leg documented in A action-button.tsx#forwarded; built-in executors and the `navigation` alias R#ActionRunner (`builtinExecutors`), url navigation executeUrl / executeNavigation / navigateTo in R#ActionRunner; no console host handler under `url` / `navigation`: objectui @b9814b334 packages/app-shell/src/console/ConsoleShell.tsx, packages/app-shell/src/hooks/useConsoleActionRuntime.tsx, packages/app-shell/src/console/AppContent.tsx, packages/app-shell/src/hooks/useObjectActions.ts; onSuccess R#handlePostExecution R#readOnSuccessNavigation; operation read before any executor R#execute (isUpdateOperationAction), forwarded A action-button.tsx#forwarded; the row `patch` is never posted and is read for the Undo snapshot only (executeUpdateOperation in R#ActionRunner; the route writes the named declaration's `patch`), so it is a retiredKey() tombstone since #24394, re-read at objectui 0707b4ae37 and main 4b7ce47; unchanged at objectui main 866763bd and 72594f29; [24] section 4b, the action:* quartet and element:* lists (shared reads; A = objectui @b9814b334 packages/components/src/renderers/action/): publication objectui @b9814b334 packages/core/src/registry/public-blocks.ts#PUBLIC_BLOCKS; `autoTrigger` \"NOT persisted metadata\" in the header of A auto-trigger.ts#useAutoTriggerOnce; the Button primitive vocabulary objectui @b9814b334 packages/components/src/ui/button.tsx#buttonVariants; `objectName` forwarded by A action-button.tsx#forwarded and A action-icon.tsx#forwarded, and per member by A action-group.tsx#paramsPayload and A action-menu.tsx#paramsPayload; history: objectui#11168 slices 1-2, objectui#11212 (fail-closed `visible`), objectui#11182 (host `disabled` verdict), objectui#11344 (`outcomeMessages`), objectui#11638 (member `properties.params` read retired), objectui#11839 (disabled reason), objectui#11880 (repeater binding), objectui#12085 (repeater publishes only the binding); [25] action:button (ActionButtonPropsSchema; B = objectui @b9814b334 packages/components/src/renderers/action/action-button.tsx; the retired gate's quoted first line `type: schema.actionType,` holds at B#forwarded): name B#isVisible (diagnostic label) B#forwarded; label B#button (React child) B#isVisible B#forwarded; icon B#Icon (resolveIcon); actionType B#forwarded (`type`); variant, size B#variant and its `size` twin; visible B#isVisible B#ActionButtonRenderer (hasDeclaredVisibilityGate); disabled B#isDisabled B#button; params B#staticValues (withUndoBaseline) and objectui @b9814b334 packages/components/src/renderers/action/static-params.ts#readStaticParamValues; the forwarded set B#forwarded (outcomeMessages forwarded since objectui#11344, left unpublished in the registration's inputs inside B#ActionButtonRenderer); undo baseline B#withUndoBaseline; [26] action:icon (ActionIconPropsSchema; I = objectui @b9814b334 packages/components/src/renderers/action/action-icon.tsx; the retired gate's quoted first line `type: schema.actionType,` holds at I#forwarded): size not read I#size (fixed `'icon'`); the forward I#forwarded (no undoable / recordIdField; outcomeMessages since objectui#11344); label I#isVisible I#forwarded I#button (aria-label, initial letter, DisabledReasonTrigger heading) I#ActionIconRenderer (tooltip); visible I#isVisible I#ActionIconRenderer; disabled I#isDisabledPred I#button; variant I#variant; params I#staticValues (readStaticParamValues); [27] action:group / action:menu members (actionContainerMember; G = objectui @2e818d0b51ec packages/components/src/renderers/action/action-group.tsx, M = objectui @2e818d0b51ec packages/components/src/renderers/action/action-menu.tsx, P = objectui @2e818d0b51ec packages/components/src/renderers/action/static-params.ts): drawn G#InlineActionButton G#DropdownActionItem M#ActionMenuItem; visible G#useMemberVisible M#useMenuActionVisible; size (group only) G#btnSize; tags G#showSeparator; locations G#actions (actionRendersAt); forwarded G#staticValues M#staticValues (the forward block); object params forwarded on `api` and dropped, with a development-build warning only, for every other `type` P#readActionEntryParamValues (first cited at objectui @0abd4f9f8, same symbol); refused: properties.params P#readMemberStaticParamValues, className G#handleClick, autoTrigger M#ActionAutoTrigger (useAutoTriggerOnce), onClick G#handleExecute M#handleExecute; the array forward (the retired gate's quoted first line `const paramsPayload: ActionDef = Array.isArray(action.params)`) objectui @b9814b334 packages/components/src/renderers/action/action-group.tsx#paramsPayload and objectui @b9814b334 packages/components/src/renderers/action/action-menu.tsx#paramsPayload, other values objectui @b9814b334 packages/components/src/renderers/action/static-params.ts#readActionEntryParamValues; the fork measured at objectui @ab1879721595, files byte-identical at objectui main 2abec3a96; [28] action:group (ActionGroupPropsSchema; G = objectui @b9814b334 packages/components/src/renderers/action/action-group.tsx): actions G#declaredActions G#actions (actionRendersAt) G#useMemberVisible G#paramsPayload; display G#display; label, icon, variant, size G#TriggerIcon (the trigger; size raw to inline members) G#btnSize; visible G#isVisible; the host `disabled` verdict (objectui#11182) G#ActionGroupRenderer; group `name` unread (the comment above G#ActionGroupRenderer, objectui#11168); the registration's inputs inside G#ActionGroupRenderer; [29] action:menu (ActionMenuPropsSchema; M = objectui @b9814b334 packages/components/src/renderers/action/action-menu.tsx): actions M#ActionMenuRenderer M#ActionMenuItem M#ActionAutoTrigger M#paramsPayload; label, icon, variant, size, visible and the host `disabled` verdict (objectui#11182) M#ActionMenuRenderer; the registration's inputs inside M#ActionMenuRenderer (objectui#11168 slice 1); [30] element:definition-list (ElementDefinitionListPropsSchema; L = objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx; the retired gate's quoted first line `const props = readProps<{` holds at L#props): items, columns (`=== 2`), inline, term, description L#DefinitionListRenderer (an item's `description` shown through L#toText: a string or number as text, an object as JSON; first cited at objectui @89cad75d55); the registration's number enum and optional `items` (objectui#11168 slice 2) at its `definition-list` registration in L; the designer's number control objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG; [31] element:repeater (ElementRepeaterPropsSchema; L = objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx; the quoted first line `const props = readProps<{` holds at L#props in L#RepeaterRenderer): object, filter, sort, limit, emptyText, divided, titleField, fields L#RepeaterRenderer; the binding L#dataBinding (useElementDataSource, objectui#11880, aaba8655a); resolved filter tokens L#filterScope; delivery objectui @b9814b334 packages/data-objectstack/src/index.ts#ObjectStackAdapter (translateFilterArray arm) and objectui @b9814b334 packages/data-objectstack/src/index.ts#serializeOrderBy; the registration wrapped by elementDataSourceBlock publishes no `object` input since objectui#12085 (ce991bd70); the registration's `object` required flag read at objectui @20c6d351a; [32] object-grid.aggregations[] (GridAggregationSchema): objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#groupHeaders (useGroupedData) and objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#serverGroupSource (useServerGroupHeaders); the grid's own function vocabulary objectui @89cad75d55 packages/plugin-grid/src/useGroupedData.ts#AggregationType (unchanged at objectui @b9814b334); [33] object-grid (ObjectGridPropsSchema, per key; E = objectui @eb7f586b packages/plugin-grid/src/ObjectGrid.tsx): columns, fields E#schemaFields; filter E#schemaFilterSource (toFilterNode); defaultFilters E#cols (legacy fallback); sort E#schemaSort; defaultSort E#cols; pagination, pageSize, showPagination E#lastFindParamsRef E#schemaPageSize E#paginationEnabled; searchableFields, showSearch E#trimmedSearch E#searchEnabled; rowHeight E#ObjectGrid (resolveRowHeightMode); grouping, aggregations E#grouping E#groupValueFormatter; rowColor E#getRowClassName; conditionalFormatting E#predicateFields E#rules; selection, selectable E#ObjectGrid; rowActions E#rowActionsList; batchActions, bulkActions E#declaredBulkActions; bulkActionDefs E#legacyBulkNames; navigation E#navigation; editable, singleClickEdit, resizable, resizableColumns, reorderableColumns E#dataTableSchema; frozenColumns E#effectiveFrozenColumns; showColumnTypeIcons E#fieldMeta; exportOptions, operations E#declared; label, title E#fileNameFor E#dataTableSchema; data, staticData E#getDataConfig; [#20694] description objectui @db11afd4967c packages/plugin-grid/src/ObjectGrid.tsx#resolvedDescription (drawn as `gridDescription`); emptyState objectui @db11afd4967c packages/plugin-grid/src/ObjectGrid.tsx#authoredEmptyState (DataEmptyState in renderedGridContent); keyboardNavigation 0 read points at objectui @db11afd4967c, 15 hit lines at objectui @ab1879721595 and at objectui @b9814b334 against 3 then 4 for the control `schema.editable` (the fourth objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx#carriesConcurrencyToken); [34] object-grid.description, object-grid.emptyState (B = objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx): description objectui @db11afd4967c packages/plugin-grid/src/ObjectGrid.tsx#resolvedDescription; emptyState title/message B#authoredEmptyTitle (resolveInlineI18nLabel, objectui#11227 carried by 6158e4c93; raw at objectui @89cad75d5570) drawn in B#renderedGridContent, link (objectui#12270, b434f5f47) B#renderedGridContent (EmptyStateLink); [35] object-grid.columns (ListViewSchema.shape.columns; A = objectui @ab1879721595 packages/plugin-grid/src/ObjectGrid.tsx): A#normalizeColumns (first-entry dispatch) A#cols A#fieldName (resolvesToDataColumn); the retired `colOverride?.options` read: A#groupValueFormatter A#rawOptions (objectui b0bf413, objectui#11544); the footer summary's off-contract column keys objectui @ab1879721595 packages/plugin-grid/src/useColumnSummary.ts#columnHints; [36] object-grid.fields (O = objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx): O#schemaFields O#fieldsToShow O#generateColumns; the host hand-off projection O#getSelectFields; [37] object-grid.filter: objectui @53ded82b packages/plugin-grid/src/ObjectGrid.tsx#ObjectGrid (toFilterNode before `$filter`); [38] object-grid.sort (S = objectui @53ded82b packages/plugin-grid/src/ObjectGrid.tsx): S#schemaSort S#cols (the fetch path's string arm and array arm) S#declaredSort (parseSchemaSort, `TableSortItem[]`); the registration's array input objectui @53ded82b packages/plugin-grid/src/index.tsx (`{ name: 'sort', type: 'array' }`); [39] object-grid.defaultSort (REMOVED, tombstone; D = objectui @190fbd01d packages/plugin-grid/src/ObjectGrid.tsx): D#cols (`$orderby` fallback) and D#declaredSort (`[schema.defaultSort]`); [40] object-grid.pagination (D = objectui @d18322415 packages/plugin-grid/src/ObjectGrid.tsx): pageSize D#lastFindParamsRef D#schemaPageSize D#pageSize; pageSizeOptions D#dataTableSchema; presence D#paginationEnabled; the registry input objectui @d18322415 packages/plugin-grid/src/index.tsx (`pagination`, type object); [41] object-grid members read at objectui @89cad75d55 (O = objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx): rowHeight O#resolveRowHeightMode; aggregations O#groupHeaders (useGroupedData) O#serverGroupSource (useServerGroupHeaders); conditionalFormatting O#getRowStyle (resolveConditionalFormatting); rowColor O#getRowClassName (useRowColor); selection and selectable O#ObjectGrid (the selection-mode branch) O#dataTableSchema (`selectable`), read by objectui @89cad75d55 packages/components/src/renderers/complex/data-table.tsx#resolveSelectionMode; rowActions O#rowActionsDeclared; bulkActions, batchActions O#declaredBulkActions (`batchActions ?? bulkActions`); bulkActionDefs O#legacyBulkNames (resolveBulkActions); [42] object-grid.navigation: objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#navigation (useNavigationOverlay); [43] object-grid.keyboardNavigation (built by objectui 154075ab1, objectui#11068; declared ahead of its reader, which read nothing at objectui @db11afd4967c): objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx#dataTableSchema (`schema.keyboardNavigation ?? inlineEditable`) with objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx#inlineEditable; objectui @b9814b334 packages/components/src/renderers/complex/data-table.tsx#DataTableRenderer (default false, `role=\"grid\"`, the roving tabIndex), objectui @b9814b334 packages/components/src/renderers/complex/data-table.tsx#navigationTarget and objectui @b9814b334 packages/components/src/renderers/complex/data-table.tsx#handleCellKeyDown; [44] object-grid.resizableColumns (REMOVED, tombstone): objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#dataTableSchema (`schema.resizable ?? schema.resizableColumns ?? true`); [45] object-grid.operations (GridOperationsSchema; O = objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx): create O#dataTableSchema (showAddRow); update, delete O#wantDeleteAction; export O#handleExport O#dataTableSchema (exportable) O#exportEnabled; a declared block replaces the default O#explicitOperations; [46] object-grid.data: the registry input objectui @b9814b334 packages/plugin-grid/src/index.tsx#GRID_QUERY_INPUTS (`{ name: 'data', type: 'object' }`, held by gridDataInputContract.test.ts); re-read 2026-10-15, first cited sha-less; [47] object-metric.aggregate (ObjectMetricAggregateSchema; M = objectui @89cad75d55 packages/plugin-dashboard/src/ObjectMetricWidget.tsx): field, function M#computeOne; function also M#fieldUnitApplies (answersInFieldUnit) M#inferredFormat (min/max width); groupBy M#computeOne (objectAggregateSpecQuery; floored at `'_all'`) typed on M#ObjectMetricWidgetProps (`ChartAggregate['groupBy']`); objectui's unit-rule pin ObjectMetricWidget.countNotCurrency-10356.test.tsx mounts one tile per AggregationFunction member; [48] object-metric.trend (ObjectMetricTrendSchema; W = objectui @89cad75d55 packages/plugin-dashboard/src/): drawn in W MetricWidget.tsx#MetricWidget (`{value}%`, direction arrow), caption W MetricWidget.tsx#localizedTrendLabel (pickLocalized); declared on W MetricWidget.tsx#MetricWidgetProps, mirrored on W ObjectMetricWidget.tsx#ObjectMetricWidgetProps; replaced by a derived trend in W ObjectMetricWidget.tsx#effectiveTrend; [49] object-metric.drillDown (ObjectMetricDrillDownSchema; A = objectui @ab1879721595): enabled A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#drillEnabled (isDrillEnabled); title A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#drawerTitle (resolveDrillTitle against an empty event); target, columns, maxRows A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#drillDrawer (DrillDownDrawer); `filter` / `mode` refused as objectui's own A packages/types/src/data-display.ts#ObjectMetricDrillDownConfig refuses them; measured writers, objectui's drill-down member pins A packages/plugin-dashboard/src/__tests__/objectMetricDrillDownMembers-8071.test.tsx and A packages/plugin-dashboard/src/__tests__/ObjectMetricWidget.drillRoutedToSharedDrawer-8970.test.tsx; [50] object-metric.drillDown.report (R = objectui @2e818d0b51ec packages/plugin-dashboard/src/): handed verbatim in R ObjectMetricWidget.tsx#drillDrawer; drawn when R DrillDownDrawer.tsx#isDatasetBoundReport holds (R DrillDownDrawer.tsx#isReportDrill), joining the metric filter into `runtimeFilter` (R DrillDownDrawer.tsx#body); typed `SpecReportInput` in objectui @2e818d0b51ec packages/types/src/data-display.ts; the fork measured at objectui @ab1879721595, both files byte-identical at objectui main 2abec3a96; [51] object-metric.compareTo (ObjectMetricCompareToSchema; A = objectui @ab1879721595): A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#comparisonFilter (second aggregate over shiftFilterByCompareTo) and A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#derivedTrend (compareToTrendLabelKey); both dispatch on `kind === 'previousYear'` in A packages/core/src/utils/compare-to.ts#shiftFilterByCompareTo and A packages/core/src/utils/compare-to.ts#compareToTrendLabelKey; `dimension` \"deliberately never read on this path\" in that module's header; [52] object-metric (ObjectMetricPropsSchema): objectui @eb7f586b packages/plugin-dashboard/src/ObjectMetricWidget.tsx#ObjectMetricWidgetProps (the complete destructured read set); [53] object-metric.icon (B = objectui @b9814b334 packages/plugin-dashboard/src/): published by B index.tsx#ObjectMetricBlock (`{ name: 'icon', type: 'string' }`); destructured and forwarded by B ObjectMetricWidget.tsx#ObjectMetricWidget; resolved and drawn by B MetricWidget.tsx#MetricWidget (getLazyIcon, guarded on a string); vocabulary objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; not B MetricCard.tsx (off this key's path); [54] object-metric.filter: the analytics wire lowering objectui @53ded82b packages/data-objectstack/src/index.ts#lowerAnalyticsFilterForWire (objectui#7754); before it the adapter at objectui @a472b07 posted an array verbatim (a 400, #15828); [55] object-kanban.columns[] lane (ObjectKanbanLaneSchema; K = objectui @89cad75d55 packages/plugin-kanban/src/): id K index.tsx#bucketCardsIntoColumns; title K ObjectKanban.tsx#localizeColumn; cards K index.tsx#bucketCardsIntoColumns (kept ahead of the bucketed records); limit K KanbanImpl.tsx#isLimitExceeded; className K KanbanImpl.tsx#KanbanColumnView; collapsed K KanbanImpl.tsx#isColumnCollapsed; [56] object-kanban (ObjectKanbanPropsSchema; E = objectui @eb7f586b packages/plugin-kanban/src/ObjectKanban.tsx): columns E#effectiveColumns; filter E#fetchData (`$filter`); data E#boundData; cardTitle, titleField E#explicitTitleField; cardFields E#explicitCardFields; swimlaneField, grouping E#effectiveSwimlaneField; coverImageField, conditionalFormatting via objectui @eb7f586b packages/plugin-kanban/src/index.tsx#KanbanRenderer (the spread of the authored bag); limit objectui @b9814b334 packages/plugin-kanban/src/ObjectKanban.tsx#query (`$top: resolveRowLimit(schema.limit, DEFAULT_KANBAN_FETCH_BATCH_SIZE)`), first re-read at objectui @87af769e9 where `$top: schema.limit ?? DEFAULT_KANBAN_LIMIT` had become resolveRowLimit; [57] object-kanban.columns (the first-entry dispatch): objectui @89cad75d55 packages/plugin-kanban/src/ObjectKanban.tsx#effectiveColumns (string arm only without `groupBy`); [58] object-kanban.filter: objectui @53ded82b packages/plugin-kanban/src/ObjectKanban.tsx#ObjectKanban (`$filter: schema.filter`, verbatim, lowered by ObjectStackAdapter.convertQueryParams through translateFilterArray); [59] object-kanban.limit (B = objectui @b9814b334): query B packages/plugin-kanban/src/ObjectKanban.tsx#query (`$top: resolveRowLimit(schema.limit, DEFAULT_KANBAN_FETCH_BATCH_SIZE)`) with B packages/plugin-kanban/src/ObjectKanban.tsx#DEFAULT_KANBAN_FETCH_BATCH_SIZE and the resolved filter B packages/plugin-kanban/src/ObjectKanban.tsx#filterScope; mapping B packages/plugin-kanban/src/index.tsx#OBJECT_KANBAN_DATA_SOURCE (`limit: 'limit'`); type B packages/types/src/objectql.ts#ObjectKanbanSchema (`limit?: number`); docs B content/docs/plugins/plugin-kanban.mdx (`limit: 250` snippet and Properties row); precedence B packages/react/src/element-data-source/ElementDataSourceGate.tsx#useElementDataSourceSchema (binding cap over this key; a view's pagination.pageSize only when unset) and B packages/react/src/element-data-source/ElementDataSourceGate.tsx#isUsableRowLimit; the saved-view fallback B packages/core/src/data-scope/element-data-source.ts#savedViewRawLimit; first re-read at objectui @87af769e9 2026-09-20; [60] object-master-detail-form (ObjectMasterDetailFormPropsSchema): objectui @eb7f586b packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailForm; auto-derivation objectui @eb7f586b packages/plugin-form/src/deriveMasterDetail.ts; the `formType` pair objectui's MasterDetailFormSchema declares; [61] object-kanban.quickAdd (RETIRED, tombstone; K = objectui @b9814b334 packages/plugin-kanban/src/): K index.tsx#KanbanRenderer passes `quickAdd` / `onQuickAdd` (the host-mounted React component); gated on both in K KanbanImpl.tsx#KanbanColumnView; K KanbanBoardCore.tsx#KanbanBoardCoreProps reads neither off `schema` (objectui#11234); K ObjectKanban.tsx#ObjectKanban names `quickAdd` and `onQuickAdd` 2 times each (both in comments) against 11 for `onCardClick` (method: occurrences in that file, re-counted 2026-10-15); no `kanban-ui` registration at that sha (objectui#8257; the name survives only in tests and the changelog); through objectui @db11afd49 the board's spread forwarded the key; [62] object-kanban.conditionalFormatting (A = objectui @ab1879721595): A packages/plugin-kanban/src/KanbanBoardCore.tsx#processedColumns hands it to the board; A packages/plugin-kanban/src/KanbanImpl.tsx#getCardStyles evaluates it through A packages/core/src/evaluator/listConditional.ts#resolveConditionalFormatting, the evaluator of A packages/plugin-grid/src/ObjectGrid.tsx#getRowStyle; objectui's declaration A packages/types/src/zod/objectql.zod.ts#KanbanConditionalFormattingRuleSchema and A packages/types/src/objectql.ts#KanbanConditionalFormattingRule (objectui#11522, landed by objectui#11532 c73cdb5695); the stored-dialect arms in A packages/plugin-kanban/src/KanbanImpl.tsx#getCardStyles; blank-predicate fallback A packages/core/src/evaluator/listConditional.ts#evalRowPredicate; the four reader files byte-identical at objectui main 2e818d0b51; the writer census also read objectui at main; [63] object-kanban.navigation (K = objectui @b9814b334 packages/plugin-kanban/src/ObjectKanban.tsx): K#navConfig (`schema.navigation ?? { mode: 'drawer' }`) K#navigation (useNavigationOverlay) K#boardView (card click) K#renderRecordOverlay (NavigationOverlay); first re-derived at objectui @87af769e9, where the `(schema as any)` cast was still spelled; [64] object-calendar flat field keys (OBJECT_CALENDAR_FLAT_FIELD_GUIDANCE): objectui @b9814b334 packages/plugin-calendar/src/ObjectCalendar.tsx#getCalendarConfig (the backward-compat flat fallback); re-read 2026-10-15, first cited sha-less; [65] object-calendar (ObjectCalendarPropsSchema; C = objectui @eb7f586b packages/plugin-calendar/src/ObjectCalendar.tsx): calendar C#getCalendarConfig; defaultView C#schemaDefaultView; locale, loading via the registry shell objectui @eb7f586b packages/plugin-calendar/src/index.tsx; [66] object-calendar.calendar (CalendarConfigSchema by reference; C = objectui @89cad75d55 packages/plugin-calendar/src/ObjectCalendar.tsx): C#getCalendarConfig returns the block; its five bindings read in C#queryFilter, C#handleEventDropDefault and C#submitQuickCreate; [67] object-calendar.filter: objectui @53ded82b packages/plugin-calendar/src/ObjectCalendar.tsx#fetchData (`$filter: schema.filter`, verbatim); [68] object-tree.navigation: objectui @89cad75d55 packages/plugin-tree/src/ObjectTree.tsx#navigation (useNavigationOverlay); [69] object-calendar.sort: objectui @53ded82b packages/plugin-calendar/src/ObjectCalendar.tsx#fetchData (`$orderby: convertSortToQueryParams(schema.sort)`), whose sink objectui @53ded82b packages/core/src/utils/sort-query.ts#convertSortToQueryParams still lowered the string clause there; no `sort` input on objectui @53ded82b packages/plugin-calendar/src/index.tsx; [70] object-timeline flat config keys (OBJECT_TIMELINE_FLAT_CONFIG_GUIDANCE): the backward-compat flat rung (with the `dateField` alias) in objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#startDateField and its siblings; emitted by objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema (`case 'timeline'`); re-read 2026-10-15, first cited sha-less; [71] object-calendar.navigation (C = objectui @b9814b334 packages/plugin-calendar/src/ObjectCalendar.tsx): C#navConfig (`schema.navigation ?? { mode: 'drawer' }`) C#navigation (useNavigationOverlay) C#calendarView (event click) C#renderRecordOverlay (NavigationOverlay); [72] object-timeline.mapping (ObjectTimelineMappingSchema; A = objectui @ab1879721595 packages/plugin-timeline/src/ObjectTimeline.tsx; unchanged at objectui main 94985a92ba): title A#titleField; date A#startDateField; description A#descField; variant A#variantField; declared on A#ObjectTimelineProps (`mapping`) and A#TimelineMappingSchema; [73] object-timeline.items[] arms (R = objectui @2e818d0b51ec packages/plugin-timeline/src/renderer.tsx; unchanged at objectui main 2abec3a96): gantt bar startDate / endDate R#dimensions R#calculateDateRange, variant and title in R#TimelineRenderer (the bar and its tooltip); feed entry time R#dateLabel and title, description, variant, icon, content (renderChildren), className in R#TimelineRenderer; gantt row label R#TimelineRenderer (TimelineGanttLabel), items R#classifyGanttRows; vocabulary objectui @2e818d0b51ec packages/types/src/data-display.ts#TimelineItemVariant; element shape and refinement objectui @2e818d0b51ec packages/types/src/zod/data-display.zod.ts#TimelineItemSchema and objectui @2e818d0b51ec packages/types/src/zod/data-display.zod.ts#timelineItemsFitVariant; [74] object-form.layout retired values `inline` / `grid` (OBJECT_FORM_LAYOUT_RETIRED; P = objectui @f8a9d0fb0 packages/plugin-form/src/): folded to 'vertical' in P ObjectForm.tsx#SimpleObjectForm; only 'vertical' / 'horizontal' passed through by P ObjectForm.tsx#drawerLayout, ObjectForm.tsx#modalLayout, DrawerForm.tsx#formLayout, ModalForm.tsx#formLayout; 'vertical' hard-coded in P TabbedForm.tsx#TabbedForm, SplitForm.tsx#panes, WizardForm.tsx#WizardForm; [75] object-form.mobile (ObjectFormMobileSchema; F = objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx): F#mobileOpts (the flat arm); stickyActions F#formSchema; stepper, stepperMinFields, stepperFieldsPerStep F#stepperMode; fullscreenLongText F#fieldsWithMobile; the `data-mobile-form` marker in F#SimpleObjectForm; [76] object-form.fields and object-master-detail-form.fields (formFieldNameList): objectui @ab1879721595 packages/plugin-form/src/MasterDetailForm.tsx#parentSchema (hands `fields` over verbatim), read by objectui @ab1879721595 packages/plugin-form/src/ObjectForm.tsx#fieldsToShow and objectui @ab1879721595 packages/plugin-form/src/flatFields.ts#buildFlatFields (a stored `{ name }` entry drawn by name; any other object entry warned by warnUnresolvedTopLevelField); unchanged at objectui main 94985a92ba; the retired inline field entry an author was taught by objectui @ab1879721595 skills/objectui/guides/page-builder.md (its object-form example; first cited sha-less); [77] object-form.customFields[] `grid` widget keys (minRows, maxRows, allowAdd, allowDelete, allowReorder, totalField, addLabel, sortField; W = objectui @9dfaca654311 packages/fields/src/widgets/GridField.tsx): declared on objectui @9dfaca654311 packages/types/src/field-types.ts#GridFieldMetadata, carried by objectui @9dfaca654311 packages/types/src/form.ts#FormField, mirrored in objectui @9dfaca654311 packages/types/src/zod/form.zod.ts#FormFieldSchema; read W#cfg W#allowAdd W#removeRow (minRows) W#totalField W#showTotal W#emit (sortField) W#GridFieldBody (maxRows, allowReorder, addLabel); objectui#11610 (merge 2abec3a96c) camelCased them; the parent-field `totalField` hand-off objectui @9dfaca654311 packages/plugin-form/src/LineItemsPanel.tsx#gridField and objectui @9dfaca654311 packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailLines; the writer shape (one `grid` field carrying all eight camelCase keys) objectui @9dfaca654311 examples/schema-catalog/src/schemas/fields-grid/line-items-grid.json; [78] object-form.customFields[] retired snake_case `grid` keys (OBJECT_FORM_GRID_WIDGET_SNAKE_KEYS): objectui @9dfaca654311 packages/types/src/field-types.ts#GRID_FIELD_RETIRED_KEYS; refused by objectui @9dfaca654311 packages/fields/src/widgets/GridField.tsx#GridField, tombstoned on objectui @9dfaca654311 packages/types/src/field-types.ts#GridFieldMetadata and objectui @9dfaca654311 packages/types/src/form.ts#FormField, named in objectui @9dfaca654311 packages/types/src/zod/form.zod.ts#FormFieldSchema (retiredGridFieldKey); [79] object-form.customFields[].validation: objectui @2e818d0b51ec packages/components/src/renderers/form/form.tsx#rules (inside renderFormField: minLength/maxLength/min/max spread as `{ value, message }`, `required` read only as a message string); objectui's declaration objectui @2e818d0b51ec packages/types/src/form.ts#FieldValidationRules; [80] object-timeline.navigation: objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#navigation (useNavigationOverlay) and objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#effectiveSchema (entry click, overlay); re-read 2026-10-15, first cited sha-less, when the read still spelled `(schema as any).navigation`; [81] object-form.customFields[].options[] (buildObjectFormRuntimeOption; F = objectui @2e818d0b51ec packages/components/src/renderers/form/form.tsx): label, value F#BuiltinSelectControl and objectui @2e818d0b51ec packages/core/src/evaluator/optionRules.ts#optionDisplayLabel (the four option widgets); visibleWhen F#cascade (resolveCascadingOptions; each widget's useCascadingOptions); description objectui @2e818d0b51ec packages/fields/src/widgets/LookupField.tsx#filteredOptions; `value` a runtime value: F#BuiltinSelectControl (matchOptionValue), objectui @2e818d0b51ec packages/types/src/zod/form.zod.ts#SelectOptionSchema (deliberate divergence comment), objectui @2e818d0b51ec packages/plugin-designer/src/ObjectManager.tsx#formSchema (writes `{ label, value }` pairs); unchanged at objectui main fd060f076; [82] object-form.customFields[] and the inline section entry (buildObjectFormRuntimeField; F = objectui @2e818d0b51ec packages/components/src/renderers/form/form.tsx, W = objectui @2e818d0b51ec packages/fields/src/widgets/): merge objectui @2e818d0b51ec packages/plugin-form/src/customFieldsMerge.ts#mergeCustomFields from objectui @2e818d0b51ec packages/plugin-form/src/ObjectForm.tsx#generateField; carrier F#builtinBranchHasNoControl (`field.field || field`); field row F#renderFormField (name, label, description, type, required, disabled, readonly, hidden, colSpan via F#colSpanClass), widget F#resolvedType, validation F#rules, the three `*When` rules F#ruleState, placeholder and inputType F#builtinBranchHasNoControl, options and dependsOn F#cascade, multiple F#resolvedType; layout objectui @2e818d0b51ec packages/plugin-form/src/autoLayout.ts#resolveColSpan (span, colSpan) and objectui @2e818d0b51ec packages/plugin-form/src/fieldGroups.ts#deriveFieldGroupSections (group); widgets W TextAreaField.tsx#rows, FileField.tsx#multiple (accept, multiple), VectorField.tsx#dimensions, LookupField.tsx#referenceTo, NumberField.tsx#NumberField (min, max), F#renderFieldComponent (minLength, maxLength), FormulaField.tsx#returnType, SummaryField.tsx#summaryType, GridField.tsx#allColumns (columns); read and refused: visibleOn F#ruleState, condition F#legacyConditionCel, id F#fieldKey; a measured writer, the object-manager create / edit dialog (a `formType: 'modal'` block): objectui @b9814b334 packages/plugin-designer/src/ObjectManager.tsx#formSchema (first cited sha-less); [83] object-form / object-master-detail-form sections[].fields[] `{ field }` entry (buildObjectFormSectionFieldEntry): objectui @2e818d0b51ec packages/plugin-form/src/sectionFields.ts#resolveSectionEntry (names an object field by `field`, every other key overrides its generated definition; label/placeholder/helpText copied as they stand); [84] object-form / object-master-detail-form sections[] (buildObjectFormSection; F = objectui @2e818d0b51ec packages/plugin-form/src/ObjectForm.tsx): handed over verbatim by objectui @2e818d0b51ec packages/plugin-form/src/MasterDetailForm.tsx#parentSchema; name, label F#sectionCtx (heading) F#inertPredicateSections (per-formType maps); collapsible, collapsed F#collapse (resolveSectionCollapse); visibleWhen F#sectionCtx (divider-row predicate); columns F#secCols F#clampCol (a NUMBER only); pane objectui @2e818d0b51ec packages/plugin-form/src/SplitForm.tsx#paneOf; the inline runtime field drawn as it stands in objectui @2e818d0b51ec packages/plugin-form/src/sectionFields.ts#resolveSectionEntry; objectui's own declaration objectui @2e818d0b51ec packages/types/src/objectql.ts#ObjectFormSection; [85] object-form (ObjectFormPropsSchema: the UNION of `schema.*` reads of the simple form and the sub-forms it forwards the bag into): objectui @eb7f586b packages/plugin-form/src/ObjectForm.tsx#ObjectForm, with TabbedForm, WizardForm, SplitForm, DrawerForm, ModalForm under objectui @eb7f586b packages/plugin-form/src/; `layout` `inline` / `grid` folded to `vertical` there while the registry inputs and the designer palette offered them; [86] object-form.fields (the `{ name }` entry retired from the authoring faces by objectui#11550): a census of objectui @ab1879721595 found it written only by fixtures probing the stored read and the refusal; [87] object-form.customFields: objectui @2e818d0b51ec packages/plugin-form/src/customFieldsMerge.ts#mergeCustomFields (merged over the generated fields); at objectui @2e818d0b51ec the open runtime field spelled the eight `grid` widget keys in snake_case, camelCased by objectui#11610 (carried at objectui @9dfaca654311); [88] object-form.contentLayout: objectui @89cad75d55 packages/plugin-form/src/ModalForm.tsx#renderContent (`schema.contentLayout === 'tabbed' && groups.length > 1`), declared on objectui @89cad75d55 packages/plugin-form/src/ModalForm.tsx#ModalFormSchema; [89] object-form.submitBehavior: objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx#handleSubmit and objectui @89cad75d55 packages/plugin-form/src/WizardForm.tsx#handleStepSubmit (switch on `kind`), redirect `url` judged by objectui @89cad75d55 packages/plugin-form/src/submitRedirect.ts#resolveSubmitRedirect (FormViewSchema.safeParse); [90] object-form.navigateOnSuccess: objectui @89cad75d55 packages/plugin-form/src/successBehavior.ts#resolveSuccessNavigate, called from objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx#handleSubmit and objectui @89cad75d55 packages/plugin-form/src/WizardForm.tsx#handleStepSubmit; a refused value reported on the success toast in objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx#handleSubmit; [91] object-master-detail-form.details[] (the eleven entry keys): objectui @31971ff1e28f packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailDetailConfig and every `d.KEY` read in objectui @31971ff1e28f packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailLines; re-read at objectui @89cad75d5570 for #21589; [92] object-master-detail-form.details[].sortField (REMOVED, tombstone): objectui @89cad75d5570 packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailDetailConfig (no `sortField` member), derived by objectui @89cad75d5570 packages/plugin-form/src/deriveMasterDetail.ts#deriveDetail (SORT_FIELD_NAMES) and handed to the grid as `sort_field` in objectui @89cad75d5570 packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailLines; at objectui @9dfaca654311 the same hand-off spells `sortField` (objectui#11610) from objectui @9dfaca654311 packages/plugin-form/src/deriveMasterDetail.ts#deriveDetail; an entry the renderer does not resolve loads no child schema (objectui @9dfaca654311 packages/plugin-form/src/MasterDetailForm.tsx#entries); [93] object-master-detail-form.sections, .fields: objectui @2e818d0b51ec packages/plugin-form/src/MasterDetailForm.tsx#parentSchema (handed to the parent object-form verbatim); [94] object-map flat config keys (OBJECT_MAP_FLAT_CONFIG_GUIDANCE): objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#getMapConfig (branch 2) and objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#warnOnShadowedFlatMapKeys and objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#FLAT_MAP_CONFIG_KEYS; emitted by objectui @b9814b334 packages/plugin-view/src/ObjectView.tsx#ObjectView and objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema (`case 'map'`); re-read 2026-10-15, first cited sha-less at the then pin; [95] object-map (ObjectMapPropsSchema, per key; P = objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx, C = objectui @b9814b334 packages/core/src/utils/record-source.ts, I = objectui @b9814b334 packages/plugin-map/src/index.tsx): data P#getDataConfig C#resolveRecordSourceConfig (rung 1; the deleted array head and its carriers are recorded in the docblock above P#FLAT_MAP_CONFIG_KEYS); staticData C#resolveRecordSourceConfig (rung 2); objectName C#resolveRecordSourceConfig (rung 3) P#navigation P#warnOnLegacyFilterMapConfig P#warnOnTopLevelStyleUrl P#warnOnShadowedFlatMapKeys (cache keys) P#recordSourceObjectName (useSettledSchema); filter P#queryFilter P#fetchData (`$filter` on both fetches); sort P#fetchData (convertSortToQueryParams); map P#getMapConfig (branch 1; validates against ObjectMapConfigSchema) I#ObjectMapRenderer (its registration's `map` input); mapStyle P#getMapConfig (`schema.mapStyle || schema.map?.style`) I#ObjectMapRenderer; navigation P#navigation I#ObjectMapRenderer; enableClustering P#clusteredData I#ObjectMapRenderer; measured and not declared: style P#warnOnTopLevelStyleUrl (read only to say it is not a map style); [96] object-map.filter: objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#queryFilter (useResolvedFilter) and objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#fetchData (`$filter` on the inline and the object fetch); the registration's `filter` input objectui @b9814b334 packages/plugin-map/src/index.tsx#ObjectMapRenderer; [97] object-map.sort: objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#fetchData (convertSortToQueryParams to `$orderby`, both fetches); the registration's array-form `sort` input (objectui#8220) objectui @b9814b334 packages/plugin-map/src/index.tsx#ObjectMapRenderer; [98] object-map.navigation: objectui @89cad75d55 packages/plugin-map/src/ObjectMap.tsx#navigation (hands `schema.navigation` to useNavigationOverlay) and objectui @89cad75d55 packages/react/src/hooks/useNavigationOverlay.ts#useNavigationOverlay (`navigation?.mode ?? 'page'`); [99] object-gantt flat config keys (OBJECT_GANTT_FLAT_CONFIG_GUIDANCE): objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx#FLAT_GANTT_CONFIG_KEYS and objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx#getGanttConfig (branch 2 reads them; a present `gantt` block is taken whole and the flat keys beside it named as ignored); re-read 2026-10-15, first cited sha-less at the then pin; [100] object-gantt.markers (objectGanttMarker): G = objectui @ab1879721595 packages/plugin-gantt/src/GanttView.tsx: objectui @ab1879721595 packages/plugin-gantt/src/ObjectGantt.tsx#ganttView (hands `schema.markers` to GanttView verbatim); date G#markers (time-zone re-base) G#resolvedMarkers (axis mapping, drops unparsable or out-of-range dates); color G#resolvedMarkers (`m.color || 'hsl(var(--primary))'`); drawn in G#GanttView and in G#buildExportSvg; the declaration taken: objectui @ab1879721595 packages/types/src/objectql.ts#ObjectGanttSchema and objectui @ab1879721595 packages/types/src/zod/objectql.zod.ts#ObjectGanttSchema (`markers`); unchanged at objectui main 94985a92ba; [101] object-gantt (ObjectGanttPropsSchema, per key; P = objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx, C = objectui @b9814b334 packages/core/src/utils/record-source.ts): data P#rawDataConfig C#resolveRecordSourceConfig (rung 1); staticData C#resolveRecordSourceConfig (rung 2); objectName (rung 3) P#persistLayoutKey P#navigation; filter P#queryFilter P#reload (`$filter`); sort P#reload (convertSortToQueryParams to `$orderby`); gantt P#getGanttConfig (branch 1, validated against the spec's GanttConfigSchema) and objectui @b9814b334 packages/plugin-gantt/src/index.tsx#ObjectGanttRenderer (its registration's `gantt` object input); navigation P#navConfig P#navigation; label P#ganttView (resolveInlineI18nLabel, export file-name chain); skipWeekends, holidays P#workingCalendar; persistLayout, viewName P#persistLayoutKey; markers, criticalPath, showBaselines, readOnly, mobileReadOnly P#ganttView, readOnly also P#renderRecordOverlay; measured and not declared: title (absent from the P#ganttView export-name chain), row cap (P#reload spreads nonGridRowCeilingQuery, marked not authorable), search and searchableFields P#searchTerm P#reload (host-generated by objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema, its `case 'gantt'` arm); [102] object-gantt.navigation: objectui @89cad75d55 packages/plugin-gantt/src/ObjectGantt.tsx#navConfig (`schema.navigation ?? { mode: 'drawer' }`) and objectui @89cad75d55 packages/plugin-gantt/src/ObjectGantt.tsx#navigation (useNavigationOverlay); [103] object-tree flat config keys (OBJECT_TREE_FLAT_CONFIG_GUIDANCE: parentField, labelField, titleField, fields, defaultExpandedDepth): objectui @b9814b334 packages/plugin-tree/src/ObjectTree.tsx#getTreeConfig (reads the flat spellings ahead of the `tree` block; the `schema.titleField` rung's retirement is recorded in its docblock above `fieldKey`, objectui#8841), objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema (its `case 'tree'` arm emits parentField, `labelField: treeCfg.labelField || 'name'`, fields, defaultExpandedDepth and no titleField since objectui 3fd862510), objectui @b9814b334 packages/plugin-tree/src/index.tsx#treeInputs (`{ name: 'tree', type: 'object' }`, no flat input); [104] object-tree (ObjectTreePropsSchema, per key; P = objectui @b9814b334 packages/plugin-tree/src/ObjectTree.tsx, C = objectui @b9814b334 packages/core/src/utils/record-source.ts): data P#dataConfig (resolveRecordSourceConfig with the `view-data` arm) and C#resolveRecordSourceConfig (rung 1, authoredDataIsOnTheDeclaredArm); staticData C#resolveRecordSourceConfig (rung 2); objectName (rung 3) P#headerObjectName P#navigation P#renderRecordOverlay (each behind resolveRecordSourceObjectName) P#parentField (detectParentField); filter P#queryFilter (useResolvedFilter) P#fetchData (`$filter` on the object fetch and on the inline ValueDataSource query); tree P#getTreeConfig and objectui @b9814b334 packages/plugin-tree/src/index.tsx#treeInputs; navigation P#navigation (useNavigationOverlay); host-prop `data` (not the authored key) P#passed; measured and not declared: sort (no `$orderby` in P#fetchData), row cap (P#fetchData spreads nonGridRowCeilingQuery); [105] object-tree.objectName (optional because no ElementDataSourceGate wiring): objectui @b9814b334 packages/plugin-tree/src/index.tsx#ObjectTreeRenderer has 0 occurrences of `ElementDataSourceGate` (re-counted 2026-10-15), against controls objectui @b9814b334 packages/plugin-gantt/src/index.tsx#ObjectGanttRenderer, packages/plugin-grid/src/index.tsx, packages/plugin-calendar/src/index.tsx (3 each) and packages/plugin-map/src/index.tsx#ObjectMapRenderer (4); method: occurrences of the identifier in each `src/index.tsx`; [106] object-timeline (ObjectTimelinePropsSchema, per key; P = objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx, R = objectui @b9814b334 packages/plugin-timeline/src/renderer.tsx, I = objectui @b9814b334 packages/plugin-timeline/src/index.tsx): objectName P#ObjectTimeline (fetch gate) P#useSettledSchema P#fetchesForItself P#invalidationNonce P#fetchData P#handleRefresh P#effectiveItems P#navigation; timeline P#timelineConfig; filter P#queryFilter P#filterKey P#fetchData; sort P#sortKey P#fetchData (convertSortToQueryParams); limit P#fetchData (resolveRowLimit) P#DEFAULT_TIMELINE_LIMIT P#describeRefusedRowLimit; items P#hasInlineItems P#fetchesForItself P#effectiveItems P#hasAuthoredItems; data P#hasInlineData P#fetchesForItself P#rawData; descriptionField P#descField; mapping P#titleField P#startDateField P#descField P#variantField; variant P#hasAuthoredItems (the `timeline-unsupported-variant` refusal, objectui#6655) and I#OBJECT_TIMELINE_INPUTS; navigation P#navigation P#effectiveSchema; dateFormat, rowLabel, minDate, maxDate R#TimelineRenderer (rowLabel and minDate/maxDate in its gantt branch, R#findUnusableGanttDate) off P#effectiveSchema; measured and not declared: bind P#boundData (useDataScope), className P#effectiveSchema; [107] object-timeline.data (read off React props, not `schema`; the prop channel is SchemaRenderer's `properties.*` hoist, objectui @b9814b334 packages/react/src/SchemaRenderer.tsx#SchemaRenderer, with `object-timeline` absent from objectui @b9814b334 packages/core/src/utils/record-source.ts#RECORD_SOURCE_DATA_ARM_BY_TYPE): objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#hasInlineData (loading seed), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#fetchesForItself (the query skip the fetch effect reads), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#rawData (row source `(props as any).data || boundData || fetchedData`), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#effectiveItems (the `timeline` field bindings a fetched row takes); [108] object-timeline.items: objectui @2e818d0b51ec packages/types/src/data-display.ts#TimelineFeedItem and objectui @2e818d0b51ec packages/types/src/data-display.ts#TimelineGanttItem (the declared authored entry, ruled on objectui#6356), handed to the rail verbatim at objectui @2e818d0b51ec packages/plugin-timeline/src/ObjectTimeline.tsx#effectiveItems (`if (schema.items) return schema.items`); [109] record:reference_rail, record:alert, record:quick_actions, record:history, record:line_items (rows): key sets measured from the renderers' read points; the per-key read points are recorded under each props schema below; [110] record:approval_decision (row, EMPTY key set): objectui @d03b022 packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.tsx#ApprovalDecisionRenderer (landed in objectui a368ccb, module-internal at d03b022; discards `schema`, draws from the record context); [111] record:attachments (row, EMPTY key set): objectui @47b1f0bb71 packages/app-shell/src/views/record-attachments-renderer.tsx#RecordAttachmentsRenderer (registered as `attachments` in the `record` namespace; discards `schema`); [112] cloud-connection:panel, marketplace:installed-list (rows, EMPTY key sets): objectui @b9814b334 packages/app-shell/src/console/cloud-connection/CloudConnectionPanel.tsx#CloudConnectionPanel and objectui @b9814b334 packages/app-shell/src/console/marketplace/InstalledListWidget.tsx#InstalledList (each registration is `() => `; re-read 2026-10-15, first measured sha-less at the then pin); [113] mcp:connect-agent (row, EMPTY key set): objectui @b9814b334 packages/app-shell/src/console/connect/ConnectAgentWidget.tsx#ConnectAgent (registration `() => `; re-read 2026-10-15, first measured sha-less at the then pin); [114] element:definition-list, element:repeater (rows: the three-part string-arm evidence): objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx#DefinitionListRenderer and objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx#RepeaterRenderer (both registered in the `element` namespace), objectui @b9814b334 packages/core/src/registry/public-blocks.ts#PUBLIC_BLOCKS (publication), objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-types.ts#BLOCK_TYPE_META (palette), objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG (each block's inspector); [115] action:button, action:group, action:menu, action:icon (rows): objectui @b9814b334 packages/core/src/registry/public-blocks.ts#PUBLIC_BLOCKS (the four `action:*` members), registered under objectui packages/components/src/renderers/action/ in the `action` namespace; [116] object-map, object-gantt, object-tree (row key sets; per-key read points under each props schema): objectui @b9814b334 packages/plugin-map/src/index.tsx#ObjectMapRenderer, objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#ObjectMap, objectui @b9814b334 packages/plugin-gantt/src/index.tsx#ObjectGanttRenderer, objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx#ObjectGantt, objectui @b9814b334 packages/plugin-tree/src/index.tsx#ObjectTreeRenderer, objectui @b9814b334 packages/plugin-tree/src/ObjectTree.tsx#ObjectTree; [117] object-timeline (row key set; per-key read points under ObjectTimelinePropsSchema): objectui @b9814b334 packages/plugin-timeline/src/index.tsx#ObjectTimelineRenderer (the `object-timeline` and `timeline` registrations), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#ObjectTimeline, objectui @b9814b334 packages/plugin-timeline/src/renderer.tsx#TimelineRenderer; [118] EXPRESSION_BINDABLE_TEXT_KEYS_BY_COMPONENT rows statistic, card, button (the top-level text keys each renderer reads back; R = objectui @82a9417 packages/components/src/renderers/, re-verified identical at objectui 6c68b13 on 2026-08-18): statistic `label`, `value`, `description` R data-display/statistic.tsx#StatisticRenderer; card `title`, `description` R layout/card.tsx#CardRenderer; button `label` R form/button.tsx#ButtonRenderer; the deliberate `text` omission, `schema.content || schema.value`, at its `text` registration in R basic/text.tsx; [119] PageComponent.dataSource, the PLANNED API binding (ElementApiDataSourceSchema; its record is this file's `_note`; R = objectui @7578323a544e packages/core/src/): `read.url`'s refusal of a `./` path, measured against the console's `apiBase` promotion of a root-relative `/api/…` path only, R actions/ActionRunner.ts#navigateTo; `read.method` GET alone because every read (find, findOne, aggregate) sends an explicit `method: 'GET'`, R adapters/ApiDataSource.ts#ApiDataSource; no renderer reads the binding yet, the hook admitting only a string `object`, R data-scope/element-data-source.ts#isElementDataSourceConfig; [120] PageComponent.visibleWhen (the component-level evaluator's roots): the ambient scope (`current_user`, `user`, `ctx.user`, `os.user`, `features`, nothing else) objectui @1fb1ced36243 packages/app-shell/src/providers/ExpressionProvider.tsx#buildExpressionScope; composed with `record` (the page's row: the record a record page opens, or the row an app page's `record` binding reads, `null` when that read finds no row or is refused as forbidden) and `page` by ui/packages/react/src/SchemaRenderer.tsx#buildNodeEvaluationScope (named configEvaluationScope at objectui @1fb1ced36243); no `data` root (objectui#9308) in objectui @1fb1ced36243 packages/react/src/SchemaRenderer.tsx#evaluatedSchema; the files identical at objectui main f228d710; the `page:tabs` item-level evaluator is the `page:tabs items[].visibleWhen` entry; [121] object-metric.polarity (ObjectMetricPropsSchema, the dataset measure's DatasetMeasurePolarity by reference): published as an enum input by ui/packages/plugin-dashboard/src/index.tsx#ObjectMetricBlock; destructured and forwarded by ui/packages/plugin-dashboard/src/ObjectMetricWidget.tsx#ObjectMetricWidget; drawn by ui/packages/plugin-dashboard/src/MetricWidget.tsx#MetricWidget, which colours the badge it shows (`derivedTrend ?? trend`) through ui/packages/plugin-dashboard/src/utils.ts#deltaToneClass, the rule the dataset-bound tile's delta uses; pinned by ui/packages/plugin-dashboard/src/__tests__/ObjectMetricWidget.polarity-27347.test.tsx;" + "note": "region → component tree rendering (header/main/sidebar/footer). RE-CITED 2026-08-10 (#7133/#7142): same split-citation pruning as `template` — at objectui @11c1e71e the containers.tsx half names `regions` only in a comment (:798, 'page:section — thin wrapper used inside regions'). Verdict unchanged: LIVE. Component-level liveness stays unclassified (undrilled container, #4956); one component key carries a verdict OUTSIDE this file: `components[].responsive` is a retiredKey tombstone (#11027, ADR-0049 D2 — dead on a two-repo measurement; see the file _note). COMPONENT-MEMBER READ POINTS (moved out of packages/spec/src, #23434; ruling 6165388570 letter C, Q1 A as the seat read it): an EVIDENCE LIST only — no verdict is asserted, so component-level liveness stays unclassified as above. Each entry names the ComponentPropsMap row and member it reads, then its read points in the spelling `objectui @SHA FILE#SYMBOL` (the SHA is the objectui tree the point was last read in; a pin hop moves nothing here, and a renamed or deleted symbol is the event that re-measures it). Inside one entry, a letter defined at its head abbreviates a repeated file: with `P = objectui @SHA FILE`, `P#a P#b` reads `objectui @SHA FILE#a`, `objectui @SHA FILE#b`. Entries, in source order: [1] page:header (H = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageHeaderRenderer): title (`schema?.title ?? schema?.properties?.title`), the refused `icon` (resolved only per header action) and `breadcrumb` (an empty slot), `actions` (resolvedHeaderActions then headerActionPlan), recordChrome (`=== false` on either carrier, branching the header), the refused `showStar` (the record chip draws its star only where the host wires `onToggleFavorite`, and no reference host does; retired #23650) and showCopyId (the record chip), maxVisible and mobileMaxVisible (`?? 3` / `?? 1`), all in H; re-read 2026-10-15, first cited sha-less; [2] page:tabs (T = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageTabsRenderer): tabStyle (`schema?.properties?.type || schema?.tabStyle || 'line'`), alwaysShowStrip (`schema?.alwaysShowStrip === true || schema?.properties?.alwaysShowStrip === true`), items[].value (`it.value`, falling back to `tab-${idx}`; the refused `key` is the designer's `page:tabs.items.itemFields` input in objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG), items[].label (`translateLabel(pickLocalized(it.label, language), language, ttLabel)`: the inline locale map first, then the bundle, the order packages/spec/src/ui/i18n-label-resolver.ts mirrors, whose module docblock cited it by line, sha-less, until #23434; objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageAccordionRenderer composes an accordion item's label the same way), all in T; the retired props key `type` (the reason for the rename): left unhoisted by objectui @b9814b334 packages/react/src/SchemaRenderer.tsx#HOIST_PROTECTED_KEYS, and skipped as a base prop by objectui @b9814b334 packages/sdui-parser/src/validate.ts#BASE_PROPS; re-read 2026-10-15, first cited sha-less; [3] page:tabs items[].icon (C = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx): C#triggerClass (`LazyIcon` inside the TabsTrigger) in C#PageTabsRenderer; published by its registration's `items` input; vocabulary objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; [4] page:tabs items[].visibleWhen (the tab-item evaluator: `data` is the row, bare fields spread flat, ambient roots after it): objectui @1fb1ced36243 packages/components/src/renderers/layout/containers.tsx#isItemVisible (its ExpressionEvaluator) in PageTabsRenderer; [5] record:details / record:highlights / record:related_list / record:quick_actions .requiredPermissions (RECORD_BLOCK_REQUIRED_PERMISSIONS_DESCRIPTION; R = objectui @b9814b334 packages/plugin-detail/src/renderers/, P = objectui @b9814b334 packages/permissions/src/): the gate `perms.hasCapabilities(required)` and the notice in R record-details.tsx#RecordDetailsBody, R record-highlights.tsx#highlightsAllowed (RecordHighlightsBody), R record-related-list.tsx#RecordRelatedListBody, R record-quick-actions.tsx#RecordQuickActionsBody; earlier withholding: no record R record-details.tsx#RecordDetailsBody, no object and the related read gate R record-related-list.tsx#RecordRelatedListBody; a gated highlights registers no fields R record-highlights.tsx#RecordHighlightsBody (useRegisterHighlightFields); ALL OF THEM and fail-open on unreported P MePermissionsProvider.tsx#hasCapabilities; fail-open P PermissionProvider.tsx#ALL_CAPABILITIES and P usePermissions.ts#NO_PROVIDER_PERMISSIONS; the binding wrapper (objectui#12294) objectui @b9814b334 packages/plugin-detail/src/renderers/recordBinding.tsx#recordBindingBlock; [6] record:details sections[].headerColor (closed enum, #12126): the six class literals of objectui @b9814b334 packages/plugin-detail/src/headerColor.ts#headerColorClass (objectui#6294, merged 2026-08-25); re-read 2026-10-15, first cited sha-less; [7] record:details sections[] hideEmpty, collapsible, showBorder and the #11661 trio (renderer defaults measured; the trio at objectui @190fbd01): objectui @190fbd01 packages/plugin-detail/src/renderers/record-details.tsx#RecordDetailsRenderer and objectui @190fbd01 packages/plugin-detail/src/DetailSection.tsx#DetailSection (`hideEmpty ?? true`; the undeclared `s.title ?? s.label` limb); [8] record:related_list.parentDataSource (the name): the sibling record blocks' binding read objectui @f0532d8a packages/plugin-detail/src/renderers/recordBinding.tsx#recordBindingBlock (`isElementDataSourceConfig(schema.dataSource)`), measured on objectui main; [9] record:details sections[].count (read since objectui c08c9332a, objectui#12192): objectui @b9814b334 packages/plugin-detail/src/renderers/record-details.tsx#countField (inside filteredSections; fills every `{{ count }}` hole); [10] record:related_list.parentDataSource (the read, since objectui d81e46043, objectui#12407; R = objectui @4016370af3c9 packages/plugin-detail/src/renderers/): R record-related-list.tsx#RecordRelatedListRenderer (`schema.parentDataSource`, handed to the parent read) and its no-row answer R record-related-list.tsx#NoParentRecord; R recordBinding.tsx#ParentRecordBinding (unbound: the children as they are) and R recordBinding.tsx#BoundRecordProvider (`$top: 1` under the binding's `$orderby`); the LIVE record is the file _note's; [11] record:activity guidance `items` / `loading` (host feed slot; R = objectui @89cad75d5570 packages/plugin-detail/src/renderers/): R record-activity.tsx#hostItems and R record-activity.tsx#loading in RecordActivityRenderer; record:chatter / record:discussion `feed` reads neither, R record-chatter.tsx#RecordChatterRenderer; [12] record:chatter.position (vocabulary bottom / right / left, #8762): objectui @665661ab0932 packages/plugin-detail/src/RecordChatterPanel.tsx#position (`right`/`left` dock vs `bottom` in-flow); the designer's CHATTER_INPUTS and the merge fallback in objectui @665661ab0932 packages/plugin-detail/src/renderers/record-chatter.tsx#RecordChatterRenderer; [13] record:reference_rail (RecordReferenceRailProps): objectui @b9814b334 packages/plugin-detail/src/renderers/record-reference-rail.tsx#RecordReferenceRailRenderer ( an entry `icon` is unread, `title` a raw React child); the synthesizer emitting `icon` objectui @b9814b334 packages/plugin-detail/src/synth/buildDefaultPageSchema.ts#buildDefaultPageSchema; re-read 2026-10-15, first cited sha-less; [14] record:alert, record:quick_actions, record:history: objectui @b9814b334 packages/plugin-detail/src/renderers/record-alert.tsx#RecordAlertRenderer, objectui @b9814b334 packages/plugin-detail/src/renderers/record-quick-actions.tsx#RecordQuickActionsRenderer, objectui @b9814b334 packages/plugin-detail/src/renderers/record-history.tsx#RecordHistoryRenderer and objectui @b9814b334 packages/plugin-detail/src/HistoryTimeline.tsx#HistoryTimeline (each renderer's ACTUAL reads, against its registration's declared inputs); re-read 2026-10-15, first cited sha-less; [15] record:line_items (RecordLineItemsProps; L = objectui @31971ff1e28f packages/plugin-form/src/LineItemsPanel.tsx): registered as `line_items` (namespace `record`) in objectui @31971ff1e28f packages/plugin-form/src/index.tsx with its mapping objectui @31971ff1e28f packages/plugin-form/src/index.tsx#RECORD_LINE_ITEMS_DATA_SOURCE; the fifteen `schema.KEY` reads in L#LineItemsPanel (childObject L#heldReloadRef; parentObject L#parentObject; parentId, recordId L#parentId; amountField, totalField L#parentPatch; filter L#scopeFilter; limit L#message; columns L#gridField (applyColumnPermissions)); the gate objectui @31971ff1e28f packages/react/src/element-data-source/ElementDataSourceGate.tsx#useElementDataSourceSchema; read set unchanged at objectui main d59f11c0d3dc; [16] record:line_items guidance (addLabel, sortField, onRowExpand not handed to the grid): objectui @9dfaca654311 packages/plugin-form/src/LineItemsPanel.tsx#gridField; [17] record:approvals (RecordApprovalsProps, EMPTY key set; A = objectui @47b1f0bb71 packages/app-shell/src/views/): registered as `approvals` (namespace `record`) in A record-approvals-renderer.tsx#RecordApprovalsRenderer; approvals A record-approvals-renderer.tsx#hostApprovals, threaded by A RecordDetailView.tsx#RecordDetailView and emitted by objectui @47b1f0bb71 packages/plugin-detail/src/synth/buildDefaultPageSchema.ts#buildDefaultPageSchema; currentUserId falls back in A RecordApprovalsPanel.tsx#isSubmitter; Studio page create seeds without options in A metadata-admin/anchors.ts#synth; [18] page:accordion items[].value (refused): objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageAccordionRenderer overwrites it with `panel-${idx}`; the designer input `page:accordion.items.itemFields` in objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG (objectui#7973); re-read 2026-10-15, first cited sha-less; [19] page:accordion items[].icon (C = objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx): C#commonChildren (`LazyIcon` in the AccordionTrigger) inside C#PageAccordionRenderer; published by its `accordion` registration's `items` input; vocabulary objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; [20] page:accordion.variant: objectui @b9814b334 packages/components/src/renderers/layout/containers.tsx#PageAccordionRenderer (`schema?.variant ?? schema?.properties?.variant ?? 'flush'`); re-read 2026-10-15, first cited sha-less; [21] element:text.variant retired `heading` / `subheading`: objectui @89cad75d55 packages/components/src/renderers/basic/elements.tsx#VARIANT_TAG; [22] element:button.icon (B = objectui @b9814b334 packages/components/src/renderers/form/button.tsx, R = objectui @b9814b334 packages/components/src/renderers/action/resolve-icon.ts): B#Icon (resolveIcon) and its render on either side of the label in B#ButtonRenderer; R#resolveIcon R#describeIconLookup R#toPascalCase R#iconNameMap R#recordIconName (the vocabulary: the generated objectui @b9814b334 packages/components/src/lib/lucide-record-icon-names.ts#LUCIDE_RECORD_ICON_NAME_TABLE); contrast objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; no `icon` in the registration's inputs inside B#ButtonRenderer (objectui#9910 added the `children` slot input); history: the read point moved files on the hop onto objectui 9602dc820, and the registration ranges were first wrong-since-written at objectui a472b0716; [23] action:* rows, the effective executor and the runner's reads (R = objectui @b9814b334 packages/core/src/actions/ActionRunner.ts, first read at objectui @1fb1ced36243 with every anchor at the same symbols; A = objectui @b9814b334 packages/components/src/renderers/action/): executor resolution R#execute (`action.type || action.actionType || action.name`); forwarded executor A action-button.tsx#forwarded, A action-icon.tsx#forwarded (`type: schema.actionType`), A action-group.tsx#paramsPayload, A action-menu.tsx#paramsPayload (`type: action.type`); the name leg documented in A action-button.tsx#forwarded; built-in executors and the `navigation` alias R#ActionRunner (`builtinExecutors`), url navigation executeUrl / executeNavigation / navigateTo in R#ActionRunner; no console host handler under `url` / `navigation`: objectui @b9814b334 packages/app-shell/src/console/ConsoleShell.tsx, packages/app-shell/src/hooks/useConsoleActionRuntime.tsx, packages/app-shell/src/console/AppContent.tsx, packages/app-shell/src/hooks/useObjectActions.ts; onSuccess R#handlePostExecution R#readOnSuccessNavigation; operation read before any executor R#execute (isUpdateOperationAction), forwarded A action-button.tsx#forwarded; the row `patch` is never posted and is read for the Undo snapshot only (executeUpdateOperation in R#ActionRunner; the route writes the named declaration's `patch`), so it is a retiredKey() tombstone since #24394, re-read at objectui 0707b4ae37 and main 4b7ce47; unchanged at objectui main 866763bd and 72594f29; [24] section 4b, the action:* quartet and element:* lists (shared reads; A = objectui @b9814b334 packages/components/src/renderers/action/): publication objectui @b9814b334 packages/core/src/registry/public-blocks.ts#PUBLIC_BLOCKS; `autoTrigger` \"NOT persisted metadata\" in the header of A auto-trigger.ts#useAutoTriggerOnce; the Button primitive vocabulary objectui @b9814b334 packages/components/src/ui/button.tsx#buttonVariants; `objectName` forwarded by A action-button.tsx#forwarded and A action-icon.tsx#forwarded, and per member by A action-group.tsx#paramsPayload and A action-menu.tsx#paramsPayload; history: objectui#11168 slices 1-2, objectui#11212 (fail-closed `visible`), objectui#11182 (host `disabled` verdict), objectui#11344 (`outcomeMessages`), objectui#11638 (member `properties.params` read retired), objectui#11839 (disabled reason), objectui#11880 (repeater binding), objectui#12085 (repeater publishes only the binding); [25] action:button (ActionButtonPropsSchema; B = objectui @b9814b334 packages/components/src/renderers/action/action-button.tsx; the retired gate's quoted first line `type: schema.actionType,` holds at B#forwarded): name B#isVisible (diagnostic label) B#forwarded; label B#button (React child) B#isVisible B#forwarded; icon B#Icon (resolveIcon); actionType B#forwarded (`type`); variant, size B#variant and its `size` twin; visible B#isVisible B#ActionButtonRenderer (hasDeclaredVisibilityGate); disabled B#isDisabled B#button; params B#staticValues (withUndoBaseline) and objectui @b9814b334 packages/components/src/renderers/action/static-params.ts#readStaticParamValues; the forwarded set B#forwarded (outcomeMessages forwarded since objectui#11344, left unpublished in the registration's inputs inside B#ActionButtonRenderer); undo baseline B#withUndoBaseline; [26] action:icon (ActionIconPropsSchema; I = objectui @b9814b334 packages/components/src/renderers/action/action-icon.tsx; the retired gate's quoted first line `type: schema.actionType,` holds at I#forwarded): size not read I#size (fixed `'icon'`); the forward I#forwarded (no undoable / recordIdField; outcomeMessages since objectui#11344); label I#isVisible I#forwarded I#button (aria-label, initial letter, DisabledReasonTrigger heading) I#ActionIconRenderer (tooltip); visible I#isVisible I#ActionIconRenderer; disabled I#isDisabledPred I#button; variant I#variant; params I#staticValues (readStaticParamValues); [27] action:group / action:menu members (actionContainerMember; G = objectui @2e818d0b51ec packages/components/src/renderers/action/action-group.tsx, M = objectui @2e818d0b51ec packages/components/src/renderers/action/action-menu.tsx, P = objectui @2e818d0b51ec packages/components/src/renderers/action/static-params.ts): drawn G#InlineActionButton G#DropdownActionItem M#ActionMenuItem; visible G#useMemberVisible M#useMenuActionVisible; size (group only) G#btnSize; tags G#showSeparator; locations G#actions (actionRendersAt); forwarded G#staticValues M#staticValues (the forward block); object params forwarded on `api` and dropped, with a development-build warning only, for every other `type` P#readActionEntryParamValues (first cited at objectui @0abd4f9f8, same symbol); refused: properties.params P#readMemberStaticParamValues, className G#handleClick, autoTrigger M#ActionAutoTrigger (useAutoTriggerOnce), onClick G#handleExecute M#handleExecute; the array forward (the retired gate's quoted first line `const paramsPayload: ActionDef = Array.isArray(action.params)`) objectui @b9814b334 packages/components/src/renderers/action/action-group.tsx#paramsPayload and objectui @b9814b334 packages/components/src/renderers/action/action-menu.tsx#paramsPayload, other values objectui @b9814b334 packages/components/src/renderers/action/static-params.ts#readActionEntryParamValues; the fork measured at objectui @ab1879721595, files byte-identical at objectui main 2abec3a96; [28] action:group (ActionGroupPropsSchema; G = objectui @b9814b334 packages/components/src/renderers/action/action-group.tsx): actions G#declaredActions G#actions (actionRendersAt) G#useMemberVisible G#paramsPayload; display G#display; label, icon, variant, size G#TriggerIcon (the trigger; size raw to inline members) G#btnSize; visible G#isVisible; the host `disabled` verdict (objectui#11182) G#ActionGroupRenderer; group `name` unread (the comment above G#ActionGroupRenderer, objectui#11168); the registration's inputs inside G#ActionGroupRenderer; [29] action:menu (ActionMenuPropsSchema; M = objectui @b9814b334 packages/components/src/renderers/action/action-menu.tsx): actions M#ActionMenuRenderer M#ActionMenuItem M#ActionAutoTrigger M#paramsPayload; label, icon, variant, size, visible and the host `disabled` verdict (objectui#11182) M#ActionMenuRenderer; the registration's inputs inside M#ActionMenuRenderer (objectui#11168 slice 1); [30] element:definition-list (ElementDefinitionListPropsSchema; L = objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx; the retired gate's quoted first line `const props = readProps<{` holds at L#props): items, columns (`=== 2`), inline, term, description L#DefinitionListRenderer (an item's `description` shown through L#toText: a string or number as text, an object as JSON; first cited at objectui @89cad75d55); the registration's number enum and optional `items` (objectui#11168 slice 2) at its `definition-list` registration in L; the designer's number control objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG; [31] element:repeater (ElementRepeaterPropsSchema; L = objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx; the quoted first line `const props = readProps<{` holds at L#props in L#RepeaterRenderer): object, filter, sort, limit, emptyText, divided, titleField, fields L#RepeaterRenderer; the binding L#dataBinding (useElementDataSource, objectui#11880, aaba8655a); resolved filter tokens L#filterScope; delivery objectui @b9814b334 packages/data-objectstack/src/index.ts#ObjectStackAdapter (translateFilterArray arm) and objectui @b9814b334 packages/data-objectstack/src/index.ts#serializeOrderBy; the registration wrapped by elementDataSourceBlock publishes no `object` input since objectui#12085 (ce991bd70); the registration's `object` required flag read at objectui @20c6d351a; [32] object-grid.aggregations[] (GridAggregationSchema): objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#groupHeaders (useGroupedData) and objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#serverGroupSource (useServerGroupHeaders); the grid's own function vocabulary objectui @89cad75d55 packages/plugin-grid/src/useGroupedData.ts#AggregationType (unchanged at objectui @b9814b334); [33] object-grid (ObjectGridPropsSchema, per key; E = objectui @eb7f586b packages/plugin-grid/src/ObjectGrid.tsx): columns, fields E#schemaFields; filter E#schemaFilterSource (toFilterNode); defaultFilters E#cols (legacy fallback); sort E#schemaSort; defaultSort E#cols; pagination, pageSize, showPagination E#lastFindParamsRef E#schemaPageSize E#paginationEnabled; searchableFields, showSearch E#trimmedSearch E#searchEnabled; rowHeight E#ObjectGrid (resolveRowHeightMode); grouping, aggregations E#grouping E#groupValueFormatter; rowColor E#getRowClassName; conditionalFormatting E#predicateFields E#rules; selection, selectable E#ObjectGrid; rowActions E#rowActionsList; batchActions, bulkActions E#declaredBulkActions; bulkActionDefs E#legacyBulkNames; navigation E#navigation; editable, resizable, resizableColumns, reorderableColumns E#dataTableSchema (singleClickEdit RETIRED #36270, entry [122]); frozenColumns E#effectiveFrozenColumns; showColumnTypeIcons E#fieldMeta; exportOptions, operations E#declared; label, title E#fileNameFor E#dataTableSchema; data, staticData E#getDataConfig; [#20694] description objectui @db11afd4967c packages/plugin-grid/src/ObjectGrid.tsx#resolvedDescription (drawn as `gridDescription`); emptyState objectui @db11afd4967c packages/plugin-grid/src/ObjectGrid.tsx#authoredEmptyState (DataEmptyState in renderedGridContent); keyboardNavigation 0 read points at objectui @db11afd4967c, 15 hit lines at objectui @ab1879721595 and at objectui @b9814b334 against 3 then 4 for the control `schema.editable` (the fourth objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx#carriesConcurrencyToken); [34] object-grid.description, object-grid.emptyState (B = objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx): description objectui @db11afd4967c packages/plugin-grid/src/ObjectGrid.tsx#resolvedDescription; emptyState title/message B#authoredEmptyTitle (resolveInlineI18nLabel, objectui#11227 carried by 6158e4c93; raw at objectui @89cad75d5570) drawn in B#renderedGridContent, link (objectui#12270, b434f5f47) B#renderedGridContent (EmptyStateLink); [35] object-grid.columns (ListViewSchema.shape.columns; A = objectui @ab1879721595 packages/plugin-grid/src/ObjectGrid.tsx): A#normalizeColumns (first-entry dispatch) A#cols A#fieldName (resolvesToDataColumn); the retired `colOverride?.options` read: A#groupValueFormatter A#rawOptions (objectui b0bf413, objectui#11544); the footer summary's off-contract column keys objectui @ab1879721595 packages/plugin-grid/src/useColumnSummary.ts#columnHints; [36] object-grid.fields (O = objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx): O#schemaFields O#fieldsToShow O#generateColumns; the host hand-off projection O#getSelectFields; [37] object-grid.filter: objectui @53ded82b packages/plugin-grid/src/ObjectGrid.tsx#ObjectGrid (toFilterNode before `$filter`); [38] object-grid.sort (S = objectui @53ded82b packages/plugin-grid/src/ObjectGrid.tsx): S#schemaSort S#cols (the fetch path's string arm and array arm) S#declaredSort (parseSchemaSort, `TableSortItem[]`); the registration's array input objectui @53ded82b packages/plugin-grid/src/index.tsx (`{ name: 'sort', type: 'array' }`); [39] object-grid.defaultSort (REMOVED, tombstone; D = objectui @190fbd01d packages/plugin-grid/src/ObjectGrid.tsx): D#cols (`$orderby` fallback) and D#declaredSort (`[schema.defaultSort]`); [40] object-grid.pagination (D = objectui @d18322415 packages/plugin-grid/src/ObjectGrid.tsx): pageSize D#lastFindParamsRef D#schemaPageSize D#pageSize; pageSizeOptions D#dataTableSchema; presence D#paginationEnabled; the registry input objectui @d18322415 packages/plugin-grid/src/index.tsx (`pagination`, type object); [41] object-grid members read at objectui @89cad75d55 (O = objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx): rowHeight O#resolveRowHeightMode; aggregations O#groupHeaders (useGroupedData) O#serverGroupSource (useServerGroupHeaders); conditionalFormatting O#getRowStyle (resolveConditionalFormatting); rowColor O#getRowClassName (useRowColor); selection and selectable O#ObjectGrid (the selection-mode branch) O#dataTableSchema (`selectable`), read by objectui @89cad75d55 packages/components/src/renderers/complex/data-table.tsx#resolveSelectionMode; rowActions O#rowActionsDeclared; bulkActions, batchActions O#declaredBulkActions (`batchActions ?? bulkActions`); bulkActionDefs O#legacyBulkNames (resolveBulkActions); [42] object-grid.navigation: objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#navigation (useNavigationOverlay); [43] object-grid.keyboardNavigation (built by objectui 154075ab1, objectui#11068; declared ahead of its reader, which read nothing at objectui @db11afd4967c): objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx#dataTableSchema (`schema.keyboardNavigation ?? inlineEditable`) with objectui @b9814b334 packages/plugin-grid/src/ObjectGrid.tsx#inlineEditable; objectui @b9814b334 packages/components/src/renderers/complex/data-table.tsx#DataTableRenderer (default false, `role=\"grid\"`, the roving tabIndex), objectui @b9814b334 packages/components/src/renderers/complex/data-table.tsx#navigationTarget and objectui @b9814b334 packages/components/src/renderers/complex/data-table.tsx#handleCellKeyDown; narrowed 2026-11-22 (#36270, ruling A): a grid that renders editable selects a cell first (ui/packages/plugin-grid/src/ObjectGrid.tsx#hostCellSelection, `cellSelectionProp ?? inlineEditable`), and ui/packages/components/src/renderers/complex/data-table.tsx#keyboardNavigation (`keyboardNavigationProp || selectFirst`) forces the navigation on there, so `false` is honoured only on a read-only grid and the describe says so; [44] object-grid.resizableColumns (REMOVED, tombstone): objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx#dataTableSchema (`schema.resizable ?? schema.resizableColumns ?? true`); [45] object-grid.operations (GridOperationsSchema; O = objectui @89cad75d55 packages/plugin-grid/src/ObjectGrid.tsx): create O#dataTableSchema (showAddRow); update, delete O#wantDeleteAction; export O#handleExport O#dataTableSchema (exportable) O#exportEnabled; a declared block replaces the default O#explicitOperations; [46] object-grid.data: the registry input objectui @b9814b334 packages/plugin-grid/src/index.tsx#GRID_QUERY_INPUTS (`{ name: 'data', type: 'object' }`, held by gridDataInputContract.test.ts); re-read 2026-10-15, first cited sha-less; [47] object-metric.aggregate (ObjectMetricAggregateSchema; M = objectui @89cad75d55 packages/plugin-dashboard/src/ObjectMetricWidget.tsx): field, function M#computeOne; function also M#fieldUnitApplies (answersInFieldUnit) M#inferredFormat (min/max width); groupBy M#computeOne (objectAggregateSpecQuery; floored at `'_all'`) typed on M#ObjectMetricWidgetProps (`ChartAggregate['groupBy']`); objectui's unit-rule pin ObjectMetricWidget.countNotCurrency-10356.test.tsx mounts one tile per AggregationFunction member; [48] object-metric.trend (ObjectMetricTrendSchema; W = objectui @89cad75d55 packages/plugin-dashboard/src/): drawn in W MetricWidget.tsx#MetricWidget (`{value}%`, direction arrow), caption W MetricWidget.tsx#localizedTrendLabel (pickLocalized); declared on W MetricWidget.tsx#MetricWidgetProps, mirrored on W ObjectMetricWidget.tsx#ObjectMetricWidgetProps; replaced by a derived trend in W ObjectMetricWidget.tsx#effectiveTrend; [49] object-metric.drillDown (ObjectMetricDrillDownSchema; A = objectui @ab1879721595): enabled A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#drillEnabled (isDrillEnabled); title A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#drawerTitle (resolveDrillTitle against an empty event); target, columns, maxRows A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#drillDrawer (DrillDownDrawer); `filter` / `mode` refused as objectui's own A packages/types/src/data-display.ts#ObjectMetricDrillDownConfig refuses them; measured writers, objectui's drill-down member pins A packages/plugin-dashboard/src/__tests__/objectMetricDrillDownMembers-8071.test.tsx and A packages/plugin-dashboard/src/__tests__/ObjectMetricWidget.drillRoutedToSharedDrawer-8970.test.tsx; [50] object-metric.drillDown.report (R = objectui @2e818d0b51ec packages/plugin-dashboard/src/): handed verbatim in R ObjectMetricWidget.tsx#drillDrawer; drawn when R DrillDownDrawer.tsx#isDatasetBoundReport holds (R DrillDownDrawer.tsx#isReportDrill), joining the metric filter into `runtimeFilter` (R DrillDownDrawer.tsx#body); typed `SpecReportInput` in objectui @2e818d0b51ec packages/types/src/data-display.ts; the fork measured at objectui @ab1879721595, both files byte-identical at objectui main 2abec3a96; [51] object-metric.compareTo (ObjectMetricCompareToSchema; A = objectui @ab1879721595): A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#comparisonFilter (second aggregate over shiftFilterByCompareTo) and A packages/plugin-dashboard/src/ObjectMetricWidget.tsx#derivedTrend (compareToTrendLabelKey); both dispatch on `kind === 'previousYear'` in A packages/core/src/utils/compare-to.ts#shiftFilterByCompareTo and A packages/core/src/utils/compare-to.ts#compareToTrendLabelKey; `dimension` \"deliberately never read on this path\" in that module's header; [52] object-metric (ObjectMetricPropsSchema): objectui @eb7f586b packages/plugin-dashboard/src/ObjectMetricWidget.tsx#ObjectMetricWidgetProps (the complete destructured read set); [53] object-metric.icon (B = objectui @b9814b334 packages/plugin-dashboard/src/): published by B index.tsx#ObjectMetricBlock (`{ name: 'icon', type: 'string' }`); destructured and forwarded by B ObjectMetricWidget.tsx#ObjectMetricWidget; resolved and drawn by B MetricWidget.tsx#MetricWidget (getLazyIcon, guarded on a string); vocabulary objectui @b9814b334 packages/components/src/lib/lazy-icon.tsx#getLazyIcon; not B MetricCard.tsx (off this key's path); [54] object-metric.filter: the analytics wire lowering objectui @53ded82b packages/data-objectstack/src/index.ts#lowerAnalyticsFilterForWire (objectui#7754); before it the adapter at objectui @a472b07 posted an array verbatim (a 400, #15828); [55] object-kanban.columns[] lane (ObjectKanbanLaneSchema; K = objectui @89cad75d55 packages/plugin-kanban/src/): id K index.tsx#bucketCardsIntoColumns; title K ObjectKanban.tsx#localizeColumn; cards K index.tsx#bucketCardsIntoColumns (kept ahead of the bucketed records); limit K KanbanImpl.tsx#isLimitExceeded; className K KanbanImpl.tsx#KanbanColumnView; collapsed K KanbanImpl.tsx#isColumnCollapsed; [56] object-kanban (ObjectKanbanPropsSchema; E = objectui @eb7f586b packages/plugin-kanban/src/ObjectKanban.tsx): columns E#effectiveColumns; filter E#fetchData (`$filter`); data E#boundData; cardTitle, titleField E#explicitTitleField; cardFields E#explicitCardFields; swimlaneField, grouping E#effectiveSwimlaneField; coverImageField, conditionalFormatting via objectui @eb7f586b packages/plugin-kanban/src/index.tsx#KanbanRenderer (the spread of the authored bag); limit objectui @b9814b334 packages/plugin-kanban/src/ObjectKanban.tsx#query (`$top: resolveRowLimit(schema.limit, DEFAULT_KANBAN_FETCH_BATCH_SIZE)`), first re-read at objectui @87af769e9 where `$top: schema.limit ?? DEFAULT_KANBAN_LIMIT` had become resolveRowLimit; [57] object-kanban.columns (the first-entry dispatch): objectui @89cad75d55 packages/plugin-kanban/src/ObjectKanban.tsx#effectiveColumns (string arm only without `groupBy`); [58] object-kanban.filter: objectui @53ded82b packages/plugin-kanban/src/ObjectKanban.tsx#ObjectKanban (`$filter: schema.filter`, verbatim, lowered by ObjectStackAdapter.convertQueryParams through translateFilterArray); [59] object-kanban.limit (B = objectui @b9814b334): query B packages/plugin-kanban/src/ObjectKanban.tsx#query (`$top: resolveRowLimit(schema.limit, DEFAULT_KANBAN_FETCH_BATCH_SIZE)`) with B packages/plugin-kanban/src/ObjectKanban.tsx#DEFAULT_KANBAN_FETCH_BATCH_SIZE and the resolved filter B packages/plugin-kanban/src/ObjectKanban.tsx#filterScope; mapping B packages/plugin-kanban/src/index.tsx#OBJECT_KANBAN_DATA_SOURCE (`limit: 'limit'`); type B packages/types/src/objectql.ts#ObjectKanbanSchema (`limit?: number`); docs B content/docs/plugins/plugin-kanban.mdx (`limit: 250` snippet and Properties row); precedence B packages/react/src/element-data-source/ElementDataSourceGate.tsx#useElementDataSourceSchema (binding cap over this key; a view's pagination.pageSize only when unset) and B packages/react/src/element-data-source/ElementDataSourceGate.tsx#isUsableRowLimit; the saved-view fallback B packages/core/src/data-scope/element-data-source.ts#savedViewRawLimit; first re-read at objectui @87af769e9 2026-09-20; [60] object-master-detail-form (ObjectMasterDetailFormPropsSchema): objectui @eb7f586b packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailForm; auto-derivation objectui @eb7f586b packages/plugin-form/src/deriveMasterDetail.ts; the `formType` pair objectui's MasterDetailFormSchema declares; [61] object-kanban.quickAdd (RETIRED, tombstone; K = objectui @b9814b334 packages/plugin-kanban/src/): K index.tsx#KanbanRenderer passes `quickAdd` / `onQuickAdd` (the host-mounted React component); gated on both in K KanbanImpl.tsx#KanbanColumnView; K KanbanBoardCore.tsx#KanbanBoardCoreProps reads neither off `schema` (objectui#11234); K ObjectKanban.tsx#ObjectKanban names `quickAdd` and `onQuickAdd` 2 times each (both in comments) against 11 for `onCardClick` (method: occurrences in that file, re-counted 2026-10-15); no `kanban-ui` registration at that sha (objectui#8257; the name survives only in tests and the changelog); through objectui @db11afd49 the board's spread forwarded the key; [62] object-kanban.conditionalFormatting (A = objectui @ab1879721595): A packages/plugin-kanban/src/KanbanBoardCore.tsx#processedColumns hands it to the board; A packages/plugin-kanban/src/KanbanImpl.tsx#getCardStyles evaluates it through A packages/core/src/evaluator/listConditional.ts#resolveConditionalFormatting, the evaluator of A packages/plugin-grid/src/ObjectGrid.tsx#getRowStyle; objectui's declaration A packages/types/src/zod/objectql.zod.ts#KanbanConditionalFormattingRuleSchema and A packages/types/src/objectql.ts#KanbanConditionalFormattingRule (objectui#11522, landed by objectui#11532 c73cdb5695); the stored-dialect arms in A packages/plugin-kanban/src/KanbanImpl.tsx#getCardStyles; blank-predicate fallback A packages/core/src/evaluator/listConditional.ts#evalRowPredicate; the four reader files byte-identical at objectui main 2e818d0b51; the writer census also read objectui at main; [63] object-kanban.navigation (K = objectui @b9814b334 packages/plugin-kanban/src/ObjectKanban.tsx): K#navConfig (`schema.navigation ?? { mode: 'drawer' }`) K#navigation (useNavigationOverlay) K#boardView (card click) K#renderRecordOverlay (NavigationOverlay); first re-derived at objectui @87af769e9, where the `(schema as any)` cast was still spelled; [64] object-calendar flat field keys (OBJECT_CALENDAR_FLAT_FIELD_GUIDANCE): objectui @b9814b334 packages/plugin-calendar/src/ObjectCalendar.tsx#getCalendarConfig (the backward-compat flat fallback); re-read 2026-10-15, first cited sha-less; [65] object-calendar (ObjectCalendarPropsSchema; C = objectui @eb7f586b packages/plugin-calendar/src/ObjectCalendar.tsx): calendar C#getCalendarConfig; defaultView C#schemaDefaultView; locale, loading via the registry shell objectui @eb7f586b packages/plugin-calendar/src/index.tsx; [66] object-calendar.calendar (CalendarConfigSchema by reference; C = objectui @89cad75d55 packages/plugin-calendar/src/ObjectCalendar.tsx): C#getCalendarConfig returns the block; its five bindings read in C#queryFilter, C#handleEventDropDefault and C#submitQuickCreate; [67] object-calendar.filter: objectui @53ded82b packages/plugin-calendar/src/ObjectCalendar.tsx#fetchData (`$filter: schema.filter`, verbatim); [68] object-tree.navigation: objectui @89cad75d55 packages/plugin-tree/src/ObjectTree.tsx#navigation (useNavigationOverlay); [69] object-calendar.sort: objectui @53ded82b packages/plugin-calendar/src/ObjectCalendar.tsx#fetchData (`$orderby: convertSortToQueryParams(schema.sort)`), whose sink objectui @53ded82b packages/core/src/utils/sort-query.ts#convertSortToQueryParams still lowered the string clause there; no `sort` input on objectui @53ded82b packages/plugin-calendar/src/index.tsx; [70] object-timeline flat config keys (OBJECT_TIMELINE_FLAT_CONFIG_GUIDANCE): the backward-compat flat rung (with the `dateField` alias) in objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#startDateField and its siblings; emitted by objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema (`case 'timeline'`); re-read 2026-10-15, first cited sha-less; [71] object-calendar.navigation (C = objectui @b9814b334 packages/plugin-calendar/src/ObjectCalendar.tsx): C#navConfig (`schema.navigation ?? { mode: 'drawer' }`) C#navigation (useNavigationOverlay) C#calendarView (event click) C#renderRecordOverlay (NavigationOverlay); [72] object-timeline.mapping (ObjectTimelineMappingSchema; A = objectui @ab1879721595 packages/plugin-timeline/src/ObjectTimeline.tsx; unchanged at objectui main 94985a92ba): title A#titleField; date A#startDateField; description A#descField; variant A#variantField; declared on A#ObjectTimelineProps (`mapping`) and A#TimelineMappingSchema; [73] object-timeline.items[] arms (R = objectui @2e818d0b51ec packages/plugin-timeline/src/renderer.tsx; unchanged at objectui main 2abec3a96): gantt bar startDate / endDate R#dimensions R#calculateDateRange, variant and title in R#TimelineRenderer (the bar and its tooltip); feed entry time R#dateLabel and title, description, variant, icon, content (renderChildren), className in R#TimelineRenderer; gantt row label R#TimelineRenderer (TimelineGanttLabel), items R#classifyGanttRows; vocabulary objectui @2e818d0b51ec packages/types/src/data-display.ts#TimelineItemVariant; element shape and refinement objectui @2e818d0b51ec packages/types/src/zod/data-display.zod.ts#TimelineItemSchema and objectui @2e818d0b51ec packages/types/src/zod/data-display.zod.ts#timelineItemsFitVariant; [74] object-form.layout retired values `inline` / `grid` (OBJECT_FORM_LAYOUT_RETIRED; P = objectui @f8a9d0fb0 packages/plugin-form/src/): folded to 'vertical' in P ObjectForm.tsx#SimpleObjectForm; only 'vertical' / 'horizontal' passed through by P ObjectForm.tsx#drawerLayout, ObjectForm.tsx#modalLayout, DrawerForm.tsx#formLayout, ModalForm.tsx#formLayout; 'vertical' hard-coded in P TabbedForm.tsx#TabbedForm, SplitForm.tsx#panes, WizardForm.tsx#WizardForm; [75] object-form.mobile (ObjectFormMobileSchema; F = objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx): F#mobileOpts (the flat arm); stickyActions F#formSchema; stepper, stepperMinFields, stepperFieldsPerStep F#stepperMode; fullscreenLongText F#fieldsWithMobile; the `data-mobile-form` marker in F#SimpleObjectForm; [76] object-form.fields and object-master-detail-form.fields (formFieldNameList): objectui @ab1879721595 packages/plugin-form/src/MasterDetailForm.tsx#parentSchema (hands `fields` over verbatim), read by objectui @ab1879721595 packages/plugin-form/src/ObjectForm.tsx#fieldsToShow and objectui @ab1879721595 packages/plugin-form/src/flatFields.ts#buildFlatFields (a stored `{ name }` entry drawn by name; any other object entry warned by warnUnresolvedTopLevelField); unchanged at objectui main 94985a92ba; the retired inline field entry an author was taught by objectui @ab1879721595 skills/objectui/guides/page-builder.md (its object-form example; first cited sha-less); [77] object-form.customFields[] `grid` widget keys (minRows, maxRows, allowAdd, allowDelete, allowReorder, totalField, addLabel, sortField; W = objectui @9dfaca654311 packages/fields/src/widgets/GridField.tsx): declared on objectui @9dfaca654311 packages/types/src/field-types.ts#GridFieldMetadata, carried by objectui @9dfaca654311 packages/types/src/form.ts#FormField, mirrored in objectui @9dfaca654311 packages/types/src/zod/form.zod.ts#FormFieldSchema; read W#cfg W#allowAdd W#removeRow (minRows) W#totalField W#showTotal W#emit (sortField) W#GridFieldBody (maxRows, allowReorder, addLabel); objectui#11610 (merge 2abec3a96c) camelCased them; the parent-field `totalField` hand-off objectui @9dfaca654311 packages/plugin-form/src/LineItemsPanel.tsx#gridField and objectui @9dfaca654311 packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailLines; the writer shape (one `grid` field carrying all eight camelCase keys) objectui @9dfaca654311 examples/schema-catalog/src/schemas/fields-grid/line-items-grid.json; [78] object-form.customFields[] retired snake_case `grid` keys (OBJECT_FORM_GRID_WIDGET_SNAKE_KEYS): objectui @9dfaca654311 packages/types/src/field-types.ts#GRID_FIELD_RETIRED_KEYS; refused by objectui @9dfaca654311 packages/fields/src/widgets/GridField.tsx#GridField, tombstoned on objectui @9dfaca654311 packages/types/src/field-types.ts#GridFieldMetadata and objectui @9dfaca654311 packages/types/src/form.ts#FormField, named in objectui @9dfaca654311 packages/types/src/zod/form.zod.ts#FormFieldSchema (retiredGridFieldKey); [79] object-form.customFields[].validation: objectui @2e818d0b51ec packages/components/src/renderers/form/form.tsx#rules (inside renderFormField: minLength/maxLength/min/max spread as `{ value, message }`, `required` read only as a message string); objectui's declaration objectui @2e818d0b51ec packages/types/src/form.ts#FieldValidationRules; [80] object-timeline.navigation: objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#navigation (useNavigationOverlay) and objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#effectiveSchema (entry click, overlay); re-read 2026-10-15, first cited sha-less, when the read still spelled `(schema as any).navigation`; [81] object-form.customFields[].options[] (buildObjectFormRuntimeOption; F = objectui @2e818d0b51ec packages/components/src/renderers/form/form.tsx): label, value F#BuiltinSelectControl and objectui @2e818d0b51ec packages/core/src/evaluator/optionRules.ts#optionDisplayLabel (the four option widgets); visibleWhen F#cascade (resolveCascadingOptions; each widget's useCascadingOptions); description objectui @2e818d0b51ec packages/fields/src/widgets/LookupField.tsx#filteredOptions; `value` a runtime value: F#BuiltinSelectControl (matchOptionValue), objectui @2e818d0b51ec packages/types/src/zod/form.zod.ts#SelectOptionSchema (deliberate divergence comment), objectui @2e818d0b51ec packages/plugin-designer/src/ObjectManager.tsx#formSchema (writes `{ label, value }` pairs); unchanged at objectui main fd060f076; [82] object-form.customFields[] and the inline section entry (buildObjectFormRuntimeField; F = objectui @2e818d0b51ec packages/components/src/renderers/form/form.tsx, W = objectui @2e818d0b51ec packages/fields/src/widgets/): merge objectui @2e818d0b51ec packages/plugin-form/src/customFieldsMerge.ts#mergeCustomFields from objectui @2e818d0b51ec packages/plugin-form/src/ObjectForm.tsx#generateField; carrier F#builtinBranchHasNoControl (`field.field || field`); field row F#renderFormField (name, label, description, type, required, disabled, readonly, hidden, colSpan via F#colSpanClass), widget F#resolvedType, validation F#rules, the three `*When` rules F#ruleState, placeholder and inputType F#builtinBranchHasNoControl, options and dependsOn F#cascade, multiple F#resolvedType; layout objectui @2e818d0b51ec packages/plugin-form/src/autoLayout.ts#resolveColSpan (span, colSpan) and objectui @2e818d0b51ec packages/plugin-form/src/fieldGroups.ts#deriveFieldGroupSections (group); widgets W TextAreaField.tsx#rows, FileField.tsx#multiple (accept, multiple), VectorField.tsx#dimensions, LookupField.tsx#referenceTo, NumberField.tsx#NumberField (min, max), F#renderFieldComponent (minLength, maxLength), FormulaField.tsx#returnType, SummaryField.tsx#summaryType, GridField.tsx#allColumns (columns); read and refused: visibleOn F#ruleState, condition F#legacyConditionCel, id F#fieldKey; a measured writer, the object-manager create / edit dialog (a `formType: 'modal'` block): objectui @b9814b334 packages/plugin-designer/src/ObjectManager.tsx#formSchema (first cited sha-less); [83] object-form / object-master-detail-form sections[].fields[] `{ field }` entry (buildObjectFormSectionFieldEntry): objectui @2e818d0b51ec packages/plugin-form/src/sectionFields.ts#resolveSectionEntry (names an object field by `field`, every other key overrides its generated definition; label/placeholder/helpText copied as they stand); [84] object-form / object-master-detail-form sections[] (buildObjectFormSection; F = objectui @2e818d0b51ec packages/plugin-form/src/ObjectForm.tsx): handed over verbatim by objectui @2e818d0b51ec packages/plugin-form/src/MasterDetailForm.tsx#parentSchema; name, label F#sectionCtx (heading) F#inertPredicateSections (per-formType maps); collapsible, collapsed F#collapse (resolveSectionCollapse); visibleWhen F#sectionCtx (divider-row predicate); columns F#secCols F#clampCol (a NUMBER only); pane objectui @2e818d0b51ec packages/plugin-form/src/SplitForm.tsx#paneOf; the inline runtime field drawn as it stands in objectui @2e818d0b51ec packages/plugin-form/src/sectionFields.ts#resolveSectionEntry; objectui's own declaration objectui @2e818d0b51ec packages/types/src/objectql.ts#ObjectFormSection; [85] object-form (ObjectFormPropsSchema: the UNION of `schema.*` reads of the simple form and the sub-forms it forwards the bag into): objectui @eb7f586b packages/plugin-form/src/ObjectForm.tsx#ObjectForm, with TabbedForm, WizardForm, SplitForm, DrawerForm, ModalForm under objectui @eb7f586b packages/plugin-form/src/; `layout` `inline` / `grid` folded to `vertical` there while the registry inputs and the designer palette offered them; [86] object-form.fields (the `{ name }` entry retired from the authoring faces by objectui#11550): a census of objectui @ab1879721595 found it written only by fixtures probing the stored read and the refusal; [87] object-form.customFields: objectui @2e818d0b51ec packages/plugin-form/src/customFieldsMerge.ts#mergeCustomFields (merged over the generated fields); at objectui @2e818d0b51ec the open runtime field spelled the eight `grid` widget keys in snake_case, camelCased by objectui#11610 (carried at objectui @9dfaca654311); [88] object-form.contentLayout: objectui @89cad75d55 packages/plugin-form/src/ModalForm.tsx#renderContent (`schema.contentLayout === 'tabbed' && groups.length > 1`), declared on objectui @89cad75d55 packages/plugin-form/src/ModalForm.tsx#ModalFormSchema; [89] object-form.submitBehavior: objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx#handleSubmit and objectui @89cad75d55 packages/plugin-form/src/WizardForm.tsx#handleStepSubmit (switch on `kind`), redirect `url` judged by objectui @89cad75d55 packages/plugin-form/src/submitRedirect.ts#resolveSubmitRedirect (FormViewSchema.safeParse); [90] object-form.navigateOnSuccess: objectui @89cad75d55 packages/plugin-form/src/successBehavior.ts#resolveSuccessNavigate, called from objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx#handleSubmit and objectui @89cad75d55 packages/plugin-form/src/WizardForm.tsx#handleStepSubmit; a refused value reported on the success toast in objectui @89cad75d55 packages/plugin-form/src/ObjectForm.tsx#handleSubmit; [91] object-master-detail-form.details[] (the eleven entry keys): objectui @31971ff1e28f packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailDetailConfig and every `d.KEY` read in objectui @31971ff1e28f packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailLines; re-read at objectui @89cad75d5570 for #21589; [92] object-master-detail-form.details[].sortField (REMOVED, tombstone): objectui @89cad75d5570 packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailDetailConfig (no `sortField` member), derived by objectui @89cad75d5570 packages/plugin-form/src/deriveMasterDetail.ts#deriveDetail (SORT_FIELD_NAMES) and handed to the grid as `sort_field` in objectui @89cad75d5570 packages/plugin-form/src/MasterDetailForm.tsx#MasterDetailLines; at objectui @9dfaca654311 the same hand-off spells `sortField` (objectui#11610) from objectui @9dfaca654311 packages/plugin-form/src/deriveMasterDetail.ts#deriveDetail; an entry the renderer does not resolve loads no child schema (objectui @9dfaca654311 packages/plugin-form/src/MasterDetailForm.tsx#entries); [93] object-master-detail-form.sections, .fields: objectui @2e818d0b51ec packages/plugin-form/src/MasterDetailForm.tsx#parentSchema (handed to the parent object-form verbatim); [94] object-map flat config keys (OBJECT_MAP_FLAT_CONFIG_GUIDANCE): objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#getMapConfig (branch 2) and objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#warnOnShadowedFlatMapKeys and objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#FLAT_MAP_CONFIG_KEYS; emitted by objectui @b9814b334 packages/plugin-view/src/ObjectView.tsx#ObjectView and objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema (`case 'map'`); re-read 2026-10-15, first cited sha-less at the then pin; [95] object-map (ObjectMapPropsSchema, per key; P = objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx, C = objectui @b9814b334 packages/core/src/utils/record-source.ts, I = objectui @b9814b334 packages/plugin-map/src/index.tsx): data P#getDataConfig C#resolveRecordSourceConfig (rung 1; the deleted array head and its carriers are recorded in the docblock above P#FLAT_MAP_CONFIG_KEYS); staticData C#resolveRecordSourceConfig (rung 2); objectName C#resolveRecordSourceConfig (rung 3) P#navigation P#warnOnLegacyFilterMapConfig P#warnOnTopLevelStyleUrl P#warnOnShadowedFlatMapKeys (cache keys) P#recordSourceObjectName (useSettledSchema); filter P#queryFilter P#fetchData (`$filter` on both fetches); sort P#fetchData (convertSortToQueryParams); map P#getMapConfig (branch 1; validates against ObjectMapConfigSchema) I#ObjectMapRenderer (its registration's `map` input); mapStyle P#getMapConfig (`schema.mapStyle || schema.map?.style`) I#ObjectMapRenderer; navigation P#navigation I#ObjectMapRenderer; enableClustering P#clusteredData I#ObjectMapRenderer; measured and not declared: style P#warnOnTopLevelStyleUrl (read only to say it is not a map style); [96] object-map.filter: objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#queryFilter (useResolvedFilter) and objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#fetchData (`$filter` on the inline and the object fetch); the registration's `filter` input objectui @b9814b334 packages/plugin-map/src/index.tsx#ObjectMapRenderer; [97] object-map.sort: objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#fetchData (convertSortToQueryParams to `$orderby`, both fetches); the registration's array-form `sort` input (objectui#8220) objectui @b9814b334 packages/plugin-map/src/index.tsx#ObjectMapRenderer; [98] object-map.navigation: objectui @89cad75d55 packages/plugin-map/src/ObjectMap.tsx#navigation (hands `schema.navigation` to useNavigationOverlay) and objectui @89cad75d55 packages/react/src/hooks/useNavigationOverlay.ts#useNavigationOverlay (`navigation?.mode ?? 'page'`); [99] object-gantt flat config keys (OBJECT_GANTT_FLAT_CONFIG_GUIDANCE): objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx#FLAT_GANTT_CONFIG_KEYS and objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx#getGanttConfig (branch 2 reads them; a present `gantt` block is taken whole and the flat keys beside it named as ignored); re-read 2026-10-15, first cited sha-less at the then pin; [100] object-gantt.markers (objectGanttMarker): G = objectui @ab1879721595 packages/plugin-gantt/src/GanttView.tsx: objectui @ab1879721595 packages/plugin-gantt/src/ObjectGantt.tsx#ganttView (hands `schema.markers` to GanttView verbatim); date G#markers (time-zone re-base) G#resolvedMarkers (axis mapping, drops unparsable or out-of-range dates); color G#resolvedMarkers (`m.color || 'hsl(var(--primary))'`); drawn in G#GanttView and in G#buildExportSvg; the declaration taken: objectui @ab1879721595 packages/types/src/objectql.ts#ObjectGanttSchema and objectui @ab1879721595 packages/types/src/zod/objectql.zod.ts#ObjectGanttSchema (`markers`); unchanged at objectui main 94985a92ba; [101] object-gantt (ObjectGanttPropsSchema, per key; P = objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx, C = objectui @b9814b334 packages/core/src/utils/record-source.ts): data P#rawDataConfig C#resolveRecordSourceConfig (rung 1); staticData C#resolveRecordSourceConfig (rung 2); objectName (rung 3) P#persistLayoutKey P#navigation; filter P#queryFilter P#reload (`$filter`); sort P#reload (convertSortToQueryParams to `$orderby`); gantt P#getGanttConfig (branch 1, validated against the spec's GanttConfigSchema) and objectui @b9814b334 packages/plugin-gantt/src/index.tsx#ObjectGanttRenderer (its registration's `gantt` object input); navigation P#navConfig P#navigation; label P#ganttView (resolveInlineI18nLabel, export file-name chain); skipWeekends, holidays P#workingCalendar; persistLayout, viewName P#persistLayoutKey; markers, criticalPath, showBaselines, readOnly, mobileReadOnly P#ganttView, readOnly also P#renderRecordOverlay; measured and not declared: title (absent from the P#ganttView export-name chain), row cap (P#reload spreads nonGridRowCeilingQuery, marked not authorable), search and searchableFields P#searchTerm P#reload (host-generated by objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema, its `case 'gantt'` arm); [102] object-gantt.navigation: objectui @89cad75d55 packages/plugin-gantt/src/ObjectGantt.tsx#navConfig (`schema.navigation ?? { mode: 'drawer' }`) and objectui @89cad75d55 packages/plugin-gantt/src/ObjectGantt.tsx#navigation (useNavigationOverlay); [103] object-tree flat config keys (OBJECT_TREE_FLAT_CONFIG_GUIDANCE: parentField, labelField, titleField, fields, defaultExpandedDepth): objectui @b9814b334 packages/plugin-tree/src/ObjectTree.tsx#getTreeConfig (reads the flat spellings ahead of the `tree` block; the `schema.titleField` rung's retirement is recorded in its docblock above `fieldKey`, objectui#8841), objectui @b9814b334 packages/plugin-list/src/ListView.tsx#viewComponentSchema (its `case 'tree'` arm emits parentField, `labelField: treeCfg.labelField || 'name'`, fields, defaultExpandedDepth and no titleField since objectui 3fd862510), objectui @b9814b334 packages/plugin-tree/src/index.tsx#treeInputs (`{ name: 'tree', type: 'object' }`, no flat input); [104] object-tree (ObjectTreePropsSchema, per key; P = objectui @b9814b334 packages/plugin-tree/src/ObjectTree.tsx, C = objectui @b9814b334 packages/core/src/utils/record-source.ts): data P#dataConfig (resolveRecordSourceConfig with the `view-data` arm) and C#resolveRecordSourceConfig (rung 1, authoredDataIsOnTheDeclaredArm); staticData C#resolveRecordSourceConfig (rung 2); objectName (rung 3) P#headerObjectName P#navigation P#renderRecordOverlay (each behind resolveRecordSourceObjectName) P#parentField (detectParentField); filter P#queryFilter (useResolvedFilter) P#fetchData (`$filter` on the object fetch and on the inline ValueDataSource query); tree P#getTreeConfig and objectui @b9814b334 packages/plugin-tree/src/index.tsx#treeInputs; navigation P#navigation (useNavigationOverlay); host-prop `data` (not the authored key) P#passed; measured and not declared: sort (no `$orderby` in P#fetchData), row cap (P#fetchData spreads nonGridRowCeilingQuery); [105] object-tree.objectName (optional because no ElementDataSourceGate wiring): objectui @b9814b334 packages/plugin-tree/src/index.tsx#ObjectTreeRenderer has 0 occurrences of `ElementDataSourceGate` (re-counted 2026-10-15), against controls objectui @b9814b334 packages/plugin-gantt/src/index.tsx#ObjectGanttRenderer, packages/plugin-grid/src/index.tsx, packages/plugin-calendar/src/index.tsx (3 each) and packages/plugin-map/src/index.tsx#ObjectMapRenderer (4); method: occurrences of the identifier in each `src/index.tsx`; [106] object-timeline (ObjectTimelinePropsSchema, per key; P = objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx, R = objectui @b9814b334 packages/plugin-timeline/src/renderer.tsx, I = objectui @b9814b334 packages/plugin-timeline/src/index.tsx): objectName P#ObjectTimeline (fetch gate) P#useSettledSchema P#fetchesForItself P#invalidationNonce P#fetchData P#handleRefresh P#effectiveItems P#navigation; timeline P#timelineConfig; filter P#queryFilter P#filterKey P#fetchData; sort P#sortKey P#fetchData (convertSortToQueryParams); limit P#fetchData (resolveRowLimit) P#DEFAULT_TIMELINE_LIMIT P#describeRefusedRowLimit; items P#hasInlineItems P#fetchesForItself P#effectiveItems P#hasAuthoredItems; data P#hasInlineData P#fetchesForItself P#rawData; descriptionField P#descField; mapping P#titleField P#startDateField P#descField P#variantField; variant P#hasAuthoredItems (the `timeline-unsupported-variant` refusal, objectui#6655) and I#OBJECT_TIMELINE_INPUTS; navigation P#navigation P#effectiveSchema; dateFormat, rowLabel, minDate, maxDate R#TimelineRenderer (rowLabel and minDate/maxDate in its gantt branch, R#findUnusableGanttDate) off P#effectiveSchema; measured and not declared: bind P#boundData (useDataScope), className P#effectiveSchema; [107] object-timeline.data (read off React props, not `schema`; the prop channel is SchemaRenderer's `properties.*` hoist, objectui @b9814b334 packages/react/src/SchemaRenderer.tsx#SchemaRenderer, with `object-timeline` absent from objectui @b9814b334 packages/core/src/utils/record-source.ts#RECORD_SOURCE_DATA_ARM_BY_TYPE): objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#hasInlineData (loading seed), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#fetchesForItself (the query skip the fetch effect reads), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#rawData (row source `(props as any).data || boundData || fetchedData`), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#effectiveItems (the `timeline` field bindings a fetched row takes); [108] object-timeline.items: objectui @2e818d0b51ec packages/types/src/data-display.ts#TimelineFeedItem and objectui @2e818d0b51ec packages/types/src/data-display.ts#TimelineGanttItem (the declared authored entry, ruled on objectui#6356), handed to the rail verbatim at objectui @2e818d0b51ec packages/plugin-timeline/src/ObjectTimeline.tsx#effectiveItems (`if (schema.items) return schema.items`); [109] record:reference_rail, record:alert, record:quick_actions, record:history, record:line_items (rows): key sets measured from the renderers' read points; the per-key read points are recorded under each props schema below; [110] record:approval_decision (row, EMPTY key set): objectui @d03b022 packages/app-shell/src/views/approval-decision/ApprovalDecisionPanel.tsx#ApprovalDecisionRenderer (landed in objectui a368ccb, module-internal at d03b022; discards `schema`, draws from the record context); [111] record:attachments (row, EMPTY key set): objectui @47b1f0bb71 packages/app-shell/src/views/record-attachments-renderer.tsx#RecordAttachmentsRenderer (registered as `attachments` in the `record` namespace; discards `schema`); [112] cloud-connection:panel, marketplace:installed-list (rows, EMPTY key sets): objectui @b9814b334 packages/app-shell/src/console/cloud-connection/CloudConnectionPanel.tsx#CloudConnectionPanel and objectui @b9814b334 packages/app-shell/src/console/marketplace/InstalledListWidget.tsx#InstalledList (each registration is `() => `; re-read 2026-10-15, first measured sha-less at the then pin); [113] mcp:connect-agent (row, EMPTY key set): objectui @b9814b334 packages/app-shell/src/console/connect/ConnectAgentWidget.tsx#ConnectAgent (registration `() => `; re-read 2026-10-15, first measured sha-less at the then pin); [114] element:definition-list, element:repeater (rows: the three-part string-arm evidence): objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx#DefinitionListRenderer and objectui @b9814b334 packages/components/src/renderers/basic/data-list.tsx#RepeaterRenderer (both registered in the `element` namespace), objectui @b9814b334 packages/core/src/registry/public-blocks.ts#PUBLIC_BLOCKS (publication), objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-types.ts#BLOCK_TYPE_META (palette), objectui @b9814b334 packages/app-shell/src/views/metadata-admin/previews/block-config.ts#BLOCK_CONFIG (each block's inspector); [115] action:button, action:group, action:menu, action:icon (rows): objectui @b9814b334 packages/core/src/registry/public-blocks.ts#PUBLIC_BLOCKS (the four `action:*` members), registered under objectui packages/components/src/renderers/action/ in the `action` namespace; [116] object-map, object-gantt, object-tree (row key sets; per-key read points under each props schema): objectui @b9814b334 packages/plugin-map/src/index.tsx#ObjectMapRenderer, objectui @b9814b334 packages/plugin-map/src/ObjectMap.tsx#ObjectMap, objectui @b9814b334 packages/plugin-gantt/src/index.tsx#ObjectGanttRenderer, objectui @b9814b334 packages/plugin-gantt/src/ObjectGantt.tsx#ObjectGantt, objectui @b9814b334 packages/plugin-tree/src/index.tsx#ObjectTreeRenderer, objectui @b9814b334 packages/plugin-tree/src/ObjectTree.tsx#ObjectTree; [117] object-timeline (row key set; per-key read points under ObjectTimelinePropsSchema): objectui @b9814b334 packages/plugin-timeline/src/index.tsx#ObjectTimelineRenderer (the `object-timeline` and `timeline` registrations), objectui @b9814b334 packages/plugin-timeline/src/ObjectTimeline.tsx#ObjectTimeline, objectui @b9814b334 packages/plugin-timeline/src/renderer.tsx#TimelineRenderer; [118] EXPRESSION_BINDABLE_TEXT_KEYS_BY_COMPONENT rows statistic, card, button (the top-level text keys each renderer reads back; R = objectui @82a9417 packages/components/src/renderers/, re-verified identical at objectui 6c68b13 on 2026-08-18): statistic `label`, `value`, `description` R data-display/statistic.tsx#StatisticRenderer; card `title`, `description` R layout/card.tsx#CardRenderer; button `label` R form/button.tsx#ButtonRenderer; the deliberate `text` omission, `schema.content || schema.value`, at its `text` registration in R basic/text.tsx; [119] PageComponent.dataSource, the PLANNED API binding (ElementApiDataSourceSchema; its record is this file's `_note`; R = objectui @7578323a544e packages/core/src/): `read.url`'s refusal of a `./` path, measured against the console's `apiBase` promotion of a root-relative `/api/…` path only, R actions/ActionRunner.ts#navigateTo; `read.method` GET alone because every read (find, findOne, aggregate) sends an explicit `method: 'GET'`, R adapters/ApiDataSource.ts#ApiDataSource; no renderer reads the binding yet, the hook admitting only a string `object`, R data-scope/element-data-source.ts#isElementDataSourceConfig; [120] PageComponent.visibleWhen (the component-level evaluator's roots): the ambient scope (`current_user`, `user`, `ctx.user`, `os.user`, `features`, nothing else) objectui @1fb1ced36243 packages/app-shell/src/providers/ExpressionProvider.tsx#buildExpressionScope; composed with `record` (the page's row: the record a record page opens, or the row an app page's `record` binding reads, `null` when that read finds no row or is refused as forbidden) and `page` by ui/packages/react/src/SchemaRenderer.tsx#buildNodeEvaluationScope (named configEvaluationScope at objectui @1fb1ced36243); no `data` root (objectui#9308) in objectui @1fb1ced36243 packages/react/src/SchemaRenderer.tsx#evaluatedSchema; the files identical at objectui main f228d710; the `page:tabs` item-level evaluator is the `page:tabs items[].visibleWhen` entry; [121] object-metric.polarity (ObjectMetricPropsSchema, the dataset measure's DatasetMeasurePolarity by reference): published as an enum input by ui/packages/plugin-dashboard/src/index.tsx#ObjectMetricBlock; destructured and forwarded by ui/packages/plugin-dashboard/src/ObjectMetricWidget.tsx#ObjectMetricWidget; drawn by ui/packages/plugin-dashboard/src/MetricWidget.tsx#MetricWidget, which colours the badge it shows (`derivedTrend ?? trend`) through ui/packages/plugin-dashboard/src/utils.ts#deltaToneClass, the rule the dataset-bound tile's delta uses; pinned by ui/packages/plugin-dashboard/src/__tests__/ObjectMetricWidget.polarity-27347.test.tsx; [122] object-grid.singleClickEdit (REMOVED 2026-11-22, #36270, ADR-0049 enforce-or-remove, the maintainer's ruling A; tombstoned at the schema with retiredKey and stripped from sources by the protocol-18 conversion object-grid-single-click-edit-removed): the grid that renders editable selects a cell first (ui/packages/plugin-grid/src/ObjectGrid.tsx#hostCellSelection) and hands the data table `singleClickEdit: true` unconditionally, which ui/packages/components/src/renderers/complex/data-table.tsx#selectFirst makes inert (a click selects; double-click, Enter, F2 or typing opens the editor); a host that passes `cellSelection: false` keeps the staged click-to-edit path. The entry stays because retiredKey keeps the key in the walked shape (the rls.priority precedent); delete the key, `editable` with the viewer's write verdict decides whether the grid edits;" }, "assignedProfiles": { "status": "dead", "verifiedAt": "2026-09-12", - "note": "REMOVED 2026-09-12 (ADR-0090 D2 + ADR-0049 enforce-or-remove; maintainer ruling 2026-09-12, decision batch #121 item 2, verbatim \u300c\u540c\u610f\u300d) \u2014 tombstoned at the schema (retiredKey carries the prescription; authoring it is a tsc error and a parse error) and stripped from sources by the protocol-18 page-assigned-profiles-removed conversion. BOTH halves of the prior `live` row were false: the objectui bridge it cited, react/src/spec-bridge/bridges/page.ts, does not exist in that repo and neither does any spec-bridge directory (lit control: two sibling objectui citations in this same file resolve), and the key had zero readers in either repo \u2014 no renderer, route or metadata read door \u2014 so a page that assigned profiles was open to every caller who could reach it. The entry stays because retiredKey keeps the key in the walked shape (the rls.priority precedent); page audience is the permission set\u2019s \u2014 gate the DATA with the object\u2019s permission sets and bind those sets to people through positions." + "note": "REMOVED 2026-09-12 (ADR-0090 D2 + ADR-0049 enforce-or-remove; maintainer ruling 2026-09-12, decision batch #121 item 2, verbatim 「同意」) — tombstoned at the schema (retiredKey carries the prescription; authoring it is a tsc error and a parse error) and stripped from sources by the protocol-18 page-assigned-profiles-removed conversion. BOTH halves of the prior `live` row were false: the objectui bridge it cited, react/src/spec-bridge/bridges/page.ts, does not exist in that repo and neither does any spec-bridge directory (lit control: two sibling objectui citations in this same file resolve), and the key had zero readers in either repo — no renderer, route or metadata read door — so a page that assigned profiles was open to every caller who could reach it. The entry stays because retiredKey keeps the key in the walked shape (the rls.priority precedent); page audience is the permission set’s — gate the DATA with the object’s permission sets and bind those sets to people through positions." }, "isDefault": { "status": "live", diff --git a/packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts b/packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts new file mode 100644 index 00000000000..24c64fdbbde --- /dev/null +++ b/packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts @@ -0,0 +1,179 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +import type { MetadataConversion } from '../../types.js'; +import { mapPageComponents } from '../../walk.js'; +import { isDict, stripKeys } from '../shared.js'; + +/** + * `object-grid`'s single-click edit switch leaves the contract (protocol 18, + * #36270, ADR-0049 enforce-or-remove; the maintainer's ruling A, one editing + * model). + * + * A grid that renders editable now selects a cell first: a click selects it, + * and double-click, Enter, F2 or typing opens its editor. That model has no + * single-click entry, so `singleClickEdit` has nothing left to switch: `true` + * (the renderer's default) would open the editor on the selecting click, and + * `false` named the double-click entry the model already has. On a grid that + * renders read-only the key never had an effect. + * + * So the key strips as a delete, whatever its value. The grid's behaviour + * comes from `editable` and the viewer's write verdict, which the conversion + * leaves alone. Zero authored occurrences in this repository's examples and + * the hotcrm and gallery corpora (the card's measurement), so this entry + * exists for stored `sys_metadata` rows and for authors outside the + * repositories. + */ +const objectGridSingleClickEditRemoved: MetadataConversion = { + id: 'object-grid-single-click-edit-removed', + toMajor: 18, + retiredFromLoadPath: true, + retiredAfter: '18.6.0', + surface: 'page.component.object-grid.singleClickEdit', + summary: + "object-grid component prop 'singleClickEdit' removed (an editable grid now selects a cell on a " + + "click and opens its editor on double-click, Enter, F2 or typing, so no single-click entry is left " + + "for the key to switch; it is deleted, whatever its value)", + apply(stack, emit) { + return mapPageComponents(stack, (component, path) => { + if (component.type !== 'object-grid') return component; + const properties = component.properties; + if (!isDict(properties) || !('singleClickEdit' in properties)) return component; + const stripped = stripKeys(properties, ['singleClickEdit'], emit, `${path}.properties`); + return { ...component, properties: stripped }; + }); + }, + fixture: { + before: { + pages: [ + { + name: 'task_desk', + regions: [ + { + name: 'main', + components: [ + // The renderer's default value, authored: deleted. + { + type: 'object-grid', + id: 'g1', + properties: { objectName: 'crm_task', editable: true, singleClickEdit: true }, + }, + // `false` (the double-click entry the model already has): + // deleted too, and `editable` rides through. + { + type: 'object-grid', + id: 'g2', + properties: { objectName: 'crm_task', editable: true, singleClickEdit: false }, + }, + // The same key name on a component that is NOT an + // `object-grid` — not this entry's key. The strip is scoped + // by component type, never by key name. + { + type: 'object-kanban', + id: 'k1', + properties: { objectName: 'crm_task', singleClickEdit: true }, + }, + // A grid without the key rides through untouched. + { + type: 'object-grid', + id: 'g3', + properties: { objectName: 'crm_task', editable: false }, + }, + // The nested position: a grid inside a card's `children`. + { + type: 'page:card', + id: 'c1', + properties: { + children: [ + { + type: 'object-grid', + id: 'g4', + properties: { objectName: 'crm_contact', singleClickEdit: true }, + }, + ], + }, + }, + ], + }, + ], + }, + // The named-slot shape: a grid authored into a slotted page. + { + name: 'task_desk_detail', + kind: 'slotted', + regions: [], + slots: { + details: { + type: 'object-grid', + id: 'g5', + properties: { objectName: 'crm_task', editable: true, singleClickEdit: false }, + }, + }, + }, + ], + }, + after: { + pages: [ + { + name: 'task_desk', + regions: [ + { + name: 'main', + components: [ + { + type: 'object-grid', + id: 'g1', + properties: { objectName: 'crm_task', editable: true }, + }, + { + type: 'object-grid', + id: 'g2', + properties: { objectName: 'crm_task', editable: true }, + }, + { + type: 'object-kanban', + id: 'k1', + properties: { objectName: 'crm_task', singleClickEdit: true }, + }, + { + type: 'object-grid', + id: 'g3', + properties: { objectName: 'crm_task', editable: false }, + }, + { + type: 'page:card', + id: 'c1', + properties: { + children: [ + { + type: 'object-grid', + id: 'g4', + properties: { objectName: 'crm_contact' }, + }, + ], + }, + }, + ], + }, + ], + }, + { + name: 'task_desk_detail', + kind: 'slotted', + regions: [], + slots: { + details: { + type: 'object-grid', + id: 'g5', + properties: { objectName: 'crm_task', editable: true }, + }, + }, + }, + ], + }, + // Four notices, one per stripped key (g1, g2, the nested g4, the slotted + // g5). The kanban sibling and the grid without the key emit none. + expectedNotices: 4, + }, +}; + +export { objectGridSingleClickEditRemoved }; diff --git a/packages/spec/src/conversions/registry.ts b/packages/spec/src/conversions/registry.ts index 37f041c2953..cdf05dcb0cb 100644 --- a/packages/spec/src/conversions/registry.ts +++ b/packages/spec/src/conversions/registry.ts @@ -71,6 +71,7 @@ import { objectExternalSharingModelRemoved } from './entries/18/object-external- import { objectGridDefaultFiltersRemoved } from './entries/18/object-grid-default-filters-removed.js'; import { objectGridDefaultSortRemoved } from './entries/18/object-grid-default-sort-removed.js'; import { objectGridResizableColumnsRemoved } from './entries/18/object-grid-resizable-columns-removed.js'; +import { objectGridSingleClickEditRemoved } from './entries/18/object-grid-single-click-edit-removed.js'; import { objectKanbanQuickAddRemoved } from './entries/18/object-kanban-quick-add-removed.js'; import { pageHeaderBreadcrumbRemoved } from './entries/18/page-header-breadcrumb-removed.js'; import { pageHeaderShowStarRemoved } from './entries/18/page-header-show-star-removed.js'; @@ -252,6 +253,7 @@ const MAJOR_18_CONVERSIONS: readonly OrderedConversion[] = [ { conversion: objectGridDefaultFiltersRemoved, order: 35.5 }, { conversion: objectGridDefaultSortRemoved, order: 14 }, { conversion: objectGridResizableColumnsRemoved, order: 57 }, + { conversion: objectGridSingleClickEditRemoved, order: 83 }, { conversion: objectKanbanQuickAddRemoved, order: 15 }, { conversion: objectMasterDetailFormDetailSortFieldRemoved, order: 60 }, { conversion: objectTenancyOrganizationFieldRemoved, order: 35 }, diff --git a/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts b/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts new file mode 100644 index 00000000000..a6bcb09b108 --- /dev/null +++ b/packages/spec/src/migrations/entries/retired-keys/18.ui__ObjectGridProps__singleClickEdit.ts @@ -0,0 +1,15 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +// #36270 — ADR-0049 enforce-or-remove (the maintainer's ruling A: one editing +// model). A grid that renders editable now selects a cell first and opens its +// editor on double-click, Enter, F2 or typing, so `object-grid`'s +// `singleClickEdit` has no single-click entry left to switch. +// +// Registered under 18 for the reason `ui/ObjectGridProps:resizableColumns` is: +// the removal ships on the 18.x line (launch-window convention: accept-set +// narrowings ride minor releases) and the prescription lives at the major +// boundary where `migrate meta` users look. Tombstoned with `retiredKey()` in +// `ObjectGridPropsSchema` (the surface baseline line carries `[RETIRED]`); +// sources are rewritten by the D2 conversion +// `object-grid-single-click-edit-removed` (a delete, whatever the value). +export const entry = 'ui/ObjectGridProps:singleClickEdit'; diff --git a/packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts b/packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts new file mode 100644 index 00000000000..eee36a1ff99 --- /dev/null +++ b/packages/spec/src/migrations/entries/semantic/18.object-grid-single-click-edit-retired.ts @@ -0,0 +1,32 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +import type { SemanticMigration } from '../../types.js'; + +// #36270 (ADR-0049 enforce-or-remove) — the D3 entry of the +// `object-grid-single-click-edit-removed` family (one D3 entry per retirement +// family, even when D2 is lossless). The conversion deletes the key; what it +// cannot decide is whether a grid that relied on the single-click entry still +// edits the way its users expect. +export const entry: SemanticMigration = { + id: 'object-grid-single-click-edit-retired', + surface: 'page.component.object-grid.singleClickEdit — the switch between opening a cell editor on a ' + + 'single click and on a double click', + replacement: 'None to author. A grid that renders editable (`editable: true` and the viewer allowed to ' + + 'edit) selects a cell on a click and opens its editor on double-click, Enter, F2 or typing; each ' + + 'committed cell is saved on its own.', + reason: 'The D2 conversion `object-grid-single-click-edit-removed` deletes the key, whatever its value, ' + + 'and that is lossless for the parse: no value can be honoured under the select-first model. The ' + + 'judgment sits with the users of the grid. A grid that authored `true`, or left the key to the ' + + 'renderer\'s default of `true`, used to open an editor on the first click and saved every edit ' + + 'together through a "Save All" bar; it now takes a second gesture to open the editor and saves each ' + + 'cell at once. Help text, training material or tests that describe the old gestures must change, ' + + 'and only the author can find them. The same change makes arrow-key navigation always on for an ' + + 'editable grid, so a `keyboardNavigation: false` on one no longer turns it off. Code that builds ' + + 'object-grid props (a host, a generator) must also stop emitting the key, which no conversion ' + + 'reaches.', + acceptanceCriteria: 'No `object-grid` component carries `singleClickEdit`; the parse refuses it. Every ' + + 'editable grid\'s help text and tests describe a click that selects a cell and a double-click, ' + + 'Enter, F2 or typing that opens its editor, with each cell saved on its own and no "Save All". No ' + + 'editable grid relies on `keyboardNavigation: false` to keep its cells separate Tab stops.', + conversionIds: ['object-grid-single-click-edit-removed'], +}; diff --git a/packages/spec/src/migrations/registry.ts.template b/packages/spec/src/migrations/registry.ts.template index 0a9603a8e0d..0866c024d0b 100644 --- a/packages/spec/src/migrations/registry.ts.template +++ b/packages/spec/src/migrations/registry.ts.template @@ -2540,6 +2540,21 @@ const STEP18_RATIONALE: readonly RationaleFragment[] = [ + 'present (it was never read then). Its D3 record is the semantic entry ' + '`object-grid-resizable-columns-retired`.', }, + { + id: 'object-grid-single-click-edit-retired', + order: 123, + text: + 'It also retires `object-grid`\'s `singleClickEdit` (ADR-0049 enforce-or-remove; the ' + + 'maintainer\'s ruling A of objectstack#36270, one editing model). A grid that renders editable ' + + 'now selects a cell first: a click selects it, and double-click, Enter, F2 or typing opens its ' + + 'editor, with each committed cell saved on its own. That model has no single-click entry, so ' + + 'neither value could be honoured: `true` (the renderer\'s default) would open the editor on the ' + + 'selecting click, and `false` named the double-click entry the model already has. A retiredKey ' + + 'tombstone on `ObjectGridPropsSchema` with one D2 conversion that deletes the key, whatever its ' + + 'value. In the same change `keyboardNavigation`\'s describe narrows to what is enforced: on a ' + + 'grid that renders editable the navigation is always on, and `false` is no longer honoured ' + + 'there. Its D3 record is the semantic entry `object-grid-single-click-edit-retired`.', + }, { id: 'object-kanban-quick-add-retired', order: 28, diff --git a/packages/spec/src/ui/component.zod.ts b/packages/spec/src/ui/component.zod.ts index be958fa3c15..663b80e3611 100644 --- a/packages/spec/src/ui/component.zod.ts +++ b/packages/spec/src/ui/component.zod.ts @@ -5006,7 +5006,7 @@ const GridOperationsSchema = lazySchema(() => strictObject({ * `searchableFields`/`showSearch`, `rowHeight`, `grouping`/`aggregations`, * `rowColor`, `conditionalFormatting`, `selection`/`selectable`, * `rowActions`, `batchActions`/`bulkActions`, `bulkActionDefs`, `navigation`, - * `editable`/`singleClickEdit`, `resizable`/`resizableColumns`, + * `editable` (`singleClickEdit` RETIRED #36270, tombstoned below), `resizable`/`resizableColumns`, * `reorderableColumns`, `frozenColumns`, `showColumnTypeIcons`, * `exportOptions`/`operations`, `label`/`title`, `data`/`staticData`. * @@ -5445,7 +5445,28 @@ export const ObjectGridPropsSchema = lazySchema(() => strictObject({ navigation: NavigationConfigSchema.optional() .describe('Row-click navigation config — the same block `ListViewSchema.navigation` declares ({ mode, size, openNewTab, preventNavigation })'), editable: z.boolean().optional().describe('Enable inline cell editing'), - singleClickEdit: z.boolean().optional().describe('Enter cell edit on single click (default true when editable)'), + /** + * REMOVED (#36270, ADR-0049 enforce-or-remove; the maintainer's ruling A, + * one editing model). A grid that renders editable — `editable` set and the + * viewer allowed to edit — now selects a cell first: a click selects it, + * and double-click, Enter, F2 or typing opens its editor. That model has no + * single-click entry, so neither value of this key could be honoured any + * longer: `true` (the renderer's default) would open the editor on the + * selecting click, and `false` named the double-click entry the model + * already has. A grid that renders read-only edits nothing, so the key + * never had an effect there. + * + * The live mechanism is `editable` (with the viewer's write verdict). The + * protocol-18 conversion `object-grid-single-click-edit-removed` deletes the + * key from authored grids. + */ + singleClickEdit: retiredKey( + '`object-grid` property `singleClickEdit` was removed in @objectstack/spec 18.7.0 (ADR-0049) — ' + + 'a grid that renders editable now selects a cell on a click and opens its editor on double-click, ' + + 'Enter, F2 or typing, so a single-click entry no longer exists for this key to switch. ' + + 'Delete the key; `editable` (with the viewer\'s write verdict) decides whether the grid edits. ' + + 'Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand.', + ), /** * [#20694] Declared AHEAD of its reader, deliberately: objectui#11068 chose * to BUILD arrow-key cell navigation for the grid, and this row is the spec @@ -5463,9 +5484,12 @@ export const ObjectGridPropsSchema = lazySchema(() => strictObject({ * objectui `154075ab1`, objectui#11068): the grid hands the data table * `keyboardNavigation: schema.keyboardNavigation ?? inlineEditable`, where * `inlineEditable` is the authored `editable` AND the viewer's write verdict - * — so an absent key follows whether the grid RENDERS editable, `true` turns - * the navigation on for a read-only grid, and `false` turns it off on an - * editable one. The data table (`keyboardNavigation = false` by default) + * — so an absent key follows whether the grid RENDERS editable and `true` + * turns the navigation on for a read-only grid. Since #36270 a grid that + * renders editable selects a cell first, and that model moves its selection + * with these keys, so the data table forces the navigation on there and + * `false` is no longer honoured on an editable grid (ruling A narrowed the + * describe to what is enforced). The data table (`keyboardNavigation = false` by default) * then gives the table `role="grid"` and makes the data cells one roving * Tab stop (`tabIndex` 0 on one cell and -1 on the rest) that the arrow * keys, Home / End and Ctrl+Home / Ctrl+End move (`navigationTarget`; @@ -5473,7 +5497,7 @@ export const ObjectGridPropsSchema = lazySchema(() => strictObject({ * every data cell is its own Tab stop, as before. */ keyboardNavigation: z.boolean().optional() - .describe('Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid\'s data cells become one Tab stop that the arrow keys, Home / End and Ctrl+Home / Ctrl+End move between. Defaults to on when the grid renders editable — `editable` set and the viewer allowed to edit; a grid that renders read-only keeps every cell its own Tab stop unless this is `true`, and `false` turns it off on an editable grid'), + .describe('Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid\'s data cells become one Tab stop that the arrow keys, Home / End and Ctrl+Home / Ctrl+End move between. Always on when the grid renders editable — `editable` set and the viewer allowed to edit — because that grid selects a cell first and moves the selection with these keys; a grid that renders read-only keeps every cell its own Tab stop unless this is `true`'), resizable: z.boolean().optional().describe('Allow column resize (the renderer default is on)'), /** * REMOVED (#21445, ADR-0049 enforce-or-remove; objectui#6152 ruling A, diff --git a/packages/spec/src/ui/object-grid-single-click-edit-retirement.test.ts b/packages/spec/src/ui/object-grid-single-click-edit-retirement.test.ts new file mode 100644 index 00000000000..ccc1a55b16d --- /dev/null +++ b/packages/spec/src/ui/object-grid-single-click-edit-retirement.test.ts @@ -0,0 +1,144 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +/** + * `object-grid`'s `singleClickEdit` RETIRED (#36270) — ADR-0049 + * enforce-or-remove through the ADR-0087 D2 route, on the maintainer's ruling + * A (one editing model): a grid that renders editable selects a cell first, so + * no single-click entry is left for the key to switch. Nothing in this + * repository's examples, nor in the hotcrm and gallery corpora, wrote it. + * + * This file is the TREE-SCOPED half of the retirement — it reads outside the + * package, so it runs in the `repo` project (`vitest.repo-tests.json`). The + * tombstone's refusal and prescription, the conversion and the ADR-0087 + * registration are pinned in `object-grid-single-click-edit.pin.test.ts`. + */ + +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +import { describe, expect, it } from 'vitest'; + +// ─── Tree-scoped absence, inside the radius the package already declares ─── +// +// `tsc` sweeps only TYPED authoring sites, and a page component's `properties` +// is an open bag, so `tsc` does not reach a grid authored through +// `definePage`/`defineStack` at all. This walk covers every text file under the +// five repo roots `scripts/cross-package-test-inputs.mjs` declares for +// `@objectstack/spec#test` (mirrored in `turbo.json`), plus the example apps' +// own `src/` trees. +// +// The matcher judges the AUTHORING SHAPE, never a mention: `singleClickEdit` +// in key position with a boolean value (TS / JS / JSON, and YAML). Prose +// mentions are spelled in inline code in this repo, and inline code is stripped +// before judging. The bound, stated: a value that is not a boolean literal, a +// shorthand property, and `docs/**`, `.claude/**`, `.github/**` and the +// repo-root files are outside what this walk sees. The `data-table` component +// declares a `singleClickEdit` of its own (`@object-ui/types`, under `ui/`, +// outside this radius) and keeps it; a schema or doc inside the radius that +// ever authors that one would trip this walk: narrow the matcher to +// `object-grid` then, never exclude the new file. +describe('tree-scoped absence: nothing inside the declared radius still authors an object-grid singleClickEdit', () => { + const SPEC_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../..'); + const REPO_ROOT = path.resolve(SPEC_ROOT, '../..'); + const THIS_FILE = path.relative(REPO_ROOT, fileURLToPath(import.meta.url)).split(path.sep).join('/'); + + /** The walked roots — declared in `scripts/cross-package-test-inputs.mjs` under `@objectstack/spec`. */ + const WALK_ROOTS = ['packages', 'examples', 'skills', 'content', 'scripts']; + const SCANNED_EXT = new Set(['.ts', '.mts', '.cts', '.js', '.mjs', '.cjs', '.json', '.md', '.mdx', '.yaml', '.yml']); + /** Under `examples/` the non-code extensions, plus `.ts` inside an app's own `src/` tree. */ + const EXAMPLES_EXT = new Set(['.json', '.md', '.mdx', '.yaml', '.yml']); + const EXAMPLE_APP_SRC_TS = /^examples\/[^/]+\/src\/.+\.ts$/; + const SKIPPED_DIRS = new Set(['node_modules', 'dist', '.git', '.turbo', '.cache', '.objectstack', 'coverage', '.next', '.source']); + + const AUTHORING = /(^|[^\w.$])["']?singleClickEdit["']?[ \t]*:[ \t]*(true|false)\b/m; + + /** Inline code spans are prose; newline-bounded, so a fenced example is still judged. */ + const stripInlineCode = (text: string): string => text.replace(/`[^`\n]*`/g, ''); + const judge = (text: string): RegExpExecArray | null => AUTHORING.exec(stripInlineCode(text)); + + /** + * Structural exclusions — the retirement kit, each with its reason. ⛔ NOT an + * allowlist file (`spec-property-retirement` §4): every entry's JOB is to + * spell the retired key. + */ + const EXCLUDED = new Set([ + // This pin authors the key in its anti-vacuity cases. + THIS_FILE, + // The retirement's pin authors the key to assert its refusal and its conversion. + 'packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts', + ]); + const EXCLUDED_PREFIXES = [ + // The D2 conversion's fixture authors the pre-retirement grid on purpose. + 'packages/spec/src/conversions/', + // Release-owned prose records the removal; never edited by a code PR. + 'content/docs/releases/', + // GITIGNORED build output (`packages/spec/json-schema/`), reached only + // because this is a FILESYSTEM walk. Its source is `component.zod.ts`. + 'packages/spec/json-schema/', + ]; + /** tsup's own bundle of `tsup.config.ts`, written and deleted mid-build. */ + const TSUP_BUNDLED_CONFIG = /\.bundled_[^./]+\.mjs$/; + + /** Tolerates ONLY a path that vanished mid-walk; every other read fault is re-raised. */ + const readIfPresent = (full: string): string | undefined => { + try { + return fs.readFileSync(full, 'utf-8'); + } catch (err) { + if ((err as NodeJS.ErrnoException)?.code !== 'ENOENT') throw err; + return undefined; + } + }; + + it('the matcher recognises an authoring and ignores a prose mention and the kit (anti-vacuity)', () => { + // Offenders — the retired shape, in each syntax the walk reads. + expect(judge("{ type: 'object-grid', properties: { objectName: 'task', editable: true, singleClickEdit: true } }")).not.toBeNull(); + expect(judge(" properties: {\n singleClickEdit: false,\n },")).not.toBeNull(); + expect(judge('{ "type": "object-grid", "properties": { "editable": true, "singleClickEdit": false } }')).not.toBeNull(); + expect(judge(' properties:\n singleClickEdit: true\n')).not.toBeNull(); + expect(judge("Prose.\n\n```ts\ndefinePage({ regions: [{ components: [{ properties: { singleClickEdit: true } }] }] });\n```\n")).not.toBeNull(); + // Neighbours that must NOT match. + expect(judge('a grid that said `singleClickEdit: true` now selects a cell first')).toBeNull(); + expect(judge('"ui/ObjectGridProps:singleClickEdit [RETIRED]",')).toBeNull(); + expect(judge('singleClickEdit: retiredKey(PRESCRIPTION),')).toBeNull(); + expect(judge('editable: true,')).toBeNull(); + expect(judge("const flag = schema.singleClickEdit ?? true;")).toBeNull(); + }); + + it('no object-grid singleClickEdit authoring survives inside the declared radius outside the retirement kit', () => { + const offenders: string[] = []; + let visited = 0; + let exampleSources = 0; + const walk = (dir: string) => { + for (const entry of fs.readdirSync(dir, { withFileTypes: true })) { + const full = path.join(dir, entry.name); + const rel = path.relative(REPO_ROOT, full).split(path.sep).join('/'); + if (entry.isDirectory()) { + if (SKIPPED_DIRS.has(entry.name) || entry.name.startsWith('.')) continue; + walk(full); + continue; + } + if (!entry.isFile()) continue; + const ext = path.extname(entry.name); + const scanned = rel.startsWith('examples/') + ? EXAMPLES_EXT.has(ext) || EXAMPLE_APP_SRC_TS.test(rel) + : SCANNED_EXT.has(ext); + if (!scanned) continue; + if (entry.name === 'CHANGELOG.md') continue; // release prose records the removal + if (EXCLUDED.has(rel) || EXCLUDED_PREFIXES.some((p) => rel.startsWith(p))) continue; + if (TSUP_BUNDLED_CONFIG.test(entry.name)) continue; + visited += 1; + if (EXAMPLE_APP_SRC_TS.test(rel)) exampleSources += 1; + const text = readIfPresent(full); + if (text === undefined) continue; + const m = judge(text); + if (m) offenders.push(`${rel} authors \`${m[0].trim().replace(/\s+/g, ' ')}\``); + } + }; + for (const root of WALK_ROOTS) walk(path.join(REPO_ROOT, root)); + // Anti-vacuity: the walk really covered the tree and the example apps' sources. + expect(visited).toBeGreaterThan(1000); + expect(exampleSources).toBeGreaterThan(50); + expect(offenders, 'an object-grid singleClickEdit authoring means the retirement is being undone').toEqual([]); + }); +}); diff --git a/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts b/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts new file mode 100644 index 00000000000..a002d1f76c3 --- /dev/null +++ b/packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts @@ -0,0 +1,123 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +/** + * `object-grid`'s `singleClickEdit` RETIRED (#36270) — ADR-0049 + * enforce-or-remove through the ADR-0087 D2 route, on the maintainer's ruling + * A (one editing model). A grid that renders editable now selects a cell first + * and opens its editor on double-click, Enter, F2 or typing, so the key has no + * single-click entry left to switch. In the same change `keyboardNavigation`'s + * describe narrows to what is enforced. + * + * - §1 THE TOMBSTONE: the key is refused with its prescription at both + * channels (`tsc` and the parse), whatever its value, and `editable` still + * parses. + * - §2 THE NARROWED DESCRIBE: `keyboardNavigation` no longer promises that + * `false` turns the navigation off on an editable grid. + * - §3 THE REGISTRATION: the conversion's delete, and the ADR-0087 entries the + * upgrade path reads. + * + * The tree-scoped absence half is `object-grid-single-click-edit-retirement.test.ts` + * (the `repo` project). + */ + +import { describe, it, expect } from 'vitest'; +import type { z } from 'zod'; + +import { ComponentPropsMap, ObjectGridPropsSchema, type ObjectGridProps } from './component.zod'; +import { collectConversionNotices } from '../conversions/apply'; +import { ALL_CONVERSIONS } from '../conversions/registry'; +import { MIGRATIONS_BY_MAJOR, RETIRED_KEYS_BY_MAJOR } from '../migrations/registry'; + +const GRID = () => ComponentPropsMap['object-grid']; +const BASE = { objectName: 'task' } as const; + +function issues(result: z.ZodSafeParseResult): { code: string; path: string }[] { + if (result.success) return []; + return result.error.issues.map((i) => ({ code: i.code, path: i.path.join('.') })); +} + +const PRESCRIPTION = + /^`object-grid` property `singleClickEdit` was removed in @objectstack\/spec 18\.7\.0 \(ADR-0049\) — a grid that renders editable now selects a cell.*Delete the key; `editable`.*Run `os migrate meta --from 17`/s; + +describe('§1 `singleClickEdit` is retired to a tombstone', () => { + for (const value of [true, false]) { + it(`refuses singleClickEdit: ${value} with the prescription, at the key`, () => { + const r = GRID().safeParse({ ...BASE, editable: true, singleClickEdit: value }); + expect(r.success).toBe(false); + expect(issues(r)).toEqual([{ code: 'invalid_type', path: 'singleClickEdit' }]); + expect(r.success ? '' : r.error.issues[0]!.message).toMatch(PRESCRIPTION); + }); + } + + for (const editable of [true, false]) { + it(`keeps editable: ${editable}, byte-identical (control)`, () => { + const r = GRID().safeParse({ ...BASE, editable }); + expect(issues(r)).toEqual([]); + expect(r.success && r.data).toStrictEqual({ ...BASE, editable }); + }); + } + + it('does not materialize the retired key on a clean parse', () => { + expect(GRID().parse({ ...BASE, editable: true })).not.toHaveProperty('singleClickEdit'); + }); + + it('is refused by tsc as well (the input type is never)', () => { + // @ts-expect-error — `singleClickEdit` is a retiredKey tombstone: its input type is `never`. + const props: ObjectGridProps = { objectName: 'task', editable: true, singleClickEdit: true }; + expect(GRID().safeParse(props).success).toBe(false); + }); +}); + +describe('§2 `keyboardNavigation` describes what is enforced', () => { + const describeOf = () => ObjectGridPropsSchema.shape.keyboardNavigation.description ?? ''; + + it('says the navigation is always on for a grid that renders editable', () => { + expect(describeOf()).toMatch(/Always on when the grid renders editable/); + expect(describeOf()).toMatch(/unless this is `true`/); + }); + + it('no longer promises that `false` turns it off on an editable grid', () => { + expect(describeOf()).not.toMatch(/`false` turns it off/); + }); +}); + +describe('§3 the conversion and the ADR-0087 entries', () => { + const CONVERSION_ID = 'object-grid-single-click-edit-removed'; + const grid = (type: string, properties: Record) => ({ + pages: [{ name: 'desk', regions: [{ name: 'main', components: [{ type, id: 'g', properties }] }] }], + }); + const propsOf = (stack: Record) => + ((stack.pages as Array<{ regions: Array<{ components: Array<{ properties: unknown }> }> }>)[0]! + .regions[0]!.components[0]!.properties); + const convert = (properties: Record, type = 'object-grid') => { + const { stack, notices } = collectConversionNotices(grid(type, properties), { includeRetired: true }); + return { properties: propsOf(stack), notices: notices.filter((n) => n.conversionId === CONVERSION_ID) }; + }; + + for (const value of [true, false]) { + it(`deletes singleClickEdit: ${value} and keeps editable`, () => { + const { properties, notices } = convert({ objectName: 'task', editable: true, singleClickEdit: value }); + expect(properties).toStrictEqual({ objectName: 'task', editable: true }); + expect(notices).toHaveLength(1); + }); + } + + it('leaves a grid without the key, and the same key on another component, untouched', () => { + expect(convert({ objectName: 'task', editable: true })).toStrictEqual({ + properties: { objectName: 'task', editable: true }, + notices: [], + }); + expect(convert({ objectName: 'task', singleClickEdit: true }, 'object-kanban').notices).toEqual([]); + }); + + it('is retired from the load path, and wired into step 18 beside its D3 entry and the retired-key row', () => { + const conversion = ALL_CONVERSIONS.find((c) => c.id === CONVERSION_ID); + expect(conversion?.toMajor).toBe(18); + expect(conversion?.retiredFromLoadPath).toBe(true); + const step = MIGRATIONS_BY_MAJOR[18]!; + expect(step.conversionIds).toContain(CONVERSION_ID); + expect(step.semantic.map((s) => s.id)).toContain('object-grid-single-click-edit-retired'); + expect(step.rationale).toMatch(/retires `object-grid`'s `singleClickEdit`/); + expect(RETIRED_KEYS_BY_MAJOR[18]).toContain('ui/ObjectGridProps:singleClickEdit'); + }); +}); diff --git a/packages/spec/vitest.repo-tests.json b/packages/spec/vitest.repo-tests.json index 2c722dfc6e3..e815b550888 100644 --- a/packages/spec/vitest.repo-tests.json +++ b/packages/spec/vitest.repo-tests.json @@ -82,6 +82,7 @@ "src/ui/master-detail-detail-sort-field-retirement.test.ts", "src/ui/navigation-mode-retirement.test.ts", "src/ui/object-grid-resizable-columns-retirement.test.ts", + "src/ui/object-grid-single-click-edit-retirement.test.ts", "src/ui/page-header-breadcrumb-retirement.test.ts", "src/ui/page-header-show-star-retirement.test.ts", "src/ui/page-slots-tabs-retirement.test.ts", diff --git a/ui/packages/plugin-grid/README.md b/ui/packages/plugin-grid/README.md index 990d99f7523..d02dd10e7e1 100644 --- a/ui/packages/plugin-grid/README.md +++ b/ui/packages/plugin-grid/README.md @@ -217,8 +217,8 @@ const grid: ObjectGridBlockNode = { | `data` | `ViewData` | Bypasses the object query — see [Inline data](#inline-data). | | `selection` | `SelectionConfig` | `{ type: 'none' \| 'single' \| 'multiple' }`. | | `rowActions` / `bulkActions` | `string[]` | **Names** of actions, not definitions. | -| `editable` / `singleClickEdit` | `boolean` | Inline editing — see [Inline Editing](#inline-editing). | -| `keyboardNavigation` | `boolean` | Arrow keys move focus between cells, and the cells are one Tab stop — see [Keyboard navigation](#keyboard-navigation). On by default when the grid renders editable. | +| `editable` | `boolean` | Inline editing — see [Inline Editing](#inline-editing). `singleClickEdit` is retired (objectstack#36270). | +| `keyboardNavigation` | `boolean` | Arrow keys move focus between cells, and the cells are one Tab stop — see [Keyboard navigation](#keyboard-navigation). Always on when the grid renders editable. | | `navigation` | `NavigationConfig` | What a row click does, `{ mode: 'drawer' \| 'page' \| 'new_window' \| 'none', … }`; a block written without `mode` opens the drawer. | | `operations` | `object` | Toggles the built-in CRUD/export/import affordances, e.g. `{ delete: false }`. | | `rowHeight`, `frozenColumns`, `resizable`, `reorderableColumns`, `showColumnTypeIcons`, `rowColor`, `conditionalFormatting`, `aggregations`, `exportOptions` | | The rest of the declared surface. (`className` is a base prop: it stays on the node, beside the bag.) | @@ -976,20 +976,23 @@ const schema: ObjectGridBlockNode = { { field: 'status', label: 'Status', type: 'select' }, ], editable: true, - singleClickEdit: false, } satisfies ObjectGridProps, }; ``` `editable` is the only switch: it is a grid-level flag, and edits persist through -the host's data source (`dataSource.update`) with no callback to wire. +the host's data source (`dataSource.update`) with no callback to wire. A grid that +renders editable (`editable` set and the viewer allowed to edit the object) selects +a cell first, and each committed cell is saved on its own, with no "Save All" +(objectstack#36270). A grid that renders read-only keeps its click-to-open row. +`singleClickEdit` is retired: `@objectstack/spec` refuses it, and `os migrate meta` +deletes it from existing sources. **Inline Editing Features:** -- **Double-click to edit**: double-click any editable cell to enter edit mode - (`singleClickEdit: true` opens it on the first click instead) +- **Select, then edit**: a click selects a cell; double-click, `Enter`, `F2` or + typing opens its editor - **Keyboard shortcuts**: - - Press `Enter` on a focused cell to start editing - - Press `Enter` while editing to save changes + - Press `Enter` while editing to save the cell - Press `Escape` to cancel editing - **Per-field read-only**: which cells open is decided by the **field definition**, not by a column key — a field marked `readonly`, and computed/binary field types @@ -1031,28 +1034,31 @@ WAI-ARIA grid pattern (objectui#11068): - **Editing.** On an editable grid, Enter still opens the focused cell, and an open cell's editor keeps every key. An edit ended with Enter or Escape hands focus back to its cell, so the arrows carry on from there. -- **Default.** On when the grid renders editable — the authored `editable` *and* - the viewer's permission to update the object, the same value inline editing - obeys. A read-only grid keeps every cell its own Tab stop unless you write - `true`, and `false` turns it off on an editable grid. +- **Default.** Always on when the grid renders editable — the authored + `editable` *and* the viewer's permission to update the object, the same value + inline editing obeys — because that grid selects a cell first and moves the + selection with these keys; `false` does not turn it off there + (objectstack#36270). A read-only grid keeps every cell its own Tab stop unless + you write `true`. - While it is on, the table is exposed to assistive technology as a `grid`. A grouped grid navigates within each group's table; the mobile card layout has no cells and is unaffected. ### Batch Editing & Multi-Row Save -Edit multiple cells across multiple rows and save them individually or all at once: +Edit multiple cells across multiple rows and save them individually or all at once. +This is the staged model, which no metadata selects: since objectstack#36270 every +grid that renders editable saves each cell as it is committed. A React host that +draws `ObjectGrid` itself opts back into it with `cellSelection={false}`; then a +click opens a cell's editor, and the save/cancel affordances appear on their own +once a row has pending changes: -The schema half is just `editable` — the save/cancel affordances appear on their -own once a row has pending changes: - -```typescript -import type { ObjectGridBlockNode } from '@object-ui/types'; -import type { ObjectGridProps } from '@objectstack/spec/ui'; - -const schema: ObjectGridBlockNode = { - type: 'object-grid', - properties: { +```tsx + ``` Left alone, saving goes through the host's data source. A React host that needs to diff --git a/ui/packages/plugin-grid/src/ObjectGrid.tsx b/ui/packages/plugin-grid/src/ObjectGrid.tsx index 1b6644db463..e9243f163ae 100644 --- a/ui/packages/plugin-grid/src/ObjectGrid.tsx +++ b/ui/packages/plugin-grid/src/ObjectGrid.tsx @@ -389,8 +389,10 @@ export interface ObjectGridComponentProps extends ObjectGridExternalPaginationPr * cell and never edits it or opens the record; double-click, Enter, F2 or * typing edits (Space included); each committed cell saves at once and * updates its own row (objectstack#35685); a cell that opens no editor says - * why (`describeCell`, `./objectGridCellFacts`). Absent ⇒ the table keeps - * its click-to-edit / click-to-open behaviour, as before this prop existed. + * why (`describeCell`, `./objectGridCellFacts`). `false` ⇒ the table keeps + * its staged click-to-edit / click-to-open behaviour. Absent ⇒ the model + * follows whether the grid renders editable (objectstack#36270): an editable + * grid is select-first, a read-only one keeps click-to-open. * * A RUNTIME prop, never authored metadata: the host decides it, and no node * key reaches it. @@ -849,7 +851,7 @@ export const ObjectGrid: React.FC = ({ rowAdornment, recordLinkAdornment, rowOpensRecord, - cellSelection: hostCellSelection, + cellSelection: cellSelectionProp, headerMenu: hostHeaderMenu, openReferencedRecord, onBulkDelete, @@ -1200,6 +1202,16 @@ export const ObjectGrid: React.FC = ({ // upstream" is exactly the reasoning that left this door open to begin with. const inlineEditable = (schema.editable ?? false) && objectInlineEditable; + // objectstack#36270 — the select-first cell model is how a grid that renders + // editable edits, wherever it is drawn: a click selects a cell, double-click, + // Enter or typing opens its editor, and each committed cell saves on its own, + // with no pending-changes bar and no "Save All" (the model `ListView` and the + // related tab ask for by name, objectstack#35684). A grid that renders + // read-only keeps click-to-open. A host's own `cellSelection` wins either + // way: `true` asks for the model on a read-only grid too (`ListView`), and + // `false` keeps the staged click-to-edit on an editable one. + const hostCellSelection = cellSelectionProp ?? inlineEditable; + // When the consumer wired onEdit/onDelete callbacks but the view schema // omits an explicit `operations` block, default to allowing those actions. // This gives every main list a Row actions kebab out of the box without @@ -3690,7 +3702,11 @@ export const ObjectGrid: React.FC = ({ ); } : undefined, - singleClickEdit: schema.singleClickEdit ?? true, + // objectstack#36270 — the authored `singleClickEdit` is retired: a grid + // that renders editable is select-first, where a click selects. A host + // that keeps the staged model (`cellSelection={false}`) edits on a single + // click, the retired key's default. + singleClickEdit: true, // objectui#11068 — arrow-key cell navigation on the WAI-ARIA grid pattern: // the data cells become ONE roving Tab stop that the arrows move (the // behaviour is `data-table`'s, documented on `DataTableSchema`). The diff --git a/ui/packages/plugin-grid/src/__tests__/ObjectGrid.autosave-35685.test.tsx b/ui/packages/plugin-grid/src/__tests__/ObjectGrid.autosave-35685.test.tsx index ceff6fbdaa8..c87b656353f 100644 --- a/ui/packages/plugin-grid/src/__tests__/ObjectGrid.autosave-35685.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/ObjectGrid.autosave-35685.test.tsx @@ -120,7 +120,6 @@ function renderGrid(dataSource: any, cellSelection: boolean) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'name', label: 'Name' }, { field: 'amount', label: 'Amount', type: 'number' }, @@ -129,7 +128,7 @@ function renderGrid(dataSource: any, cellSelection: boolean) { }; return render( - + , ); } diff --git a/ui/packages/plugin-grid/src/__tests__/ObjectGrid.cellSelection-35684.test.tsx b/ui/packages/plugin-grid/src/__tests__/ObjectGrid.cellSelection-35684.test.tsx index 25e93292b31..d0980b8baa7 100644 --- a/ui/packages/plugin-grid/src/__tests__/ObjectGrid.cellSelection-35684.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/ObjectGrid.cellSelection-35684.test.tsx @@ -133,7 +133,7 @@ async function renderGrid(extra: Record = {}, cellSelection = t ...extra, }} objectFields={FIELDS} - cellSelection={cellSelection || undefined} + cellSelection={cellSelection} />, ); await screen.findByText('Gamma', {}, { timeout: 5000 }); @@ -158,7 +158,7 @@ describe('ObjectGrid cellSelection — the relay (objectstack#35684)', () => { await waitFor(() => expect(g.container.querySelector('td[data-editing-cell]')).not.toBeNull()); }); - it('control: without it the grid keeps its click-to-edit', async () => { + it('without it an editable grid selects a cell first too (objectstack#36270)', async () => { const { container } = render( { await screen.findByText('Gamma', {}, { timeout: 5000 }); const first = container.querySelector('tbody tr td[data-grid-cell]')!; fireEvent.click(first); + expect(first).toHaveAttribute('data-selected-cell'); + expect(container.querySelector('td[data-editing-cell]')).toBeNull(); + }); + + it('control: `cellSelection: false` keeps the staged click-to-edit', async () => { + const { container } = render( + , + ); + await screen.findByText('Gamma', {}, { timeout: 5000 }); + const first = container.querySelector('tbody tr td[data-grid-cell]')!; + fireEvent.click(first); await waitFor(() => expect(container.querySelector('td[data-editing-cell]')).not.toBeNull()); expect(first).not.toHaveAttribute('data-selected-cell'); }); diff --git a/ui/packages/plugin-grid/src/__tests__/ObjectGrid.keyboardNavigation-11068.test.tsx b/ui/packages/plugin-grid/src/__tests__/ObjectGrid.keyboardNavigation-11068.test.tsx index 76db0224ba8..d41112c8ab8 100644 --- a/ui/packages/plugin-grid/src/__tests__/ObjectGrid.keyboardNavigation-11068.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/ObjectGrid.keyboardNavigation-11068.test.tsx @@ -17,8 +17,10 @@ * * 1. a read-only grid keeps today's Tab behaviour (every cell its own stop) * unless `keyboardNavigation: true` is authored; - * 2. an editable grid has it ON by default — one Tab stop, arrows move it — - * and `keyboardNavigation: false` turns it off; + * 2. an editable grid has it ON — since objectstack#36270 it selects a cell + * first (the list page's model), the arrows move that selection, and + * `keyboardNavigation: false` no longer turns it off there (the spec's + * describe narrowed to what is enforced, ruling A); * 3. the `editable` the default follows is the one the grid RENDERS: an * `editable: true` grid shown to a viewer with no update grant is * read-only, so it keeps its Tab behaviour too; @@ -120,6 +122,28 @@ function reading(container: HTMLElement) { const OFF = { cells: ROWS.length * DATA_COLUMNS, tabStops: ROWS.length * DATA_COLUMNS, role: null, arrowTaken: false, focusAfterArrowDown: 'stayed' }; const ON = { cells: ROWS.length * DATA_COLUMNS, tabStops: 1, role: 'grid', arrowTaken: true, focusAfterArrowDown: 'next row' }; +/** + * objectstack#36270 — the reading of a grid that renders editable, which + * selects a cell first: a click selects, the selection (not DOM focus) is what + * the arrows move, and the one Tab stop is the grid's own key catcher, so no + * data cell is a Tab stop. + */ +function selectFirstReading(container: HTMLElement) { + const cells = dataCells(container); + fireEvent.click(cellAt(container, 0, 0)); + const catcher = container.querySelector('[data-slot="cell-type-catcher"]'); + const arrowTaken = catcher ? !fireEvent.keyDown(catcher, { key: 'ArrowDown' }) : false; + return { + cells: cells.length, + cellTabStops: cells.filter((td) => td.tabIndex === 0).length, + role: container.querySelector('table')?.getAttribute('role') ?? null, + arrowTaken, + selectionAfterArrowDown: cellAt(container, 1, 0).hasAttribute('data-selected-cell') ? 'next row' : 'stayed', + }; +} + +const SELECT_FIRST = { cells: ROWS.length * DATA_COLUMNS, cellTabStops: 0, role: 'grid', arrowTaken: true, selectionAfterArrowDown: 'next row' }; + /* ── 1. Read-only ────────────────────────────────────────────────────────── */ describe('a read-only `object-grid` keeps its Tab behaviour unless `keyboardNavigation: true` (objectui#11068)', () => { @@ -136,30 +160,41 @@ describe('a read-only `object-grid` keeps its Tab behaviour unless `keyboardNavi /* ── 2. Editable ─────────────────────────────────────────────────────────── */ -describe('an editable `object-grid` has it on by default; `false` turns it off (objectui#11068)', () => { - it('`editable: true`, no key: one roving Tab stop, and ArrowDown moves it', async () => { +describe('an editable `object-grid` always has it on: it selects a cell first (objectui#11068, objectstack#36270)', () => { + it('`editable: true`, no key: the grid pattern, and ArrowDown moves the selection', async () => { const { container } = await renderGrid({ editable: true }); - expect(reading(container)).toEqual(ON); + expect(selectFirstReading(container)).toEqual(SELECT_FIRST); }); - it('`editable: true` with `keyboardNavigation: false`: every cell its own stop again', async () => { + it('`editable: true` with `keyboardNavigation: false`: still on — `false` is no longer honoured on an editable grid', async () => { const { container } = await renderGrid({ editable: true, keyboardNavigation: false }); - expect(reading(container)).toEqual(OFF); + expect(selectFirstReading(container)).toEqual(SELECT_FIRST); }); - it('Enter still opens the focused cell, and Enter hands focus back to it', async () => { + it('Enter opens the selected cell, and Enter commits and keeps it selected', async () => { const { container } = await renderGrid({ editable: true }); const cell = cellAt(container, 1, 0); - cell.focus(); - fireEvent.keyDown(cell, { key: 'Enter' }); + fireEvent.click(cell); + const catcher = container.querySelector('[data-slot="cell-type-catcher"]')!; + fireEvent.keyDown(catcher, { key: 'Enter' }); const input = await waitFor(() => { - const el = cell.querySelector('input'); + const el = container.querySelector('td[data-editing-cell] input'); expect(el).not.toBeNull(); return el as HTMLInputElement; }); fireEvent.keyDown(input, { key: 'Enter' }); - await waitFor(() => expect(cell.querySelector('input')).toBeNull()); - await waitFor(() => expect(document.activeElement).toBe(cell)); + await waitFor(() => expect(container.querySelector('td[data-editing-cell]')).toBeNull()); + expect(cellAt(container, 1, 0)).toHaveAttribute('data-selected-cell'); + }); + + it('CONTROL: a host that keeps the staged model (`cellSelection: false`) keeps the roving cell focus, and `false` turns it off', async () => { + const on = render(); + await screen.findByText('Gamma', {}, { timeout: 5000 }); + expect(reading(on.container)).toEqual(ON); + cleanup(); + const off = render(); + await screen.findByText('Gamma', {}, { timeout: 5000 }); + expect(reading(off.container)).toEqual(OFF); }); }); @@ -198,14 +233,20 @@ describe('the authored `{ type, properties }` document reaches the same reads (o ); - it('`properties.editable: true` turns it on, and `properties.keyboardNavigation: false` turns it off', async () => { + it('`properties.editable: true` turns it on (select-first), and `properties.keyboardNavigation: false` does not turn it off', async () => { const on = render(page({ editable: true })); await screen.findByText('Gamma', {}, { timeout: 5000 }); - expect(reading(on.container)).toEqual(ON); + expect(selectFirstReading(on.container)).toEqual(SELECT_FIRST); cleanup(); const off = render(page({ editable: true, keyboardNavigation: false })); await screen.findByText('Gamma', {}, { timeout: 5000 }); - expect(reading(off.container)).toEqual(OFF); + expect(selectFirstReading(off.container)).toEqual(SELECT_FIRST); + }); + + it('LIT CONTROL: `properties.keyboardNavigation: true` on a read-only node turns it on', async () => { + render(page({ keyboardNavigation: true })); + await screen.findByText('Gamma', {}, { timeout: 5000 }); + expect(reading(document.body)).toEqual(ON); }); }); diff --git a/ui/packages/plugin-grid/src/__tests__/columnTypeEmitSeam.test.tsx b/ui/packages/plugin-grid/src/__tests__/columnTypeEmitSeam.test.tsx index e365bc0f5e3..0a0e854c42f 100644 --- a/ui/packages/plugin-grid/src/__tests__/columnTypeEmitSeam.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/columnTypeEmitSeam.test.tsx @@ -54,6 +54,7 @@ function renderTyped(type: string) { return render( diff --git a/ui/packages/plugin-grid/src/__tests__/gridDependentValues-7165.test.tsx b/ui/packages/plugin-grid/src/__tests__/gridDependentValues-7165.test.tsx index a636dd9012b..f64ddc442ea 100644 --- a/ui/packages/plugin-grid/src/__tests__/gridDependentValues-7165.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/gridDependentValues-7165.test.tsx @@ -154,7 +154,6 @@ function renderGrid(ds: any, rows: any[]) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, data: rows, pagination: { pageSize: 50 }, columns: COLUMNS, @@ -162,7 +161,7 @@ function renderGrid(ds: any, rows: any[]) { return render( - + , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inCellSelectMultipleRouting-35688.test.tsx b/ui/packages/plugin-grid/src/__tests__/inCellSelectMultipleRouting-35688.test.tsx index f16e333ee72..843fd07a00d 100644 --- a/ui/packages/plugin-grid/src/__tests__/inCellSelectMultipleRouting-35688.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inCellSelectMultipleRouting-35688.test.tsx @@ -113,7 +113,6 @@ function renderGrid(cellSelection = false) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', type: 'text' }, { field: 'priority', label: 'Priority', type: 'select' }, @@ -128,7 +127,7 @@ function renderGrid(cellSelection = false) {
- +
, diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditConcurrency-12292.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditConcurrency-12292.test.tsx index 5a7eaf46774..023f3fe5f99 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditConcurrency-12292.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditConcurrency-12292.test.tsx @@ -157,7 +157,6 @@ function renderGrid(server: ReturnType) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate', type: 'number' }, @@ -168,7 +167,7 @@ function renderGrid(server: ReturnType) { {/* Row Edit/Delete handlers: the per-row save button exists. */} - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} /> , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditConflictFields-33557.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditConflictFields-33557.test.tsx index ffe41cc79f0..69c452ebe06 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditConflictFields-33557.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditConflictFields-33557.test.tsx @@ -133,7 +133,6 @@ function renderGrid(server: ReturnType) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate', type: 'number' }, @@ -144,7 +143,7 @@ function renderGrid(server: ReturnType) { return render( - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} /> , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditDatePicker-12664.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditDatePicker-12664.test.tsx index d63935b7ad9..17f852c8c5b 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditDatePicker-12664.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditDatePicker-12664.test.tsx @@ -105,7 +105,6 @@ function renderGrid(ds: any, language?: string) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: COLUMNS, pagination: { pageSize: 50 }, }; @@ -114,7 +113,7 @@ function renderGrid(ds: any, language?: string) {
- +
diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditDuringSave-12322.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditDuringSave-12322.test.tsx index 4bdaa03e193..cba196282f6 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditDuringSave-12322.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditDuringSave-12322.test.tsx @@ -132,7 +132,6 @@ function renderGrid(server: ReturnType) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate', type: 'number' }, @@ -142,7 +141,7 @@ function renderGrid(server: ReturnType) { {/* Row Edit/Delete handlers: the per-row save button exists. */} - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} /> , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditExitMode.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditExitMode.test.tsx index f0aa76e93b0..bb95ca14b49 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditExitMode.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditExitMode.test.tsx @@ -103,7 +103,6 @@ function renderGrid(ds: any, columns: any[]) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns, pagination: { pageSize: 50 }, }; @@ -112,7 +111,7 @@ function renderGrid(ds: any, columns: any[]) {
- +
, diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditFieldWriteGrant-12103.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditFieldWriteGrant-12103.test.tsx index 8f83225801e..1f2e4d52755 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditFieldWriteGrant-12103.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditFieldWriteGrant-12103.test.tsx @@ -111,7 +111,6 @@ function renderGrid(perms: MePermissionsResponse | null) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'name', label: 'Name', type: 'text' }, { field: 'annual_revenue', label: 'Annual revenue', type: 'text' }, @@ -122,7 +121,7 @@ function renderGrid(perms: MePermissionsResponse | null) { const grid = ( - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} /> ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditLookupRepro.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditLookupRepro.test.tsx index 7aff40c3b9e..9162984cfda 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditLookupRepro.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditLookupRepro.test.tsx @@ -95,7 +95,6 @@ function renderGrid(dataSource: any) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'name', label: '作业对象', editable: false }, { field: 'manager', label: '管理责任人', type: 'lookup' }, @@ -105,7 +104,7 @@ function renderGrid(dataSource: any) { return render( - + , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditNoopAndHeader-11816.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditNoopAndHeader-11816.test.tsx index 2abedb8ea74..fd4f4f41433 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditNoopAndHeader-11816.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditNoopAndHeader-11816.test.tsx @@ -96,7 +96,6 @@ function renderGrid() { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', type: 'text' }, { field: 'priority', label: 'Priority', type: 'select' }, @@ -109,7 +108,7 @@ function renderGrid() {
{/* Row Edit/Delete handlers: the grid's own row-menu column exists. */} - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} />
, diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditPendingKeyedByRecord-12310.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditPendingKeyedByRecord-12310.test.tsx index 943bad4bfc6..bfb7823a5ef 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditPendingKeyedByRecord-12310.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditPendingKeyedByRecord-12310.test.tsx @@ -156,7 +156,6 @@ function renderGrid(server: ReturnType, pageSize = 50) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate', type: 'number' }, @@ -167,7 +166,7 @@ function renderGrid(server: ReturnType, pageSize = 50) { {/* Row Edit/Delete handlers: the per-row save button exists. */} - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} /> , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditPermissionGate.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditPermissionGate.test.tsx index 9666b96e441..7833ca1480b 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditPermissionGate.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditPermissionGate.test.tsx @@ -153,7 +153,6 @@ function renderGrid(c: Case) { ...(c.noObjectName || c.objectViaDataConfig ? {} : { objectName: OBJECT }), ...(c.objectViaDataConfig ? { data: { provider: 'object', object: OBJECT } } : {}), ...(c.editable != null ? { editable: c.editable } : {}), - singleClickEdit: true, columns: [{ field: 'name', label: 'Name', type: 'text' }], pagination: { pageSize: 50 }, ...(c.noObjectName ? { data: { provider: 'value', items: INLINE_ROWS } } : {}), @@ -161,7 +160,7 @@ function renderGrid(c: Case) { return render( - {}} onDelete={() => {}} /> + {}} onDelete={() => {}} /> , ); diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditPersistence.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditPersistence.test.tsx index 9d20be1fece..9158202b4aa 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditPersistence.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditPersistence.test.tsx @@ -77,7 +77,6 @@ function renderGrid(dataSource: any) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'name', label: '工序', editable: false }, { field: 'actual_start', label: '实际开始时间', type: 'date' }, @@ -86,7 +85,7 @@ function renderGrid(dataSource: any) { }; return render( - + , ); } diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditRecordVerdict-27365.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditRecordVerdict-27365.test.tsx index ac6d0334e4d..500d43effb0 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditRecordVerdict-27365.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditRecordVerdict-27365.test.tsx @@ -131,7 +131,6 @@ function renderGrid(c: Case = {}) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [{ field: 'name', label: 'Name', type: 'text' }], data: { provider: 'value', items: [OWN_ROW, OTHER_ROW] }, pageSize: 50, @@ -140,6 +139,7 @@ function renderGrid(c: Case = {}) { {}, onDelete: () => {} } : {})} diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditRuleCheck-27520.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditRuleCheck-27520.test.tsx index 4425e30ca20..1d9db4f751f 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditRuleCheck-27520.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditRuleCheck-27520.test.tsx @@ -88,7 +88,6 @@ async function loaded(dataSource: ReturnType) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate (h)', type: 'number' }, @@ -98,6 +97,7 @@ async function loaded(dataSource: ReturnType) { render( {}} diff --git a/ui/packages/plugin-grid/src/__tests__/inlineEditSaveFeedback-12303.test.tsx b/ui/packages/plugin-grid/src/__tests__/inlineEditSaveFeedback-12303.test.tsx index 32eae370b7b..1f2ccc2ee70 100644 --- a/ui/packages/plugin-grid/src/__tests__/inlineEditSaveFeedback-12303.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/inlineEditSaveFeedback-12303.test.tsx @@ -98,7 +98,6 @@ async function loaded(dataSource: ReturnType) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate', type: 'number' }, @@ -109,6 +108,7 @@ async function loaded(dataSource: ReturnType) { {/* Row Edit/Delete handlers: the per-row save button exists. */} ) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, columns: [ { field: 'title', label: 'Title', editable: false }, { field: 'estimate_hours', label: 'Estimate', type: 'number' }, @@ -121,6 +120,7 @@ async function loaded(dataSource: ReturnType) { {/* Row Edit/Delete handlers: the per-row save button exists. */} - + , ); diff --git a/ui/packages/plugin-grid/src/__tests__/maskedColumnSurfaces-10583.test.tsx b/ui/packages/plugin-grid/src/__tests__/maskedColumnSurfaces-10583.test.tsx index 9c53a6572ed..aa06fb1594a 100644 --- a/ui/packages/plugin-grid/src/__tests__/maskedColumnSurfaces-10583.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/maskedColumnSurfaces-10583.test.tsx @@ -93,7 +93,7 @@ function makeDataSource(rows: Record[], fields: Record, ds?: any) { - const grid = ; + const grid = ; return render( {ds ? {grid} : grid} @@ -131,14 +131,14 @@ describe('ObjectGrid — a masked column opens no inline editor (objectui#10583) name: 'over an object `text` field', render: () => renderGrid( - { objectName: 'masked_edit_probe', columns: COLUMNS, editable: true, singleClickEdit: true }, + { objectName: 'masked_edit_probe', columns: COLUMNS, editable: true }, makeDataSource(ROWS, { id: { type: 'text' }, name: { type: 'text', label: 'Name' }, pin: { type: 'text', label: 'PIN' } }), ), }, { name: 'over no field def (inline rows)', render: () => - renderGrid({ data: { provider: 'value', items: ROWS }, columns: COLUMNS, editable: true, singleClickEdit: true }), + renderGrid({ data: { provider: 'value', items: ROWS }, columns: COLUMNS, editable: true }), }, ]; diff --git a/ui/packages/plugin-grid/src/__tests__/relationalMetaCopySet-7166.test.tsx b/ui/packages/plugin-grid/src/__tests__/relationalMetaCopySet-7166.test.tsx index 3b7f9ce43ad..21c894aead4 100644 --- a/ui/packages/plugin-grid/src/__tests__/relationalMetaCopySet-7166.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/relationalMetaCopySet-7166.test.tsx @@ -138,7 +138,6 @@ function renderGrid(ds: any, rows: any[], columns: any[]) { type: 'object-grid', objectName: OBJECT, editable: true, - singleClickEdit: true, data: rows, pagination: { pageSize: 50 }, columns, @@ -146,7 +145,7 @@ function renderGrid(ds: any, rows: any[], columns: any[]) { return render( - + , ); diff --git a/ui/packages/plugin-grid/src/__tests__/rowContextMenu-28434.test.tsx b/ui/packages/plugin-grid/src/__tests__/rowContextMenu-28434.test.tsx index 4db3c0b9ab0..7202d686504 100644 --- a/ui/packages/plugin-grid/src/__tests__/rowContextMenu-28434.test.tsx +++ b/ui/packages/plugin-grid/src/__tests__/rowContextMenu-28434.test.tsx @@ -322,10 +322,13 @@ describe('objectstack#28434 · the browser keeps its own menu where it is the us renderGrid({ schema: { editable: true } }); await settle(); const cell = plainCellOf('Acme'); + // objectstack#36270 — an editable grid selects a cell first: a click + // selects it, and a double-click opens its editor. await userEvent.dblClick(cell); - await userEvent.click(cell); const input = await waitFor(() => { - const el = cell.querySelector('input, textarea'); + const el = cell.hasAttribute('data-editing-cell') + ? cell.querySelector('input:not([data-slot="cell-type-catcher"]), textarea') + : null; expect(el).not.toBeNull(); return el as HTMLElement; }); diff --git a/ui/packages/plugin-grid/src/index.tsx b/ui/packages/plugin-grid/src/index.tsx index f2490e9acf7..c153a781948 100644 --- a/ui/packages/plugin-grid/src/index.tsx +++ b/ui/packages/plugin-grid/src/index.tsx @@ -187,20 +187,7 @@ export const ObjectGridRenderer: React.FC<{ schema: any; [key: string]: any }> = requiresDataSource={gridNeedsDataSource(schema, (rest as { data?: unknown }).data)} noDataSourceMessage={noDataSourceMessage('object-grid', schema?.objectName)} > - {(bound) => ( - - )} + {(bound) => } ); }); @@ -368,13 +355,14 @@ const GRID_QUERY_INPUTS: ComponentInput[] = [ { name: 'batchActions', type: 'array', description: 'Legacy alias of `bulkActions`, and the one the renderer reads FIRST when both are set. Prefer `bulkActions` in new schemas.' }, { name: 'bulkActionDefs', type: 'array', description: 'Full inline bulk-action definitions, for actions that are not named entries in the object’s action set. Use `bulkActions` when the action already exists.' }, // ── behaviour ───────────────────────────────────────────────────────────── - { name: 'editable', type: 'boolean', description: 'Enable inline cell editing (double-click or Enter opens a cell).' }, - { name: 'singleClickEdit', type: 'boolean', description: 'With `editable`, a single click opens the cell instead of a double-click. Has no effect on a non-editable grid.' }, + // `singleClickEdit` is retired (objectstack#36270): a grid that renders + // editable selects a cell first, so no single-click entry is left to switch. + { name: 'editable', type: 'boolean', description: 'Enable inline cell editing where the viewer may edit. A click selects a cell; double-click, Enter, F2 or typing opens its editor, Esc cancels, and each committed cell is saved on its own. A grid that renders read-only keeps click-to-open.' }, // `keyboardNavigation` (objectui#11068's build; the row declares it since // 17.6.0). The behaviour is `data-table`'s and is pinned there // (`data-table-keyboard-navigation-11068.test.tsx`); the default and the // relay are `ObjectGrid`'s (`ObjectGrid.keyboardNavigation-11068.test.tsx`). - { name: 'keyboardNavigation', type: 'boolean', description: 'Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid\'s data cells take one place in the Tab order instead of one each (a link or button inside a cell keeps its own), and the arrow keys move focus between them (Home / End to the ends of the row, Ctrl+Home / Ctrl+End to the ends of the page). Enter still opens an editable cell, and an edit ended with Enter or Escape returns focus to its cell. Defaults to on when the grid renders editable; a read-only grid keeps every cell its own Tab stop unless this is `true`, and `false` turns it off on an editable grid.' }, + { name: 'keyboardNavigation', type: 'boolean', description: 'Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid\'s data cells take one place in the Tab order instead of one each (a link or button inside a cell keeps its own), and the arrow keys move focus between them (Home / End to the ends of the row, Ctrl+Home / Ctrl+End to the ends of the page). Enter still opens an editable cell, and an edit ended with Enter or Escape returns focus to its cell. Always on when the grid renders editable, because that grid selects a cell first and moves the selection with these keys; a read-only grid keeps every cell its own Tab stop unless this is `true`.' }, { name: 'navigation', type: 'object', description: 'What a row click does, `{ mode: "drawer" | "page" | "new_window" | "none", … }`; a block written without `mode` opens the drawer.' }, { name: 'operations', type: 'object', description: 'Toggles for the built-in affordances, `{ create, update, delete, export }`, e.g. `{ delete: false }`. A declared block replaces the default, so an `update` / `delete` it does not name is withheld.' }, { name: 'exportOptions', type: 'object', description: 'Export config, `{ formats, maxRecords, includeHeaders, fileNamePrefix, streaming }`. `streaming` (default true) picks server-side streaming vs browser-side assembly for the export — a behaviour fork, not decoration; set it to `false` to force browser-side assembly. Needs `operations.export` to be reachable from the toolbar.' }, diff --git a/ui/packages/plugin-view/README.md b/ui/packages/plugin-view/README.md index 221937dab05..87180bf6fc3 100644 --- a/ui/packages/plugin-view/README.md +++ b/ui/packages/plugin-view/README.md @@ -209,7 +209,7 @@ object through: | Sub-config | Keys `ObjectView` forwards | | --- | --- | -| `table` | read by name: `columns`, `fields`, `title`, `filter`, `sort`, `pagination`, `pageSize`, `selection`, `selectable`, `operations`, `className`; handed to the grid as written: `editable`, `singleClickEdit`, `frozenColumns`, `rowHeight`, `resizable`, `reorderableColumns`, `searchableFields`, `showSearch`, `showPagination`, `showColumnTypeIcons`, `conditionalFormatting`, `rowActions`, `bulkActions`, `bulkActionDefs`, `exportOptions`, `grouping`, `aggregations`, `rowColor`, `label` | +| `table` | read by name: `columns`, `fields`, `title`, `filter`, `sort`, `pagination`, `pageSize`, `selection`, `selectable`, `operations`, `className`; handed to the grid as written: `editable`, `frozenColumns`, `rowHeight`, `resizable`, `reorderableColumns`, `searchableFields`, `showSearch`, `showPagination`, `showColumnTypeIcons`, `conditionalFormatting`, `rowActions`, `bulkActions`, `bulkActionDefs`, `exportOptions`, `grouping`, `aggregations`, `rowColor`, `label` | | `form` | `fields`, `customFields`, `sections`, `groups`, `layout`, `columns`, `title`, `description`, `subforms`, `buttons`, `defaults`, `initialValues`, `readOnly`, `showSubmit`, `submitText`, `showCancel`, `cancelText`, `showReset`, `className` | `table` declares exactly these keys (objectui#10976). Any other grid key — diff --git a/ui/packages/plugin-view/src/ObjectView.tsx b/ui/packages/plugin-view/src/ObjectView.tsx index 191f8d9adb9..9990f59fd35 100644 --- a/ui/packages/plugin-view/src/ObjectView.tsx +++ b/ui/packages/plugin-view/src/ObjectView.tsx @@ -436,7 +436,6 @@ export const OBJECT_VIEW_TABLE_RELAY_KEYS = [ 'showColumnTypeIcons', 'showPagination', 'showSearch', - 'singleClickEdit', ] as const satisfies readonly (keyof NonNullable)[]; type TableRelayKey = (typeof OBJECT_VIEW_TABLE_RELAY_KEYS)[number]; @@ -3271,17 +3270,10 @@ export const ObjectView: React.FC = ({ // Default: use ObjectGrid — keyed on identity alone; it refetches in place // on the data-invalidation bus (see `identityKey` above). - // - // objectstack#36270 — a grid this view makes editable (the named view's - // `inlineEdit`, else `table.editable`) edits as the list page's grid does: - // a click selects a cell, double-click, Enter or typing opens its editor, - // and each committed cell saves on its own, with no pending-changes bar - // and no "Save All". A read-only grid keeps click-to-open. return ( , userActions?: Record expect(screen.getByText('Alpha')).toBeInTheDocument()); const td = screen.getByText('Alpha').closest('td') as HTMLElement; fireEvent.click(td); - // objectstack#36270 — an editable grid selects the cell on that click (the - // list page's select-first model) and Enter asks for its editor; a - // read-only grid has no selected cell to ask, and the click opens the row. + // objectstack#36270 — a grid that renders editable selects the cell on that + // click (the list page's select-first model) and Enter asks for its editor; + // a grid that renders read-only has no selected cell, and the click opens + // the row. const catcher = document.querySelector('[data-slot="cell-type-catcher"]'); if (catcher) fireEvent.keyDown(catcher, { key: 'Enter' }); // One tick lets React flush the editor, so `false` means "never opened", @@ -110,7 +111,6 @@ async function clickCell(named: Record, userActions?: Record { const r = await clickCell({ inlineEdit: true }, { edit: false }); expect(r.editor).toBe(false); - // The click landed: it selected the cell, which says why it opens no - // editor, and opened no record (objectstack#36270). - expect(r.readOnlyReason).not.toBeNull(); - expect(r.recordForm).toBe(false); + // The click landed: a grid that renders read-only keeps click-to-open + // (objectstack#36270), so it went through to the row. + expect(r.recordForm).toBe(true); }); it('CONTROL: a named view that declares no `inlineEdit` stays read-only, as before', async () => { diff --git a/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx b/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx index 4a4f0a62148..245bc3f741b 100644 --- a/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx +++ b/ui/packages/plugin-view/src/__tests__/ObjectView.tableEditable-10976.test.tsx @@ -91,9 +91,10 @@ async function clickCell(table: NonNullable, userActi await waitFor(() => expect(screen.getByText('Alpha')).toBeInTheDocument()); const td = screen.getByText('Alpha').closest('td') as HTMLElement; fireEvent.click(td); - // objectstack#36270 — an editable grid selects the cell on that click (the - // list page's select-first model) and Enter asks for its editor; a - // read-only grid has no selected cell to ask, and the click opens the row. + // objectstack#36270 — a grid that renders editable selects the cell on that + // click (the list page's select-first model) and Enter asks for its editor; + // a grid that renders read-only has no selected cell, and the click opens + // the row. const catcher = document.querySelector('[data-slot="cell-type-catcher"]'); if (catcher) fireEvent.keyDown(catcher, { key: 'Enter' }); // One tick lets React flush the editor, so `false` means "never opened", @@ -102,24 +103,22 @@ async function clickCell(table: NonNullable, userActi return { editor: document.querySelector('td[data-editing-cell] input') != null, recordForm: screen.queryByTestId('object-form') != null, - readOnlyReason: screen.queryByTestId('cell-readonly-reason'), }; } describe('objectui#10976 — `table.editable` reaches the real grid', () => { - it('THE FIX: `table: { editable: true, singleClickEdit: true }` opens an in-cell editor when the object grants inline edit', async () => { - const r = await clickCell({ columns: ['name'], editable: true, singleClickEdit: true }); + it('THE FIX: `table: { editable: true }` opens an in-cell editor when the object grants inline edit', async () => { + const r = await clickCell({ columns: ['name'], editable: true }); expect(r.editor).toBe(true); expect(r.recordForm).toBe(false); }); it('THE GRANT STILL WINS: `table.editable: true` opens no editor when the object refuses inline edit', async () => { - const r = await clickCell({ columns: ['name'], editable: true, singleClickEdit: true }, { edit: false }); + const r = await clickCell({ columns: ['name'], editable: true }, { edit: false }); expect(r.editor).toBe(false); - // The click landed: it selected the cell, which says why it opens no - // editor, and opened no record (objectstack#36270). - expect(r.readOnlyReason).not.toBeNull(); - expect(r.recordForm).toBe(false); + // The click landed: a grid that renders read-only keeps click-to-open + // (objectstack#36270), so it went through to the row. + expect(r.recordForm).toBe(true); }); it('CONTROL: a `table` that writes no `editable` stays read-only, as before', async () => { diff --git a/ui/packages/plugin-view/src/__tests__/ObjectView.tableSlotRelay-10976.test.tsx b/ui/packages/plugin-view/src/__tests__/ObjectView.tableSlotRelay-10976.test.tsx index b96857675ad..3efcfbb1d0b 100644 --- a/ui/packages/plugin-view/src/__tests__/ObjectView.tableSlotRelay-10976.test.tsx +++ b/ui/packages/plugin-view/src/__tests__/ObjectView.tableSlotRelay-10976.test.tsx @@ -21,7 +21,7 @@ * and registry, and reads the node `ObjectGrid` receives. It pins: * * 1. completeness, at COMPILE time: every key the slot declares is either read - * by name, relayed (`OBJECT_VIEW_TABLE_RELAY_KEYS`), or one of the three + * by name, relayed (`OBJECT_VIEW_TABLE_RELAY_KEYS`), or one of the * retirement tombstones. A key added to the slot and handed to nothing is a * `tsc` error here (`pnpm --filter @object-ui/plugin-view type-check`); * 2. arrival, at RUNTIME: one render carries every relayed and by-name key, @@ -96,9 +96,11 @@ type ByNameKey = * `ObjectGridSchema`'s own retirement tombstones, which type no value an author * can write. `defaultFilters` joined them with `@objectstack/spec` 18 * (objectstack#11509), when this component stopped reading it by name - * (objectui#12030). + * (objectui#12030). `singleClickEdit` joined them when objectstack#36270 retired + * it (the select-first editing model has no single-click entry); the view + * relayed it until then. */ -type TombstoneKey = 'body' | 'children' | 'defaultFilters' | 'defaultSort'; +type TombstoneKey = 'body' | 'children' | 'defaultFilters' | 'defaultSort' | 'singleClickEdit'; /** * ⭐ The compile-time pins. Each alias resolves to `never` when the claim holds; @@ -137,7 +139,6 @@ const RELAYED: Required> = { showColumnTypeIcons: true, showPagination: false, showSearch: false, - singleClickEdit: true, }; /** diff --git a/ui/packages/types/src/__tests__/object-view-slot-key-lists.test.ts b/ui/packages/types/src/__tests__/object-view-slot-key-lists.test.ts index 946169d43f1..a0ace7f9f78 100644 --- a/ui/packages/types/src/__tests__/object-view-slot-key-lists.test.ts +++ b/ui/packages/types/src/__tests__/object-view-slot-key-lists.test.ts @@ -169,9 +169,11 @@ const TABLE_WITHHELD_KEYS: readonly string[] = Object.values(TABLE_WITHHELD_BY_R * refusal and its guidance onto this face too. The five the grid retired in * objectui#11068 are in the withheld set above instead, refused by the slot's * own message, and so is `resizableColumns`, which the grid retired in - * objectui#6152 round 7. + * objectui#6152 round 7. `singleClickEdit` joined the kept ones when + * objectstack#36270 retired it on the grid: the slot relayed it until then, and + * the grid's own refusal says what to do on both. */ -const TABLE_INHERITED_TOMBSTONES = ['body', 'children', 'defaultSort'] as const; +const TABLE_INHERITED_TOMBSTONES = ['body', 'children', 'defaultSort', 'singleClickEdit'] as const; /** * Members the slot carries BY REFERENCE from the spec's `object-grid` row that @@ -398,7 +400,7 @@ describe('objectui#10976 — the table slot withholds what the view\'s grid does expect(TABLE_WITHHELD_KEYS.filter((k) => declared.includes(k))).toEqual([]); }); - it('the slot keeps the three retirement tombstones `ObjectGridSchema` declares, as `never`', () => { + it('the slot keeps the retirement tombstones `ObjectGridSchema` declares, as `never`', () => { const table = slotType('table'); for (const key of TABLE_INHERITED_TOMBSTONES) { const member = checker.getPropertyOfType(table, key); diff --git a/ui/packages/types/src/__tests__/object-view-table-slot-10976.test.ts b/ui/packages/types/src/__tests__/object-view-table-slot-10976.test.ts index fc3295d065b..c2157efe8ba 100644 --- a/ui/packages/types/src/__tests__/object-view-table-slot-10976.test.ts +++ b/ui/packages/types/src/__tests__/object-view-table-slot-10976.test.ts @@ -67,7 +67,6 @@ describe('objectui#10976 — a withheld `table` key does not type-check', () => columns: ['subject', 'stage'], pagination: { pageSize: 25 }, editable: true, - singleClickEdit: true, frozenColumns: 1, rowHeight: 'short', bulkActions: ['archive'], diff --git a/ui/packages/types/src/__tests__/unmirrored-declared-round6-6152.test.ts b/ui/packages/types/src/__tests__/unmirrored-declared-round6-6152.test.ts index 4f8ef0fcd01..88ca5ca920a 100644 --- a/ui/packages/types/src/__tests__/unmirrored-declared-round6-6152.test.ts +++ b/ui/packages/types/src/__tests__/unmirrored-declared-round6-6152.test.ts @@ -69,7 +69,8 @@ const MIRRORED: ReadonlyArray<{ key: string; valid: unknown; invalid: unknown; s { key: 'reorderableColumns', valid: true, invalid: 'yes', slot: true }, { key: 'rowColor', valid: { field: 'status', colors: { open: 'bg-green-200' } }, invalid: 42, slot: true }, { key: 'rowHeight', valid: 'extra_tall', invalid: 'comfortable', slot: true }, - { key: 'singleClickEdit', valid: false, invalid: 'no', slot: true }, + // `singleClickEdit`, the tenth, left this list when objectstack#36270 RETIRED it + // (the select-first editing model has no single-click entry): see its tombstone case below. ]; const GRID = { type: 'object-grid', objectName: 'task' }; @@ -105,11 +106,18 @@ describe('objectui#6152 round 6 — the flat `ObjectGridSchema` mirror judges te } }); + it('`singleClickEdit` was mirrored here, then RETIRED (objectstack#36270): a member that refuses every value', () => { + expect('singleClickEdit' in ObjectGridSchema.shape).toBe(true); + for (const value of [true, false]) { + expect(codeAndPath(ObjectGridSchema.safeParse({ ...GRID, editable: true, singleClickEdit: value }))) + .toEqual([{ code: 'invalid_type', path: ['singleClickEdit'] }]); + } + }); + it('the members the twin takes from the spec by name are the spec\'s, by reference', () => { // The row's own boolean members carry no default, so the import boundary hands // them back unchanged. expect(ObjectGridSchema.shape.reorderableColumns).toBe(SpecObjectGridPropsSchema.shape.reorderableColumns); - expect(ObjectGridSchema.shape.singleClickEdit).toBe(SpecObjectGridPropsSchema.shape.singleClickEdit); // `GroupingConfigSchema` carries a default (`order`), so the boundary rebuilds // it; what travels is the spec's own rule — a padded field name is refused. expect(codeAndPath(SpecGroupingConfigSchema.safeParse({ fields: [{ field: ' region ' }] }))).toEqual([ diff --git a/ui/packages/types/src/objectql.ts b/ui/packages/types/src/objectql.ts index 1a9556acd99..f5f8efd2055 100644 --- a/ui/packages/types/src/objectql.ts +++ b/ui/packages/types/src/objectql.ts @@ -1326,16 +1326,23 @@ export interface ObjectGridSchema extends BaseSchema { editable?: boolean; /** - * Enable single-click editing mode - * When true with editable, clicking a cell enters edit mode (instead of double-click) + * RETIRED (objectstack#36270, ADR-0049) — the switch between opening a cell + * editor on a single click and on a double click. A grid that renders + * editable (`editable` set and the viewer allowed to edit) now selects a cell + * first: a click selects it, and double-click, Enter, F2 or typing opens its + * editor, each committed cell saved on its own. That model has no + * single-click entry, so `ObjectGrid` no longer reads the key, and + * `@objectstack/spec` refuses it by name on `object-grid`. * - * `ObjectGrid` reads it as `schema.singleClickEdit ?? true`, so an absent key - * means single-click editing, as the spec's `object-grid` row says ("default true - * when editable"). This comment read `@default false` until objectui#6152 round 6, - * which mirrored the key and measured the default through the real registry. - * @default true + * `?: never`, not a deletion — this package's tombstone convention (see + * `resizableColumns` above). Lockstep with the Zod twin + * (`zod/objectql.zod.ts`, `retirementTombstone()`). `DataTableSchema`'s own + * `singleClickEdit`, a flag a host sets in code, is unchanged. + * + * @deprecated RETIRED (objectstack#36270) — delete the key; `editable` decides + * whether the grid edits. */ - singleClickEdit?: boolean; + singleClickEdit?: never; /** * Grouping Configuration (Airtable-style) diff --git a/ui/packages/types/src/zod/objectql.zod.ts b/ui/packages/types/src/zod/objectql.zod.ts index c0275ed3f02..0530be16979 100644 --- a/ui/packages/types/src/zod/objectql.zod.ts +++ b/ui/packages/types/src/zod/objectql.zod.ts @@ -330,6 +330,18 @@ const OBJECT_GRID_RESIZABLE_COLUMNS_RETIRED = + '`resizable` — on an authored node, `properties.resizable`: ' + '`{ "type": "object-grid", "properties": { "resizable": false } }`.'; +/** + * objectstack#36270 — the same one-string shape for `singleClickEdit`, retired + * with the select-first editing model (the maintainer's ruling A): `ObjectGrid` + * no longer reads it, and `@objectstack/spec` refuses it by name on `object-grid`. + */ +const OBJECT_GRID_SINGLE_CLICK_EDIT_RETIRED = + 'RETIRED (objectstack#36270, ADR-0049) — `singleClickEdit` switched between opening a cell editor on a ' + + 'single click and on a double click. A grid that renders editable now selects a cell on a click and ' + + 'opens its editor on double-click, Enter, F2 or typing, so `ObjectGrid` no longer reads the key and an ' + + 'authored value would change nothing; `@objectstack/spec` refuses it by name on `object-grid` too. ' + + 'Delete the key: `editable` (with the viewer\'s write verdict) decides whether the grid edits.'; + /** * objectui#11070 — ONE `.describe()` string for every object-bound arm that declares * the spec's per-element binding as `dataSource` (by reference to @@ -804,7 +816,8 @@ export const ObjectGridSchema = BaseSchema.extend({ // the source of the `object-view` `table` slot, so each member takes the type the // twin declares. Where the twin takes a spec schema by name, the member is that // schema BY REFERENCE (`grouping`, `navigation`, `rowColor`, `rowHeight`) or the - // row's own member (`reorderableColumns`, `singleClickEdit`), and + // row's own member (`reorderableColumns`; `singleClickEdit` was one until + // objectstack#36270 retired it to the tombstone below), and // `conditionalFormatting` is the spec list view's own rule BY REFERENCE (the shared // `ConditionalFormattingRuleSchema` above, objectui#11533); the rest restate the // twin's local shapes, except `operations`, which round 8 moved onto the row's own @@ -820,7 +833,12 @@ export const ObjectGridSchema = BaseSchema.extend({ reorderableColumns: stripImportedDefaults(SpecObjectGridPropsSchema).shape.reorderableColumns, rowColor: stripImportedDefaults(SpecRowColorConfigSchema).optional().describe('Row colour rules: the spec RowColorConfig, by reference'), rowHeight: stripImportedDefaults(SpecRowHeightSchema).optional().describe('Row height preset: the spec RowHeight, by reference'), - singleClickEdit: stripImportedDefaults(SpecObjectGridPropsSchema).shape.singleClickEdit, + // objectstack#36270 — RETIRED under ADR-0049, in lockstep with the `?: never` + // twin on the interface: the select-first editing model has no single-click + // entry, so `ObjectGrid` no longer reads it. A tombstone rather than a + // deletion, as for `resizableColumns`: `BaseSchema` is `.passthrough()`. The + // `object-view` `table` slot inherits it unchanged, as it does `defaultSort`. + singleClickEdit: retirementTombstone(OBJECT_GRID_SINGLE_CLICK_EDIT_RETIRED), // ⭐ `8d50bc2bf` — one key the REGISTERED `object-grid` renderer reads off // the authored document while this arm declared none. `BaseSchema` is // `.passthrough()`, so an undeclared key is NOT refused: it stops being From e3e06efc9893ef77d7e2167d7ff28bfd24a7d59a Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 09:14:38 +0000 Subject: [PATCH 05/10] chore(sdui): regenerate the manifest and component reference for the object-grid inputs Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- content/docs/ui/components/index.mdx | 2 +- content/docs/ui/components/plugins.mdx | 5 ++--- scripts/sdui-manifest.record.json | 4 ++-- sdui.manifest.json | 9 ++------- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/content/docs/ui/components/index.mdx b/content/docs/ui/components/index.mdx index 352d67f149f..b739e5fce7b 100644 --- a/content/docs/ui/components/index.mdx +++ b/content/docs/ui/components/index.mdx @@ -96,7 +96,7 @@ regenerates from the renderer registry. Regenerate it with | [`object-chart`](/docs/ui/components/plugins#object-chart) | `plugin-charts` | 6 | [Plugin Blocks](/docs/ui/components/plugins) | | [`object-form`](/docs/ui/components/plugins#object-form) | `plugin-form` | 37 | [Plugin Blocks](/docs/ui/components/plugins) | | [`object-gantt`](/docs/ui/components/plugins#object-gantt) | `plugin-gantt` | 18 | [Plugin Blocks](/docs/ui/components/plugins) | -| [`object-grid`](/docs/ui/components/plugins#object-grid) | `plugin-grid` | 31 | [Plugin Blocks](/docs/ui/components/plugins) | +| [`object-grid`](/docs/ui/components/plugins#object-grid) | `plugin-grid` | 30 | [Plugin Blocks](/docs/ui/components/plugins) | | [`object-kanban`](/docs/ui/components/plugins#object-kanban) | `plugin-kanban` | 15 | [Plugin Blocks](/docs/ui/components/plugins) | | [`object-map`](/docs/ui/components/plugins#object-map) | `plugin-map` | 10 | [Plugin Blocks](/docs/ui/components/plugins) | | [`object-master-detail-form`](/docs/ui/components/plugins#object-master-detail-form) | `plugin-form` | 15 | [Plugin Blocks](/docs/ui/components/plugins) | diff --git a/content/docs/ui/components/plugins.mdx b/content/docs/ui/components/plugins.mdx index b54fa1ac90d..94460edb9bd 100644 --- a/content/docs/ui/components/plugins.mdx +++ b/content/docs/ui/components/plugins.mdx @@ -243,9 +243,8 @@ Namespace `plugin-grid`. | `bulkActions` | `array` | | Names of actions offered once rows are selected. Needs a multi-row `selection` to be reachable. | | `batchActions` | `array` | | Legacy alias of `bulkActions`, and the one the renderer reads FIRST when both are set. Prefer `bulkActions` in new schemas. | | `bulkActionDefs` | `array` | | Full inline bulk-action definitions, for actions that are not named entries in the object’s action set. Use `bulkActions` when the action already exists. | -| `editable` | `boolean` | | Enable inline cell editing (double-click or Enter opens a cell). | -| `singleClickEdit` | `boolean` | | With `editable`, a single click opens the cell instead of a double-click. Has no effect on a non-editable grid. | -| `keyboardNavigation` | `boolean` | | Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells take one place in the Tab order instead of one each (a link or button inside a cell keeps its own), and the arrow keys move focus between them (Home / End to the ends of the row, Ctrl+Home / Ctrl+End to the ends of the page). Enter still opens an editable cell, and an edit ended with Enter or Escape returns focus to its cell. Defaults to on when the grid renders editable; a read-only grid keeps every cell its own Tab stop unless this is `true`, and `false` turns it off on an editable grid. | +| `editable` | `boolean` | | Enable inline cell editing where the viewer may edit. A click selects a cell; double-click, Enter, F2 or typing opens its editor, Esc cancels, and each committed cell is saved on its own. A grid that renders read-only keeps click-to-open. | +| `keyboardNavigation` | `boolean` | | Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells take one place in the Tab order instead of one each (a link or button inside a cell keeps its own), and the arrow keys move focus between them (Home / End to the ends of the row, Ctrl+Home / Ctrl+End to the ends of the page). Enter still opens an editable cell, and an edit ended with Enter or Escape returns focus to its cell. Always on when the grid renders editable, because that grid selects a cell first and moves the selection with these keys; a read-only grid keeps every cell its own Tab stop unless this is `true`. | | `navigation` | `object` | | What a row click does, `{ mode: "drawer" \| "page" \| "new_window" \| "none", … }`; a block written without `mode` opens the drawer. | | `operations` | `object` | | Toggles for the built-in affordances, `{ create, update, delete, export }`, e.g. `{ delete: false }`. A declared block replaces the default, so an `update` / `delete` it does not name is withheld. | | `exportOptions` | `object` | | Export config, `{ formats, maxRecords, includeHeaders, fileNamePrefix, streaming }`. `streaming` (default true) picks server-side streaming vs browser-side assembly for the export — a behaviour fork, not decoration; set it to `false` to force browser-side assembly. Needs `operations.export` to be reachable from the toolbar. | diff --git a/scripts/sdui-manifest.record.json b/scripts/sdui-manifest.record.json index 81ae70827fc..f47a7891d44 100644 --- a/scripts/sdui-manifest.record.json +++ b/scripts/sdui-manifest.record.json @@ -13,8 +13,8 @@ ], "source": "built-tree", "generator": "scripts/gen-sdui-manifest-node.mjs", - "generatedAt": "2026-11-21", - "sha256": "16ff838b7448ca0e59019fe61016e0c4d3ab9654239fc4beded2238b801ee2cf", + "generatedAt": "2026-11-22", + "sha256": "dbfb76cf8f05e804021546b6d39f91aadebdc97c9c16956c444fbaea3a7fbd61", "components": 106, "inTree": { "modulesRoot": "ui/apps/console", diff --git a/sdui.manifest.json b/sdui.manifest.json index 1402ef27d30..8c3c73d683c 100644 --- a/sdui.manifest.json +++ b/sdui.manifest.json @@ -141,17 +141,12 @@ { "name": "editable", "type": "boolean", - "description": "Enable inline cell editing (double-click or Enter opens a cell)." - }, - { - "name": "singleClickEdit", - "type": "boolean", - "description": "With `editable`, a single click opens the cell instead of a double-click. Has no effect on a non-editable grid." + "description": "Enable inline cell editing where the viewer may edit. A click selects a cell; double-click, Enter, F2 or typing opens its editor, Esc cancels, and each committed cell is saved on its own. A grid that renders read-only keeps click-to-open." }, { "name": "keyboardNavigation", "type": "boolean", - "description": "Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells take one place in the Tab order instead of one each (a link or button inside a cell keeps its own), and the arrow keys move focus between them (Home / End to the ends of the row, Ctrl+Home / Ctrl+End to the ends of the page). Enter still opens an editable cell, and an edit ended with Enter or Escape returns focus to its cell. Defaults to on when the grid renders editable; a read-only grid keeps every cell its own Tab stop unless this is `true`, and `false` turns it off on an editable grid." + "description": "Arrow-key cell navigation on the WAI-ARIA grid pattern: the grid's data cells take one place in the Tab order instead of one each (a link or button inside a cell keeps its own), and the arrow keys move focus between them (Home / End to the ends of the row, Ctrl+Home / Ctrl+End to the ends of the page). Enter still opens an editable cell, and an edit ended with Enter or Escape returns focus to its cell. Always on when the grid renders editable, because that grid selects a cell first and moves the selection with these keys; a read-only grid keeps every cell its own Tab stop unless this is `true`." }, { "name": "navigation", From 1c2a16b94e51be7975c6a65399b086e0ec373a0a Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 09:22:44 +0000 Subject: [PATCH 06/10] test(spec): join the object-grid single-click retirement in the removal-version pin Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- packages/spec/src/shared/retired-key-removal-version.pin.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/spec/src/shared/retired-key-removal-version.pin.test.ts b/packages/spec/src/shared/retired-key-removal-version.pin.test.ts index c6b69a906fb..67a96e9e77d 100644 --- a/packages/spec/src/shared/retired-key-removal-version.pin.test.ts +++ b/packages/spec/src/shared/retired-key-removal-version.pin.test.ts @@ -261,6 +261,7 @@ const JOIN: Readonly> = { ), 'object-external-sharing-model-removed': [tombstone(ObjectSchema, 'object', 'externalSharingModel')], 'object-grid-default-filters-removed': [tombstone(ObjectGridPropsSchema, 'object-grid', 'defaultFilters')], + 'object-grid-single-click-edit-removed': [tombstone(ObjectGridPropsSchema, 'object-grid', 'singleClickEdit')], 'email-template-category-is-system-removed': [ tombstone(EmailTemplateDefinitionSchema, 'email_template', 'category'), tombstone(EmailTemplateDefinitionSchema, 'email_template', 'isSystem'), From 579f99aea70865d13f30d88948c4dc0a0c77354b Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 10:47:04 +0000 Subject: [PATCH 07/10] docs(plugin-grid): make the staged-model snippet self-contained so it compiles Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- content/docs/frontend/plugins/plugin-grid.mdx | 36 +++++++++++-------- ui/packages/plugin-grid/README.md | 36 +++++++++++-------- 2 files changed, 42 insertions(+), 30 deletions(-) diff --git a/content/docs/frontend/plugins/plugin-grid.mdx b/content/docs/frontend/plugins/plugin-grid.mdx index db9b60668d7..32dcefd7277 100644 --- a/content/docs/frontend/plugins/plugin-grid.mdx +++ b/content/docs/frontend/plugins/plugin-grid.mdx @@ -566,21 +566,27 @@ the save/cancel affordances appear on their own once a row has pending changes: ```tsx - +import { ObjectGrid, type ObjectGridComponentProps } from '@object-ui/plugin-grid'; + +declare const dataSource: NonNullable; + +export const ProductsGrid = () => ( + +); ``` Left alone, saving goes through the host's data source. A React host that needs diff --git a/ui/packages/plugin-grid/README.md b/ui/packages/plugin-grid/README.md index d02dd10e7e1..9bc6360a589 100644 --- a/ui/packages/plugin-grid/README.md +++ b/ui/packages/plugin-grid/README.md @@ -1054,21 +1054,27 @@ click opens a cell's editor, and the save/cancel affordances appear on their own once a row has pending changes: ```tsx - +import { ObjectGrid, type ObjectGridComponentProps } from '@object-ui/plugin-grid'; + +declare const dataSource: NonNullable; + +export const ProductsGrid = () => ( + +); ``` Left alone, saving goes through the host's data source. A React host that needs to From 3894ea44273459b2b85c39b4b0319023d4abc79d Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 11:35:29 +0000 Subject: [PATCH 08/10] docs(plugin-grid,types): say what keyboardNavigation and onBatchSave do under select-first The keyboardNavigation TSDoc and the ObjectGrid comment no longer say `false` turns navigation off on an editable grid; only a host keeping the staged model lets it. onBatchSave is marked deprecated, since a select-first grid saves each cell and never calls it, and the changeset gains its FROM/TO row and the touch note. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- ...0-object-grid-single-click-edit-retired.md | 5 +++-- content/docs/frontend/plugins/plugin-grid.mdx | 9 +++++--- ui/packages/plugin-grid/README.md | 9 +++++--- ui/packages/plugin-grid/src/ObjectGrid.tsx | 22 ++++++++++++++++--- ui/packages/types/src/objectql.ts | 9 +++++--- 5 files changed, 40 insertions(+), 14 deletions(-) diff --git a/.changeset/36270-object-grid-single-click-edit-retired.md b/.changeset/36270-object-grid-single-click-edit-retired.md index c69c8710d80..5b74ba7f022 100644 --- a/.changeset/36270-object-grid-single-click-edit-retired.md +++ b/.changeset/36270-object-grid-single-click-edit-retired.md @@ -14,7 +14,7 @@ Metadata-protocol: narrowed **BREAKING** accept-set narrowing on the `object-grid` page block (`@objectstack/spec`, `ComponentPropsMap['object-grid'].singleClickEdit`) and on `@object-ui/types` (`ObjectGridSchema.singleClickEdit`, and the `object-view` `table` slot that relayed it), with the grids following it in the same release. -- **Now.** A grid that renders editable (`editable` set and the viewer allowed to edit the object) uses the list page's select-first cell model wherever it is drawn: the grid an `object-view` draws itself (the Studio's view preview, a page that places an `object-view`) and an authored `object-grid` node. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. +- **Now.** A grid that renders editable (`editable` set and the viewer allowed to edit the object) uses the list page's select-first cell model wherever it is drawn: the grid an `object-view` draws itself (the Studio's view preview, a page that places an `object-view`) and an authored `object-grid` node. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. A single tap no longer opens an editor on these grids: a tap selects the cell, and a double-tap opens it. - **Unchanged.** A grid that renders read-only keeps its click-to-open row. Neither `editable` nor a view's `inlineEdit` can open editing that the object or the reader's `update` grant refuses, and a refused cell now says why when it is asked to edit, as on the list page. A React host that draws `ObjectGrid` itself can still pass `cellSelection={false}` to keep the staged model with its Save All bar. - **`keyboardNavigation` narrowed to what is enforced.** On a grid that renders editable the arrow-key navigation is always on, because the selection moves with those keys; `false` no longer turns it off there. On a read-only grid `true` still turns it on. @@ -23,6 +23,7 @@ Metadata-protocol: narrowed | `object-grid` `properties.singleClickEdit: true` (or absent: the old default) | delete the key; a click selects the cell and double-click, Enter, F2 or typing opens its editor | | `object-grid` `properties.singleClickEdit: false` | delete the key; double-click still opens the editor | | `object-view` `table.singleClickEdit` | delete the key | +| a React host passing `ObjectGrid` `onBatchSave` alone (no `onRowSave`, no `cellSelection`) on an editable grid: "Save All" called it | each cell now saves through `onRowSave`, or through the grid's own `dataSource.update` when there is none, and `onBatchSave` is never called. Pass `onRowSave` to own the write per cell, or pass `cellSelection={false}` to keep the staged model, where `onBatchSave` is still called. The prop is marked `@deprecated` | The one-line fix: delete `singleClickEdit` wherever it is written; `os migrate meta --from 17 --write` deletes it from page sources. Writing it after upgrade fails `tsc` (the input type is `never`) and fails the parse with that prescription. @@ -30,5 +31,5 @@ The retirement kit: - **`@objectstack/spec`**: `singleClickEdit` is a `retiredKey()` tombstone on `ObjectGridPropsSchema`, registered in `RETIRED_KEYS_BY_MAJOR[18]` as `ui/ObjectGridProps:singleClickEdit`. The D2 conversion `object-grid-single-click-edit-removed` deletes it from `object-grid` components (top-level regions, nested `children` and named slots), whatever its value, and the D3 entry `object-grid-single-click-edit-retired` names what the upgrade still owes: help text and tests that describe the old gestures. `keyboardNavigation`'s describe says what is enforced. The liveness ledger records the retirement and the narrowed read. - **`@object-ui/types`**: `ObjectGridSchema.singleClickEdit` is `?: never` with a `retirementTombstone()` twin, and the `object-view` `table` slot inherits it. `DataTableSchema.singleClickEdit`, a flag a host sets in code, is unchanged. -- **`@object-ui/plugin-grid`**: `ObjectGrid` turns the select-first model on wherever the grid renders editable (a host's `cellSelection` still wins), and no longer reads `singleClickEdit`. The `object-grid` inputs no longer list it. +- **`@object-ui/plugin-grid`**: `ObjectGrid` turns the select-first model on wherever the grid renders editable (a host's `cellSelection` still wins), and no longer reads `singleClickEdit`. The `object-grid` inputs no longer list it. `ObjectGridComponentProps.onBatchSave` is `@deprecated`: it is called only under the staged model. - **`@object-ui/plugin-view`**: `table.singleClickEdit` is no longer relayed to the grid. diff --git a/content/docs/frontend/plugins/plugin-grid.mdx b/content/docs/frontend/plugins/plugin-grid.mdx index 32dcefd7277..007e8de7c5f 100644 --- a/content/docs/frontend/plugins/plugin-grid.mdx +++ b/content/docs/frontend/plugins/plugin-grid.mdx @@ -549,8 +549,9 @@ WAI-ARIA grid pattern (objectui#11068): `editable` *and* the viewer's permission to update the object, the same value inline editing obeys — because that grid selects a cell first and moves the selection with these keys; `false` does not turn it off there - (objectstack#36270). A read-only grid keeps every cell its own Tab stop unless - you write `true`. + (objectstack#36270), except where a React host keeps the staged model with + `cellSelection={false}` (see Batch Editing below). A read-only grid keeps every + cell its own Tab stop unless you write `true`. - While it is on, the table is exposed to assistive technology as a `grid`. A grouped grid navigates within each group's table; the mobile card layout has no cells and is unaffected. @@ -623,7 +624,9 @@ const persistence = ( - **Flexible callbacks** — all three are `ObjectGridComponentProps`, never schema keys: `onRowSave` for a single row, `onBatchSave` for many, `onCellChange` for each committed cell edit, including one that leaves the value as loaded (only a - real change is staged) + real change is staged). `onBatchSave` is `@deprecated`: only this staged model calls it; + on a select-first grid each cell saves through `onRowSave` (or the grid's own + write) and `onBatchSave` is never called - **A concurrent write is refused, not overwritten**: the default saves send each row's `updated_at` as `If-Match`, and an editable grid asks for that column even when no column shows it. A row someone else saved after it was read answers diff --git a/ui/packages/plugin-grid/README.md b/ui/packages/plugin-grid/README.md index 9bc6360a589..24a260a3556 100644 --- a/ui/packages/plugin-grid/README.md +++ b/ui/packages/plugin-grid/README.md @@ -1038,8 +1038,9 @@ WAI-ARIA grid pattern (objectui#11068): `editable` *and* the viewer's permission to update the object, the same value inline editing obeys — because that grid selects a cell first and moves the selection with these keys; `false` does not turn it off there - (objectstack#36270). A read-only grid keeps every cell its own Tab stop unless - you write `true`. + (objectstack#36270), except where a React host keeps the staged model with + `cellSelection={false}` (see Batch Editing below). A read-only grid keeps every + cell its own Tab stop unless you write `true`. - While it is on, the table is exposed to assistive technology as a `grid`. A grouped grid navigates within each group's table; the mobile card layout has no cells and is unaffected. @@ -1113,7 +1114,9 @@ const persistence = ( - "Cancel All" button to discard all pending changes - **Flexible callbacks** — all three are `ObjectGridComponentProps`, never schema keys: - `onRowSave`: called when saving a single row - - `onBatchSave`: called when saving multiple rows at once + - `onBatchSave`: called when saving multiple rows at once — `@deprecated`: only + this staged model calls it; on a select-first grid each cell saves through + `onRowSave` (or the grid's own write) and `onBatchSave` is never called - `onCellChange`: called for each staged cell edit - **A concurrent write is refused, not overwritten**: the default saves send each row's `updated_at` as `If-Match`, and an editable grid asks for that column even diff --git a/ui/packages/plugin-grid/src/ObjectGrid.tsx b/ui/packages/plugin-grid/src/ObjectGrid.tsx index e9243f163ae..24ab2e9e4a6 100644 --- a/ui/packages/plugin-grid/src/ObjectGrid.tsx +++ b/ui/packages/plugin-grid/src/ObjectGrid.tsx @@ -457,6 +457,17 @@ export interface ObjectGridComponentProps extends ObjectGridExternalPaginationPr onBulkDelete?: (records: any[]) => void; onCellChange?: (rowIndex: number, columnKey: string, newValue: any, row: any) => void; onRowSave?: (rowIndex: number, changes: Record, row: any) => void | Promise; + /** + * Called by "Save All" with every staged row — the staged model only. + * + * @deprecated objectstack#36270 — a grid that renders editable is + * select-first by default, and there each edited cell saves on its own + * through {@link ObjectGridComponentProps.onRowSave} (or, when the host + * passes none, the grid's own write through `dataSource.update`). No + * "Save All" is drawn, so this handler is never called and nothing says so. + * Pass `onRowSave` to own the write per cell, or pass `cellSelection={false}` + * to keep the staged model, where this handler is still called. + */ onBatchSave?: (changes: Array<{ rowIndex: number; changes: Record; row: any }>) => void | Promise; onRowSelect?: (selectedRows: any[]) => void; onAddRecord?: () => void; @@ -587,7 +598,9 @@ function getDataConfig(schema: ObjectGridSchema): ViewData | null { * - the card's speculative list (`pagination`, `manualPagination`, `rowCount`, * `frozenColumns`, `singleClickEdit`, `selectionResetKey`, * `disableInnerScroll`, `borderless`) was already declared then, and is - * still declared now; + * still declared now (`singleClickEdit` here is the TABLE's own key, which + * `ObjectGrid` now always passes as `true`; the `object-grid` key of that + * name is retired, objectstack#36270); * - the two keys that survived that diff, `renderCellEditor` and * `cellClassName`, were DECLARED by `bf97b98c8` (maintainer ruling * 2026-08-30) on three surfaces: @@ -3714,8 +3727,11 @@ export const ObjectGrid: React.FC = ({ // is the one this grid renders — `inlineEditable`, the authored key AND the // viewer's write verdict (#5143), the same value handed down above. So a // grid that renders read-only keeps every cell its own Tab stop unless the - // author writes `true`, and an explicit `false` turns it off on an editable - // grid. Not an alias fallback: the right side is the key's own default. + // author writes `true`. On an editable grid the select-first model is the + // default (objectstack#36270) and data-table keeps navigation on under it + // (`keyboardNavigationProp || selectFirst`), so an explicit `false` only + // turns it off where the host keeps the staged model (`cellSelection={false}`). + // Not an alias fallback: the right side is the key's own default. keyboardNavigation: schema.keyboardNavigation ?? inlineEditable, // The save bar sits on the grid's own inset, as its cells do (`px-3`), // never flush against the view's edge (objectstack-ai/objectstack#27520). diff --git a/ui/packages/types/src/objectql.ts b/ui/packages/types/src/objectql.ts index f5f8efd2055..2d0e14d04f9 100644 --- a/ui/packages/types/src/objectql.ts +++ b/ui/packages/types/src/objectql.ts @@ -1384,9 +1384,12 @@ export interface ObjectGridSchema extends BaseSchema { * * `ObjectGrid` reads it as `schema.keyboardNavigation ?? inlineEditable`, where * `inlineEditable` is the authored `editable` AND the viewer's write verdict on - * the object — the one value the grid's inline editing itself obeys. So a grid - * that renders editable has it on, a grid that renders read-only keeps its Tab - * behaviour unless this is `true`, and `false` turns it off on an editable grid. + * the object — the one value the grid's inline editing itself obeys. A grid + * that renders read-only keeps its Tab behaviour unless this is `true`. A grid + * that renders editable is select-first by default (objectstack#36270), and + * the select-first model always keeps navigation on, so `false` has no effect + * there. Only a host that keeps the staged model (`cellSelection={false}` on + * `ObjectGrid`) lets `false` turn it off on an editable grid. * @default true when the grid renders editable */ keyboardNavigation?: boolean; From 67fe455178474144f9c13632686a8f63ffdcd4fe Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 13:55:53 +0000 Subject: [PATCH 09/10] docs(changeset): a tap opens the record on a select-first grid, it never edits in place Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- .changeset/36270-object-grid-single-click-edit-retired.md | 2 +- ui/packages/plugin-grid/src/ObjectGrid.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.changeset/36270-object-grid-single-click-edit-retired.md b/.changeset/36270-object-grid-single-click-edit-retired.md index 5b74ba7f022..bfabeb82373 100644 --- a/.changeset/36270-object-grid-single-click-edit-retired.md +++ b/.changeset/36270-object-grid-single-click-edit-retired.md @@ -14,7 +14,7 @@ Metadata-protocol: narrowed **BREAKING** accept-set narrowing on the `object-grid` page block (`@objectstack/spec`, `ComponentPropsMap['object-grid'].singleClickEdit`) and on `@object-ui/types` (`ObjectGridSchema.singleClickEdit`, and the `object-view` `table` slot that relayed it), with the grids following it in the same release. -- **Now.** A grid that renders editable (`editable` set and the viewer allowed to edit the object) uses the list page's select-first cell model wherever it is drawn: the grid an `object-view` draws itself (the Studio's view preview, a page that places an `object-view`) and an authored `object-grid` node. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. A single tap no longer opens an editor on these grids: a tap selects the cell, and a double-tap opens it. +- **Now.** A grid that renders editable (`editable` set and the viewer allowed to edit the object) uses the list page's select-first cell model wherever it is drawn: the grid an `object-view` draws itself (the Studio's view preview, a page that places an `object-view`) and an authored `object-grid` node. A click selects a cell; double-click, Enter, F2 or typing opens its editor; Esc cancels; and each committed cell is saved at once as one update for its record. The pending-changes bar, its "Save All" and "Cancel All" buttons and the per-row save column are no longer drawn there. On a touch screen a tap on these grids opens the record, and a touch never edits a cell in place. - **Unchanged.** A grid that renders read-only keeps its click-to-open row. Neither `editable` nor a view's `inlineEdit` can open editing that the object or the reader's `update` grant refuses, and a refused cell now says why when it is asked to edit, as on the list page. A React host that draws `ObjectGrid` itself can still pass `cellSelection={false}` to keep the staged model with its Save All bar. - **`keyboardNavigation` narrowed to what is enforced.** On a grid that renders editable the arrow-key navigation is always on, because the selection moves with those keys; `false` no longer turns it off there. On a read-only grid `true` still turns it on. diff --git a/ui/packages/plugin-grid/src/ObjectGrid.tsx b/ui/packages/plugin-grid/src/ObjectGrid.tsx index 8b46bbd3657..349f5515c1b 100644 --- a/ui/packages/plugin-grid/src/ObjectGrid.tsx +++ b/ui/packages/plugin-grid/src/ObjectGrid.tsx @@ -475,7 +475,8 @@ export interface ObjectGridComponentProps extends ObjectGridExternalPaginationPr * select-first by default, and there each edited cell saves on its own * through {@link ObjectGridComponentProps.onRowSave} (or, when the host * passes none, the grid's own write through `dataSource.update`). No - * "Save All" is drawn, so this handler is never called and nothing says so. + * "Save All" is drawn, so this handler is never called and no runtime + * notice says so. * Pass `onRowSave` to own the write per cell, or pass `cellSelection={false}` * to keep the staged model, where this handler is still called. */ From 493b6a01d12a251e7eb80b6d42cfe60dda0df53f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Nov 2026 18:20:02 +0000 Subject: [PATCH 10/10] chore(sdui): regenerate the manifest record after merging main Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW --- scripts/sdui-manifest.record.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sdui-manifest.record.json b/scripts/sdui-manifest.record.json index 27d1cf562c2..20ec326a420 100644 --- a/scripts/sdui-manifest.record.json +++ b/scripts/sdui-manifest.record.json @@ -14,7 +14,7 @@ "source": "built-tree", "generator": "scripts/gen-sdui-manifest-node.mjs", "generatedAt": "2026-11-22", - "sha256": "f3dbc8227184b481722038c25df8027ec0b7546957cda33d6d718fe643ff3bf3", + "sha256": "e4d7a4fb34031e1cd6348ef3211ba5019f08a009c605b4e140ea2f74cea97b03", "components": 106, "inTree": { "modulesRoot": "ui/apps/console",