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

Lazy loading on Paginators #90

Open
ByteAlex opened this issue Sep 25, 2021 · 0 comments
Open

Lazy loading on Paginators #90

ByteAlex opened this issue Sep 25, 2021 · 0 comments
Assignees
Labels
Type: Enhancement Improvements to existing features. Type: Feature Suggestions and tracking for new features.

Comments

@ByteAlex
Copy link
Contributor

Summary

Paginators should support lazy loading pages with either "infinite scroll" or a fixed ending.

Current Behaviour

Pages need to be predefined from the creation of the message.

Preferred Behaviour

Pages should be lazy loaded as a user may click through them.

Reasoning

A database may be large; for example a leaderboard. You need a sorted subset of it, but not all data at once. That saves a lot of traffic and cpu cycles for data which most likely is never been seen anyway... Who is gonna click the "next page" 25 times every time they open the leaderboard, right?

@gdude2002 gdude2002 self-assigned this Sep 25, 2021
@gdude2002 gdude2002 added Type: Enhancement Improvements to existing features. Type: Feature Suggestions and tracking for new features. labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improvements to existing features. Type: Feature Suggestions and tracking for new features.
Projects
None yet
Development

No branches or pull requests

2 participants