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

Adds pagination component #1586

Merged
merged 37 commits into from
Nov 7, 2024
Merged

Adds pagination component #1586

merged 37 commits into from
Nov 7, 2024

Conversation

Snorre98
Copy link
Contributor

@Snorre98 Snorre98 commented Nov 1, 2024

See it in Storybook here

Creates a modular pagination component, and a specific implementation for DRF pagination.
Component is inspired by how it is done here: https://ui.shadcn.com/docs/components/pagination#

See docs on DRF pagination here: https://www.django-rest-framework.org/api-guide/pagination/

bilde

bilde

bilde

bilde

@Snorre98 Snorre98 linked an issue Nov 1, 2024 that may be closed by this pull request
@Snorre98 Snorre98 changed the title adds all, very inspired by shadcn Adds pagination component Nov 1, 2024
@Snorre98 Snorre98 marked this pull request as ready for review November 1, 2024 23:01
Copy link
Member

@robines robines left a comment

Choose a reason for hiding this comment

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

Se kommentarer

@Snorre98 Snorre98 requested a review from robines November 6, 2024 20:14
@robines
Copy link
Member

robines commented Nov 7, 2024

test

@Samfundet Samfundet deleted a comment from emsoraffa Nov 7, 2024
@Snorre98 Snorre98 merged commit 850c0c2 into master Nov 7, 2024
5 checks passed
@Snorre98 Snorre98 deleted the 1585-pagination-component branch November 7, 2024 19:12
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.

Pagination component
2 participants