ui5-webcomponents
ui5-webcomponents copied to clipboard
Feature Request - Required ShortcutText property in MenuItem
Feature Request Description
In MenuItem we need a shortcutText property so that we can add shortcut texts along with the menu Item.
Proposed Solution
Just like we have that property in Orca-React-UI
Proposed Alternatives
Additional Context
Kindly refer to the screenshots:
Its Purpose:
In Orca-React-UI they offer this:
Priority
- [ ] Low
- [ ] Medium
- [ ] High
- [x] Very High
As we are in the middle of migrating the whole project "SAC Lite-Viewer" from Orca-React-UI to UI5-WebComponent for React. So we will be needing this feature on urgent basis.
Stakeholder Info (if applicable)
- Organization: { SAP }
- Business impact: {...}
Hello @SAP/ui5-webcomponents-topic-b ,
Take a look of this feature request for shortcutText
property.
Best regards, Petar
Hello @petyabegovska! I just wanted to check in to see if you'd had a chance to look at this one yet. Does it seem like something that might be possible?
Hi @scameron,
Yes, it is possible technically, but I am waiting also for the UX/VD feedback.
One clarification question on your use case: Do you need to hide the text on mobile? (as there are no shortcuts there).
Best regards, Petya
Sorry for the delay, @petyabegovska, I needed to double check with the team. For our specific need, we will not be using the MenuItem control on mobile so we don't have any special requirement there.
But in general, I think what you're saying sounds correct, that it should probably be hideable for cases where shortcut keys don't make sense. But our particular use case doesn't require this.
Hi @petyabegovska , were you able to get any feedback from UX/VD team?
Hi @petyabegovska, just wanted to check in about this one again. Does it seems like something that could be added to the component?
Issue resolved with https://github.com/SAP/ui5-webcomponents/pull/5867 and released with 1.8.0