tisn.app icon indicating copy to clipboard operation
tisn.app copied to clipboard

Add some sort of pagination support.

Open AlbertoPdRF opened this issue 5 years ago • 8 comments

At the moment, the only page that exists which will need some sort of pagination is the home page, but other pages will also need it in the future: users page, events page (see #4), etc.

AlbertoPdRF avatar Apr 07 '20 17:04 AlbertoPdRF

Most likely comments and for sure messages will also need this!

(Do not forget to check about infinity scroll solutions.)

AlbertoPdRF avatar Apr 28 '20 12:04 AlbertoPdRF

@AlbertoPdRF Hi I'm Sreerag, I have worked with infinite scroll component in the latest work related project I'm doing in React. I guess i could help you here

Sreeragsprks avatar Jun 19 '20 06:06 Sreeragsprks

Hi Sreerag! 👋 It's nice to have you here!

How would you go about implementing such feature?

AlbertoPdRF avatar Jun 19 '20 08:06 AlbertoPdRF

Well , we could create a custom component or maybe use an already existing package and adapt it to the needs of the project

Sreeragsprks avatar Jun 19 '20 10:06 Sreeragsprks

Let's continue the discussion in Slack and then we can post a summary about how to proceed here 🙂

AlbertoPdRF avatar Jun 20 '20 11:06 AlbertoPdRF

You might find https://github.com/miketalbot/react-virtual-dynamic-list this library of mine useful for that. Works on iOS for virtual lists etc.

miketalbot avatar Jun 20 '20 19:06 miketalbot

Thanks for the recommendation @miketalbot! Would you be interested in contributing? 😄

AlbertoPdRF avatar Jun 22 '20 12:06 AlbertoPdRF

After @Be-Like's work on #279, it's pretty clear that we need to take some action regarding this issue! As everything is now, the app gets quite slow and not pleasant to use at all with a database filled with a not-so-high number of documents :disappointed:

AlbertoPdRF avatar Oct 08 '20 16:10 AlbertoPdRF