fix(editor): Remove the warning badge from the needs-work agent avatar (no-changelog) (#41164)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Emre Caglar 2026-10-16 10:26:41 +00:00 committed by GitHub
parent 14e633d481
commit fffea4c0c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,8 +66,7 @@ const accessibleLabel = computed(() =>
role="img"
>
<N8nIcon :class="$style.icon" :icon="icon" />
<span v-if="tone === 'warn'" :class="$style.badge" aria-hidden="true">!</span>
<span v-else-if="kind === 'strong'" :class="$style.sparkle" aria-hidden="true">✦</span>
<span v-if="kind === 'strong'" :class="$style.sparkle" aria-hidden="true">✦</span>
</span>
</template>
@ -145,23 +144,6 @@ const accessibleLabel = computed(() =>
--ring-color: var(--border-color);
}
.badge {
position: absolute;
top: calc(var(--avatar-size) * -0.1);
right: calc(var(--avatar-size) * -0.1);
display: flex;
align-items: center;
justify-content: center;
width: calc(var(--avatar-size) * 0.3);
height: calc(var(--avatar-size) * 0.3);
border-radius: var(--radius--full);
background: var(--color--warning);
color: var(--color--warning--tint-2);
font-size: calc(var(--avatar-size) * 0.28);
line-height: 1;
font-weight: var(--font-weight--bold);
}
.sparkle {
position: absolute;
top: calc(var(--avatar-size) * -0.18);