Implement nuqs and zod filters for DataTableRouterForm#48
Implement nuqs and zod filters for DataTableRouterForm#48jaruesink merged 6 commits intocodegen-data-table-lc187from
Conversation
|
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
… in data table components and enhance DataTableRouterForm with improved filtering and pagination features. Refactor data table components for better clarity and consistency, including removal of unused files.
…ns and improve clarity.
…rms into codegen-data-table-nuqs-zod-lc190
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
This PR updates the DataTableRouterForm component to implement URL-based state management with nuqs and schema validation with zod as requested in LC-190.
Changes
useDataTableUrlStatefor managing filter state in the URLFeatures
This implementation follows the patterns from the reference repositories (kianbazza/ui and openstatusHQ/data-table-filters) while maintaining compatibility with the existing implementation.