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

LB-1647: use anchor links in MissingData pagination #3001

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

MonkeyDo
Copy link
Member

@MonkeyDo MonkeyDo commented Oct 19, 2024

On the Missing Data page, the pagination uses anchor links as buttons and does navigation programmatically.
This prevents opening the next page in new tab, for example.

Instead, use the react-router Link component which renders an anchor link.
See on hover that it is indeed a regular anchor link according tho the browser:
image

Also opted for disabling prev/next buttons on first/last page respectively, instead of making them invisible which is not required and changes the UI elements for no good reason.

Instead of using links as buttons and navigating programmatically, preventing opening in new tab for example
after changes in 1cd6f70 a bunch of code is not used anymore
@MonkeyDo MonkeyDo merged commit 0d35182 into master Oct 21, 2024
2 checks passed
@MonkeyDo MonkeyDo deleted the LB-1647 branch October 21, 2024 09:09
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