Skip to content
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(Pagination): update default page range text #6675

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Aug 14, 2020

Closes #6624

This PR updates the default pageRangeText function to account for single page ranges

Testing / Reviewing

Confirm the page range text makes sense when the total number of pages equals 1 and does not equal 1

@netlify
Copy link

netlify bot commented Aug 14, 2020

Deploy preview for carbon-elements ready!

Built with commit bf84010

https://deploy-preview-6675--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Aug 14, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit bf84010

https://deploy-preview-6675--carbon-components-react.netlify.app

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emyarod lgtm! :)

@kodiakhq kodiakhq bot merged commit d461f83 into carbon-design-system:master Aug 24, 2020
@emyarod emyarod deleted the 6624-default-pagination-pages-text branch August 25, 2020 16:23
@joshblack joshblack mentioned this pull request Aug 27, 2020
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Pagination] The footer should be singular if only one item/page
3 participants