Skip to content

Commit d9c162f

Browse files
committed
fix(tables): address review on the cutover
Greptile: convert the v1 lifecycle comment to TSDoc. The repo rule is TSDoc-only, and none of the four reference cutover blocks comment here at all, so the `//` form was not following a local convention either. The note is worth keeping as declaration documentation — it records why `triggers.enabled` must stay true. Cubic: fix a link to `#tips`, an anchor that does not exist on the page. The pagination guidance lives under Variations.
1 parent 51dca21 commit d9c162f

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

apps/docs/content/docs/tables/using-in-workflows.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Combine conditions with `all` (AND) or `any` (OR), and nest the groups for mixed
8080
]}
8181
```
8282

83-
**Order** sorts the result as a list of column/direction pairs, for example `[{"field": "createdAt", "direction": "desc"}]`. **Columns to Return** narrows each row to the fields a downstream step actually needs. **Limit** caps how many rows come back per page, and **Cursor** continues a previous page - see [Paginate large reads](#tips) below.
83+
**Order** sorts the result as a list of column/direction pairs, for example `[{"field": "createdAt", "direction": "desc"}]`. **Columns to Return** narrows each row to the fields a downstream step actually needs. **Limit** caps how many rows come back per page, and **Cursor** continues a previous page - see [Paginate large reads](#variations) below.
8484

8585
{/* VISUAL: Filter and Order builders, showing a status = unprocessed rule and a createdAt descending sort, with the equivalent predicate JSON beside them. */}
8686

apps/sim/blocks/blocks/table.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,14 @@ export const TableBlock: BlockConfig<TableQueryResponse> = {
212212
'Create and manage custom data tables. Store, query, and manipulate structured data within workflows. Query Rows returns every matching row when Limit is omitted and fails if the result exceeds 5MB.',
213213
docsLink: 'https://docs.sim.ai/integrations/table',
214214
category: 'blocks',
215-
// Superseded by table_v2 (GA): hidden from discovery like other legacy _vN
216-
// blocks; existing workflows keep executing it. `triggers.enabled` below
217-
// deliberately stays true — webhook execution gates on it at runtime, so
218-
// flipping it would break every deployed v1 table-trigger workflow.
215+
/**
216+
* Superseded by {@link TableV2Block} (GA): hidden from discovery like other
217+
* legacy `_vN` blocks, while placed instances keep resolving and executing.
218+
*
219+
* `triggers.enabled` below deliberately stays `true`. Webhook execution gates
220+
* on it at runtime rather than on discovery, so flipping it would break every
221+
* deployed v1 table-trigger workflow.
222+
*/
219223
hideFromToolbar: true,
220224
sunset: { status: 'legacy', replacedBy: 'table_v2' },
221225
bgColor: '#10B981',

0 commit comments

Comments
 (0)