diff --git a/README.md b/README.md index bbf7284..db02853 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,6 @@ chats.](docs/images/command-palette.png) - **Keyboard-first navigation.** A command palette (Ctrl/Cmd+K) reaches new chat, settings, theme, model switching, and recent chats; `?` opens a shortcuts reference. The sidebar also supports searching chats by title. -- **Transcript export.** Any conversation can be exported as Markdown or JSON - from the workspace header. - **Durable context.** Threads live in SQLite; permanent memories use atomic local JSON storage. Existing JSON chat history and Windows settings are read additively during migration without rewriting the legacy source. diff --git a/docs/images/workspace.png b/docs/images/workspace.png index fc9df03..6c66f8e 100644 Binary files a/docs/images/workspace.png and b/docs/images/workspace.png differ diff --git a/frontend/src/features/chat/ChatPage.tsx b/frontend/src/features/chat/ChatPage.tsx index 17092cc..92de760 100644 --- a/frontend/src/features/chat/ChatPage.tsx +++ b/frontend/src/features/chat/ChatPage.tsx @@ -143,15 +143,6 @@ export function ChatPage({ const currentChat = threadId !== null && chat?.id === threadId ? chat : null; - // Mirror the fully-loaded, currently-viewed chat into the global store so - // chrome outside ChatPage (the AppShell header's export control) can read - // it without prop-drilling. Cleared on unmount so a Settings round-trip - // doesn't leave a stale chat exported from the header. - useEffect(() => { - useChatStore.getState().setActiveChat(currentChat); - return () => useChatStore.getState().setActiveChat(null); - }, [currentChat]); - useEffect(() => { if (isNearTranscriptEnd.current) { messageListRef.current?.scrollToBottom(); diff --git a/frontend/src/features/chat/ExportTranscriptMenu.tsx b/frontend/src/features/chat/ExportTranscriptMenu.tsx deleted file mode 100644 index d0c68d6..0000000 --- a/frontend/src/features/chat/ExportTranscriptMenu.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { FileJson, FileText } from "lucide-react"; -import type { ChatResponse } from "../../../../contracts/cortex-api"; -import { exportTranscriptAsJson, exportTranscriptAsMarkdown } from "./exportTranscript"; - -export function ExportTranscriptMenu({ chat }: { chat: ChatResponse }) { - return ( -