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.55k stars 266 forks source link

[Feature Request]: List should have growingButtonText and growingButtonSubText properties #7028

Closed Vir-Mittal closed 8 months ago

Vir-Mittal commented 1 year ago

Feature Request Description

List component should have growingButtonText and growingButtonSubText properties similar to the Table component

Proposed Solution

Add growingButtonText and growingButtonSubText properties

Proposed Alternatives

No response

Additional Context

No response

Priority

Medium

Privacy Policy

petyabegovska commented 1 year ago

Hi @Vir-Mittal,

Can you provide a little bit more information on your use case and if possible stakeholder information?

Thanks and best regards, Petya

Vir-Mittal commented 1 year ago

Hi,

Stakeholder - SuccessFactors Our use case is that we have are displaying a list of comments and the list can have more than 20 comments. Initially though, we went to only load 5 of these comments and display the "more" growing button at the bottom of the list. The growingButtonText and growingButtonSubText properties would allow us to show the user how many more comments can be loaded. For example - "More [5/34]"

dobrinyonkov commented 8 months ago

Internal Reference: BGSOFUIPIRIN-6470

yanaminkova commented 8 months ago

Unlike the ui5-table, according to the design specification of the ui5-list, the component does not have designated space for the text of the growingButtonSubText property. Therefore, only the growingButtonText property will be implemented.