mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-14 10:55:15 +00:00
web/settings/advanced: add a toggle for local processing
This commit is contained in:
parent
a9515d376a
commit
41600dab4f
|
@ -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.",
|
||||
|
|
|
@ -91,7 +91,9 @@
|
|||
<UpdateNotification />
|
||||
{/if}
|
||||
<div id="content">
|
||||
<ProcessingQueue />
|
||||
{#if $settings.advanced.duck}
|
||||
<ProcessingQueue />
|
||||
{/if}
|
||||
{#if ($turnstileEnabled && $page.url.pathname === "/") || $turnstileCreated}
|
||||
<Turnstile />
|
||||
{/if}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue