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

Implement pagination #17

Closed
michaelboyles opened this issue May 21, 2021 · 0 comments
Closed

Implement pagination #17

michaelboyles opened this issue May 21, 2021 · 0 comments
Labels
mvp Forms part of minimum viable product

Comments

@michaelboyles
Copy link
Owner

Currently, every single comment is loaded when the page load. It would be better if comments cut off after a certain point, with either a 'See more...' button, or maybe a trigger reacting to user scroll, that dynamically loads in the next batch.

In the simple case where every comment has no replies, this is really easy. Just sort by time and divide them into chunks.

When we take into account replies, it becomes harder to determine where the boundaries should be

Foo
 | ---> Reply
          |-----> Reply
Bar 

Think this will likely be related to #16, addressing the nesting problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mvp Forms part of minimum viable product
Projects
None yet
Development

No branches or pull requests

1 participant