Skip to content

Conversation

@GV14982
Copy link
Contributor

@GV14982 GV14982 commented Aug 22, 2025

  • fix: missing title when forking in seed script
  • feat: add infinite scroll pagination for recipe list

Description

We needed to show more than just the first page of recipes. I setup a new route for fetching paginated recipes, and added the logic to the RecipeList component.

I also moved the loader logic into a common function, since both that pagination loader and the main loader for the page are almost identical. I initially tried to just revalidate the existing one, but getting the cursor into the loader was gonna be weird. I didn't want to use path or query params because I wanted the URL to be stable (Although we may need to revisit this).

Checklist

  • I have tested these changes
  • I have updated documentation as needed

Related Issues

Closes #61

@GV14982 GV14982 added this to the Frontend MVP milestone Aug 22, 2025
@GV14982 GV14982 added enhancement New feature or request frontend Frontend work graphql GraphQL work priority: low labels Aug 22, 2025
@GV14982 GV14982 requested review from immonroe and lyehatten August 22, 2025 22:28
Copy link

@lyehatten lyehatten left a comment

Choose a reason for hiding this comment

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

thumbs up emoji

@GV14982 GV14982 merged commit 830400b into main Aug 23, 2025
3 checks passed
@GV14982 GV14982 deleted the feat/add-infinite-scroll-pagination branch August 23, 2025 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Frontend work graphql GraphQL work priority: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add infinite scroll pagination to homepage recipe list

3 participants