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 to requests #1

Open
3nt3 opened this issue Feb 25, 2022 · 2 comments
Open

Add pagination to requests #1

3nt3 opened this issue Feb 25, 2022 · 2 comments

Comments

@3nt3
Copy link
Member

3nt3 commented Feb 25, 2022

When you query /users for example, you get all of the users in an array. That's cool for simplicity but when there are more users, this will probably result in unbearable loading times along with way too many items in the front end.

Proposal: Add pagination (for example: ?start=somenumber and ?end=anothernumber or ?start=somenumber and ?n=someothernumber)

@durek1337
Copy link
Contributor

I prefer the page number and the entries per page 😄 The backend should also return the amount of all entries found for pagination. The possibility of searching a user by its properties would also be nice at this place.

@durek1337
Copy link
Contributor

I would like to push this thread. This issue is the only one I see which interrupts our scalability. Please work on this issue with highest priority. Maybe we should also consider to filter inactive accounts for the requests by filtering with the SQL-Request.

Summary

  • Pagination to requests
  • Pagination for the users on the admin page (also with searching users by its properties)
  • Filter inactive accounts in the request-page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants