-
Notifications
You must be signed in to change notification settings - Fork 251
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
fix(clerk-js): Incorrect result counters in data tables #2056
Conversation
🦋 Changeset detectedLatest commit: fb2df9d The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Is it possible to add one test for each component?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @panteliselef - can we please add at least one unit test covering these?
eb04b8d
to
fb2df9d
Compare
* fix(clerk-js): Incorrect result counters in data tables * test(clerk-js): Unit test for pagination counts (cherry picked from commit 64d3763)
* fix(clerk-js): Incorrect result counters in data tables (#2056) * fix(clerk-js): Incorrect result counters in data tables * test(clerk-js): Unit test for pagination counts (cherry picked from commit 64d3763) * chore(clerk-js): Import missing act This was caused by missing commit that was not backported --------- Co-authored-by: panteliselef <panteliselef@outlook.com>
!snapshot |
Description
This PR fixes issues with incorrect values in table pagination as users select pages
Before
Page 2
After
Page 2
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/clerk-expo
@clerk/fastify
gatsby-plugin-clerk
@clerk/localizations
@clerk/nextjs
@clerk/clerk-react
@clerk/remix
@clerk/clerk-sdk-node
@clerk/shared
@clerk/themes
@clerk/types
build/tooling/chore