Add page counter to Release page pagination
Summary
On #241022 (closed) we updated the behaviour of the pagination component in the Release page. We need to add the page counter (e.g. Page 1 of 3
) next to the compact pagination component so the UI complies with Pajamas.
See https://design.gitlab.com/components/pagination#demo
Steps to reproduce
In a project Releases page that has more than 20 items, scroll to the bottom of the page to see the pagination component.
Example Project
https://gitlab.com/gitlab-org/gitlab/-/releases
What is the current bug behavior?
The page counter below the pagination component is missing.
What is the expected correct behavior?
We should display a counter below the pagination component.
Relevant logs and/or screenshots
current | expected |
---|---|
![]() |
![]() |
Output of checks
This bug happens on GitLab.com --
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)