Issue #6: Implement Pagination
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Description:
All posts currently load at once. Implement cursor-based pagination for better performance and UX.
Current Problem:
- Fetching all posts on feed load
- Slow with >100 posts
- High memory usage
- Poor UX for new users with empty feeds
Solution:
Cursor-based pagination with infinite scroll
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the feed-loading entry point and trace how posts are fetched across the Express.js API and Flutter client. Review the existing post query and define the cursor and infinite-scroll behavior before changing anything. Done means the feed no longer loads all posts at once, supports cursor-based loading, and preserves the intended empty-feed experience.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, flutter, javascript, supabase
- Domain
- backend-api-design, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100