feat(central-ui): link Health outbox tiles to the Notification KPIs page

This commit is contained in:
Joseph Doherty
2026-05-19 06:22:02 -04:00
parent 0be1feb561
commit 82745ef916
2 changed files with 11 additions and 1 deletions

View File

@@ -21,7 +21,10 @@
</div>
@* Notification Outbox headline KPIs — a central concern, shown regardless of site reports *@
<h6 class="text-muted mb-2">Notification Outbox</h6>
<div class="d-flex justify-content-between align-items-center mb-2">
<h6 class="text-muted mb-0">Notification Outbox</h6>
<a class="small" href="/notifications/kpis">View details &rarr;</a>
</div>
<div class="row g-3 mb-3">
<div class="col-lg-4 col-md-6 col-12">
<div class="card h-100">

View File

@@ -84,6 +84,13 @@ public class HealthPageTests : BunitContext
});
}
[Fact]
public void RendersLinkToTheNotificationKpisPage()
{
var cut = Render<HealthPage>();
Assert.Contains("/notifications/kpis", cut.Markup);
}
[Fact]
public void OutboxKpiFailure_ShowsGracefulFallback()
{