feat: add tooltip to Overall Score gauge in Executive Dashboard
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled

This commit is contained in:
kitos
2026-06-03 09:57:46 +02:00
parent 757d99d22a
commit b33562a34e

View File

@@ -76,7 +76,15 @@ function ScoreGauge({ score, label }: { score: number; label: string }) {
<span className="text-[10px] text-gray-500">/ 100</span> <span className="text-[10px] text-gray-500">/ 100</span>
</div> </div>
</div> </div>
<span className="mt-2 text-xs font-medium text-gray-400">{label}</span> <div className="mt-2 flex items-center gap-1">
<span className="text-xs font-medium text-gray-400">{label}</span>
<MetricTooltip
title="Overall Security Score"
description="A composite score (0100) representing the organisation's overall security posture. Calculated from 4 dimensions: Coverage, Detection maturity, Critical technique coverage, and Response readiness."
context="< 30 = Critical gaps | 3050 = High risk | 5070 = Improving | > 70 = Good posture"
position="below"
/>
</div>
</div> </div>
); );
} }