From fa04711680f6090992f02d61d3dc1b0e360d13cd Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 6 Aug 2025 22:55:47 +0400 Subject: [PATCH] refac --- .../components/chat/Settings/Interface.svelte | 663 +++++++++--------- 1 file changed, 321 insertions(+), 342 deletions(-) diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index fb260f7672..949c46a395 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -534,29 +534,6 @@ {/if} -
-
-
- {$i18n.t('Widescreen Mode')} -
- - -
-
-
@@ -580,6 +557,57 @@
+
+
+
+ {$i18n.t('Chat Background Image')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Widescreen Mode')} +
+ + +
+
+
@@ -628,6 +656,73 @@
{/if} +
+
+
{$i18n.t('Allow User Location')}
+ + +
+
+ +
+
+
+ {$i18n.t('Haptic Feedback')} ({$i18n.t('Android')}) +
+ + +
+
+ +
+
+
+ {$i18n.t('Copy Formatted Text')} +
+ + +
+
+ {#if $user?.role === 'admin'}
@@ -676,208 +771,26 @@
{/if} -
{$i18n.t('Chat')}
+
{$i18n.t('Input')}
-
- {$i18n.t('Title Auto-Generation')} +
+ {$i18n.t('Enter Key Behavior')}
-
-
- -
-
-
{$i18n.t('Follow-Up Auto-Generation')}
- - -
-
- -
-
-
- {$i18n.t('Chat Tags Auto-Generation')} -
- - -
-
- -
-
-
- {$i18n.t('Detect Artifacts Automatically')} -
- - -
-
- -
-
-
- {$i18n.t('Auto-Copy Response to Clipboard')} -
- - -
-
- -
-
-
- {$i18n.t('Fade Effect for Streaming Text')} -
- - -
-
- -
-
-
- {$i18n.t('Keep Follow-Up Prompts in Chat')} -
- - -
-
- -
-
-
- {$i18n.t('Insert Follow-Up Prompt to Input')} -
- - -
-
- -
-
-
- {$i18n.t('Display Multi-model Responses in Tabs')} -
- -
@@ -1002,21 +915,205 @@
+
{$i18n.t('Chat')}
+
-
- {$i18n.t('Copy Formatted Text')} +
+ {$i18n.t('Title Auto-Generation')}
+
+
+ +
+
+
{$i18n.t('Follow-Up Auto-Generation')}
+ + +
+
+ +
+
+
+ {$i18n.t('Chat Tags Auto-Generation')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Web Search in Chat')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Detect Artifacts Automatically')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Auto-Copy Response to Clipboard')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Fade Effect for Streaming Text')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Keep Follow-Up Prompts in Chat')} +
+ + +
+
+ +
+
+
+ {$i18n.t('Insert Follow-Up Prompt to Input')} +
+ + -
-
- -
-
-
{$i18n.t('Allow User Location')}
- -
-
-
-
- {$i18n.t('Haptic Feedback')} ({$i18n.t('Android')}) -
- - -
-
- - - -
-
-
- {$i18n.t('Enter Key Behavior')} -
- - -
-
-
@@ -1212,29 +1214,6 @@
-
-
-
- {$i18n.t('Web Search in Chat')} -
- - -
-
-