-
Notifications
You must be signed in to change notification settings - Fork 53
Squash tooltips from child elements in toolbar dropdown if disabled #372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@skateman Cannot apply the following label because they are not recognized: toolbars |
|
we want to show what is the title and what is the explanation |
|
@terezanovotna so you're saying: Like this? |
|
How about this? Title Subtitle --- Lorem Ipsum is simply dummy text Subtitle --- Lorem Ipsum is simply dummy text |
|
@terezanovotna here are some examples that I tried: I can vary some of these combos if you want to see them, just let me know which one 😉 |
|
this is my winner. Bullets - one dash - single newline Thank you! |
7862564 to
1783855
Compare
|
@karelhala travis issues seem irrelephant to me |
Hyperkid123
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks gut. And Travis is complains about dialog something else.
|
Travis fix is here #374 |
|
@martinpovolny it's already implemented and I think you meat React and not Angular 😉 |
1783855 to
ab4887d
Compare
|
Checked commit skateman@ab4887d with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
|
LGTM, now only seeing the non-empty items :) |
Squash tooltips from child elements in toolbar dropdown if disabled (cherry picked from commit 348f262) https://bugzilla.redhat.com/show_bug.cgi?id=1705141
|
Hammer backport details: |






When there's a toolbar dropdown with all child items disabled, it is not possible to open it. Each disabled toolbar button contains a hint about why it is disabled if you hover on it. These two things don't really fit together as you are not able to hover onto a disabled child element in a dropdown if all the other child elements are disabled.
My solution is to, if it is necessary, collect all the tooltips from the child items and display them inside the tooltip of the parent element.
@miq-bot add_reviewer @karelhala
@miq-bot add_reviewer @Hyperkid123
@miq-bot add_label toolbars, hammer/no, ux/review
Fixes ManageIQ/manageiq#18460
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1699322