From 2871bdcc927725a97d8939d6955eee59cac0a621 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Tue, 28 Apr 2026 12:52:20 +0200 Subject: [PATCH] feat(ui): show spinner on the Stop confirm button while the stop call is in flight The AlertDialog from the design system already exposes a `loading` prop that swaps the confirm button into a spinner state. Wire it to stopDeployment.isPending so users get feedback during the (sometimes multi- second) container-stop call instead of staring at a static button. Co-Authored-By: Claude Opus 4.7 (1M context) --- ui/src/pages/AppsTab/AppDeploymentPage/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx b/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx index 9be0545f..b4049c70 100644 --- a/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx +++ b/ui/src/pages/AppsTab/AppDeploymentPage/index.tsx @@ -604,6 +604,7 @@ export default function AppDeploymentPage() { description="This will stop the running container. The app will be unavailable until redeployed." confirmLabel="Stop" variant="danger" + loading={stopDeployment.isPending} /> {/* ── Delete confirmation dialog ── */}