ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Feature request for Tooltip Property in MenuItems with an icon

Open ShivamGuptaSap opened this issue 2 years ago • 8 comments

Feature Request Description

In Menu, one of the MenuItem contains two icons and one of them is tooltip. Additionally, in Menu there is a requirement of just tooltip where we only need to just display the tooltip not the icon.

Proposed Solution

So can we please add a tooltip property and with its icon as an extra optional property in MenuItem.

Additional Context

Kindly refer to this screenshot for more clarity.

With Icon:

Screenshot 2022-10-18 at 3 40 07 PM

Without Icon: Screenshot 2022-11-15 at 1 25 33 PM

Priority

  • [ ] Low
  • [ ] Medium
  • [ ] High
  • [X] Very High

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

Stakeholder Info (if applicable)

  • Organization: {SAP}
  • Business impact: {SAC}

ShivamGuptaSap avatar Oct 18 '22 10:10 ShivamGuptaSap

Hi @petyabegovska, I've updated the screenshots to state the requirement for better clarity, Please feel free to reach out to me for any clarification. Regards, Shivam

ShivamGuptaSap avatar Nov 15 '22 07:11 ShivamGuptaSap

Hi @petyabegovska, just wanted to check in about this feature request. Does it seem like something that might be feasible to be added?

scameron avatar Jan 25 '23 08:01 scameron

Hi @scameron,

I still cannot answer. We will need some more time to evaluate it.

Best regards, Petya

petyabegovska avatar Jan 30 '23 12:01 petyabegovska

Hey, I just wanted to check for an update here. We ran into another use case in a different area of SAC where we want to use this as well. For accessibility and user experience reasons it is often helpful to add a tooltip to disabled buttons, to explain to the user why this particular action cannot be performed right now. Thanks!

Nef10 avatar Nov 10 '23 18:11 Nef10

Hi @petyabegovska, it looks like we're going to need to use this approach somewhat soon in our project. Do you think it's something that could be implemented on your side?

scameron avatar Jan 19 '24 08:01 scameron

Hi @scameron, we are working on solution to provide a custom menu item, which should cover several use case of SAC, but there are still discussions on it. @DMihaylova can provide more details on that topic.

petyabegovska avatar Jan 19 '24 08:01 petyabegovska

Hi @DMihaylova, what are your thoughts on this? Would it be something your team would be OK adding to the control? This is a pattern we're being asked for by our UX and we'd like to use it in SAC in a few different scenarios.

scameron avatar Jan 23 '24 09:01 scameron

Hello @ShivamGuptaSap & @Nef10,

As of version 1.23 we'll introduce the following features (with this pull request):

  • now there's a possibility to have a focus over a disabled menu item
  • now a menu item could have a tooltip property

Our future plans don't include adding a property for a single button at the end of the item. We're going in a more generic direction for providing a custom menu item so an application developer could add there whatever needed. Still, we're in a research phase and the timeline is not clear.

DMihaylova avatar Feb 23 '24 11:02 DMihaylova