-
Notifications
You must be signed in to change notification settings - Fork 898
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
Toolbar buttons converted to use generic class with disable #10366
Toolbar buttons converted to use generic class with disable #10366
Conversation
@romanblanco unrecognized command 'technical', ignoring... Accepted commands are: add_label, remove_label, rm_label, assign, set_milestone |
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
9e4ed26
to
aee0391
Compare
@martinpovolny @PanSpagetka can you review? |
Checked commits romanblanco/manageiq@6f57be8~...aee0391 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
@dclarizio wrote:
That matched the area that has been worked on. This is the button that shall handle the generic behavior where button changes the hover text when enabled. Right? Please, make sure this is fixed. ping @PanSpagetka : please, test together making sure that all the hover texts, disable/enable show/hide remain functioning ;-) |
@PanSpagetka did some testing with this branch. Compared to current master, I see now that ONLY valid power operation buttons for a VM are shown and active, which is correct. I noticed that the disabled However, I tried several VMs and both the |
@martinpovolny wrote:
Yes. @PanSpagetka has found my bug in recently converted buttons (VM buttons). The problem was, that I didn't set That issue is fixed in @PanSpagetka's new Generic class, where he sets both attributes, and by this conversion, the buttons are using the new Generic class, so it should work properly now. @martinpovolny wrote:
Right. There are still some buttons that are broken, but I've not converted them, as they do not have the same pattern as these. |
Continuation of #10276.
Purpose or Intent
Include buttons that share the same logic for
skip?
method into one generic classGenericFeatureButtonWithDisable
Links
Parent issue: #6259
Related issue: #6554