Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/25994-objectgrid-query-grouping-hooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@object-ui/plugin-grid': patch
---

refactor(plugin-grid): `ObjectGrid`'s query inputs and grouping decisions move into two sibling hooks

Clause-②: no
Metadata-protocol: none

Two adjacent blocks of the `ObjectGrid` component move verbatim out of `ObjectGrid.tsx`. The projection keys and the view's filter, sort, search and server-paging state go to `useObjectGridQueryInputs` (`objectGridQueryInputs.ts`). The masked grouping-key refusal, the server-grouping decision, the two grouping refusals, the fetch window and the held group row query go to `useObjectGridGroupingDecisions` (`objectGridGroupingDecisions.ts`). `ObjectGrid` calls each hook where its block stood, so its hook order, its queries, its warnings and its rendered output do not change. No name is renamed, and the package entry is unchanged.

What to do: nothing.
Loading
Loading