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.54k stars 265 forks source link

[Toolbar] Support for Additional Components in Toolbar #9851

Open SinanOzdemir55 opened 1 month ago

SinanOzdemir55 commented 1 month ago

Is your feature request related to a problem?

In previous versions of UI5, the Toolbar component supported a variety of UI5 elements and components. However, in the version 2.X.X, the documentation notes:

"Currently only ToolbarButton, ToolbarSelect, ToolbarSeparator, and ToolbarSpacer are allowed here."

This limitation has significantly reduced the flexibility of the Toolbar, as it now restricts developers from using other UI5 components inside the Toolbar, which was possible in earlier versions.

Describe the solution you'd like

We would like to request the re-introduction of support for additional components within the Toolbar, such as input fields, checkboxes, icons, and other UI5 elements that were previously supported. This flexibility was important for building complex user interfaces with the Toolbar.

Describe alternatives you've considered

-

Additional Context

Is there a plan to reintroduce support for other components in the Toolbar in future releases? If so, could you provide an estimated timeline for when we might expect this change?

Organization

SAP AITMS

Declaration

MarcusNotheis commented 1 month ago

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

didip1000 commented 1 month ago

Hello @SAP/ui5-webcomponents-topic-p,

Can you please take a look at this feature request. I checked the documentation for the default toolbar slot, and it's says the same for both versions.

Thank you, Diana P.

SinanOzdemir55 commented 1 month ago

Hello Diana,

Thank you very much for the quick reply.

Just to clarify where we got this information, please find below the documentation for v2 regarding the Toolbar.

Please let us know if you have any more questions.

Best regards, Sinan

New v2 src = https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/layouts-floorplans-toolbar--docs

image

Old v1 src = https://sap.github.io/ui5-webcomponents-react/v1/?path=/docs/layouts-floorplans-toolbar--docs

image
Lukas742 commented 1 month ago

Hi @SinanOzdemir55,

I just wanted to make sure you're aware that you can still use the React-only ("old") Toolbar implementation (docs), which we've moved to our compat package (@ui5/webcomponents-react-compat). The compat package includes components that won't receive any updates (except for bug fixes), so this feature request still makes sense.

petyabegovska commented 1 month ago

Hi @SinanOzdemir55,

Adding additional components is planned but still cannot commit any timelines as we have design and architecture discussions. We will update you as soon as possible.

Best regards, Petya

SinanOzdemir55 commented 1 month ago

Hi @Lukas742 and @petyabegovska
Thank you both for your quick responses. Best regards, Sinan