Skip to content

Commit ffe9270

Browse files
os-zhuangclaude
andauthored
docs(types): finish the ObjectTable -> ObjectGrid rename in two stale doc comments (#2947)
Follow-up to #2938. `ObjectTable` is not a typo but a historical artifact: the component was renamed to `ObjectGrid` long ago (see the "ObjectTable: Auto-generates tables from ObjectQL object schemas" entries still recorded in the package CHANGELOGs), and some prose never followed. #2938 fixed the one occurrence that actually bit authors — the `kind:'react'` page scope comment, where the prose *is* the API documentation for a runtime-derived scope. These two are lower-stakes descriptive prose on type definitions, cleaned up so the dead name stops surviving in live code: - field-types.ts — the module doc for the field type system. - objectql.ts — `ObjectViewSchema`. Factually correct as well as mechanical: ObjectView renders an `object-grid` (plugin-view/src/ObjectView.tsx:858). `ObjectTable` now appears only in the package CHANGELOGs (immutable history), gitignored `dist/` output, and sdui-parser's synthetic compiler fixtures. Comment-only; no behavior change. Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4a4829d commit ffe9270

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/types/src/field-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type { ManagedByBucket } from './managed-by';
1212
* @object-ui/types - Field Type Definitions
1313
*
1414
* Comprehensive field type system for ObjectQL protocol.
15-
* Defines all field types supported in ObjectTable and ObjectForm components.
15+
* Defines all field types supported in ObjectGrid and ObjectForm components.
1616
*
1717
* @module field-types
1818
* @packageDocumentation

packages/types/src/objectql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ export interface ObjectFormSchema extends BaseSchema {
12271227

12281228
/**
12291229
* ObjectView Schema
1230-
* A complete object management interface combining ObjectTable and ObjectForm.
1230+
* A complete object management interface combining ObjectGrid and ObjectForm.
12311231
* Provides list view with search, filters, and integrated create/edit dialogs.
12321232
*/
12331233
export interface ObjectViewSchema extends BaseSchema {

0 commit comments

Comments
 (0)