From a601aaf101ecfa99eb8392a2e3d66fc79f473d76 Mon Sep 17 00:00:00 2001 From: Diego Rodrigues de Sa e Souza <8016841+diegosouzapw@users.noreply.github.com> Date: Mon, 22 Jun 2026 17:38:16 -0300 Subject: [PATCH] fix(dashboard): keep play_arrow spinning on provider Test All buttons (#4563) Integrated into release/v3.8.34 (rebuilt onto tip; UI-cosmetic per owner) --- .../(dashboard)/dashboard/providers/page.tsx | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/app/(dashboard)/dashboard/providers/page.tsx b/src/app/(dashboard)/dashboard/providers/page.tsx index df1110b27e..8a2567af1b 100644 --- a/src/app/(dashboard)/dashboard/providers/page.tsx +++ b/src/app/(dashboard)/dashboard/providers/page.tsx @@ -951,8 +951,8 @@ export default function ProvidersPage() { }`} title={t("testAllCompatible")} > - - {testingMode === "compatible" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "compatible" ? t("testing") : t("testAll")} @@ -1046,8 +1046,8 @@ export default function ProvidersPage() { title={t("testAllOAuth")} aria-label={t("testAllOAuth")} > - - {testingMode === "oauth" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "oauth" ? t("testing") : t("testAll")} @@ -1096,8 +1096,8 @@ export default function ProvidersPage() { title={t("testAll")} aria-label={t("testAll")} > - - {testingMode === "ide" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "ide" ? t("testing") : t("testAll")} @@ -1153,8 +1153,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "web-cookie" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "web-cookie" ? t("testing") : t("testAll")} @@ -1197,8 +1197,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "free" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "free" ? t("testing") : t("testAll")} @@ -1242,8 +1242,8 @@ export default function ProvidersPage() { title={t("testAllApiKey")} aria-label={t("testAllApiKey")} > - - {testingMode === "apikey" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "apikey" ? t("testing") : t("testAll")} @@ -1294,8 +1294,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "no-auth" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "no-auth" ? t("testing") : t("testAll")} @@ -1338,8 +1338,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "upstream-proxy" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "upstream-proxy" ? t("testing") : t("testAll")} @@ -1481,8 +1481,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "cloud-agent" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "cloud-agent" ? t("testing") : t("testAll")} @@ -1529,8 +1529,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "local" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "local" ? t("testing") : t("testAll")} @@ -1573,8 +1573,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "search" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "search" ? t("testing") : t("testAll")} @@ -1683,8 +1683,8 @@ export default function ProvidersPage() { }`} title={t("testAll")} > - - {testingMode === "audio" ? "sync" : "play_arrow"} + + play_arrow {testingMode === "audio" ? t("testing") : t("testAll")}