space icon indicating copy to clipboard operation
space copied to clipboard

Add Pagination for Messages

Open phillip055 opened this issue 6 years ago • 3 comments

phillip055 avatar Jun 18 '18 11:06 phillip055

Hey @phillip055, Please provide more details on this. How would pagination for messages work? With respect to date?

sar-gupta avatar Jun 20 '18 02:06 sar-gupta

So when the number of messages let's say increases till 10k messages in a room, then it doesn't make sense to load the entire bunch of messages, we can pull 50 at a time.

phillip055 avatar Jun 20 '18 17:06 phillip055

@phillip055 Oh okay, so we should start loading from the last message, and then lazy load more as required. Nice point 👍 I'm slightly busy these days, but PRs for this are welcome! I'll try to implement this when I get the time.

sar-gupta avatar Jun 21 '18 14:06 sar-gupta