-
Notifications
You must be signed in to change notification settings - Fork 230
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
Show application bindings on overview #1696
Conversation
app/styles/_overview.less
Outdated
@@ -81,6 +81,9 @@ | |||
} | |||
} | |||
} | |||
.service-binding h3 small { |
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.
Nit: rule is misalphabetized
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.
Yeah I originally called it .application-binding
and forgot to move when I renamed... Will fix.
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! Appreciate the clarity in the grouping function.
@@ -81,30 +89,48 @@ | |||
--> | |||
<div class="row"> | |||
<div class="col-sm-12" ng-if="row.description"> | |||
<p class="pre-wrap" ng-bind-html="row.description | linky"></p> | |||
<span class="pre-wrap" ng-bind-html="row.description | linky"></span> |
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.
Semantically, a paragraph is a better choice here.
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.
A few nits, but looks good. You are a machine, @spadgett! Impressive work.
app/scripts/controllers/overview.js
Outdated
// Look at each pod preset selector to see if it covers this API object selector. | ||
_.each(podPresetSelectors, function(podPresetSelector, bindingName) { | ||
if (podPresetSelector.covers(applicationSelector)) { | ||
// Keep a map of the traget UID to the binding and the binding to |
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.
nit, but typo on target
<small>{{$ctrl.binding.spec.instanceRef.name}}</small> | ||
</h3> | ||
<h3 ng-if="!$ctrl.serviceClass"> | ||
{{$ctrl.binding.metadata.name}} |
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.
think this was supposed to be updated to the instance name as well
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.
Yes, thanks
Show what applications are bound to what provisioned services using pod presets.
d32b871
to
d1fe7c3
Compare
Thanks updated |
[merge] |
Evaluated for origin web console merge up to d1fe7c3 |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1524/) (Base Commit: acdadd0) |
https://trello.com/c/YRIHSS4W
Show what applications are bound to what provisioned services using pod presets.
cc @rhamilto @benjaminapetersen