Upgrade gitlab-ui and update gl-pagination usage
Summary
Once gitlab-ui!259 (merged) gets merged, gl-pagination
's usage in GitLab will need to be updated to reflect the breaking changes it introduces.
Improvements
The pagination component had to be heavily refactored to conform to our design system.
Risks
The primary risk is that the change
prop has been deprecated in favor of a change
event, the upgrade path should be as easy as replacing :change=
with @change=
wherever the component is used.
Otherwise, all occurrences of gl-pagination
in GitLab's codebase will be analyzed to see if any of them might break for other reasons.
Since a lot of specs seem to target .gl-pagination
selectors, we'll need to make sure these tests still pass after the upgrade.
Involved components
./app/assets/javascripts/vue_shared/components/pagination_links.vue