From 66f7825ed9638606665b9e61c6f8132de013da14 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Tue, 13 Jan 2026 15:56:20 +0800 Subject: feat: implement download functionality with progress monitoring and version management --- ui/src/App.svelte | 27 +++++++++--- ui/src/lib/DownloadMonitor.svelte | 92 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+), 5 deletions(-) create mode 100644 ui/src/lib/DownloadMonitor.svelte (limited to 'ui/src') diff --git a/ui/src/App.svelte b/ui/src/App.svelte index 18ef5e5..0e14cb0 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -1,6 +1,7 @@ + +{#if visible} +
+
+

Downloads

+ {statusText} +
+ +
+ {currentFile || "Waiting..."} +
+ + +
+
+
+ +
+ {formatBytes(downloadedBytes)} / {formatBytes(totalBytes)} + {Math.round(progress)}% +
+
+{/if} -- cgit v1.2.3-70-g09d2