From 8dd862d3383978f21111e63fb2d6029711abed9a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 14 Jul 2026 14:17:59 -0400 Subject: [PATCH] refac --- src/lib/components/chat/Settings/About.svelte | 8 +- .../components/chat/Settings/Account.svelte | 8 +- .../chat/Settings/ArchivedChats.svelte | 89 ++++++------- src/lib/components/chat/Settings/Audio.svelte | 16 ++- .../chat/Settings/Connections.svelte | 8 +- .../chat/Settings/DataControls.svelte | 8 +- .../components/chat/Settings/General.svelte | 16 ++- .../chat/Settings/Integrations.svelte | 8 +- .../components/chat/Settings/Interface.svelte | 6 +- .../chat/Settings/Personalization.svelte | 6 +- src/lib/components/chat/SettingsModal.svelte | 123 +++++++++--------- 11 files changed, 162 insertions(+), 134 deletions(-) diff --git a/src/lib/components/chat/Settings/About.svelte b/src/lib/components/chat/Settings/About.svelte index d2fcc66691..c5819d5b42 100644 --- a/src/lib/components/chat/Settings/About.svelte +++ b/src/lib/components/chat/Settings/About.svelte @@ -45,9 +45,9 @@
-
+
-
+
{$WEBUI_NAME} {$i18n.t('Version')} @@ -101,7 +101,9 @@
-
{$i18n.t('Ollama Version')}
+
+ {$i18n.t('Ollama Version')} +
{ollamaVersion ?? 'N/A'} diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index ffa3f34fea..a547651e49 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -125,10 +125,12 @@
-
+
-
{$i18n.t('Your Account')}
+
+ {$i18n.t('Your Account')} +
{$i18n.t('Manage your account information.')} @@ -425,7 +427,7 @@ {/if}
-
+
+ {/if} +
-
- - {#if query} - - {/if} -
- {#if chatList === null}
@@ -222,9 +221,9 @@ {$i18n.t('You have no archived conversations.')}
{:else} -
+
-
+
{#each chatList as chat (chat.id)} -
+
{ event.preventDefault(); @@ -267,7 +266,9 @@ > {chat?.title} -