You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit af460eb
Browse filesBrowse the repository at this point in the historyBrowse files
docs(skills): objectstack-ui list-views teaches the view filter any-of group { or: [...] }
§ Filtering now says a `filter` list element is a rule or an any-of group
`{ or: [rule, ...] }` (ViewFilterOrGroupSchema) that matches when any of its
flat rules does, still ANDed with the elements beside it; no group in a group,
no empty `or`; `$or` / `any` / `anyOf` / `logic` / `conditions` on a rule are
refused naming the shape. The Console builder saves its OR toggle as one group
and edits a filter that is exactly one group; a group beside other elements
applies but shows read-only. Example: open OR urgent, AND mine.
In the same section the operator list is replaced by the spec's
VIEW_FILTER_OPERATORS: the old line listed `this_week`, `this_month`,
`this_quarter` and `last_n_days`, which neither the enum nor the alias table
accepts, and omitted eight operators the enum has.
Eval 12 asks for an either-of list in one `listViews` entry. Changeset
`'@objectstack/skills': patch`.
Token ratchet (list-views.md 3129 ceiling): 3114 → 3106, paid by deletion in
the same file — the flat-view and data-source blockquotes, the Columns lead-in,
the tabs-on-object and omit-userFilters bullets, the toolbar-search and
blast-radius prose, two pointer lines, the kanban intro, the gantt summary-bar
paragraph.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibz4G9FrLR4TRExx6gn
objectstack-ui `rules/list-views.md` § Filtering teaches the view filter any-of group `{ or: [rule, ...] }` (`ViewFilterOrGroupSchema`): an element of the `filter` list that matches when any of its flat rules does, still ANDed with the elements beside it; no group in a group, no empty `or`; the Console builder saves its OR toggle as one group and shows a group beside other elements read-only. One eval case asks for an either-of list in one view.
9
+
10
+
Token ratchet: the growth is paid by deletion in the same file (the flat-view and data-source blockquotes, the `tabs`-on-object and omit-`userFilters` bullets, the search-blast-radius and toolbar-search prose, the kanban intro).
"prompt": "On `task`, add an 'Attention' list for the signed-in user: their tasks that are open or urgent, in one list.",
117
+
"expected_output": "One `listViews.attention` entry, not two views. Its `filter` is a list whose elements all match: one any-of group `{ or: [{ field: 'status', operator: 'equals', value: 'open' }, { field: 'priority', operator: 'equals', value: 'urgent' }] }` beside the rule `{ field: 'assigned_to', operator: 'equals', value: '{current_user_id}' }`. Flat rules only inside the group; no `$or`, `logic` / `conditions` or `anyOf` key.",
0 commit comments