aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/components/SettingsView.svelte
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-14 14:02:32 +0800
committerGitHub <noreply@github.com>2026-01-14 14:02:32 +0800
commit1f13026ec0f023c7762d7a9744ea5d9fbe911a53 (patch)
tree3227663e913663e5fce0847f3c717cc3fccb61fc /ui/src/components/SettingsView.svelte
parentd0023c586cfe90a928f70c0d81e388b495d5ae28 (diff)
parentc61620ffd2071c9b08e0a4da3c6550a243dd534f (diff)
downloadDropOut-1f13026ec0f023c7762d7a9744ea5d9fbe911a53.tar.gz
DropOut-1f13026ec0f023c7762d7a9744ea5d9fbe911a53.zip
Merge pull request #17 from HsiangNianian/feat/display-download-rate-and-progress-with-concurrency
Diffstat (limited to 'ui/src/components/SettingsView.svelte')
-rw-r--r--ui/src/components/SettingsView.svelte24
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/src/components/SettingsView.svelte b/ui/src/components/SettingsView.svelte
index 9f260c1..dcb947f 100644
--- a/ui/src/components/SettingsView.svelte
+++ b/ui/src/components/SettingsView.svelte
@@ -117,6 +117,30 @@
</div>
</div>
+ <!-- Download Settings -->
+ <div class="bg-zinc-800/50 p-6 rounded-lg border border-zinc-700">
+ <h3
+ class="block text-sm font-bold text-zinc-400 mb-4 uppercase tracking-wide"
+ >Download Settings</h3>
+ <div>
+ <label for="download-threads" class="block text-xs text-zinc-500 mb-1"
+ >Concurrent Download Threads</label
+ >
+ <input
+ id="download-threads"
+ bind:value={settingsState.settings.download_threads}
+ type="number"
+ min="1"
+ max="128"
+ step="1"
+ class="bg-zinc-950 text-white w-full p-3 rounded border border-zinc-700 focus:border-indigo-500 outline-none"
+ />
+ <p class="text-xs text-zinc-500 mt-2">
+ Number of files to download simultaneously. Higher values can speed up downloads but may consume more bandwidth and system resources. Recommended: 16-64 (max: 128 for advanced users)
+ </p>
+ </div>
+ </div>
+
<div class="pt-4">
<button
onclick={() => settingsState.saveSettings()}