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

Paginate project downloads #3906

Open
magicznyleszek opened this issue Jul 5, 2022 · 0 comments
Open

Paginate project downloads #3906

magicznyleszek opened this issue Jul 5, 2022 · 0 comments
Labels
Front end introductory Good task for newcomers

Comments

@magicznyleszek
Copy link
Member

magicznyleszek commented Jul 5, 2022

Description

Currently frontend is displaying 9999 latest exports. The API endpoint supports pagination, so UI should also support it ("LOAD MORE" button or infinite scroll would suffice - we can improve UX later after we have pagination code in place). Paginating by 50s is good for start.

See getAssetExports method in dataInterface.ts. And of course this is about Project → Data → Downloads (/#/forms/<uid>data/downloads). You can probably try adding more exports faster (so that there is enough for pagination to happen) using API.

Ensure tha the API already supports pagination (i.e. is following the PaginatedResponse<T>)

@magicznyleszek magicznyleszek added Front end introductory Good task for newcomers labels Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Front end introductory Good task for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant