tupuio / tupuapp

Tupu web application based on Next.js & Xata.io
https://tupu.io
Apache License 2.0
4 stars 3 forks source link

Xata page size: add pagination in lists #73

Open lorepirri opened 2 years ago

lorepirri commented 2 years ago

Problem

It seems that Xata has a default pagination set to 20 records results, and anyway has a max page records of 200.

We hope to reach more than 200 mentors, therefore pages hosting lists of results (e.g. Find Mentor page) need to support pagination.

Feature Description

Pages hosting lists of results (e.g. Find Mentor page) need to support pagination.

It might be a simple "Load more" button, to load more results.

Mind that anyway, where there is a search functionality (e.g. Find Mentor page), this must be updated to query against the DB with the search string, and give back the already filtered result. See #74 .

lorepirri commented 1 year ago

this can wait if we can show with the new Xata SDK, all of our mentors at once (~100)