MLSAKIIT / MLSAKIIT/KLink

Issue #6: Implement Pagination

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.