feat: NDV notify if community node has update (#17146)

Co-authored-by: Roman Davydchuk <roman.davydchuk@n8n.io>
This commit is contained in:
Michael Kret
2025-07-17 13:15:25 +03:00
committed by GitHub
parent 8a2756368b
commit 0237d8b8ec
7 changed files with 115 additions and 5 deletions

View File

@@ -116,7 +116,10 @@ const scrollRight = () => scroll(50);
@click="() => handleTabClick(option.value)"
>
<N8nIcon v-if="option.icon" :icon="option.icon" size="small" />
<span v-if="option.label">{{ option.label }}</span>
<span v-if="option.label" :class="$style.notificationContainer"
>{{ option.label }}
<div v-if="option.notification" :class="$style.notification"><div></div></div
></span>
</div>
</N8nTooltip>
</div>
@@ -211,6 +214,26 @@ const scrollRight = () => scroll(50);
font-weight: var(--font-weight-bold);
}
.notificationContainer {
display: flex;
position: relative;
}
.notification {
display: flex;
position: absolute;
right: -0.5em;
align-items: center;
justify-content: center;
div {
height: 0.3em;
width: 0.3em;
background-color: var(--color-primary);
border-radius: 50%;
}
}
.back {
composes: tab;
composes: button;