feat(ui): show SourceNode under SourceSiteId in audit log detail popup

The audit log drilldown drawer (and the execution-tree node-detail modal,
which shares this component) now renders the SourceNode field directly
under SourceSiteId so provenance reads 'site → node → instance → script'
in declared order. Two focused tests pin the field's presence in both
populated and null cases plus the inter-field ordering.
This commit is contained in:
Joseph Doherty
2026-05-23 19:01:48 -04:00
parent f973f49254
commit d630e2646b
2 changed files with 41 additions and 0 deletions

View File

@@ -28,6 +28,9 @@
<dt class="col-4 text-muted fw-normal">SourceSiteId</dt>
<dd class="col-8" data-test="field-SourceSiteId">@(Event.SourceSiteId ?? "—")</dd>
<dt class="col-4 text-muted fw-normal">SourceNode</dt>
<dd class="col-8" data-test="field-SourceNode">@(Event.SourceNode ?? "—")</dd>
<dt class="col-4 text-muted fw-normal">SourceInstanceId</dt>
<dd class="col-8" data-test="field-SourceInstanceId">@(Event.SourceInstanceId ?? "—")</dd>