Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

feat: add 'Alert' badge to findings triggered by alert-triggered analysis

rcourtmanb1baab4c63d6
diff --git a/frontend-modern/src/pages/Alerts.tsx b/frontend-modern/src/pages/Alerts.tsx
index 5717600049..813bfd6a35 100644
--- a/frontend-modern/src/pages/Alerts.tsx
+++ b/frontend-modern/src/pages/Alerts.tsx
@@ -2894,6 +2894,15 @@ function OverviewTab(props: {
🔇 Suppressed
</span>
</Show>
+ {/* Alert-triggered badge - shows when finding came from alert-triggered analysis */}
+ <Show when={finding.alert_id}>
+ <span
+ class="text-[10px] px-1.5 py-0.5 rounded bg-purple-100 dark:bg-purple-900/30 text-purple-600 dark:text-purple-400 flex-shrink-0"
+ title="This finding was discovered by alert-triggered analysis"
+ >
+ ⚡ Alert
+ </span>
+ </Show>
{/* Resource name pill */}
<span class="text-xs px-2 py-0.5 rounded bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 flex-shrink-0 hidden sm:inline">
{finding.resource_name}