Skip to content

Commit beff1fb

Browse files
fix(plugin-grid): a list row whose click opens nothing draws no record link and no Open item (#33544)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XEALUkWcYN7u2xZzujE7FCn)_ domain:ui#1 · os-project-manager · session_01FEkQ5pN9UhYM1KGHApVGCH Fixes #33317 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 改了什么:列表里点了不会打开任何东西的行(视图写了 `navigation.mode: 'none'`,或只开放 `list` 的对象),表格第一列不再画成链接(没有链接颜色、下划线、锚点或链接角色),右键菜单也不再出现「打开」和「在新标签页打开」;行操作(如 Revoke)照旧。对象列表、对象数据页、界面列表页三处都生效。 - 为什么改:这些行点了没有任何反应,但看起来可以点,用户会以为页面坏了。 - 风险与回滚:表格和列表视图各多一个可选的宿主属性 `rowOpensRecord`,不传时行为与之前完全一样,其他宿主不受影响;能打开记录的行(抽屉、页面)不变。回滚即 revert 本 PR。 - 先看:`ui/packages/plugin-grid/src/objectGridLinkCell.tsx` 的 `opens === false` 分支;`ui/packages/plugin-grid/src/ObjectGrid.tsx` 的 `renderRowContextMenu` 里 `rowOpensRecord` 两处;`ui/packages/app-shell/src/views/ObjectView.tsx` 的 `rowOpensRecord: navOverlay.mode !== 'none'`。 - 两分钟验证:`pnpm --dir ui exec vitest run packages/app-shell/src/views/ObjectView.rowOpensNothing-33317.test.tsx packages/app-shell/src/views/InterfaceListPage.rowOpensNothing-33317.test.tsx`,预期 9 个用例全绿。 - 需要你做的:无,席位落地。 ## What changes **Measured on `origin/main` `f068cde8` (#33441 included), through the real `ObjectView` → `ListView` → `ObjectGrid`.** The console hosts always hand `ListView` an `onRowClick`, and `ListView` always hands the grid `onRowClick: navigation.handleClick`, so the grid could not tell a row that opens nothing from one that opens a drawer. Two lines decided the face: - the record-link cell: `objectGridGenerateColumns.tsx` wraps the first column (and any `link: true` column) in `LinkCell` unconditionally, and `RecordLink` in `objectGridLinkCell.tsx` draws `a href` when the host publishes a record URL, else `span role="link"`. Measured: a view authored `navigation: { mode: 'none' }` on a served object draws the **anchor** (the host's `recordHref` answers); a list-only object draws the `span role="link"` with `data-testid="primary-field-link"` (its `recordHref` answers `null`). - the right-click Open: `renderRowContextMenu` in `ObjectGrid.tsx` reads `const opens = !!onRowClick || (navigation.mode !== 'none' && ...)`, so any host handler means Open. Measured: authored `none` offers `row-context-open` and `row-context-open-new-tab`; list-only offers `row-context-open`. The fix, the narrowest signal the order allowed: the grid cannot derive it from props it already receives (the console's resolved mode never reaches it; the grid branch of `ListView` forwards no `navigation`), so one optional prop carries it, absent = today's behaviour. - **`@object-ui/plugin-grid`**: `ObjectGridComponentProps.rowOpensRecord?: boolean`. `false` ⇒ `LinkCell` (new internal `opens` prop) draws the value in a plain `span` with the link's clamp and width only (no anchor, no `role`, no handler of its own, so its click falls through to the row), and `renderRowContextMenu` offers neither Open nor Open in new tab. Row actions, the actions column and #33441's inline fold are untouched. - **`@object-ui/plugin-list`**: `ListViewProps.rowOpensRecord?: boolean`, forwarded to the grid only, on the grid's host channel beside `recordLinkAdornment` (only when defined). - **`@object-ui/app-shell`** (ships in `@object-ui/console`): `ObjectView` passes `navOverlay.mode !== 'none'` (the resolved mode: `none` for authored `none` and for a list-only object via `servesRecordRead`) through `useObjectViewListRenderer`; `ObjectDataPage` passes `recordServed`; `InterfaceListPage` passes `recordAction !== 'none'`. `onRowClick` is passed exactly as before. - **Docs**: `rowOpensRecord` sections in `ui/packages/plugin-grid/README.md`, `content/docs/frontend/plugins/plugin-grid.mdx` and `ui/packages/plugin-list/README.md`. - **Changeset** `.changeset/33317-row-opens-nothing-plain.md`: `@object-ui/plugin-grid`, `@object-ui/plugin-list`, `@object-ui/app-shell`, `@object-ui/console` patch, both declaration lines. Not changed: `packages/spec`, any server package, `onRowClick` routing, row actions. ## Tests `ui/packages/app-shell/src/views/ObjectView.rowOpensNothing-33317.test.tsx`, real `ObjectView` + `ListView` grid + `MePermissionsProvider`, one differential per case (same object and rows; only the view's `navigation` or the served operations differ). The right-click menu is opened by a `contextmenu` event on a plain cell. - authored `navigation.mode: none`: the name cell holds no `a[href]` and no `[role="link"]`, no `primary-field-link`; the menu has no Open items and keeps Revoke. - authored `none`: a ⌘-click on a plain cell still reaches the host (one `window.open`), and a ⌘-click on the now-plain name cell reaches the row too (a second one). - list-only object: same as the first case. - CONTROL, default drawer: the name cell is the record link, the menu offers Open and Open in new tab and Revoke. - CONTROL, authored `page`: the name cell is the link, the menu offers Open. - data page, list-only: the name cell is plain; CONTROL served: it is the link. `ui/packages/app-shell/src/views/InterfaceListPage.rowOpensNothing-33317.test.tsx`, real `InterfaceListPage` + `ListView` grid: `recordAction: 'none'` → plain name cell; CONTROL default drawer → link. **Red-first (the measurement):** the eight production files restored to base `f068cde8` (0 differ from base after restore), the new pins kept. <details><summary>base sources: 5 failed | 4 passed (9); restored: 0 bytes differ from HEAD</summary> ```text × `recordAction: none`: the name cell is plain text × authored `navigation.mode: none`: the name cell is plain text, and the right-click menu has no Open but keeps Revoke × authored `none` still hands the row click to the host: a ⌘-click on the row opens the record in a new tab, as before × a list-only object: the name cell is plain text, and the right-click menu has no Open but keeps Revoke × a list-only object: the name cell is plain text AssertionError: expected true to be false (x4: the name cell wears the link face) AssertionError: expected "vi.fn()" to be called 2 times, but got 1 times Test Files 2 failed (2) · Tests 5 failed | 4 passed (9) · VERDICT command-exit 1 ``` The ⌘-click case's first half (a plain cell, one `window.open`) passed on base: the host's row routing is unchanged; only the name cell's own anchor swallowed the second click. The CONTROL cases passed on both trees. </details> **Ablations** (`scripts/ablation-replace.mjs`, each anchor 1 → 0, restored to the HEAD blob with `git diff HEAD` empty; ui vitest aliases `@object-ui/*` to `src/`, so no dist is in the path): <details><summary>six legs, each red, each restored</summary> ```text A objectGridLinkCell.tsx `const own = opens === false` → `=== "ABL-A"` 4 failed | 3 passed (7) name cell wears the link face B1 ObjectGrid.tsx `const opens = rowOpensRecord !== false` → `!== ("ABL-B1" as unknown)` 2 failed | 5 passed (7) expected [ 'row-context-open' ] to deeply equal [] B2 ObjectGrid.tsx `const openHref = rowOpensRecord === false ? ...` → `=== ("ABL-B2" as unknown)` 1 failed | 6 passed (7) expected [ 'row-context-open-new-tab' ] to deeply equal [] (authored none only: a list-only row has no URL) C1 ObjectView.tsx `rowOpensRecord: navOverlay.mode !== 'none'` → `!== ('ABL-C1' as string)` 3 failed | 4 passed (7) C2 ObjectDataPage.tsx `rowOpensRecord={recordServed}` → `{recordServed || "ABL-C2".length > 0}` 1 failed | 6 passed (7) C3 InterfaceListPage.tsx `rowOpensRecord={recordAction !== 'none'}` → `!== ('ABL-C3' as string)` 1 failed | 1 passed (2) ``` </details> ## Acceptance notes - **Clause-② measured `yes (widening)`.** The order allowed a new optional prop when the grid cannot derive the signal; it needed one on `ObjectGrid` and one on `ListView` (the hop between the console and the grid), both published, both optional, absent = unchanged. The claim started at `no`; the seat amends it. - **File surface.** `ui/packages/plugin-list/src/ListView.tsx` (forwarding only) and three docs files are outside the claim's named files; they are the props that carry the signal to the grid, and the docs-driven rule in `ui/AGENTS.md` (Coding Standards, rule 2) asks for the README and docs page. - **⌘-click on an authored `none` row still opens a new tab.** That is `useNavigationOverlay`'s modifier-click rule ("regardless of the configured navigation mode"), reached through the host's `onRowClick`; the order says not to break what the host routes through it, so it stays, and the pin holds it. The menu's "Open in new tab" is gone for such a row, so the two now differ; a list-only row opens no tab either way. - **Other faces of the same rows, not changed here:** the phone card face (below 768 px) still draws the card as a tap target, and the gallery and board cards of a `none` list keep their pointer; only the grid is handed `rowOpensRecord`. Observed by reading, not measured; noted, not filed. - **`preventNavigation` on the console object list:** the console's `handleRowClick` writes `?recordId=` for a `drawer` view without reading `preventNavigation`, so `rowOpensRecord` is keyed to the resolved mode only. Observed by reading, not measured; noted, not filed. - **Lint:** `eslint` on the touched files: 0 errors; the `ListView` forwarding line adds one `react-hooks/refs` warning of the same shape its three sibling `viewComponentSchema.type === 'object-grid'` lines already carry. ## Verification Head `a02d289c` (`origin/main` `811b976a` merged in; no overlap with this diff). Local subset from `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`, reconciled with `--ran`: <details><summary>69 derived, 69 run, all exit 0; --ran: 0 NOT-MEASURED, 0 UNRUN</summary> ```text node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0 node scripts/check-adr-0087-registration.mjs --self-test :: exit 0 node scripts/check-adr-links.mjs :: exit 0 node scripts/check-adr-links.mjs --self-test :: exit 0 node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0 node scripts/check-closing-keyword-parity.mjs :: exit 0 node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0 node scripts/check-comment-mask-corpus.mjs :: exit 0 node scripts/check-doc-route-spelling.mjs --advisory :: exit 0 node scripts/check-doc-route-spelling.mjs --self-test :: exit 0 node scripts/check-docs-section-name.mjs :: exit 0 node scripts/check-docs-section-name.mjs --self-test :: exit 0 node scripts/check-empty-changeset.mjs --base origin/main :: exit 0 node scripts/check-empty-changeset.mjs --self-test :: exit 0 node scripts/check-sdui-manifest.mjs :: exit 0 node scripts/check-sdui-manifest.mjs --self-test :: exit 0 node scripts/check-section-landing-index.mjs :: exit 0 node scripts/check-section-landing-index.mjs --self-test :: exit 0 node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0 node scripts/ci/snapshot-next.mjs --self-test :: exit 0 node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0 node scripts/release-pending-publish.mjs --self-test :: exit 0 pnpm --dir ui exec vitest run scripts/ :: exit 0 pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0 pnpm --filter @objectstack/lint run check:doc-security-posture :: exit 0 pnpm --filter @objectstack/spec run check:docs :: exit 0 pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0 pnpm --filter @objectstack/spec run check:empty-state :: exit 0 pnpm --filter @objectstack/spec run check:liveness :: exit 0 pnpm --filter @objectstack/spec run check:skill-examples :: exit 0 pnpm --filter @objectstack/spec run check:strictness-ledger :: exit 0 pnpm --filter @objectstack/spec run check:variant-docs :: exit 0 pnpm --filter @objectstack/spec run check:yaml-examples :: exit 0 pnpm check:changeset-gate-self-tests :: exit 0 pnpm check:ci-filter-parity :: exit 0 pnpm check:closed-ceremony-text :: exit 0 pnpm check:corpus-claim-drift :: exit 0 pnpm check:cross-package-test-inputs :: exit 0 pnpm check:dispatcher-error-vocabulary :: exit 0 pnpm check:doc-anchors :: exit 0 pnpm check:doc-authoring :: exit 0 pnpm check:doc-frontmatter :: exit 0 pnpm check:docs-audit-scope :: exit 0 pnpm check:docs-redirects :: exit 0 pnpm check:docs-single-h1 :: exit 0 pnpm check:docs-spec-enumerations :: exit 0 pnpm check:docs-transcript-drift :: exit 0 pnpm check:driver-memory-census :: exit 0 pnpm check:engine-double-contract :: exit 0 pnpm check:error-status-conformance :: exit 0 pnpm check:gitlink-declared :: exit 0 pnpm check:nul-bytes :: exit 0 pnpm check:published-files :: exit 0 pnpm check:published-readme-links :: exit 0 pnpm check:query-options-erasure :: exit 0 pnpm check:react-page-adapter-contract :: exit 0 pnpm check:refd-timer-probe :: exit 0 pnpm check:registry-log-declared :: exit 0 pnpm check:rest-log-spy-declared :: exit 0 pnpm check:role-word :: exit 0 pnpm check:skill-identifier-liveness :: exit 0 pnpm check:test-source-alias :: exit 0 pnpm check:tier-file-adoption :: exit 0 pnpm check:type-check-coverage :: exit 0 pnpm check:type-check-debt :: exit 0 pnpm check:undeclared-dep-imports :: exit 0 pnpm check:vendor-version-stamps :: exit 0 pnpm check:watch-hint-literal :: exit 0 pnpm check:where-matcher :: exit 0 ``` </details> Also run locally, all exit 0 under the verify lock: `pnpm --filter @object-ui/plugin-grid run type-check`, `@object-ui/plugin-list` and `@object-ui/app-shell` (each `tsc --noEmit && tsc -p tsconfig.test.json`, so the new tests are type-checked); `pnpm --dir ui exec vitest run packages/plugin-grid/` → 281 files, 2436 passed; `packages/plugin-list/` → 173 files, 1856 passed; the app-shell `ObjectView*`, `objectView*`, `InterfaceListPage*` and `ObjectDataPage*` files → 111 files, 986 passed; the two new pin files plus `ObjectView.listOnlyRecordPage-33219` and `rowContextMenu-28434` on the final head → 4 files, 36 passed. `pnpm --dir ui check:new-line-citations` → 0 new. The full app-shell suite and every other family are CI's. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (not touched) - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. (touched files linted, 0 errors; the repo-wide run is CI's) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. (the 维护者速读 section is the seat format) - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5pN9UhYM1KGHApVGCH)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent f229dfd commit beff1fb

14 files changed

Lines changed: 585 additions & 9 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@object-ui/plugin-grid': patch
3+
'@object-ui/plugin-list': patch
4+
'@object-ui/app-shell': patch
5+
'@object-ui/console': patch
6+
---
7+
8+
fix(plugin-grid, plugin-list, app-shell): a list row whose click opens nothing no longer looks clickable
9+
10+
Clause-②: yes (widening) — `ObjectGridComponentProps` (published by `@object-ui/plugin-grid`) and `ListViewProps` (published by `@object-ui/plugin-list`) each gain one optional prop, `rowOpensRecord?: boolean`. Absent, every row renders as before. Nothing is removed or narrowed.
11+
Metadata-protocol: none
12+
13+
**Rows that open nothing.** A list row opens nothing when its view is authored `navigation: { mode: 'none' }`, or when its object's data API serves no single-record read (a list-only object, such as the SCIM connection credentials in Setup). The grid still drew such a row's first column as a link, and its right-click menu still offered Open and Open in new tab, so a click that did nothing looked like a broken page. The Console's object list, object data page and interface list pages now tell the grid that these rows open nothing (`rowOpensRecord={false}`, handed through `ListView`): the first column, and any column authored `link: true`, show the value as plain text, and the right-click menu offers no Open items. The row's actions (`list_item`) stay in the row menu and the right-click menu. The row click itself still reaches the host, so a Cmd/Ctrl-click on a row of a view authored `none` still opens the record in a new tab, as before. Rows that open a drawer or a page are unchanged.

‎content/docs/frontend/plugins/plugin-grid.mdx‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,19 @@ export const UserList = ({ needsAccess }: { needsAccess: (id: string) => boolean
285285
The console's Setup → Users list on a cloud-managed environment uses it to mark
286286
a user who holds no permission set beyond the baseline (objectui#13330).
287287

288+
### Rows that open nothing
289+
290+
A host that owns the row click (`onRowClick`) and knows that it opens nothing
291+
for these rows passes `rowOpensRecord={false}`. The grid then draws its
292+
record-link cells (the first column, and any column authored `link: true`) as
293+
plain text, with no anchor and no ARIA link semantics, and the row's right-click menu
294+
offers no Open or Open in new tab; the row's actions stay. The row click still
295+
reaches `onRowClick`, so anything else the host does with it is unchanged.
296+
Absent (or `true`), every row is drawn as before. It is a host prop, not a
297+
schema key: list metadata cannot set it. The console passes `false` for a view
298+
authored `navigation: { mode: 'none' }` and for an object whose data API serves
299+
no single-record read (objectstack#33317).
300+
288301
### Inline Editing
289302

290303
Enable inline cell editing for quick data updates:
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
/**
2+
* objectstack#33317 — an interface list page whose records open nothing
3+
* (`recordAction: 'none'`) draws its grid's record-link column as plain text.
4+
*
5+
* The page resolves `none` for an authored `recordAction: 'none'` and for a
6+
* list-only source object, and hands the real `ListView` grid
7+
* `rowOpensRecord={false}`. Rendered through the real page, `ListView` and
8+
* `ObjectGrid`; the record-link cell is read off the table. CONTROL: the
9+
* default `drawer` page keeps the link.
10+
*/
11+
12+
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
13+
import { render, waitFor, cleanup, screen } from '@testing-library/react';
14+
import React from 'react';
15+
import { ActionProvider } from '@object-ui/react';
16+
17+
vi.mock('react-router-dom', () => ({
18+
useSearchParams: () => [new URLSearchParams(), vi.fn()],
19+
useNavigate: () => vi.fn(),
20+
useParams: () => ({}),
21+
}));
22+
23+
vi.mock('@object-ui/auth', async (importOriginal) => {
24+
const actual = await (importOriginal as any)();
25+
return { ...actual, useAuth: () => ({}) };
26+
});
27+
28+
let testDataSource: any;
29+
let testObjects: any[];
30+
31+
vi.mock('@object-ui/react', async (importOriginal) => {
32+
const actual = await (importOriginal as any)();
33+
return {
34+
...actual,
35+
useAdapter: () => testDataSource,
36+
useMetadata: () => ({ objects: testObjects }),
37+
};
38+
});
39+
40+
import { InterfaceListPage } from './InterfaceListPage';
41+
42+
const OBJECT_NAME = 'pkg_package';
43+
const VIEW_KEY = 'source';
44+
const ROWS = [{ id: 'p1', name: 'billing-kit', status: 'live' }];
45+
46+
function mountPage(recordAction: 'none' | 'drawer') {
47+
testDataSource = {
48+
find: vi.fn().mockResolvedValue(ROWS),
49+
findOne: vi.fn(),
50+
create: vi.fn(),
51+
update: vi.fn(),
52+
delete: vi.fn(),
53+
getObjectSchema: vi.fn().mockResolvedValue({
54+
name: OBJECT_NAME,
55+
fields: { name: { type: 'text' }, status: { type: 'text' } },
56+
}),
57+
};
58+
testObjects = [
59+
{
60+
name: OBJECT_NAME,
61+
label: 'Package',
62+
fields: { name: { type: 'text', label: 'Name' }, status: { type: 'text', label: 'Status' } },
63+
listViews: {
64+
[`${OBJECT_NAME}.${VIEW_KEY}`]: {
65+
name: `${OBJECT_NAME}.${VIEW_KEY}`,
66+
label: 'Source',
67+
type: 'grid',
68+
columns: ['name', 'status'],
69+
},
70+
},
71+
},
72+
];
73+
const page = {
74+
name: 'my_packages',
75+
label: 'My Packages',
76+
interfaceConfig: { source: OBJECT_NAME, sourceView: VIEW_KEY, recordAction },
77+
};
78+
return render(
79+
<ActionProvider>
80+
<InterfaceListPage page={page as any} />
81+
</ActionProvider>,
82+
);
83+
}
84+
85+
/** Whether the row's record-link cell wears the link face: an anchor, or a `role="link"` span. */
86+
async function nameCellLooksLikeALink(): Promise<boolean> {
87+
await waitFor(() => expect(screen.getByText('billing-kit')).toBeTruthy(), { timeout: 5000 });
88+
const cell = screen.getByText('billing-kit').closest('td') as HTMLElement;
89+
expect(cell).not.toBeNull();
90+
return cell.querySelector('a[href], [role="link"]') !== null;
91+
}
92+
93+
beforeEach(() => {
94+
cleanup();
95+
// The grid's permission reads go to the network; answer them empty.
96+
vi.stubGlobal(
97+
'fetch',
98+
vi.fn(async () =>
99+
new Response(JSON.stringify({ data: [] }), {
100+
status: 200,
101+
headers: { 'content-type': 'application/json' },
102+
}),
103+
),
104+
);
105+
});
106+
afterEach(() => {
107+
cleanup();
108+
vi.unstubAllGlobals();
109+
});
110+
111+
describe('objectstack#33317 — an interface list page whose records open nothing', () => {
112+
it('`recordAction: none`: the name cell is plain text', async () => {
113+
mountPage('none');
114+
expect(await nameCellLooksLikeALink()).toBe(false);
115+
expect(screen.queryAllByTestId('primary-field-link')).toHaveLength(0);
116+
});
117+
118+
it('CONTROL — the default drawer: the name cell is the record link', async () => {
119+
mountPage('drawer');
120+
expect(await nameCellLooksLikeALink()).toBe(true);
121+
});
122+
});

‎ui/packages/app-shell/src/views/InterfaceListPage.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,9 @@ export function InterfaceListPage({ page, className, onConfigChange, reserveEdit
690690
onSortChange={onConfigChange ? (sort: any) => onConfigChange({ sort }) : undefined}
691691
onColumnStateChange={onConfigChange ? (st: { order?: string[] }) => { if (st?.order?.length) onConfigChange({ columns: st.order }); } : undefined}
692692
onRowClick={recordAction === 'none' ? undefined : handleRecordClick}
693+
// objectstack#33317 — `none` (authored, or a list-only source)
694+
// opens nothing, so the grid draws no record link and no Open.
695+
rowOpensRecord={recordAction !== 'none'}
693696
/>
694697
</div>
695698
{navOverlay.isOverlay && (

‎ui/packages/app-shell/src/views/ObjectDataPage.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,9 @@ export function ObjectDataPage({ dataSource, objects }: any) {
713713
userFilterSelections={initialUfSelections}
714714
onUserFilterSelectionsChange={handleUserFilterSelectionsChange}
715715
onRowClick={handleRecordClick}
716+
// objectstack#33317 — a list-only object's rows open nothing, so
717+
// the grid draws them no record link and no Open.
718+
rowOpensRecord={recordServed}
716719
/>
717720
)}
718721
</div>

0 commit comments

Comments
 (0)