-
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
Replaced validate_reset methods by supports_reset #11625
Conversation
@miq-bot add_label wip |
<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush. |
@miq-bot remove_label wip |
Checked commit gauravaradhye@816cf6f with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
@durandom Can you please check this! |
@miq-bot add_label euwe/no |
@gauravaradhye looks great, I feel you are getting the hang of it 😄 @agrare can you have a final look and merge? |
Looks good 👍 |
by the time this was added, the buttons looked at supports. there was a bug in HostFeatureButtonWithDisable and instead of having that button support both availability mixin and supports feature mixin this method was added. this commit only works because we're changing the buttons to only call supports? refs: remove validate_reset: ManageIQ#11625 added back: ManageIQ#12324 (guessing we should have changed the button instead) changes to availability mixin in generic button: manageiq-ui-classic a85cfb1
by the time this was added, the buttons looked at supports. there was a bug in HostFeatureButtonWithDisable and instead of having that button support both availability mixin and supports feature mixin this method was added. this commit only works because we're changing the buttons to only call supports? refs: remove validate_reset: ManageIQ#11625 added back: ManageIQ#12324 (guessing we should have changed the button instead) changes to availability mixin in generic button: manageiq-ui-classic a85cfb1
by the time this was added, the buttons looked at supports. there was a bug in HostFeatureButtonWithDisable and instead of having that button support both availability mixin and supports feature mixin this method was added. this commit only works because we're changing the buttons to only call supports? refs: remove validate_reset: ManageIQ#11625 added back: ManageIQ#12324 (guessing we should have changed the button instead) changes to availability mixin in generic button: manageiq-ui-classic a85cfb1
by the time this was added, the buttons looked at supports. there was a bug in HostFeatureButtonWithDisable and instead of having that button support both availability mixin and supports feature mixin this method was added. this commit only works because we're changing the buttons to only call supports? refs: remove validate_reset: ManageIQ#11625 added back: ManageIQ#12324 (guessing we should have changed the button instead) changes to availability mixin in generic button: manageiq-ui-classic a85cfb1
Replaced all instanced of validate_reset method by supports_reset in order to make use supportsFeatureMixin.
It's not yet mergeable because it has changes of another commit which is not pushed in yet.