-
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
Make containers view navlist #1204
Make containers view navlist #1204
Conversation
@miq-bot add_label compute/containers, bug cc// @simon3z @zeari @moolitayer @himdel |
50af654
to
ec65a47
Compare
[EDIT] |
8bb6de6
to
16185d5
Compare
@simon3z @zeari @moolitayer @himdel please review |
cc @nimrodshn |
app/views/container/show.html.haml
Outdated
- elsif @showtype == "main" | ||
= render :partial => "layouts/textual_groups_generic" | ||
- elsif @showtype == "topology" | ||
= render :file => 'container_topology/show' |
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.
I dont think topology is relevant here.
@himdel it seems this part is mostly the same for a lot of entities. any smart refactoring we can do for this?
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.
I dont think topology is relevant here.
@zeari , Right 👍 thanks fixed.
16185d5
to
ca4959a
Compare
I really like this approach, make it easier to use |
ca4959a
to
6b579f7
Compare
Checked commits yaacov/manageiq-ui-classic@bfae3bb~...6b579f7 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/views/configuration/_ui_2.html.haml
|
@himdel Thanks 👍 done p.s. |
@yaacov 👍 About that big if .. have you tried removing it to see what breaks? :) But .. you probably do, at least, it looks rather similar to other |
leaving it :-) |
I really like the way it looks now make much more sense to me 👍 . |
@nimrodshn I looked and didn't find that, I may be looking in the wrong place :-) , can you be more specific, what entity and where the data (screenshot may help here) |
@nimrodshn |
Yeah wasn't sure if it applies here - Still, looks really good @yaacov! |
@himdel @martinpovolny please re-review. |
Sorry, was not at work. The code looks good. But I lack the time to test this in the UI today and tomorrow at least. Can you get someone from your group run this in the UI and test it in detail? It's a big change and proper UI testing is needed. Thx! |
Ping @nimrodshn, @zeari ? ^^^ |
cc @cben ^^ |
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.
The code looks good. But I lack the time to test this in the UI today and tomorrow at least. Can you get someone from your group run this in the UI and test it in detail? It's a big change and proper UI testing is needed.
@martinpovolny I tested the change locally, works for me 👍
LGTM
@yaacov @moolitayer should this have the label for backporting? |
@miq-bot add_label fine/yes https://bugzilla.redhat.com/show_bug.cgi?id=1443743 p.s. cc// @simon3z @moolitayer |
Works for me 👍 . links (relationships) seem to work. breadcrumbs seem to work. I don't see the filters without ManageIQ/manageiq#14893, upside is I confirm this works without it: |
Code reviewed (superficially), massive deletion Looks Great To Me ✂️ 🔥 🎆 codeclimate go home, you're drunk. |
@martinpovolny looks like @cben took this for a spin, perhaps ready to go? |
Thanks for the testing! |
Make containers view navlist (cherry picked from commit 70aec6d) https://bugzilla.redhat.com/show_bug.cgi?id=1458934 https://bugzilla.redhat.com/show_bug.cgi?id=1458935
Fine backport details:
|
Description
Currently the containers explorer page (https:///container/explorer) crashes when there is a large number of containers (e.g. ~4000).
This PR fixes that problem by using the navlist layout.
BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1443743
https://bugzilla.redhat.com/show_bug.cgi?id=1446247 ( fixed by changing the way tag edit works )
Screenshots