tupuio / tupuapp

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

Find Mentor page: search with pagination support #74

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. See #73 .

In addition, 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.

Feature Description

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.

lorepirri commented 1 year ago

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