-
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
Fixed some inconsistencies on provider dashboards. #4659
Fixed some inconsistencies on provider dashboards. #4659
Conversation
37c0a1b
to
43d3255
Compare
This pull request is not mergeable. Please rebase and repush. |
66a6c42
to
aa4cd1a
Compare
aa4cd1a
to
897f11a
Compare
@@ -163,7 +165,7 @@ def build_provider_status(provider_type) | |||
:count => 0, | |||
:typeName => _(provider_type.to_s), | |||
:iconImage => provider_fileicon ? ActionController::Base.helpers.image_path(provider_fileicon) : nil, | |||
:statusIcon => provider_status_icon | |||
:statusIcon => provider_status_icon || nil |
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.
Is this || nil
really necessary?
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.
@skateman removed || nil
it seems to work well without that as well. I needed to set that before your recent change.
- Red crosses were added as part of ManageIQ#4453 that caused them to show up on all aggregate status cards on all provider dashboards, fixed the condition and removed setting of redundant notification hash for providers when it is not needed. - Show status icon under Alerts in aggregate card if Alerts are configured for a container provider, otherwise show "No data available" empty pf card. - On Containers Overview dashboard, Fixed to not show provider icon in Provider status aggregate card, it should only show count of providers with a link to list view to Container Providers show list. - Added a title on Container Overview dashboard screen, since that's the only screen on that subtab there are no breadcrumbs on the screen. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1626199 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1626427
897f11a
to
b765b9b
Compare
Checked commit h-kataria@b765b9b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 **
|
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.
@miq-bot assign @mzazrivec |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1626199
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1626427
before:
Container Overview
Infrastructure Provider Dashboard
Container Provider Dashboard
after:
Container Overview
Infrastructure Provider Dashboard
Container Provider Dashboard