-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 dynamic state glyph #8747
show dynamic state glyph #8747
Changes from all commits
a48257b
2d6a865
2e4ed12
6e5fddf
48d2044
f057be7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.documentation-link { | ||
margin: $spacing-s 0 $spacing-l 0; | ||
float: right; | ||
|
||
.doc-link { | ||
font-weight: normal; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Component from '@ember/component'; | ||
import layout from '../templates/components/replication-doc-link'; | ||
|
||
export default Component.extend({ | ||
layout, | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="documentation-link"> | ||
<p class="has-text-grey">We have additional timeseries telemetry that can be found | ||
<LearnLink @path="/vault/operations/monitor-replication#key-monitoring-metrics"> in our documentation</LearnLink> | ||
. | ||
</p> | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from 'core/components/learn-link'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from 'core/components/replication-doc-link'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,10 @@ | |
{{description}} | ||
</span> | ||
<h3 class="title is-3"> | ||
{{!-- TODO make this dynamic --}} | ||
<Icon @glyph="check-circle-outline" class="has-text-success" /> | ||
{{metric}} | ||
{{#if glyph}} | ||
<Icon @glyph={{glyph}} class="has-text-success" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will the state always be a positive/successful one? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. excellent eye! yes, we only ever show a glyph if the state is positive. you can see where we get the glyph from the cluster model here. if the cluster is in a bad state will show an error alert banner, but it'll be above the state. i'm working on that in the next PR 👯 |
||
{{/if}} | ||
</h3> | ||
</div> | ||
</div> |
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.
not sure why my spaces are not getting removed. I used to have my ide setup to do that. I'll look into that.