Improved visuals and tooltips for quick alerts.

This commit is contained in:
DebaucheryLibrarian 2025-03-09 06:13:07 +01:00
parent a63009509a
commit 2bae1de247
3 changed files with 11 additions and 3 deletions

View File

@ -108,8 +108,15 @@
<div class="alert-meta">
<div class="alert-triggers">
<Icon
v-if="alert.notify"
v-tooltip="alert.notify ? 'Notify in traxxx' : undefined"
v-if="alert.notify && alert.isFromPreset"
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"
class="trigger"
/>

View File

@ -9,7 +9,7 @@
<Icon
v-if="itemAlerted"
icon="bell2"
:title="`Remove alerts for '${item.title || item.name}'`"
:title="`Remove uncombined alerts for '${item.title || item.name}'`"
class="alert active noselect"
@click="removeAlert"
/>

View File

@ -11,6 +11,7 @@ function curateAlert(alert, context = {}) {
notify: alert.notify,
email: alert.email,
createdAt: alert.created_at,
isFromPreset: alert.from_preset,
and: {
fields: alert.all,
actors: alert.all_actors,