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
Copy file name to clipboardExpand all lines: skills/SKILL.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,11 @@ All URLs use base `https://data-table.openstatus.dev`.
47
47
48
48
### Minimal Working Table (Memory Adapter)
49
49
50
+
> **Note:**`DataTableInfinite` internally renders `DataTableProvider`, which already wraps children with `ControlsProvider` and `DataTableStoreSync`. You do NOT need to add these separately. The only wrapper you need is `DataTableStoreProvider` (for the BYOS adapter).
-**nuqs: silent failure or crash**: Two required setup steps — `<NuqsAdapter>` in root layout AND `<Suspense>` around the table component. See [references/store-adapters.md](references/store-adapters.md).
172
+
-**nuqs: filters not applied from URL on load**: Pass server-parsed search params as `initialState` to the nuqs adapter. See the SSR Hydration section in [references/store-adapters.md](references/store-adapters.md).
173
+
-**nuqs: phantom filters with empty string**: Use `field.string()` (null default), not `field.string().default("")`.
174
+
-**Sheet dropdown missing**: `SheetField.type` must match the filter type (not `"readonly"`) to get the filter dropdown. Use `generateSheetFields()` to auto-derive from filter config.
171
175
-**Filter not rendering**: Verify filter type string matches `FILTER_COMPONENTS` key.
172
176
-**Tailwind v4**: Registry targets v4. Class syntax differs from v3.
Use `generateSheetFields()` whenever possible — it handles this mapping automatically. If manually defining `sheetFields`, set `type` to match the corresponding `filterFields` entry to get the dropdown.
166
+
153
167
### Filter Schema for Store Adapters
154
168
155
169
`generateFilterSchema` produces a schema compatible with all adapters:
0 commit comments