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.

Polish: Remove dead code from AIOverviewTable

rcourtmanc59635e37027
diff --git a/frontend-modern/src/components/shared/AIOverviewTable.tsx b/frontend-modern/src/components/shared/AIOverviewTable.tsx
index 2984e94dee..a4134e7252 100644
--- a/frontend-modern/src/components/shared/AIOverviewTable.tsx
+++ b/frontend-modern/src/components/shared/AIOverviewTable.tsx
@@ -207,32 +207,7 @@ export const AIOverviewTable: Component<{ showWhenEmpty?: boolean }> = (props) =
});
}
- // CORRELATIONS HIDDEN - they need more work to be genuinely useful
- // Current state: "A and B alert together" (bidirectional) is not actionable
- // Shows that correlated things are correlated - no root cause identification
- // TODO: Re-enable when we can identify root cause chains (A causes B, not just A+B)
- //
- // const MIN_CORRELATION_CONFIDENCE = 0.70;
- // const highConfidenceCorrelations = correlations().filter(c => c.confidence >= MIN_CORRELATION_CONFIDENCE);
- // const sortedCorrelations = [...highConfidenceCorrelations].sort((a, b) => b.confidence - a.confidence);
- // const visibleCorrelations = showAllDependencies()
- // ? sortedCorrelations
- // : sortedCorrelations.slice(0, DEPENDENCY_LIMIT);
- //
- // for (const corr of visibleCorrelations) {
- // rows.push({
- // id: `corr-${corr.source_id}-${corr.target_id}`,
- // type: 'prediction',
- // typeBadge: 'Dependency',
- // typeBadgeClass: 'bg-indigo-100 text-indigo-700 dark:bg-indigo-900/40 dark:text-indigo-300',
- // title: `${corr.source_name || corr.source_id} → ${corr.target_name || corr.target_id}`,
- // subtitle: corr.description || `${corr.event_pattern} (${corr.occurrences} observations)`,
- // timestamp: `Delay: ${corr.avg_delay}`,
- // confidence: corr.confidence,
- // locked: false,
- // badgeClass: 'text-indigo-600 dark:text-indigo-400',
- // });
- // }
+