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

Shellbar Menu items do not support right click + open new tab #4077

Open codefactor opened 3 years ago

codefactor commented 3 years ago

Feature Request Description

SuccessFactors has started to use the <ui5-shellbar> and the menu items (a.k.a. module picker) used to support Right Click + Open in new tab. The way it did this was by rendering the line item as an anchor link with an href. Can this be support be added to the web component?

Proposed Solution

The <ui5-li> that we put into slot="menuItems" might support other things like <ui5-link> or something else that supports right click to open in new tab. But visually speaking the menu should look exactly the same as it did before.

Proposed Alternatives

No known alternatives, user can only left click the menu item and do the default behavior without customizing it.

Additional Context

This functionality will be missed when we activate the new header, and people have already started to notice that this is gone.

Priority

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

nnaydenow commented 2 years ago

Hi @codefactor ,

The specification of the component is not supporting this scenario and it was not design to work that way. We were thinking about another solution but seems that there is no stable solution about this requirement. It was synced with our PO and at the moment we will reject this feature request. @jdichev

Regards, Nayden

reqyou commented 2 years ago

@nnaydenow cc @ilhan007, same applies for product switch items?

Best, Felix

nnaydenow commented 2 years ago

Hi @jdichev ,

Can you check this one?

jdichev commented 2 years ago

Sure, also adding @dobrinyonkov.