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

💻 Replace public adventures pagination with infinite scroll #6124

Merged
merged 7 commits into from
Jan 23, 2025

Conversation

rix0rrr
Copy link
Collaborator

@rix0rrr rix0rrr commented Jan 22, 2025

The public adventures page had a pagination mechanism, with "next page"/"prev page" buttons.

A more modern idiom these days is to use "infinite scroll": once the user scrolls to the bottom of the container, we fetch the next bit of results, and so on.

How to test

Go to the public adventures page, scroll to the bottom of the result list, try to catch a glimpse of the spinner before the next set of results loads.

image

The public adventures page had a pagination mechanism, with "next
page"/"prev page" buttons.

A more modern idiom these days is to use "infinite scroll": once the
user scrolls to the bottom of the container, we fetch the next bit
of results, and so on.
@rix0rrr rix0rrr requested a review from AnneliesVlaar January 22, 2025 13:34
@rix0rrr rix0rrr changed the title 💻 Make the public adventures infinite scroll 💻 Give the public adventures page infinite scroll Jan 22, 2025
@rix0rrr rix0rrr changed the title 💻 Give the public adventures page infinite scroll 💻 Replace public adventures pagination with infinite scroll Jan 22, 2025
Copy link
Collaborator

@AnneliesVlaar AnneliesVlaar left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

mergify bot commented Jan 23, 2025

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

Copy link
Contributor

mergify bot commented Jan 23, 2025

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit a8d2b09 into main Jan 23, 2025
11 checks passed
@mergify mergify bot deleted the infiniscroll branch January 23, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants