diff --git a/webui/src/features/riskCompliance/RiskCompliancePage.tsx b/webui/src/features/riskCompliance/RiskCompliancePage.tsx
index 535e1f7..f5d7ec3 100644
--- a/webui/src/features/riskCompliance/RiskCompliancePage.tsx
+++ b/webui/src/features/riskCompliance/RiskCompliancePage.tsx
@@ -32,6 +32,7 @@ import { FormGrid, ActionToolbar, ToolbarSpacer,
SegmentedControl,
SelectionList,
SelectionListItem,
+ StatePanel,
StatusBadge,
ToggleSwitch,
hasScope,
@@ -494,9 +495,7 @@ function SourcesPane({
))}
{!imported.length && (
-
- No source snapshot has been imported.
-
+
)}
@@ -665,26 +664,15 @@ function ScreenPane({
{run && }
{!run && (
-
- Run a screening to inspect the result.
-
+
)}
{run && (
-
-
- {run.candidate_count}
- candidates
-
-
- {run.matcher_version}
- matcher
-
-
- {run.list_snapshot.source_version}
- list
-
-
+
+
+
+
+
{run.candidates.map((item) => (
{item.score}
@@ -826,9 +814,7 @@ function ReviewPane({
)}
{!queue.length && (
-
- No candidates currently need review.
-
+
)}
@@ -851,9 +837,7 @@ function ReviewPane({
{!detail && (
-
- Select a candidate from the queue.
-
+
)}
{detail && (
@@ -1318,7 +1302,7 @@ function AssurancePane({
)}
{!visibleNodes.length && (
-
No assurance objects match.
+
)}
@@ -1340,7 +1324,7 @@ function AssurancePane({
{!selected && (
- Select an assurance object.
+
)}
{selected && (
@@ -1380,7 +1364,7 @@ function AssurancePane({
/>
))}
{!graph?.edges.length && (
-
No relationships are recorded.
+
)}
{graph?.truncated && (
diff --git a/webui/src/styles/risk-compliance.css b/webui/src/styles/risk-compliance.css
index e3bf2cf..fcb279a 100644
--- a/webui/src/styles/risk-compliance.css
+++ b/webui/src/styles/risk-compliance.css
@@ -327,12 +327,6 @@
font-size: 11px;
}
-.risk-empty {
- color: var(--muted);
- padding: 24px;
- text-align: center;
-}
-
.risk-form-body {
display: grid;
align-content: start;
@@ -354,34 +348,6 @@
justify-self: start;
}
-.risk-metrics {
- display: grid;
- grid-template-columns: repeat(3, minmax(0, 1fr));
- border-bottom: var(--border-line);
-}
-
-.risk-metrics > span {
- display: grid;
- min-width: 0;
- gap: 4px;
- border-right: var(--border-line);
- color: var(--muted);
- padding: 12px;
- font-size: 11px;
-}
-
-.risk-metrics > span:last-child {
- border-right: 0;
-}
-
-.risk-metrics strong {
- overflow: hidden;
- color: var(--text-strong);
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 14px;
-}
-
.risk-score {
display: inline-grid;
width: 38px;