Issues Analytics: Add pagination to table
Problem
The Issues Analytics table is currently limited to displaying the first 100 rows. There is no way to view additional rows.
Proposal
Once the GraphQL migration for the table has been completed, we can add the Prev / Next pagination options to the bottom of the table.
Additional details
Can be found in the epic &7466
Implementation Guide
-
Add the GlPagination component to the issue analytics table - We can probably use the prev/nextvariant of pagination -
Update the DEFAULT_API_URL_PARAMSto includepage, with a default of1https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/issues_analytics/components/issues_analytics_table.vue#L22 -
Add a pagedata property to the issue analytics table so we can track the currently selected page -
Add a handler to the pagination component to update the pageproperty when we select a new page
Edited by Ezekiel Kigbo