-
Notifications
You must be signed in to change notification settings - Fork 356
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
Display custom buttons after comming from relationship table #4775
Conversation
CloudVolume ContainerGroup ContainerImage ContainerNode ContainerProject | ||
ContainerTemplate ContainerVolume EmsCluster ExtManagementSystem | ||
GenericObject GenericObjectDefinition Host LoadBalancer | ||
MiqGroup MiqTemp MiqTemplate NetworkRouter OrchestrationStack SecurityGroup Service |
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.
you can remove MiqTemp
, no such thing
@romanblanco Cannot apply the following label because they are not recognized: button |
@romanblanco Cannot apply the following label because they are not recognized: actions toolbars |
(Script to add custom buttons: https://github.com/himdel/dotfiles/blob/master/ManageIQ/custom_button.rb (thanks to @ZitaNemeckova)) |
@romanblanco will this PR also show custom buttons when viewing list of Hosts for a Cluster or a Storage? |
Just a check that Custom button is in toolbar in nested view for list and single entity:
Missing custom button for nested list:
|
8de82d2
to
c139d48
Compare
@romanblanco if this will be able to be backported, can you also add the gaprindashvili/yes |
61a13e8
to
f2b0c18
Compare
f2b0c18
to
29e24d4
Compare
a3c7fe5
to
ab87317
Compare
@ZitaNemeckova @himdel are the current changes OK with you? |
ab87317
to
fb0b0e4
Compare
@romanblanco the CI failures seem related. |
19f7c76
to
c9aa498
Compare
c9aa498
to
1623721
Compare
Checked commits romanblanco/manageiq-ui-classic@828a7de~...1623721 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@romanblanco where does this PR stand. |
@JPrause I don't plan to do any more changes. |
Not seeing any breakage, LGTM :) |
Display custom buttons after comming from relationship table (cherry picked from commit 98b7dd0) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1635738
Hammer backport details:
|
@romanblanco Not sure how to resolve this conflict...
|
That line was introduced in #2398 ( So, The previous logic was essentially "url_parms ends with _div" or "url_parms contains id=LIST". @romanblanco can you verify that (I'm thinking it should be OK to remove, since you never need to send a list of checked items on a detail screen .. probably.) |
@himdel the condition is necessary. The first part of condition ( The second part ( |
Response to ManageIQ#4775 (comment) corrects the login in master, and should make it possible to backport to gaprindashvili
Response to ManageIQ#4775 (comment) corrects the login in master, and should make it possible to backport to gaprindashvili (cherry picked from commit a54bcc0)
Response to ManageIQ#4775 (comment) corrects the login in master, and should make it possible to backport to gaprindashvili (cherry picked from commit a54bcc0)
Backported to Gaprindashvili via #4893 |
The code displays the custom buttons if the previous screen was a
provider screen (
@record
) and displayed item (@display
) is from the listof classes supported by custom buttons (
APPLIES_TO_CLASS_BASE_MODELS
)Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1635738
Links
Steps for Testing/QA