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

feat(Pagination)!: Use links instead of buttons #1821

Merged

Conversation

alimpens
Copy link
Contributor

@alimpens alimpens commented Jan 17, 2025

Describe the pull request

Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.

What

It makes Pagination use links instead of buttons.

Why

Links make more sense here. Pagination is a nav section, which has to contain links.
In our guidelines we mention that clicking a Pagination link should navigate to the top of a new page.
That is default link behaviour.
Using links also allows users to open pages in a new tab, which isn't possible with buttons.

How

Using a instead of button, and getting rid of all the state stuff.

Checklist

Before submitting your pull request, please ensure you have done the following. Check each checkmark if you have done so or if it wasn't necessary:

  • Add or update unit tests
  • Add or update documentation
  • Add or update stories
  • Add or update exports in index.* files
  • Start the PR title with a Conventional Commit prefix, as explained here.

@alimpens alimpens requested a review from a team as a code owner January 17, 2025 14:09
@alimpens alimpens requested a review from dlnr January 17, 2025 14:09
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 17, 2025 14:10 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 17, 2025 14:12 Destroyed
@VincentSmedinga VincentSmedinga changed the title feat!: Pagination uses links instead of buttons feat(Pagination)!: Use links instead of buttons Jan 21, 2025
Co-authored-by: Vincent Smedinga <v.smedinga@amsterdam.nl>
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 22, 2025 13:00 Destroyed
Co-authored-by: Vincent Smedinga <v.smedinga@amsterdam.nl>
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 22, 2025 13:05 Destroyed
alimpens and others added 2 commits January 22, 2025 14:13
Co-authored-by: Vincent Smedinga <v.smedinga@amsterdam.nl>
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 22, 2025 13:15 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 22, 2025 13:18 Destroyed
Co-authored-by: Vincent Smedinga <v.smedinga@amsterdam.nl>
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 22, 2025 13:20 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 24, 2025 13:45 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 24, 2025 13:50 Destroyed
…into feat/DES-1024-pagination-links-instead-of-buttons
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 24, 2025 14:08 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 24, 2025 14:19 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 24, 2025 14:23 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-1024-pagination-links-instead-of-buttons January 24, 2025 14:33 Destroyed
@VincentSmedinga VincentSmedinga merged commit 6980251 into develop Jan 24, 2025
6 checks passed
@VincentSmedinga VincentSmedinga deleted the feat/DES-1024-pagination-links-instead-of-buttons branch January 24, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants