Add pagination for Package "other versions" tab
Context
The other versions page on the package currently does not have pagination. It would probably improve performance to add pagination.
Questions
- What happens currently if there are many other versions? Does it display them all?
- What is a reasonable amount of other versions to return per page
- Does this need backend support?
Proposal
- Add pagination
Implementation guide
- Move implementation from line https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/packages_and_registries/package_registry/pages/details.vue#L363 to a separate component
- Show 20 package versions per page
- On previous & next page use the version part of the package details query
- Similar implementation can be found in https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/packages_and_registries/package_registry/components/list/packages_list.vue
Edited by Rahul Chanila