-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feat: Add pagination total results #383
Conversation
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.
Hi @b-hok, many thanks for your contribution !
It looks great overall, I just have a few comments to share with you.
tests/component/sections/shared/pagination/PaginationResultsInfo.spec.tsx
Outdated
Show resolved
Hide resolved
tests/component/sections/shared/pagination/PaginationResultsInfo.spec.tsx
Outdated
Show resolved
Hide resolved
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.
LGTM now! Approved!
We will move to QA this issue and merge it later if everything is working as expected!
Many thanks for your contribution to Dataverse Frontend! 🙌
Feat: Add pagination total results
What this PR does / why we need it:
Formats the total number of items of the pagination result according to the user's preferred language. Applied to locales/en/pagination
Which issue(s) this PR closes:
Closes #330
Special notes for your reviewer:
Suggestions on how to test this:
Storybook (There are additional areas that can be viewed too)
Sample URL 1: http://localhost:6006/?path=/story/sections-dataset-page-datasetfiles--no-filters
Cypress
Relating tests found in PaginationResultsInfo.spec.tsx
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
See Issue #330
Is there a release notes update needed for this change?:
Additional documentation: