From e0a539bc64f9c9813dd168fd9591540bac6483f4 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Wed, 25 Mar 2026 11:28:46 -0300 Subject: [PATCH] fix(dashboard): post-release UI and proxy connection regressions --- open-sse/services/usage.ts | 2 +- src/app/(dashboard)/dashboard/providers/[id]/page.tsx | 7 +++---- .../dashboard/settings/components/ProxyRegistryManager.tsx | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/open-sse/services/usage.ts b/open-sse/services/usage.ts index f2be04086e..f9d502e8d0 100644 --- a/open-sse/services/usage.ts +++ b/open-sse/services/usage.ts @@ -856,7 +856,7 @@ async function getCodexUsage(accessToken, providerSpecificData: Record - {connection.lastError} - + title={connection.lastError.replace(/<[^>]*>?/gm, "")} + dangerouslySetInnerHTML={{ __html: connection.lastError }} + /> )} #{connection.priority} {connection.globalPriority && ( diff --git a/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx b/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx index 2649d4ece1..42b1312ee0 100644 --- a/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx +++ b/src/app/(dashboard)/dashboard/settings/components/ProxyRegistryManager.tsx @@ -9,6 +9,8 @@ type ProxyItem = { type: string; host: string; port: number; + username?: string | null; + password?: string | null; region?: string | null; notes?: string | null; status?: string; @@ -211,6 +213,8 @@ export default function ProxyRegistryManager() { type: item.type || "http", host: item.host, port: String(item.port || 8080), + username: item.username, + password: item.password, }, }), });