enh: move chat menu

This commit is contained in:
Timothy Jaeryang Baek committed 2025-08-21 04:35:27 +04:00
1 parent f46837fd10
commit d720e027ad
5 files changed
+160 -31

No files matched your search

+6
View File
@@ -50,6 +50,8 @@
export let showBanners = true;
export let onSaveTempChat: () => {};
export let archiveChatHandler: (id: string) => void;
export let moveChatHandler: (id: string, folderId: string) => void;
let closedBannerIds = [];
@@ -165,6 +167,10 @@
shareHandler={() => {
showShareChatModal = !showShareChatModal;
}}
archiveChatHandler={() => {
archiveChatHandler(chat.id);
}}
{moveChatHandler}
>
<button
class="flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-50 dark:hover:bg-gray-850 transition"