-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More Complex Pagination #221
Comments
Hi @erich3000, I agree with you, such types of pagination are best suited for sites with a large number of pages. However, it seems to me that this problem must be solved from a design point of view in mind also. Several design pitfalls can degrade the whole user experience. It is a difficult task. I expect to see examples of all possible important design states in any form (design in design tools, draft PR, ...). Until then, I don't quite understand how this pagination should work and look in most edge cases. The devil is in the detail.
Why not just show the first and the last page as a clickable item, just like any other pages without additional params and items like For example:
|
Hi @Vimux, and i agree with you. When i started to implement the pagination, i recognized (again) very fast that there are a lot of pitfalls in a "simple" ui-component like a pagination. and i totally neglected mobile users. After that i stopped it and then there was a lot of other stuff i had to do in other projects. Now i will start with pen and paper and make a concept first. I will share that with you as soon as i have a good solution. |
Hi @Vimux, I came up with the following. To get a feeling how it would look like on my blog i created a (non funtional) concept page there: https://foodie.yamwoonsen.de/__concepts/pagination/ There you can also test it in mobile view. |
First of all, sorry for the delay - I've been crazy busy. Thanks for your patience!
|
Hi @Vimux, thanks for you reponse and your input! The ider of the fixed first page makes a lot of sense! that and a lot of playing around with where-to-put-ellipsis-items and which items should be neighbours combined with the concern for mobile usage brought me to a new concept with a included dropdown box. i implemented that idea already on my blog (https://foodie.yamwoonsen.de/ see the bottom) and let people test it there. I will be on holiday for the next two weeks, so there will be no update from my side. |
I am using Mainroad since last week and i am really happy with it. thank you @Vimux for the great work.
As i have a lot of content i need a more complex pagition. the current
[<][x/y][>] is not sufficient. furthermore i think it is hard to use from a user perspective, if i want to reach for exampe page 7.
i suggest to be able to configure a more complex pagintion.
[Params.pagination]
use_complex = true # use the complex pagination
use_first_and_last_button = true # the user is able to jump to the first or last page with on click
max_num_of_buttons = 5 # how many buttons should be shown before using ellipsis
The Pagination should then look like that
[<<][<][..][5][6][7][8][9][..][>][>>]
i am already working on a proof a of concept and would be happy to raise a PR later on if this would be usefull to others
The text was updated successfully, but these errors were encountered: