Skip to content

feat(api): introduce validated opt-in task pagination - #6

Open
thiagocanali wants to merge 2 commits into
feat/database-readinessfrom
feat/task-pagination-api
Open

thiagocanali wants to merge 2 commits into
feat/database-readinessfrom
feat/task-pagination-api

Conversation

@thiagocanali

Copy link
Copy Markdown
Owner

Changes

  • Accept validated page (1-based) and limit (1–100) on GET /api/v1/tasks.
  • Use Prisma skip/take with owner, status and priority predicates retained.
  • Add API boundary tests and document the staged migration.

Important limitations

This is intentionally not complete pagination: the existing dashboard still requests an unbounded list, and the API retains the legacy behavior for requests without paging parameters. Next work must implement frontend progressive loading, stable sort tie-breaks, search, counts, and then mandatory bounded paging. No production readiness claim.

Review

Stacked on PR #5 (feat/database-readiness) to avoid touching main. Do not merge until CI and code review pass. No local tests claimed.

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
task-desk Ready Ready Preview Nov 13, 2026 2:52pm UTC

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.

1 participant