Repository navigation
Commit 09fc0d2
committed
refactor(plugin-grid): move ObjectGrid's query inputs and grouping decisions into sibling hooks (slice 4)
Two adjacent blocks of the component body move verbatim: the projection
keys plus the filter, sort, search and server-paging state into
useObjectGridQueryInputs, and the grouping decisions (masked-key refusal,
server grouping, the two refusals, fetch window, group row query) into
useObjectGridGroupingDecisions. Each hook is called where its block
stood, so hook order is unchanged. The two inline-data effects between
them stay in ObjectGrid.tsx.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bdrd2yH4eqnz2QobtN3haE1 parent d0a7e74 commit 09fc0d2
4 files changed
Lines changed: 498 additions & 322 deletions
File tree
- .changeset
- ui/packages/plugin-grid/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments