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

Pagination support in Scoring board overview #141

Open
jvilimek opened this issue Dec 13, 2022 · 1 comment
Open

Pagination support in Scoring board overview #141

jvilimek opened this issue Dec 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jvilimek
Copy link
Collaborator

Consider adding pagination (and filtering?) for the API.

Feature Suggestion

Enhancing the API for getting the data for the scoring board page so we don't need to load all scoring data at once when the page is displayed.

Context

There might be situations when there are hundreds of scores. The /score-board might then have performance issues. However, at the moment the client side handles also filtering, ordering, ... so this might be also considered.

@jvilimek jvilimek added the enhancement New feature or request label Dec 13, 2022
@T0RAT0RA
Copy link
Contributor

The catalog api return a link header (createRouter.ts#L120) when there a more pages, unfortunatly the catalogApi.getEntities doesn't return the headers, only the items.

So we'd need to find a lower level function to access this header, but I haven't found one.

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

No branches or pull requests

2 participants