From f69c91acf9475059f44d4821ab07abdd089b31fd Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Sat, 7 Feb 2026 21:33:10 -0500 Subject: [PATCH] feat: add tooltip to skipped count explaining limitation The skipped count only reflects checks with Severity=ignore from the Polaris API. Annotation-based exemptions (e.g., polaris.fairwinds.com/*-exempt) are not included because: 1. Exempted checks are completely omitted from results.json 2. The Polaris dashboard UI counts exemptions client-side by querying Kubernetes resources for annotations 3. Our plugin only has access to the processed audit results Added HTML title tooltip to explain this limitation to users. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- src/components/DashboardView.tsx | 9 ++++++++- src/components/NamespaceDetailView.tsx | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/DashboardView.tsx b/src/components/DashboardView.tsx index 0b4a0d1..fddde5f 100644 --- a/src/components/DashboardView.tsx +++ b/src/components/DashboardView.tsx @@ -51,7 +51,14 @@ function OverviewSection(props: { data: AuditData; counts: ResultCounts }) { name: 'Danger', value: {counts.danger}, }, - { name: 'Skipped', value: String(counts.skipped) }, + { + name: 'Skipped', + value: ( + + {counts.skipped} + + ), + }, ]} /> diff --git a/src/components/NamespaceDetailView.tsx b/src/components/NamespaceDetailView.tsx index 99891de..b69f6a3 100644 --- a/src/components/NamespaceDetailView.tsx +++ b/src/components/NamespaceDetailView.tsx @@ -120,7 +120,11 @@ export default function NamespaceDetailView() { }, { name: 'Skipped', - value: String(counts.skipped), + value: ( + + {counts.skipped} + + ), }, ]} />