From 8f01f72d287fa7e5155782a2bd6bfe493f4185eb Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 21 Jun 2025 13:57:11 +0200 Subject: [PATCH] Update Placeholder.svelte --- src/lib/components/chat/Placeholder.svelte | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Placeholder.svelte b/src/lib/components/chat/Placeholder.svelte index 41cea8a0f..bae10164e 100644 --- a/src/lib/components/chat/Placeholder.svelte +++ b/src/lib/components/chat/Placeholder.svelte @@ -7,7 +7,7 @@ const dispatch = createEventDispatcher(); - import { config, user, models as _models, temporaryChatEnabled } from '$lib/stores'; + import { config, user, models as _models, temporaryChatEnabled, pendingFolderId, pendingFolderName } from '$lib/stores'; import { sanitizeResponseContent, extractCurlyBraceWords } from '$lib/utils'; import { WEBUI_BASE_URL } from '$lib/constants'; @@ -16,6 +16,9 @@ import EyeSlash from '$lib/components/icons/EyeSlash.svelte'; import MessageInput from './MessageInput.svelte'; + import FolderOpen from '$lib/components/icons/FolderOpen.svelte'; + import XMark from '$lib/components/icons/XMark.svelte'; + const i18n = getContext('i18n'); export let transparentBackground = false; @@ -103,6 +106,27 @@ {/if} + {#if $pendingFolderName} +
+
+ + + {$i18n.t('Next chat will be created in folder:')} + {$pendingFolderName} + + +
+
+ {/if} +