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

Add a usePagination hooks #4065

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Add a usePagination hooks #4065

merged 1 commit into from
Jun 13, 2024

Conversation

bjoernricks
Copy link
Contributor

What

Add a usePagination hook

Why

The hook returns functions the update a filter for getting the next, previous, first and last page for a list of entities. This is required for the pagination at the bottom and top of each table for a list page.

References

HOCless entities pages

Checklist

  • Tests

@bjoernricks bjoernricks requested a review from a team as a code owner June 13, 2024 10:05
Copy link

github-actions bot commented Jun 13, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA c2f9047.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link

Conventional Commits Report

Type Number
Added 1

🚀 Conventional commits found.

The hook returns functions the update a filter for getting the next,
previous, first and last page for a list of entities.
@bjoernricks bjoernricks merged commit 5a78a99 into main Jun 13, 2024
10 of 11 checks passed
@bjoernricks bjoernricks deleted the use-pagination branch June 13, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants