Add pagination to group code coverage projects table

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

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 🤖 GitLab Bot 🤖