Open hdodov opened 4 years ago
I think this needs an infinite scrolling (lazy-loading) feature to be useful. Loading all items can be a huge performance problem if there are more pages than originally expected after a while of use. Users often don't realize that the reason why the Panel becomes slower or even non-functional is the huge list of pages.
So the best way to implement your idea as well as #429 would probably be a new pagination
option that can have the following values:
true
: Display pagination (default)false
: Hide pagination and hard-limit the list to the specified limit
(#429)'auto'
: Automatic infinite scrolling@lukasbestle yeah, lazy-loading will definitely be nice. But in my case, I know for a fact that there will be no more than about 50 pages, which is why I wanted to disable the limit. Now that I think of it, perhaps setting something like limit: 60
makes the most sense for my case. But lazy-loading and limit: false
will definitely be nice to have.
I want to display all pages in the main column in the panel without pagination. I've set the other column to sticky and I want the user to be able to freely scroll all entries.
Currently, I can do this with the following blueprint:
It would be much more intuitive to have this instead:
It would be great to have this functionality for all other places where you have pagination.
Edit: Related #429