Improvement in simple pagination (without count)
Problem to solve
As a general user, I want to have and indication of the current page so I have a better sense of the current position and I don't get lost. This is not available in simple pagination, where the current page is not displayed.
If a user gets a link like this: http://gitlab.com/xxx/flightjs/flight/-/jobs?page=3, except for the parameter in the URL, there is no indication of the page he/she is in.
Intended users
This is relevant for these users:
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
- Simone (Software Engineer in Test)
- Allison (Application Ops)
- Priyanka (Platform Engineer)
User experience goal
The user would be able to navigate the UI more comfortably.
Proposal
I believe it is possible to display the current page and boundary pages (which corresponds with the previous and next links, but in a numerical fashion).
I suggest a minimal pagination in this way:
Simpler layouts are also possible.
For mobile users, the current layout with just the next and previous buttons should be OK.
It maybe useful to contact with the developers of the pagination library to double check.
Further details
I am looking for an opportunity to become familiar and contribute to GitLab's code. @dennis suggested that I open and issue with this suggestion.