feat(centralui): Verify-endpoint button + result/cert panel (T17)

This commit is contained in:
Joseph Doherty
2026-06-18 03:12:11 -04:00
parent 45a5a92455
commit 303385fd98
7 changed files with 356 additions and 0 deletions
@@ -86,6 +86,9 @@
IdPrefix="primary"
Config="_primaryConfig"
IsLegacy="_primaryIsLegacy"
SiteIdentifier="@_formSiteIdentifier"
ConnectionName="@_formName"
Protocol="@_protocol"
Errors="_primaryErrors" />
}
@@ -118,6 +121,9 @@
IdPrefix="backup"
Config="_backupConfig"
IsLegacy="_backupIsLegacy"
SiteIdentifier="@_formSiteIdentifier"
ConnectionName="@_formName"
Protocol="@_protocol"
Errors="_backupErrors" />
}
<div class="mb-2">
@@ -170,6 +176,13 @@
private ValidationResult? _backupErrors;
private string? _formError;
// The machine-readable site identifier (used in Akka addresses) for the currently
// selected site — resolved from _formSiteId (the numeric primary key) so the
// endpoint editor's Verify probe can target the owning site. Blank until a site is
// chosen, which disables verification in the editor.
private string _formSiteIdentifier =>
_sites.FirstOrDefault(s => s.Id == _formSiteId)?.SiteIdentifier ?? string.Empty;
protected override async Task OnInitializedAsync()
{
try