-
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
Container project dashboard view #1527
Conversation
@miq-bot add_label compute/containers, wip |
ab5dce5
to
f05b314
Compare
@zeari Thanks for sharing. There are other things we should look at:
@serenamarie125 We need a better presentation here especially if we add the suggestion above |
c516519
to
7a47fdb
Compare
cc @dclarizio |
this generally covers your request as well as show quotas. Can anyone softly ack this design so i can proceed? |
@zeari yes definitely in the right direction! Here is the layout I initially provided: Aggregate status cards should definitely be on the top. Hope that helps! |
@zeari I really like it.. this will look great.. |
15ffbb2
to
3bcd089
Compare
@zeari can you clarify the Limits is CPU while graph is Cores... We see CPU limits to 2 but 4 Cores.. so, CPU are multiple-cores? |
I put in some random metrics instead of waiting for them to generate. Ill make sure this doesnt happen normally. |
8758222
to
f157c00
Compare
eea20d7
to
56852ee
Compare
@@ -19,7 +19,7 @@ | |||
expect(response.body).to_not be_empty | |||
expect(assigns(:breadcrumbs)).to eq([{:name => "Projects", | |||
:url => "/container_project/show_list?page=&refresh=y"}, | |||
{:name => "Test Project (Summary)", | |||
{:name => "Test Project (Dashboard)", |
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.
Since dashboard is the default view
56852ee
to
3f75a3b
Compare
@miq-bot remove_label wip |
3f75a3b
to
30db206
Compare
@h-kataria can you help @zeari make sure this is following the new direction we have for the PF dashboards? Give some direction if needed. @zeari I haven't looked at the codeclimate issues, but 80 is quite high. Can you please take a look to see if that can be knocked down? Thx, Dan |
mostly code duplication. Ill try to throw what i can into a mixin. |
@zeari this looks great! Thanks for updating to match the mocks ! |
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!
@miq-bot add_label ux/approved |
LGTM 👍 |
I see a bunch of syntax checks as well . . . @himdel can you recommend which cc issues we can overlook and which should be taken care of? |
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.
@zeari if you can knock down some of the code climate warnings that will be good. |
30db206
to
67da578
Compare
@zeari Look at https://codeclimate.com/github/ManageIQ/manageiq-ui-classic/pull/1527 please. Looks like that service is just a copy of the original one, with very little changes, please try to add a mixin to avoid copy-pasting :) EDIT: oh, Harpreet already mentioned it :) |
1fff023
to
a8dfa11
Compare
a8dfa11
to
feffdde
Compare
Checked commits zeari/manageiq-ui-classic@41e6a99~...feffdde with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 spec/controllers/container_project_controller_spec.rb
|
Moved to |
@zeari ^ this is a problem, but it's one I don't want to block this on since we already have the exact same thing for @h-kataria @AparnaKarve @zeari We can't afford to have multiple dashboard controllers, each doing the exactly same thing, on a bit different set of entities. This is topology all over again (where the count is now 6 copies, not 3). Will one of you take care of merging those 3 dashboard controllers back into one or should I take it? |
Tested in the UI, both the container dashboard and the project dashboard seem to work. |
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1461618

Dashboard view for container projects
with data:
with no data available:

@serenamarie125 @Loicavenel @simon3z
correct pod statistics depend on: ManageIQ/manageiq#10470