feat: chat overview

This commit is contained in:
Timothy J. Baek
2024-09-17 22:05:19 +02:00
parent bb087a5989
commit d1dbb9a3be
14 changed files with 364 additions and 79 deletions

View File

@@ -8,7 +8,7 @@
import { downloadChatAsPDF } from '$lib/apis/utils';
import { copyToClipboard } from '$lib/utils';
import { showSettings } from '$lib/stores';
import { showOverview, showControls } from '$lib/stores';
import { flyAndScale } from '$lib/utils/transitions';
import Dropdown from '$lib/components/common/Dropdown.svelte';
@@ -128,8 +128,9 @@
<DropdownMenu.Item
class="flex gap-2 items-center px-3 py-2 text-sm cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-md"
id="chat-overview-button"
on:click={() => {
shareHandler();
on:click={async () => {
await showControls.set(true);
await showOverview.set(true);
}}
>
<Map className=" size-4" strokeWidth="1.5" />