From 0877d5a5685a4a1a0bdb7b14e3209a8d02dfe6bf Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Thu, 9 Jul 2026 15:20:52 +0200 Subject: [PATCH] feat(status-panel): add loading overlay for ongoing operations This update introduces a loading overlay in the StatusPanel component to indicate ongoing operations. The overlay displays a spinner and the current operation status, enhancing user experience during long-running tasks. - Added a loading overlay with a spinner for busy states - Included operation status text to inform users of current actions - Improved visual feedback for ongoing processes in the UI --- src/App.svelte | 1 + src/lib/components/StatusPanel.svelte | 51 +++++++++++++++++++++++++-- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/src/App.svelte b/src/App.svelte index 503c7f7..6a43a5d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -3734,6 +3734,7 @@ {unstagedCount} {hasRepository} {isBusy} + {operation} {status} selectedFilePath={selectedExplorerPath} onSelectFile={selectFileFromStatus} diff --git a/src/lib/components/StatusPanel.svelte b/src/lib/components/StatusPanel.svelte index bfaa781..3d5e257 100644 --- a/src/lib/components/StatusPanel.svelte +++ b/src/lib/components/StatusPanel.svelte @@ -1,5 +1,5 @@ -
+
Working tree @@ -278,4 +280,49 @@ {/each}
{/if} + + {#if isBusy && hasRepository} +
+
+
+
+ {/if}
+ +