From feb263ff4d35661efeae1052213cfc3d115d84f6 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sat, 16 May 2026 04:30:10 -0300 Subject: [PATCH] fix(dashboard): clean up endpoint card URL redundancy and tunnel persistence - Remove inline URL blocks from all 5 connection rows (URLs now show only in the Active Endpoints bar) - Show Active Endpoints bar when any URL is active (was: only when > 1) - Fix Tailscale missing from Active bar by falling back to tunnelUrl when apiUrl is null - Persist ngrok authtoken to /api/settings after first successful enable; restore on startup so it never needs re-entering --- .../dashboard/endpoint/EndpointPageClient.tsx | 46 +++++++------------ 1 file changed, 17 insertions(+), 29 deletions(-) diff --git a/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx b/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx index a29b2c8a2c..e403b3ec5c 100644 --- a/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx +++ b/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx @@ -454,6 +454,7 @@ export default function APIPageClient({ machineId }: Readonly )} - {/* Active URLs — shown only when more than just local is active */} - {activeUrls.length > 1 && ( + {/* Active URLs bar */} + {activeUrls.length > 0 && (

Active Endpoints @@ -1252,9 +1263,6 @@ export default function APIPageClient({ machineId }: Readonly Running - - {baseUrl} -

{translateOrFallback("tailscaleTitle", "Tailscale Funnel")} - {tailscaleStatus?.running && tailscaleStatus.apiUrl && ( - - {tailscaleStatus.apiUrl} - - )} {translateOrFallback("ngrokTitle", "ngrok Tunnel")} - {ngrokStatus?.running && ngrokStatus.apiUrl && ( - - {ngrokStatus.apiUrl} - - )}