From 789e1db26023c0d0d725d8300e18fd033d0104ad Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 26 Nov 2024 14:14:26 -0800 Subject: [PATCH] refac: textarea --- .../admin/Settings/Interface.svelte | 541 +++++++++--------- src/lib/components/common/Textarea.svelte | 15 +- 2 files changed, 275 insertions(+), 281 deletions(-) diff --git a/src/lib/components/admin/Settings/Interface.svelte b/src/lib/components/admin/Settings/Interface.svelte index 3043ffae4..2fee518ee 100644 --- a/src/lib/components/admin/Settings/Interface.svelte +++ b/src/lib/components/admin/Settings/Interface.svelte @@ -55,255 +55,176 @@ }; -
{ - updateInterfaceHandler(); - dispatch('save'); - }} -> -
-
-
-
{$i18n.t('Set Task Model')}
- - { + updateInterfaceHandler(); + dispatch('save'); + }} + > +
+
+
+
{$i18n.t('Set Task Model')}
+ - - - -
-
-
-
{$i18n.t('Local Models')}
- + + + + +
+
+
+
{$i18n.t('Local Models')}
+ +
+ +
+
{$i18n.t('External Models')}
+ +
-
-
{$i18n.t('External Models')}
- -
-
- -
-
{$i18n.t('Title Generation Prompt')}
- - -