Skip to content

Commit d6ea716

Browse files
committed
docs(spec): regenerate the references for the userActions.refresh describe; add the changeset
Claude-Session: https://claude.ai/code/session_01FEkQ5oY5WCqqqBMtn9qt7m Co-authored-by: Claude <noreply@anthropic.com>
1 parent fa1bd43 commit d6ea716

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@object-ui/plugin-list': patch
3+
'@objectstack/spec': patch
4+
---
5+
6+
fix(plugin-list): Refresh alone no longer draws the Display entry in the default list toolbar
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
The default (Display) list toolbar has no Refresh button, yet `userActions.refresh` still counted as a reason to draw the toolbar's Display entry. On a non-grid view (kanban, calendar and the rest) whose other Display controls were all off, the entry opened a panel holding only its footer. Refresh no longer counts, so such a view draws no Display entry. The wide toolbar (`compactToolbar: false`) still draws Refresh as before, and `userActions.refresh: false` still takes it off there.
12+
13+
`@objectstack/spec`: the `userActions.refresh` description now says the toggle governs only the wide toolbar's Refresh button and changes nothing in the default toolbar. Only the description text changed: the key, its type and its default are the same.

‎content/docs/references/ui/page.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ An any-of group: `{ or: [rule, ...] }` matches a record when ANY of its rules ma
180180
| **sort** | `boolean` | optional (default: `true`) | Allow users to sort records |
181181
| **search** | `boolean` | optional (default: `true`) | Allow users to search records |
182182
| **filter** | `boolean` | optional (default: `true`) | Allow users to filter records |
183-
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload |
183+
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload. Governs only the wide toolbar's Refresh button (`compactToolbar: false`): the default toolbar has no Refresh, so the toggle changes nothing there. |
184184
| **rowHeight** | `boolean` | optional (default: `true`) | Allow users to toggle row height/density |
185185
| **group** | `boolean` | optional (default: `true`) | Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level `grouping` block. |
186186
| **addRecordForm** | `boolean` | optional (default: `false`) | Add records through a form instead of inline |

‎content/docs/references/ui/view.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ An any-of group: `{ or: [rule, ...] }` matches a record when ANY of its rules ma
10961096
| **sort** | `boolean` | optional (default: `true`) | Allow users to sort records |
10971097
| **search** | `boolean` | optional (default: `true`) | Allow users to search records |
10981098
| **filter** | `boolean` | optional (default: `true`) | Allow users to filter records |
1099-
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload |
1099+
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload. Governs only the wide toolbar's Refresh button (`compactToolbar: false`): the default toolbar has no Refresh, so the toggle changes nothing there. |
11001100
| **rowHeight** | `boolean` | optional (default: `true`) | Allow users to toggle row height/density |
11011101
| **group** | `boolean` | optional (default: `true`) | Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level `grouping` block. |
11021102
| **addRecordForm** | `boolean` | optional (default: `false`) | Add records through a form instead of inline |
@@ -1484,7 +1484,7 @@ An any-of group: `{ or: [rule, ...] }` matches a record when ANY of its rules ma
14841484
| **sort** | `boolean` | optional (default: `true`) | Allow users to sort records |
14851485
| **search** | `boolean` | optional (default: `true`) | Allow users to search records |
14861486
| **filter** | `boolean` | optional (default: `true`) | Allow users to filter records |
1487-
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload |
1487+
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload. Governs only the wide toolbar's Refresh button (`compactToolbar: false`): the default toolbar has no Refresh, so the toggle changes nothing there. |
14881488
| **rowHeight** | `boolean` | optional (default: `true`) | Allow users to toggle row height/density |
14891489
| **group** | `boolean` | optional (default: `true`) | Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level `grouping` block. |
14901490
| **addRecordForm** | `boolean` | optional (default: `false`) | Add records through a form instead of inline |
@@ -1669,7 +1669,7 @@ User action toggles for the view toolbar
16691669
| **sort** | `boolean` | optional (default: `true`) | Allow users to sort records |
16701670
| **search** | `boolean` | optional (default: `true`) | Allow users to search records |
16711671
| **filter** | `boolean` | optional (default: `true`) | Allow users to filter records |
1672-
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload |
1672+
| **refresh** | `boolean` | optional (default: `true`) | Allow users to reload the view data from the backend without a full page reload. Governs only the wide toolbar's Refresh button (`compactToolbar: false`): the default toolbar has no Refresh, so the toggle changes nothing there. |
16731673
| **rowHeight** | `boolean` | optional (default: `true`) | Allow users to toggle row height/density |
16741674
| **group** | `boolean` | optional (default: `true`) | Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level `grouping` block. |
16751675
| **addRecordForm** | `boolean` | optional (default: `false`) | Add records through a form instead of inline |

0 commit comments

Comments
 (0)