feat(ui): show spinner on the Stop confirm button while the stop call is in flight
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 3m24s
CI / docker (push) Successful in 2m35s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 1m4s

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) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-28 12:52:20 +02:00
parent c03b5b80a1
commit 2871bdcc92

View File

@@ -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 ── */}