Add Health status to app header
Added logging path and interface to websocket subscription
data filter, to dynamically indicate Health status in the
app header.
- Update OverviewEvents to use highPriorityEvents data
- Refactor EventLogStore
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I35ad30b005c70625a5f6a69488d45db0fa049374
diff --git a/src/components/Global/StatusIcon.vue b/src/components/Global/StatusIcon.vue
index a2c7f04..d59eaec 100644
--- a/src/components/Global/StatusIcon.vue
+++ b/src/components/Global/StatusIcon.vue
@@ -1,6 +1,7 @@
<template>
<span :class="['status-icon', status]">
<icon-success v-if="status === 'success'" />
+ <icon-warning v-else-if="status === 'warning'" />
<icon-danger v-else-if="status === 'danger'" />
<icon-secondary v-else />
</span>
@@ -15,8 +16,9 @@
name: 'StatusIcon',
components: {
iconSuccess: IconCheckmark,
- iconDanger: IconWarning,
- iconSecondary: IconError
+ iconDanger: IconError,
+ iconSecondary: IconError, //TODO: swap with right asset when available
+ iconWarning: IconWarning
},
props: {
status: {
@@ -39,5 +41,8 @@
&.secondary {
fill: $secondary;
}
+ &.warning {
+ fill: $warning;
+ }
}
</style>