SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.51k stars 263 forks source link

Why is there no pagination component? Is it because the infinite scrolling solution is recommended? #6162

Open zybzzc opened 1 year ago

zybzzc commented 1 year ago

I'm using ui5-webcomponents to build a web CMS. But there is no pagination component in ui5 which I frequently used in my previous projects, and I find this demo app uses infinite scrolling for its products table. So. Is pagination not recommended in enterprise-level management applications?

NHristov-sap commented 1 year ago

Hello @SAP/ui5-webcomponents-team,

take a look of this feature request.

Best Regards, Nikolay Hristov

NHristov-sap commented 1 year ago

Hi @zybzzc,

I have contacted the UX colleagues about your request. The statement they returned is that we do not have pagination as Fiori Guidelines in general don't recommend using of pagination. You can do lazy loading of more elements instead, or you can implement pagination by your side if you want.

Best Regards, Nikolay Hristov

ilhan007 commented 1 year ago

Hello @zybzzc , thank you for your request!

The request will be discussed internally.

BR, ilhan

zybzzc commented 1 year ago

@NHristov-sap Thanks, but can you provide more details about the conclusion:

Fiori Guidelines in general don't recommend using of pagination.

In my opinion, using pagination on the desktop is much easier to use than load-more. You can easily jump pages and share them with colleagues by routing queries.

zybzzc commented 1 year ago

@ilhan007 Thanks!

As I said above, I think pagination is good for browsing while the user manages the content, while load more is more suitable for the user to browse aimlessly

And looking forward to your conclusions.

PetriLahdelma commented 1 year ago

Hi! Could this discussion be opened again?

We at SAP Build Apps are hoping to develop excel-like table based interfaces for our data management solutions, and we'd desperately need pagination for also other use cases. Using a continuous/infinite scroll is not possible due to technical limitations and it would furthermore be bad UX design in this case.

Thanks!

zanfee commented 7 months ago

At Bechtle we have tables with thousands of rows and also prefer to use pagination for this. Using infinite scroll to find a specific row takes a long time and is not great for performance among other reasons.

vicslavova commented 3 months ago

In BTP products we also use pagination and we have a specification for it in the BTP guidelines if you want to take a look.