mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
134 stars 36 forks source link

Pagination in question list #93

Closed mazipan closed 11 months ago

mazipan commented 11 months ago

Is your feature request related to a problem? Please describe. Now we will fetch all the data in the question list, as the data growing pagination may needed.

The initial page that I can think for now is around 30 since we show 3 item in a single row so expect we will show 10 rowa.

Describe the solution you'd like Update the Notion API to get the list of questions, using the Search API instead.

Describe alternatives you've considered If not possible doing the pagination from the server, then slice it from the frontend. This is not a good way, reserve for the last.

Additional context The same approach can be applied for the /eksplor page as well.

mustafaazad03 commented 11 months ago

Hi, I want to work on this issue but it requires env file credentials! so can you provide me with that ??