-
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
Evaluate visibility expressions for CustomButtons #15725
Evaluate visibility expressions for CustomButtons #15725
Conversation
47148e3
to
9aa2dd6
Compare
@miq-bot assign @gtanzillo |
958e7ca
to
386c685
Compare
This pull request is not mergeable. Please rebase and repush. |
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.
👍 LGTM
@lpichler Please resolve conflict and I'll merge. |
386c685
to
20e02dc
Compare
if button don't have expression defined it means that the button will be displayed
…n related CustomButtons
20e02dc
to
e2e352a
Compare
e2e352a
to
20c194d
Compare
Checked commits lpichler/manageiq@f1f0be7~...20c194d with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
method
CustomButtonSet#filter_with_visibility_expression
is called when custom buttons are going to display - the method is doing filtering:how filter_with_visibility_expression works
(from 36bff47)
Links
UI PR: ManageIQ/manageiq-ui-classic#1824
first part of https://www.pivotaltracker.com/story/show/147780767 - visibility of custom buttons