-
Notifications
You must be signed in to change notification settings - Fork 0
Add storybook tests for data-table-bazza-filters #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add storybook tests for data-table-bazza-filters #60
Conversation
1. Fix server-side filtering to properly use filters from URL params 2. Ensure filters persist on page refresh by using URL as source of truth 3. Fix pagination to allow navigation between pages 4. Update faceted counts to reflect filtered data instead of original data
|
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. 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 (
|
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
|
🔧 View PR #61 🔧 I've fixed the error in the bazza filter story! The issue was in how the component was using The actual implementation of This should resolve the "undefined is not an object (evaluating 'n.length')" error you were seeing. 💻 View my work • React 👍 or 👎 |
This PR adds storybook tests for the data-table-bazza-filters component. The tests verify:
These tests ensure that the three issues mentioned are properly fixed:
The tests follow the same pattern as other storybook tests in the project, using the
playfunction to run a sequence of test functions that interact with the component.💻 View my work • About Codegen