From d773f8fadca178e06707ca069edbd5e445d80795 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 13 Nov 2026 22:53:31 +0900 Subject: [PATCH] refac --- .../chat/Placeholder/ChatList.svelte | 16 +++--- .../chat/Placeholder/FolderBoard.svelte | 16 +++--- .../chat/Placeholder/FolderChatLink.svelte | 50 +++++++++++++++++++ 3 files changed, 68 insertions(+), 14 deletions(-) create mode 100644 src/lib/components/chat/Placeholder/FolderChatLink.svelte diff --git a/src/lib/components/chat/Placeholder/ChatList.svelte b/src/lib/components/chat/Placeholder/ChatList.svelte index ae3f84bbbc..4772ff9497 100644 --- a/src/lib/components/chat/Placeholder/ChatList.svelte +++ b/src/lib/components/chat/Placeholder/ChatList.svelte @@ -18,6 +18,7 @@ import ChevronRight from '$lib/components/icons/ChevronRight.svelte'; import FolderTags from './FolderTags.svelte'; import FolderChatMenu from './FolderChatMenu.svelte'; + import FolderChatLink from './FolderChatLink.svelte'; import FolderStatusControl from './FolderStatus.svelte'; import StatusIcon from './FolderStatusIcon.svelte'; import FolderStatusTime from './FolderStatusTime.svelte'; @@ -235,15 +236,16 @@ }} /> {:else} - openFolderChat(chat, appLayout, event)}>{chat.title} + onclick={(event) => openFolderChat(chat, appLayout, event)} + /> {/if} {#if chat.search_snippet} {/if} - openFolderChat(chat, appLayout, event)}>{chat.title} + onclick={(event) => openFolderChat(chat, appLayout, event)} + /> {#if chat.search_snippet} diff --git a/src/lib/components/chat/Placeholder/FolderChatLink.svelte b/src/lib/components/chat/Placeholder/FolderChatLink.svelte new file mode 100644 index 0000000000..12a21376f1 --- /dev/null +++ b/src/lib/components/chat/Placeholder/FolderChatLink.svelte @@ -0,0 +1,50 @@ + + + + + + + {title} + + + +