Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: enable actions when transcript is present and include transcript in action content

Gabriel Stein375f7d01ee92
diff --git a/src/components/notes/PersonalNotesView.tsx b/src/components/notes/PersonalNotesView.tsx
index 79ed3d214..4b34c5e85 100644
--- a/src/components/notes/PersonalNotesView.tsx
+++ b/src/components/notes/PersonalNotesView.tsx
@@ -324,9 +324,7 @@ export default function PersonalNotesView({
if (!transcript) return;
const combinedContent = [
- localContentRef.current.trim()
- ? `## My Notes\n${localContentRef.current}`
- : "",
+ localContentRef.current.trim() ? `## My Notes\n${localContentRef.current}` : "",
`## Meeting Transcript\n${transcript}`,
]
.filter(Boolean)
@@ -753,11 +751,22 @@ export default function PersonalNotesView({
actionPicker={
<ActionPicker
onRunAction={(action) => {
- if (!localContent.trim()) return;
- runAction(action, localContent, { isCloudMode, modelId: effectiveModelId });
+ const transcript = meetingTranscript || activeNote?.transcript;
+ const hasNotes = !!localContent.trim();
+ if (!hasNotes && !transcript) return;
+ const parts = [
+ hasNotes ? localContent : "",
+ transcript ? `## Meeting Transcript\n${transcript}` : "",
+ ]
+ .filter(Boolean)
+ .join("\n\n");
+ runAction(action, parts, { isCloudMode, modelId: effectiveModelId });
}}
onManageActions={() => setShowActionManager(true)}
- disabled={!localContent.trim() || actionProcessingState === "processing"}
+ disabled={
+ (!localContent.trim() && !meetingTranscript && !activeNote?.transcript) ||
+ actionProcessingState === "processing"
+ }
/>
}
/>