Improved visuals and tooltips for quick alerts.
This commit is contained in:
parent
a63009509a
commit
2bae1de247
|
@ -108,8 +108,15 @@
|
||||||
<div class="alert-meta">
|
<div class="alert-meta">
|
||||||
<div class="alert-triggers">
|
<div class="alert-triggers">
|
||||||
<Icon
|
<Icon
|
||||||
v-if="alert.notify"
|
v-if="alert.notify && alert.isFromPreset"
|
||||||
v-tooltip="alert.notify ? 'Notify in traxxx' : undefined"
|
v-tooltip="'Notify in traxxx, added as quick alert'"
|
||||||
|
icon="bell-plus"
|
||||||
|
class="trigger"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Icon
|
||||||
|
v-else-if="alert.notify"
|
||||||
|
v-tooltip="'Notify in traxxx'"
|
||||||
icon="bell2"
|
icon="bell2"
|
||||||
class="trigger"
|
class="trigger"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<Icon
|
<Icon
|
||||||
v-if="itemAlerted"
|
v-if="itemAlerted"
|
||||||
icon="bell2"
|
icon="bell2"
|
||||||
:title="`Remove alerts for '${item.title || item.name}'`"
|
:title="`Remove uncombined alerts for '${item.title || item.name}'`"
|
||||||
class="alert active noselect"
|
class="alert active noselect"
|
||||||
@click="removeAlert"
|
@click="removeAlert"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -11,6 +11,7 @@ function curateAlert(alert, context = {}) {
|
||||||
notify: alert.notify,
|
notify: alert.notify,
|
||||||
email: alert.email,
|
email: alert.email,
|
||||||
createdAt: alert.created_at,
|
createdAt: alert.created_at,
|
||||||
|
isFromPreset: alert.from_preset,
|
||||||
and: {
|
and: {
|
||||||
fields: alert.all,
|
fields: alert.all,
|
||||||
actors: alert.all_actors,
|
actors: alert.all_actors,
|
||||||
|
|
Loading…
Reference in New Issue