diff --git a/src/lib/components/chat/Tags.svelte b/src/lib/components/chat/Tags.svelte new file mode 100644 index 000000000..17ec064ee --- /dev/null +++ b/src/lib/components/chat/Tags.svelte @@ -0,0 +1,52 @@ + + + diff --git a/src/lib/components/common/Dropdown.svelte b/src/lib/components/common/Dropdown.svelte index e8284a504..eaceeb3e2 100644 --- a/src/lib/components/common/Dropdown.svelte +++ b/src/lib/components/common/Dropdown.svelte @@ -4,10 +4,12 @@ import { flyAndScale } from '$lib/utils/transitions'; + export let show = false; const dispatch = createEventDispatcher(); { dispatch('change', state); }} diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte index 33334b38b..a1a4e2ae8 100644 --- a/src/lib/components/layout/Sidebar.svelte +++ b/src/lib/components/layout/Sidebar.svelte @@ -538,6 +538,7 @@ {:else}
{ chatTitle = chat.title; chatTitleEditId = chat.id; diff --git a/src/lib/components/layout/Sidebar/ChatMenu.svelte b/src/lib/components/layout/Sidebar/ChatMenu.svelte index b5a0a86a4..0eab11211 100644 --- a/src/lib/components/layout/Sidebar/ChatMenu.svelte +++ b/src/lib/components/layout/Sidebar/ChatMenu.svelte @@ -6,14 +6,19 @@ import GarbageBin from '$lib/components/icons/GarbageBin.svelte'; import Pencil from '$lib/components/icons/Pencil.svelte'; import Tooltip from '$lib/components/common/Tooltip.svelte'; + import Tags from '$lib/components/chat/Tags.svelte'; export let renameHandler: Function; export let deleteHandler: Function; - export let onClose: Function; + + export let chatId = ''; + + let show = false; { if (e.detail === false) { onClose(); @@ -51,6 +56,12 @@
Delete
+ +
+ +
+ +