feat(ui): drill-in from Notifications to Audit Log (#23 M7)

This commit is contained in:
Joseph Doherty
2026-05-20 20:20:54 -04:00
parent 450f8bca28
commit 1c20e81d77
2 changed files with 64 additions and 4 deletions

View File

@@ -163,6 +163,14 @@
<td><TimestampDisplay Value="@n.CreatedAt" Format="yyyy-MM-dd HH:mm" /></td>
<td><TimestampDisplay Value="@n.DeliveredAt" Format="yyyy-MM-dd HH:mm" NullText="—" /></td>
<td class="text-end">
@* Bundle D (#23 M7-T10) drill-in: NotificationId is the audit
CorrelationId, so the link deep-links into the central Audit
Log pre-filtered to this notification's lifecycle events. *@
<a class="btn btn-outline-secondary btn-sm me-1"
href="/audit/log?correlationId=@n.NotificationId"
data-test="audit-link-@n.NotificationId">
View audit history
</a>
@if (n.Status == "Parked")
{
<button class="btn btn-outline-success btn-sm me-1"
@@ -174,10 +182,6 @@
Discard
</button>
}
else
{
<span class="text-muted small">—</span>
}
</td>
</tr>
}