-
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
Allow comparing Hosts and VMs/Instances displayed as a nested list #6044
Merged
h-kataria
merged 7 commits into
ManageIQ:master
from
hstastna:Compare_Instances/Hosts_nested
Sep 5, 2019
Merged
Allow comparing Hosts and VMs/Instances displayed as a nested list #6044
h-kataria
merged 7 commits into
ManageIQ:master
from
hstastna:Compare_Instances/Hosts_nested
Sep 5, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hstastna
force-pushed
the
Compare_Instances/Hosts_nested
branch
from
August 16, 2019 12:33
14b71e1
to
670ab7c
Compare
@miq-bot add_label bug, ivanchuk/yes, hammer/yes |
hstastna
force-pushed
the
Compare_Instances/Hosts_nested
branch
12 times, most recently
from
August 20, 2019 11:26
b7f4367
to
6654849
Compare
hstastna
changed the title
[WIP] Allow comparing Hosts and VMs/Instances displayed as a nested list
Allow comparing Hosts and VMs/Instances displayed as a nested list
Aug 20, 2019
hstastna
force-pushed
the
Compare_Instances/Hosts_nested
branch
from
August 27, 2019 13:51
6654849
to
fc99970
Compare
Checked commits hstastna/manageiq-ui-classic@467d061~...fc99970 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
skateman
approved these changes
Sep 5, 2019
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1741122
Related PR with more info: #5876
It was not possible to compare VMs/Instances/Hosts displayed in a nested list due to missing routes and/or missing
comparemiq
method in some controllers. You clicked on "Compare Selected items" and nothing happened in the UI or error message about missing route appeared.Adding missing routes and
comparemiq
calls in appropriate controllers fixes the problem. I am also addingunless performed?
to prevent multiple calls ofjavascript_flash
method, for example in storage controller - this can happen for some operations because of this and this.Where I fixed comparing items:
a) Compute > Infra > Datastores > choose some Datastore > Hosts (Relationships)
b) Networks > Networks > choose some Network > Instances (Relationships)
c) Networks > Subnets > choose some Subnet > Instances (Relationships)
d) Storage > Block Storage > Volumes > choose some Volume > Instances (Relationships)
e) Networks > Network Routers > choose some Router > Instances (Relationships)
f) Compute > Infra > Resource Pools > choose some Pool > All/Direct VMs (Relationships)
g) Networks > Security Groups > choose some Group > Instances (Relationships)
Note:
Missing Cancel button to cancel Compare action will be added via another PR.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1733295 (fixed)
Before: (nothing happens in the UI)
After: