From 4b4ae906baceb5ffaba128af56f5769c9a39c506 Mon Sep 17 00:00:00 2001 From: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Date: Wed, 29 Jul 2026 11:26:14 +0800 Subject: [PATCH] docs(types): finish the ObjectTable -> ObjectGrid rename in two stale doc comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Claude --- packages/types/src/field-types.ts | 2 +- packages/types/src/objectql.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/field-types.ts b/packages/types/src/field-types.ts index c070006f3c..69ef470b51 100644 --- a/packages/types/src/field-types.ts +++ b/packages/types/src/field-types.ts @@ -12,7 +12,7 @@ import type { ManagedByBucket } from './managed-by'; * @object-ui/types - Field Type Definitions * * Comprehensive field type system for ObjectQL protocol. - * Defines all field types supported in ObjectTable and ObjectForm components. + * Defines all field types supported in ObjectGrid and ObjectForm components. * * @module field-types * @packageDocumentation diff --git a/packages/types/src/objectql.ts b/packages/types/src/objectql.ts index 37bfdac8da..a56d32852a 100644 --- a/packages/types/src/objectql.ts +++ b/packages/types/src/objectql.ts @@ -1227,7 +1227,7 @@ export interface ObjectFormSchema extends BaseSchema { /** * ObjectView Schema - * A complete object management interface combining ObjectTable and ObjectForm. + * A complete object management interface combining ObjectGrid and ObjectForm. * Provides list view with search, filters, and integrated create/edit dialogs. */ export interface ObjectViewSchema extends BaseSchema {