Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pagination for Messages #3

Open
phillip055 opened this issue Jun 18, 2018 · 3 comments
Open

Add Pagination for Messages #3

phillip055 opened this issue Jun 18, 2018 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@phillip055
Copy link

No description provided.

@sar-gupta
Copy link
Owner

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

@phillip055
Copy link
Author

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.

@sar-gupta
Copy link
Owner

sar-gupta commented Jun 21, 2018

@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 sar-gupta added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants