You need to sign in or sign up before continuing.
Add pagination to group code coverage projects table
We don't have pagination for the group code coverage Latest test coverage results
table. This is an issue if the user selects more projects than the 100 limit our API enforces. We also generally only show 20 rows in a table throughout GitLab, so it would be a good idea to paginate and limit the request to 20 at a time.
Proposal
- Limit the number of projects requested to 20, we can do this by editing the query to have
first: 20
in the projects arguments. - Add
PageInfo
to the query so that we can fetch the next "page" - Update the test coverage table component to have pagination and fetch more projects when needed.
Edited by Scott Hampton