best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
web/settings/advanced: add a toggle for local processing
wukko41600dab4f88
diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.jsonindex c450b4b9..c0a4f1df 100644--- a/web/i18n/en/settings.json+++ b/web/i18n/en/settings.json@@ -113,6 +113,10 @@"advanced.data": "data management",+ "advanced.duck": "local processing",+ "advanced.duck.title": "process everything on device",+ "advanced.duck.description": "very wip, may cause critical issues or not work at all. this toggle will probably be gone by release.",+"processing.community": "community instances","processing.enable_custom.title": "use a custom processing server","processing.enable_custom.description": "cobalt will use a custom processing instance if you choose to. even though cobalt has some security measures in place, we are not responsible for any damages done via a community instance, as we have no control over them.\n\nplease be mindful of what instances you use and make sure they're hosted by people you trust.",diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelteindex b7e7aade..93f45b17 100644--- a/web/src/routes/+layout.svelte+++ b/web/src/routes/+layout.svelte@@ -91,7 +91,9 @@<UpdateNotification />{/if}<div id="content">- <ProcessingQueue />+ {#if $settings.advanced.duck}+ <ProcessingQueue />+ {/if}{#if ($turnstileEnabled && $page.url.pathname === "/") || $turnstileCreated}<Turnstile />{/if}diff --git a/web/src/routes/settings/advanced/+page.svelte b/web/src/routes/settings/advanced/+page.svelteindex f66ada39..9a02203f 100644--- a/web/src/routes/settings/advanced/+page.svelte+++ b/web/src/routes/settings/advanced/+page.svelte@@ -15,6 +15,15 @@/></SettingsCategory>+<SettingsCategory sectionId="local-processing" title={$t("settings.advanced.duck")} beta>+ <SettingsToggle+ settingContext="advanced"+ settingId="duck"+ title={$t("settings.advanced.duck.title")}+ description={$t("settings.advanced.duck.description")}+ />+</SettingsCategory>+<SettingsCategory sectionId="data" title={$t("settings.advanced.data")}><ManageSettings /></SettingsCategory>