Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
refactor(notes): remove dead code from embedded chat feature
Gabriel Steincd34a0adb856
diff --git a/src/components/notes/NoteBottomBar.tsx b/src/components/notes/NoteBottomBar.tsxindex 448ab692e..0fb321c45 100644--- a/src/components/notes/NoteBottomBar.tsx+++ b/src/components/notes/NoteBottomBar.tsx@@ -74,7 +74,6 @@ export default function NoteBottomBar({className={cn("flex items-center justify-center w-11 h-11 rounded-full","bg-primary/8 dark:bg-primary/12",- "backdrop-blur-xl","border border-primary/15 dark:border-primary/20","shadow-sm hover:shadow-md","text-primary/60 hover:text-primary",diff --git a/src/components/notes/NoteEditor.tsx b/src/components/notes/NoteEditor.tsxindex 62a68f098..3feaa3dab 100644--- a/src/components/notes/NoteEditor.tsx+++ b/src/components/notes/NoteEditor.tsx@@ -95,7 +95,7 @@ export default function NoteEditor({noteId: note.id,noteTitle: note.title,noteContent: note.content,- noteTranscript: note.transcript,+ noteTranscript: note.transcript ?? undefined,});const titleRef = useRef<HTMLDivElement>(null);const prevNoteIdRef = useRef<number>(note.id);diff --git a/src/hooks/useEmbeddedChat.ts b/src/hooks/useEmbeddedChat.tsindex b2fb29486..065070e2b 100644--- a/src/hooks/useEmbeddedChat.ts+++ b/src/hooks/useEmbeddedChat.ts@@ -15,8 +15,6 @@ interface UseEmbeddedChatReturn {agentState: AgentState;sendMessage: (text: string) => Promise<void>;cancelStream: () => void;- clearChat: () => void;- hasMessages: boolean;}export function useEmbeddedChat({@@ -85,18 +83,10 @@ export function useEmbeddedChat({[conversationId, noteTitle, persistence, streaming]);- const clearChat = useCallback(() => {- persistence.handleNewChat();- setConversationId(null);- streaming.cancelStream();- }, [persistence, streaming]);-return {messages: persistence.messages,agentState: streaming.agentState,sendMessage,cancelStream: streaming.cancelStream,- clearChat,- hasMessages: persistence.messages.length > 0,};}