-
Notifications
You must be signed in to change notification settings - Fork 900
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
Moved Timelines & Utilization buttons to summary screen from list view. #5738
Moved Timelines & Utilization buttons to summary screen from list view. #5738
Conversation
a561aaa
to
fb53dc2
Compare
a89e694
to
95b8e2a
Compare
@dkorn bump |
@h-kataria first, thanks for this refactor! I tested it locally and found two issues:
|
@dkorn, i will look at issue 1, 2 is not an issue, that's by design to bring user back to the last node that they were on before browsing to screen out of explorer. |
- Fixed Timelines & Utilization buttons to go thru x_button method similar to all other toolbar buttons and removed any code that is not needed in explorer & show method. - Added spec tests to verify Timelines & Utilization buttons render correct views.
95b8e2a
to
dfdb14f
Compare
Checked commit h-kataria@dfdb14f with ruby 2.2.3, rubocop 0.34.2, and haml-lint 0.13.0 |
@dkorn, i looked into you comment 1, that's by design, in all explorer reload button brings user back to the summary screen of the record that you were on before you clicked on any buttons or relationship links etc. See VM explorer for an example. |
@h-kataria thanks for looking into my comments. |
Moved Timelines & Utilization buttons to summary screen from list view.
Moved Timelines & Utilization buttons to summary screen from list view. - Fixed Timelines & Utilization buttons to go thru x_button method similar to all other toolbar buttons and removed any code that is not needed in explorer & show method. - Added spec tests to verify Timelines & Utilization buttons render correct views. (cherry picked from commit dfdb14f) https://bugzilla.redhat.com/show_bug.cgi?id=1289694 https://bugzilla.redhat.com/show_bug.cgi?id=1287563 @dclarizi please review, this is a clean cherry-pick for ManageIQ#5738 See merge request !634
@miq-bot add_label providers/containers |
Fixed Timelines & Utilization buttons to go thru x_button method similar to all other toolbar buttons and removed any code that is not needed in explorer & show method.
@dkorn please take a look, this PR addresses the issue where Timelines/Utilization buttons were going thru explorer method and were messing up the url, causing an error(that was fixed with a hack https://github.com/ManageIQ/manageiq/blob/master/app/controllers/container_controller.rb#L138 in explorer method) when clicking on nodes in the tree while user is on timelines/C&U screen.