Combine relay list with relay health check

- Remove separate relay health panel from profile modal.
- Merge health indicators (latency, errors) directly into the relay list items.
- Consolidate refresh logic to update both list configuration and health status.
- Move telemetry toggle to the bottom of the relay section.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-02 14:03:09 +00:00
1 parent d018e21ad4
commit 5df489e504
4 files changed
+133 -168

No files matched your search

+1 -29
View File
@@ -718,34 +718,7 @@
</button>
</div>
<ul id="relayList" class="grid-stack" data-orientation="vertical"></ul>
<div id="relayHealthPanel" class="card space-y-4 p-5">
<div class="flex flex-wrap items-start justify-between gap-3">
<div class="space-y-1">
<h3 class="text-base font-semibold text-text">Relay health</h3>
<p class="text-sm text-muted">
Monitor connectivity, latency, and errors for your configured relays.
</p>
</div>
<button
id="relayHealthRefreshBtn"
type="button"
class="btn-ghost focus-ring text-xs"
>
Refresh
</button>
</div>
<div
id="relayHealthSummary"
class="rounded-md border border-border/70 bg-surface/40 p-3"
>
<div class="flex flex-wrap items-center justify-between gap-2">
<p class="text-2xs font-semibold uppercase tracking-extra-wide text-muted-strong">
Relay status
</p>
<p id="relayHealthCounts" class="text-xs font-semibold text-text"></p>
</div>
<p id="relayHealthMessage" class="mt-1 text-xs text-muted"></p>
</div>
<div class="space-y-2 px-1">
<label
for="relayHealthTelemetryOptIn"
class="inline-flex items-center gap-2 text-xs font-medium text-muted-strong"
@@ -760,7 +733,6 @@
<p class="text-xs text-muted">
Telemetry is opt-in and only includes relay URLs, latency, and error counts.
</p>
<ul id="relayHealthList" class="grid-stack" data-orientation="vertical"></ul>
<p
id="relayHealthStatus"
class="text-xs text-muted"