feat(hosts): driver diagnostics channel on /hosts, S7 negotiated PDU size first (#640)
Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
@@ -189,6 +189,17 @@ else
|
||||
@* Own line — inline after the name the two identifiers ran together. *@
|
||||
<div class="mono small text-muted">@d.DriverInstanceId</div>
|
||||
}
|
||||
@if (d.DiagnosticItems.Count > 0)
|
||||
{
|
||||
@* Driver-reported diagnostics (Gitea #640), e.g. S7 negotiated PDU size.
|
||||
Renders nothing for a driver with none. *@
|
||||
<div class="small text-muted" data-testid="driver-diagnostics">
|
||||
@foreach (var kv in d.DiagnosticItems)
|
||||
{
|
||||
<div class="mono">@kv.Key: @kv.Value</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</td>
|
||||
<td>@(d.DriverType ?? "—")</td>
|
||||
<td><span class="chip @DriverChipClass(d.State)">@d.State</span></td>
|
||||
|
||||
Reference in New Issue
Block a user