Skip to content

Commit ff13eec

Browse files
committed
fix(spec): word the limit prescription for both faces of the timeline block
`TimelineConfigSchema` is also the nested `timeline` block of an `object-timeline` node, where the row bound is the node's flat `limit`, not `pagination.pageSize`. The prescription now names both. Claude-Session: https://claude.ai/code/session_01Sfe5YjBLwB9J3y8fvm2xq1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1d91401 commit ff13eec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/spec/src/ui/view.zod.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,10 +1137,10 @@ export const GroupingConfigSchema = lazySchema(() => strictObject({
11371137
+ 'AND-ed into the view filter. Compiled by `compileListViewGroupQuery` / `compileListViewGroupRowsQuery`',
11381138
));
11391139

1140-
/** A view's row bound is `pagination.pageSize`; the per-kind blocks answer `limit` with this. */
1140+
/** The per-kind blocks answer `limit` with this; `timeline` is also nested on `object-timeline`. */
11411141
const VIEW_ROW_BOUND_GUIDANCE =
1142-
'A view\'s row bound is `pagination.pageSize` on the view; this block declares no `limit`. '
1143-
+ 'Delete the key and set `pagination.pageSize` instead.';
1142+
'This block declares no `limit`. Delete the key: the row bound is `pagination.pageSize` on a view, '
1143+
+ 'or the flat `limit` on a page component node.';
11441144

11451145
/**
11461146
* Gallery View Configuration (Airtable-style)

0 commit comments

Comments
 (0)