diff --git a/apps/desktop/src/components/editor-area/index.tsx b/apps/desktop/src/components/editor-area/index.tsx index e9ecf9fd07..07d5e957c7 100644 --- a/apps/desktop/src/components/editor-area/index.tsx +++ b/apps/desktop/src/components/editor-area/index.tsx @@ -27,6 +27,7 @@ import { AnnotationBox } from "./annotation-box"; import { FloatingButton } from "./floating-button"; import { NoteHeader } from "./note-header"; import { TextSelectionPopover } from "./text-selection-popover"; +import { prepareContextText } from "./utils/summary-prepare"; async function generateTitleDirect( enhancedContent: string, @@ -447,6 +448,25 @@ export function useEnhanceMutation({ : config.general?.selected_template_id; const selectedTemplate = await TemplateService.getTemplate(effectiveTemplateId ?? ""); + let contextText = ""; + + // Print context tags if they exist + if (selectedTemplate?.context_option) { + try { + const contextConfig = JSON.parse(selectedTemplate.context_option); + if (contextConfig.type === "tags" && contextConfig.selections?.length > 0) { + // Prepare and print context text from tagged sessions + contextText = await prepareContextText( + contextConfig.selections, + sessionId, + userId, + ); + } + } catch (e) { + // Silent catch for malformed JSON + console.error("Error parsing context option:", e); + } + } if (selectedTemplate !== null) { const eventName = selectedTemplate?.tags.includes("builtin") @@ -484,6 +504,7 @@ export function useEnhanceMutation({ editor: finalInput, words: JSON.stringify(words), participants, + ...((contextText !== "" || contextText !== undefined || contextText !== null) ? { contextText } : {}), }, ); diff --git a/apps/desktop/src/components/editor-area/utils/summary-prepare.ts b/apps/desktop/src/components/editor-area/utils/summary-prepare.ts new file mode 100644 index 0000000000..46e2c6780d --- /dev/null +++ b/apps/desktop/src/components/editor-area/utils/summary-prepare.ts @@ -0,0 +1,76 @@ +import { commands as dbCommands } from "@hypr/plugin-db"; + +/** + * Prepares context text by finding recent enhanced notes for given tags + * @param tags Array of tag names to search for + * @param currentSessionId Session ID to exclude from results + * @param userId User ID for querying sessions + * @returns Combined context text from enhanced meeting notes + */ +export async function prepareContextText( + tags: string[], + currentSessionId: string, + userId: string, +): Promise { + if (!tags.length) { + return ""; + } + + const allTags = await dbCommands.listAllTags(); + const tagMap = new Map(allTags.map(tag => [tag.name, tag.id])); + + const tagIds = tags + .map(tagName => tagMap.get(tagName)) + .filter((id): id is string => id !== undefined); + + if (!tagIds.length) { + return ""; + } + + const allSessions = new Map(); + + for (const tagId of tagIds) { + try { + const sessions = await dbCommands.listSessions({ + type: "tagFilter", + tag_ids: [tagId], + user_id: userId, + limit: 10, + }); + + sessions.forEach(session => { + if ( + session.id !== currentSessionId + && session.enhanced_memo_html + && session.enhanced_memo_html.trim().length > 0 + ) { + allSessions.set(session.id, session); + } + }); + } catch (error) { + console.warn(`Failed to fetch sessions for tag ${tagId}:`, error); + } + } + + const sortedSessions = Array.from(allSessions.values()) + .sort((a, b) => new Date(b.created_at).getTime() - new Date(a.created_at).getTime()) + .slice(0, 2); + + if (!sortedSessions.length) { + return ""; + } + + const contextParts = sortedSessions.map((session, index) => { + const cleanContent = session.enhanced_memo_html! + .replace(/<[^>]*>/g, "") + .replace(/ /g, " ") + .replace(/&/g, "&") + .replace(/</g, "<") + .replace(/>/g, ">") + .trim(); + + return `--- Session ${index + 1}: "${session.title || "Untitled Note"}" ---\n${cleanContent}`; + }); + + return contextParts.join("\n\n"); +} diff --git a/apps/desktop/src/components/settings/views/template.tsx b/apps/desktop/src/components/settings/views/template.tsx index d4eb8a9d62..5ca300d2f1 100644 --- a/apps/desktop/src/components/settings/views/template.tsx +++ b/apps/desktop/src/components/settings/views/template.tsx @@ -1,10 +1,15 @@ import { TemplateService } from "@/utils/template-service"; -import { type Template } from "@hypr/plugin-db"; +import { commands as dbCommands, type Template } from "@hypr/plugin-db"; +import { Badge } from "@hypr/ui/components/ui/badge"; import { Button } from "@hypr/ui/components/ui/button"; +import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem } from "@hypr/ui/components/ui/command"; import { Input } from "@hypr/ui/components/ui/input"; import { Popover, PopoverContent, PopoverTrigger } from "@hypr/ui/components/ui/popover"; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@hypr/ui/components/ui/select"; import { Textarea } from "@hypr/ui/components/ui/textarea"; import { Trans, useLingui } from "@lingui/react/macro"; +import { useQuery } from "@tanstack/react-query"; +import { Plus, X } from "lucide-react"; import { useCallback, useEffect, useState } from "react"; import { SectionsList } from "../components/template-sections"; @@ -70,6 +75,12 @@ export default function TemplateEditor({ }: TemplateEditorProps) { const { t } = useLingui(); + // Load all tags from database + const { data: allTags = [] } = useQuery({ + queryKey: ["all-tags"], + queryFn: () => dbCommands.listAllTags(), + }); + // Check if this is a built-in template const isBuiltinTemplate = !TemplateService.canEditTemplate(template.id); const isReadOnly = disabled || isBuiltinTemplate; @@ -94,11 +105,44 @@ export default function TemplateEditor({ const [selectedEmoji, setSelectedEmoji] = useState(() => extractEmojiFromTitle(template.title || "")); const [emojiPopoverOpen, setEmojiPopoverOpen] = useState(false); + // Context selection state + const [contextType, setContextType] = useState(""); + const [selectedTags, setSelectedTags] = useState([]); + + // Parse context_option from template + const parseContextOption = (contextOption: string | null) => { + if (!contextOption) { + return { type: "", selections: [] }; + } + try { + const parsed = JSON.parse(contextOption); + return { + type: parsed.type || "", + selections: parsed.selections || [], + }; + } catch { + return { type: "", selections: [] }; + } + }; + + // Stringify context config for saving + const stringifyContextOption = (type: string, selections: string[]) => { + if (!type) { + return null; + } + return JSON.stringify({ type, selections }); + }; + // Sync local state when template ID changes (new template loaded) useEffect(() => { setTitleText(getTitleWithoutEmoji(template.title || "")); setDescriptionText(template.description || ""); setSelectedEmoji(extractEmojiFromTitle(template.title || "")); + + // Parse and set context option + const contextConfig = parseContextOption(template.context_option); + setContextType(contextConfig.type); + setSelectedTags(contextConfig.selections); }, [template.id]); // Simple handlers with local state @@ -227,6 +271,146 @@ export default function TemplateEditor({ /> + {/* Context section - only show for custom templates */} + {!isBuiltinTemplate && ( +
+

+ Context +

+ +
+
+ + +
+ + {/* Multi-select for tags */} + {contextType === "tags" && ( +
+ +
+
+ {selectedTags.map((tag) => ( + + {tag} + {!isReadOnly && ( + + )} + + ))} + {selectedTags.length === 0 && ( + + No tags selected + + )} +
+ {!isReadOnly && ( + + + + + + + + + {allTags.length === 0 + ? "No tags available. Create tags by tagging your notes first." + : "No tag found."} + + + {allTags.filter( + (tag) => !selectedTags.includes(tag.name), + ).map((tag) => ( + { + if (!selectedTags.includes(tag.name)) { + const newSelectedTags = [...selectedTags, tag.name]; + setSelectedTags(newSelectedTags); + + // Save to template immediately + const contextOption = stringifyContextOption(contextType, newSelectedTags); + onTemplateUpdate({ ...template, context_option: contextOption }); + } + }} + > + {tag.name} + + ))} + + + + + )} +
+
+ )} +
+
+ )} +

Sections diff --git a/apps/desktop/src/components/settings/views/templates.tsx b/apps/desktop/src/components/settings/views/templates.tsx index bcf50a5a9c..b2f886021d 100644 --- a/apps/desktop/src/components/settings/views/templates.tsx +++ b/apps/desktop/src/components/settings/views/templates.tsx @@ -134,6 +134,7 @@ export default function TemplatesView() { description: "", sections: [], tags: [], + context_option: null, }; setSelectedTemplate(newTemplate); setViewState("new"); diff --git a/apps/desktop/src/locales/en/messages.po b/apps/desktop/src/locales/en/messages.po index 602196bda0..13a36feaf7 100644 --- a/apps/desktop/src/locales/en/messages.po +++ b/apps/desktop/src/locales/en/messages.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-05-15 16:09-0700\n" +"POT-Creation-Date: 2025-09-09 23:20-0700\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -208,54 +208,6 @@ msgstr "1 day later" msgid "{weeks} weeks later" msgstr "{weeks} weeks later" -#. js-lingui-explicit-id -#: src/components/settings/views/general.tsx:275 -#~ msgid "Type jargons (e.g., Blitz Meeting, PaC Squad)" -#~ msgstr "Type jargons (e.g., Blitz Meeting, PaC Squad)" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:168 -#~ msgid "just now" -#~ msgstr "just now" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:207 -#~ msgid "in progress" -#~ msgstr "in progress" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:223 -#~ msgid "in {seconds} seconds" -#~ msgstr "in {seconds} seconds" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:225 -#~ msgid "in 1 minute" -#~ msgstr "in 1 minute" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:227 -#~ msgid "in {minutes} minutes" -#~ msgstr "in {minutes} minutes" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:229 -#~ msgid "in 1 hour" -#~ msgstr "in 1 hour" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:231 -#~ msgid "in {hours} hours" -#~ msgstr "in {hours} hours" - -#: src/components/settings/views/notifications.tsx:113 -#~ msgid "(Beta) Detect meetings automatically" -#~ msgstr "(Beta) Detect meetings automatically" - -#: src/components/settings/views/notifications.tsx:140 -#~ msgid "(Beta) Upcoming meeting notifications" -#~ msgstr "(Beta) Upcoming meeting notifications" - #: src/components/settings/components/ai/llm-custom-view.tsx:628 msgid "(Optional for localhost)" msgstr "(Optional for localhost)" @@ -270,7 +222,7 @@ msgstr "(Optional)" #: src/components/editor-area/note-header/listen-button.tsx:187 #: src/components/editor-area/note-header/listen-button.tsx:211 #: src/components/editor-area/note-header/listen-button.tsx:231 -#: src/components/settings/views/templates.tsx:252 +#: src/components/settings/views/templates.tsx:253 msgid "{0}" msgstr "{0}" @@ -284,10 +236,6 @@ msgstr "{0} calendars selected" msgid "{buttonText}" msgstr "{buttonText}" -#: src/components/settings/components/wer-modal.tsx:103 -#~ msgid "{category}" -#~ msgstr "{category}" - #: src/components/settings/views/lab.tsx:77 msgid "{description}" msgstr "{description}" @@ -300,18 +248,6 @@ msgstr "{title}" msgid "<0>Create Note" msgstr "<0>Create Note" -#: src/components/settings/views/feedback.tsx:19 -#~ msgid "🐛 Small Bug" -#~ msgstr "🐛 Small Bug" - -#: src/components/settings/views/feedback.tsx:18 -#~ msgid "💡 Idea" -#~ msgstr "💡 Idea" - -#: src/components/settings/views/feedback.tsx:20 -#~ msgid "🚨 Urgent Bug" -#~ msgstr "🚨 Urgent Bug" - #: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:71 #: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:113 msgid "Access granted" @@ -327,18 +263,6 @@ msgstr "Access Granted" msgid "Access multiple AI models through OpenRouter with your API key" msgstr "Access multiple AI models through OpenRouter with your API key" -#: src/components/settings/views/template.tsx:233 -#~ msgid "Add a description..." -#~ msgstr "Add a description..." - -#: src/components/settings/views/template.tsx:221 -#~ msgid "Add a system instruction..." -#~ msgstr "Add a system instruction..." - -#: src/components/welcome-modal/language-selection-view.tsx:171 -#~ msgid "Add languages you speak to improve transcription accuracy" -#~ msgstr "Add languages you speak to improve transcription accuracy" - #: src/components/welcome-modal/language-selection-view.tsx:171 msgid "Add languages you use during meetings to improve transcription accuracy" msgstr "Add languages you use during meetings to improve transcription accuracy" @@ -351,10 +275,6 @@ msgstr "Add members" msgid "Add more quotes" msgstr "Add more quotes" -#: src/components/editor-area/note-header/chips/participants-chip.tsx:350 -#~ msgid "Add participant" -#~ msgstr "Add participant" - #: src/components/settings/views/general.tsx:428 msgid "Add specific terms or jargon for improved transcription accuracy" msgstr "Add specific terms or jargon for improved transcription accuracy" @@ -368,14 +288,6 @@ msgstr "Admin" msgid "After you grant system audio access, app will restart to apply the changes" msgstr "After you grant system audio access, app will restart to apply the changes" -#: src/routes/app.settings.tsx:68 -#~ msgid "AI" -#~ msgstr "AI" - -#: src/components/login-modal.tsx:97 -#~ msgid "AI notepad for meetings" -#~ msgstr "AI notepad for meetings" - #: src/components/welcome-modal/download-progress-view.tsx:221 msgid "All models ready!" msgstr "All models ready!" @@ -389,10 +301,6 @@ msgstr "All Participants" msgid "and {0} more members" msgstr "and {0} more members" -#: src/components/settings/views/billing.tsx:131 -#~ msgid "Annual" -#~ msgstr "Annual" - #: src/components/share-and-permission/publish.tsx:18 msgid "Anyone with the link can view this page" msgstr "Anyone with the link can view this page" @@ -424,22 +332,10 @@ msgstr "Apple" msgid "Are you sure you want to delete this note?" msgstr "Are you sure you want to delete this note?" -#: src/components/settings/views/billing.tsx:27 -#~ msgid "Ask questions about past meetings" -#~ msgstr "Ask questions about past meetings" - -#: src/components/right-panel/components/chat/chat-message.tsx:22 -#~ msgid "Assistant:" -#~ msgstr "Assistant:" - #: src/components/welcome-modal/audio-permissions-view.tsx:155 msgid "Audio Permissions" msgstr "Audio Permissions" -#: src/components/editor-area/note-header/listen-button.tsx:341 -#~ msgid "Auto (Default)" -#~ msgstr "Auto (Default)" - #: src/components/settings/views/ai-llm.tsx:702 msgid "Autonomy Selector" msgstr "Autonomy Selector" @@ -457,21 +353,13 @@ msgstr "Base Folder" msgid "Base URL" msgstr "Base URL" -#: src/routes/app.settings.tsx:76 -#~ msgid "Billing" -#~ msgstr "Billing" - #: src/routes/app.settings.tsx:58 #: src/routes/app.settings.tsx:112 msgid "Billing & License" msgstr "Billing & License" -#: src/components/settings/views/billing.tsx:104 -#~ msgid "Billing features are currently under development and will be available in a future update." -#~ msgstr "Billing features are currently under development and will be available in a future update." - #: src/components/settings/components/templates-sidebar.tsx:68 -#: src/components/settings/views/templates.tsx:355 +#: src/components/settings/views/templates.tsx:356 msgid "Built-in Templates" msgstr "Built-in Templates" @@ -488,18 +376,10 @@ msgstr "Calendar & Contacts" msgid "Calendar Access" msgstr "Calendar Access" -#: src/components/settings/components/calendar/cloud-calendar-integration-details.tsx:43 -#~ msgid "Calendar connected" -#~ msgstr "Calendar connected" - #: src/components/individualization-modal/industry-view.tsx:128 msgid "Cancel" msgstr "Cancel" -#: src/components/welcome-modal/welcome-view.tsx:28 -#~ msgid "Capture every moment" -#~ msgstr "Capture every moment" - #: src/components/settings/views/profile.tsx:143 msgid "CEO" msgstr "CEO" @@ -508,50 +388,22 @@ msgstr "CEO" msgid "Chat feature is in beta. For best results, we recommend you to use <0>custom endpoints." msgstr "Chat feature is in beta. For best results, we recommend you to use <0>custom endpoints." -#: src/components/right-panel/components/chat/empty-chat-state.tsx:34 -#~ msgid "Chat with meeting notes" -#~ msgstr "Chat with meeting notes" - #: src/components/right-panel/components/chat/empty-chat-state.tsx:46 msgid "Chat with this meeting" msgstr "Chat with this meeting" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:26 -#~ msgid "Chat with your meeting notes" -#~ msgstr "Chat with your meeting notes" - #: src/components/left-sidebar/top-area/settings-button.tsx:147 msgid "Check Updates" msgstr "Check Updates" -#: src/components/settings/views/general.tsx:185 -#~ msgid "Choose the language you want to use for the speech-to-text model and language model" -#~ msgstr "Choose the language you want to use for the speech-to-text model and language model" - #: src/components/welcome-modal/language-selection-view.tsx:93 msgid "Choose the languages you speak for better transcription accuracy" msgstr "Choose the languages you speak for better transcription accuracy" -#: src/components/settings/views/general.tsx:191 -#~ msgid "Choose whether to save your recordings locally." -#~ msgstr "Choose whether to save your recordings locally." - #: src/components/welcome-modal/llm-selection-view.tsx:40 msgid "Choose Your LLM" msgstr "Choose Your LLM" -#: src/components/settings/views/general.tsx:230 -#~ msgid "Choose your preferred language of use" -#~ msgstr "Choose your preferred language of use" - -#: src/components/settings/components/wer-modal.tsx:126 -#~ msgid "Close" -#~ msgstr "Close" - -#: src/components/settings/views/billing.tsx:52 -#~ msgid "Collaborate with others in meetings" -#~ msgstr "Collaborate with others in meetings" - #: src/components/settings/views/team.tsx:69 msgid "Coming Soon" msgstr "Coming Soon" @@ -568,14 +420,6 @@ msgstr "Company name" msgid "Complete the configuration to continue" msgstr "Complete the configuration to continue" -#: src/components/welcome-modal/custom-endpoint-view.tsx:214 -#~ msgid "Configure Your LLM" -#~ msgstr "Configure Your LLM" - -#: src/components/settings/components/calendar/cloud-calendar-integration-details.tsx:63 -#~ msgid "Connect" -#~ msgstr "Connect" - #: src/components/settings/components/ai/stt-view-remote.tsx:109 msgid "Connect to <0>Deepgram directly, or use <1>OWhisper for other provider support." msgstr "Connect to <0>Deepgram directly, or use <1>OWhisper for other provider support." @@ -584,22 +428,10 @@ msgstr "Connect to <0>Deepgram directly, or use <1>OWhisper for other pr msgid "Connect to a self-hosted or third-party LLM endpoint (OpenAI API compatible)" msgstr "Connect to a self-hosted or third-party LLM endpoint (OpenAI API compatible)" -#: src/components/settings/views/ai.tsx:750 -#~ msgid "Connect to a self-hosted or third-party LLM endpoint (OpenAI API compatible)." -#~ msgstr "Connect to a self-hosted or third-party LLM endpoint (OpenAI API compatible)." - -#: src/components/settings/components/ai/stt-view-remote.tsx:111 -#~ msgid "Connect to a self-hosted or third-party STT endpoint (Deepgram compatible)" -#~ msgstr "Connect to a self-hosted or third-party STT endpoint (Deepgram compatible)" - #: src/components/settings/views/integrations.tsx:127 msgid "Connect with external tools and services to enhance your workflow" msgstr "Connect with external tools and services to enhance your workflow" -#: src/components/settings/components/calendar/cloud-calendar-integration-details.tsx:44 -#~ msgid "Connect your {0} calendar to track upcoming events" -#~ msgstr "Connect your {0} calendar to track upcoming events" - #: src/components/welcome-modal/calendar-permissions-view.tsx:128 msgid "Connect your calendar and contacts for a better experience" msgstr "Connect your calendar and contacts for a better experience" @@ -612,14 +444,14 @@ msgstr "Connect your calendar and track events" msgid "Connect your Obsidian vault to export notes" msgstr "Connect your Obsidian vault to export notes" -#: src/components/editor-area/note-header/listen-button.tsx:397 -#~ msgid "Consent settings" -#~ msgstr "Consent settings" - #: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:109 msgid "Contacts Access" msgstr "Contacts Access" +#: src/components/settings/views/template.tsx:278 +msgid "Context" +msgstr "Context" + #: src/components/welcome-modal/audio-permissions-view.tsx:189 #: src/components/welcome-modal/calendar-permissions-view.tsx:153 #: src/components/welcome-modal/custom-endpoint-view.tsx:595 @@ -629,35 +461,15 @@ msgstr "Contacts Access" msgid "Continue" msgstr "Continue" -#: src/components/welcome-modal/download-progress-view.tsx:248 -#~ msgid "Continue Setup" -#~ msgstr "Continue Setup" - -#: src/components/settings/views/ai-llm.tsx:730 -#~ msgid "Control how autonomous the AI enhancement should be" -#~ msgstr "Control how autonomous the AI enhancement should be" - #: src/components/settings/views/ai-llm.tsx:723 msgid "Control how autonomous the AI enhancement should be." msgstr "Control how autonomous the AI enhancement should be." -#: src/components/settings/views/ai.tsx:882 -#~ msgid "Control how autonomousthe AI enhancement should be" -#~ msgstr "Control how autonomousthe AI enhancement should be" - -#: src/components/settings/views/ai.tsx:878 -#~ msgid "Control how creative the AI enhancement should be" -#~ msgstr "Control how creative the AI enhancement should be" - #: src/components/editor-area/note-header/chips/participants-chip.tsx:563 #: src/routes/app.human.$id.tsx:535 msgid "Create" msgstr "Create" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:79 -#~ msgid "Create agenda" -#~ msgstr "Create agenda" - #: src/components/toolbar/buttons/new-note-button.tsx:46 msgid "Create new note" msgstr "Create new note" @@ -666,31 +478,15 @@ msgstr "Create new note" msgid "Create Note" msgstr "Create Note" -#: src/components/settings/views/templates.tsx:345 +#: src/components/settings/views/templates.tsx:346 msgid "Create your first template to get started" msgstr "Create your first template to get started" -#: src/components/settings/views/ai.tsx:875 -#~ msgid "Creativity Level" -#~ msgstr "Creativity Level" - -#: src/components/settings/views/billing.tsx:66 -#~ msgid "Current Plan" -#~ msgstr "Current Plan" - #: src/components/settings/views/ai-llm.tsx:671 #: src/components/settings/views/ai-stt.tsx:120 msgid "Custom" msgstr "Custom" -#: src/components/settings/views/ai.tsx:747 -#~ msgid "Custom Endpoint" -#~ msgstr "Custom Endpoint" - -#: src/components/settings/components/ai/llm-custom-view.tsx:235 -#~ msgid "Custom Endpoints" -#~ msgstr "Custom Endpoints" - #: src/components/settings/components/ai/stt-view-remote.tsx:102 msgid "Custom Speech-to-Text endpoint" msgstr "Custom Speech-to-Text endpoint" @@ -704,13 +500,9 @@ msgstr "Custom Vocabulary" msgid "Default" msgstr "Default" -#: src/components/settings/components/ai/llm-view.tsx:149 -#~ msgid "Default (llama-3.2-3b-q4)" -#~ msgstr "Default (llama-3.2-3b-q4)" - #: src/components/left-sidebar/notes-list.tsx:336 #: src/components/settings/views/team.tsx:165 -#: src/components/settings/views/template.tsx:205 +#: src/components/settings/views/template.tsx:249 msgid "Delete" msgstr "Delete" @@ -718,11 +510,7 @@ msgstr "Delete" msgid "Describe the content and purpose of this section" msgstr "Describe the content and purpose of this section" -#: src/components/settings/views/feedback.tsx:78 -#~ msgid "Describe the issue" -#~ msgstr "Describe the issue" - -#: src/components/settings/views/template.tsx:221 +#: src/components/settings/views/template.tsx:265 msgid "" "Describe the summary you want to generate...\n" " \n" @@ -736,22 +524,10 @@ msgstr "" "• any format requirements?\n" "• what should AI remember when summarizing?" -#: src/components/settings/views/template.tsx:227 -#~ msgid "Description" -#~ msgstr "Description" - #: src/components/settings/views/notifications.tsx:252 msgid "Detect meetings automatically" msgstr "Detect meetings automatically" -#: src/components/editor-area/note-header/listen-button.tsx:349 -#~ msgid "Did you get consent from everyone in the meeting?" -#~ msgstr "Did you get consent from everyone in the meeting?" - -#: src/components/settings/views/general.tsx:312 -#~ msgid "Display language" -#~ msgstr "Display language" - #: src/components/settings/views/help-support.tsx:46 msgid "Documentation" msgstr "Documentation" @@ -760,30 +536,18 @@ msgstr "Documentation" msgid "Don't show notifications when Do Not Disturb is enabled on your system." msgstr "Don't show notifications when Do Not Disturb is enabled on your system." -#: src/components/settings/components/ai/stt-view.tsx:237 -#~ msgid "Download {0}" -#~ msgstr "Download {0}" - #: src/components/welcome-modal/download-progress-view.tsx:201 msgid "Downloading AI Models" msgstr "Downloading AI Models" -#: src/components/welcome-modal/download-progress-view.tsx:252 -#~ msgid "Downloads will continue in the background" -#~ msgstr "Downloads will continue in the background" - #: src/components/right-panel/components/chat/empty-chat-state.tsx:94 msgid "Draft follow up" msgstr "Draft follow up" -#: src/components/settings/views/template.tsx:195 +#: src/components/settings/views/template.tsx:239 msgid "Duplicate" msgstr "Duplicate" -#: src/components/settings/views/feedback.tsx:91 -#~ msgid "Email (Optional)" -#~ msgstr "Email (Optional)" - #: src/components/settings/views/team.tsx:201 msgid "Email addresses" msgstr "Email addresses" @@ -792,7 +556,7 @@ msgstr "Email addresses" msgid "Email separated by commas" msgstr "Email separated by commas" -#: src/components/settings/views/template.tsx:162 +#: src/components/settings/views/template.tsx:206 msgid "Emoji" msgstr "Emoji" @@ -804,46 +568,18 @@ msgstr "Enable" msgid "Enable Integration" msgstr "Enable Integration" -#: src/components/settings/views/ai.tsx:618 -#~ msgid "Enhancing" -#~ msgstr "Enhancing" - #: src/components/settings/components/template-sections.tsx:144 msgid "Enter a section title" msgstr "Enter a section title" -#: src/components/settings/components/ai/llm-view.tsx:291 -#~ msgid "Enter model name (e.g., gpt-4, llama3.2:3b)" -#~ msgstr "Enter model name (e.g., gpt-4, llama3.2:3b)" - -#: src/components/settings/components/ai/llm-custom-view.tsx:519 -#~ msgid "Enter the API key for your custom LLM endpoint" -#~ msgstr "Enter the API key for your custom LLM endpoint" - #: src/components/settings/components/ai/llm-custom-view.tsx:606 msgid "Enter the base URL for your custom LLM endpoint" msgstr "Enter the base URL for your custom LLM endpoint" -#: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" -#~ msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" - -#: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" -#~ msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" - -#: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:8080/v1)" -#~ msgstr "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:8080/v1)" - #: src/components/settings/components/ai/stt-view-remote.tsx:146 msgid "Enter the base URL for your custom STT endpoint" msgstr "Enter the base URL for your custom STT endpoint" -#: src/components/settings/views/ai.tsx:498 -#~ msgid "Enter the exact model name required by your endpoint (if applicable)." -#~ msgstr "Enter the exact model name required by your endpoint (if applicable)." - #: src/components/settings/components/ai/stt-view-remote.tsx:202 msgid "Enter the model name required by your STT endpoint" msgstr "Enter the model name required by your STT endpoint" @@ -852,10 +588,6 @@ msgstr "Enter the model name required by your STT endpoint" msgid "Exclude apps from detection" msgstr "Exclude apps from detection" -#: src/routes/app.settings.tsx:72 -#~ msgid "Extensions" -#~ msgstr "Extensions" - #: src/components/right-panel/components/chat/empty-chat-state.tsx:88 msgid "Extract action items" msgstr "Extract action items" @@ -864,11 +596,6 @@ msgstr "Extract action items" msgid "Feature Requests" msgstr "Feature Requests" -#: src/routes/app.settings.tsx:69 -#: src/routes/app.settings.tsx:106 -#~ msgid "Feedback" -#~ msgstr "Feedback" - #: src/components/editor-area/note-header/chips/participants-chip.tsx:385 msgid "Find person" msgstr "Find person" @@ -877,30 +604,6 @@ msgstr "Find person" msgid "Finish Onboarding" msgstr "Finish Onboarding" -#: src/components/settings/views/billing.tsx:47 -#~ msgid "For fast growing teams like energetic startups" -#~ msgstr "For fast growing teams like energetic startups" - -#: src/components/settings/views/billing.tsx:34 -#~ msgid "For those who are serious about their performance" -#~ msgstr "For those who are serious about their performance" - -#: src/components/settings/views/billing.tsx:21 -#~ msgid "For those who are serious about their privacy" -#~ msgstr "For those who are serious about their privacy" - -#: src/components/settings/views/billing.tsx:26 -#~ msgid "Format notes using templates" -#~ msgstr "Format notes using templates" - -#: src/components/settings/views/billing.tsx:20 -#~ msgid "Free" -#~ msgstr "Free" - -#: src/components/settings/views/billing.tsx:72 -#~ msgid "Free Trial" -#~ msgstr "Free Trial" - #: src/components/settings/views/profile.tsx:119 msgid "Full name" msgstr "Full name" @@ -935,19 +638,10 @@ msgstr "Got an error? Send your logs file to us at founders@hyprnote.com" msgid "Grant Access" msgstr "Grant Access" -#: src/components/welcome-modal/audio-permissions-view.tsx:141 -#~ msgid "Grant access to audio so Hyprnote can transcribe your meetings" -#~ msgstr "Grant access to audio so Hyprnote can transcribe your meetings" - #: src/components/welcome-modal/audio-permissions-view.tsx:194 msgid "Grant both permissions to continue" msgstr "Grant both permissions to continue" -#: src/routes/app.settings.tsx:62 -#: src/routes/app.settings.tsx:116 -#~ msgid "Help & Feedback" -#~ msgstr "Help & Feedback" - #: src/components/settings/views/help-support.tsx:33 #: src/routes/app.settings.tsx:62 #: src/routes/app.settings.tsx:116 @@ -958,14 +652,6 @@ msgstr "Help & Support" msgid "Help us improve by reporting issues" msgstr "Help us improve by reporting issues" -#: src/components/settings/views/general.tsx:212 -#~ msgid "Help us improve Hyprnote by sharing anonymous usage data" -#~ msgstr "Help us improve Hyprnote by sharing anonymous usage data" - -#: src/components/settings/views/feedback.tsx:52 -#~ msgid "Help us improve the Hyprnote experience by providing feedback." -#~ msgstr "Help us improve the Hyprnote experience by providing feedback." - #: src/components/individualization-modal/how-heard-view.tsx:33 #: src/components/individualization-modal/industry-view.tsx:63 #: src/components/individualization-modal/org-size-view.tsx:24 @@ -973,18 +659,6 @@ msgstr "Help us improve by reporting issues" msgid "Help us tailor your Hyprnote experience" msgstr "Help us tailor your Hyprnote experience" -#: src/components/left-sidebar/events-list.tsx:302 -#~ msgid "Hide Event" -#~ msgstr "Hide Event" - -#: src/components/settings/views/feedback.tsx:19 -#~ msgid "Hmm... this is off..." -#~ msgstr "Hmm... this is off..." - -#: src/components/right-panel/components/chat/empty-chat-state.tsx:24 -#~ msgid "How can I help you today?" -#~ msgstr "How can I help you today?" - #: src/components/individualization-modal/how-heard-view.tsx:38 msgid "How did you hear about Hyprnote?" msgstr "How did you hear about Hyprnote?" @@ -993,10 +667,6 @@ msgstr "How did you hear about Hyprnote?" msgid "Important Q&As" msgstr "Important Q&As" -#: src/components/settings/views/billing.tsx:38 -#~ msgid "Integration with other apps like Notion and Google Calendar" -#~ msgstr "Integration with other apps like Notion and Google Calendar" - #: src/components/settings/views/integrations.tsx:124 #: src/routes/app.settings.tsx:56 #: src/routes/app.settings.tsx:110 @@ -1020,10 +690,6 @@ msgstr "Invite members" msgid "It's ok to move on, downloads will continue in the background" msgstr "It's ok to move on, downloads will continue in the background" -#: src/components/settings/views/general.tsx:263 -#~ msgid "Jargons" -#~ msgstr "Jargons" - #: src/components/settings/views/profile.tsx:139 msgid "Job title" msgstr "Job title" @@ -1032,26 +698,10 @@ msgstr "Job title" msgid "Join meeting" msgstr "Join meeting" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:67 -#~ msgid "Key decisions" -#~ msgstr "Key decisions" - -#: src/routes/app.settings.tsx:120 -#~ msgid "Lab" -#~ msgstr "Lab" - -#: src/components/settings/views/general.tsx:227 -#~ msgid "Language" -#~ msgstr "Language" - #: src/components/settings/views/general.tsx:279 msgid "Language for AI-generated summaries" msgstr "Language for AI-generated summaries" -#: src/routes/app.settings.tsx:54 -#~ msgid "Language Model" -#~ msgstr "Language Model" - #: src/components/settings/views/help-support.tsx:49 msgid "Learn how to use Hyprnote" msgstr "Learn how to use Hyprnote" @@ -1060,34 +710,14 @@ msgstr "Learn how to use Hyprnote" msgid "Learn more about AI autonomy" msgstr "Learn more about AI autonomy" -#: src/components/settings/views/billing.tsx:200 -#~ msgid "Learn more about our pricing plans" -#~ msgstr "Learn more about our pricing plans" - -#: src/components/settings/views/templates.tsx:305 +#: src/components/settings/views/templates.tsx:306 msgid "Learn more about templates" msgstr "Learn more about templates" -#: src/routes/app.settings.tsx:71 -#~ msgid "License" -#~ msgstr "License" - #: src/components/settings/views/profile.tsx:210 msgid "LinkedIn username" msgstr "LinkedIn username" -#: src/components/settings/views/billing.tsx:28 -#~ msgid "Live summary of the meeting" -#~ msgstr "Live summary of the meeting" - -#: src/components/settings/views/ai.tsx:808 -#~ msgid "LLM - Custom" -#~ msgstr "LLM - Custom" - -#: src/components/settings/views/ai.tsx:805 -#~ msgid "LLM - Local" -#~ msgstr "LLM - Local" - #: src/components/settings/components/ai/llm-custom-view.tsx:662 msgid "Loading available models..." msgstr "Loading available models..." @@ -1100,7 +730,7 @@ msgstr "Loading events..." msgid "Loading models..." msgstr "Loading models..." -#: src/components/settings/views/templates.tsx:276 +#: src/components/settings/views/templates.tsx:277 msgid "Loading templates..." msgstr "Loading templates..." @@ -1108,27 +738,10 @@ msgstr "Loading templates..." msgid "Loading..." msgstr "Loading..." -#: src/components/settings/views/ai-stt.tsx:63 -#: src/components/settings/views/ai-llm.tsx:617 -#~ msgid "Local" -#~ msgstr "Local" - -#: src/components/left-sidebar/top-area/settings-button.tsx:87 -#~ msgid "Local mode" -#~ msgstr "Local mode" - -#: src/components/settings/components/ai/llm-local-view.tsx:37 -#~ msgid "Local Models" -#~ msgstr "Local Models" - #: src/components/settings/views/help-support.tsx:103 msgid "Logs" msgstr "Logs" -#: src/components/settings/views/billing.tsx:39 -#~ msgid "Long-term memory for past meetings and attendees" -#~ msgstr "Long-term memory for past meetings and attendees" - #: src/components/share-and-permission/publish.tsx:24 msgid "Make it public" msgstr "Make it public" @@ -1138,10 +751,6 @@ msgstr "Make it public" msgid "MCP" msgstr "MCP" -#: src/components/settings/views/billing.tsx:41 -#~ msgid "Meeting note sharing via links" -#~ msgstr "Meeting note sharing via links" - #: src/components/settings/views/team.tsx:145 #: src/components/settings/views/team.tsx:232 msgid "Member" @@ -1171,18 +780,10 @@ msgstr "Model" msgid "Model Name" msgstr "Model Name" -#: src/components/settings/views/billing.tsx:125 -#~ msgid "Monthly" -#~ msgstr "Monthly" - #: src/components/settings/views/integrations.tsx:278 msgid "More integrations coming soon..." msgstr "More integrations coming soon..." -#: src/components/settings/views/billing.tsx:40 -#~ msgid "Much better AI performance" -#~ msgstr "Much better AI performance" - #: src/components/left-sidebar/top-area/settings-button.tsx:141 msgid "My Profile" msgstr "My Profile" @@ -1200,10 +801,6 @@ msgstr "New note" msgid "New window" msgstr "New window" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:94 -#~ msgid "Next meeting prep" -#~ msgstr "Next meeting prep" - #: src/components/settings/components/calendar/calendar-selector.tsx:101 msgid "No calendars found" msgstr "No calendars found" @@ -1216,10 +813,6 @@ msgstr "No language found." msgid "No members found" msgstr "No members found" -#: src/components/settings/components/ai/llm-view.tsx:288 -#~ msgid "No models available for this endpoint." -#~ msgstr "No models available for this endpoint." - #: src/components/editor-area/note-header/chips/event-chip.tsx:474 msgid "No past events found." msgstr "No past events found." @@ -1228,27 +821,15 @@ msgstr "No past events found." msgid "No past notes with this contact" msgstr "No past notes with this contact" -#: src/components/organization-profile/recent-notes.tsx:70 -#~ msgid "No recent notes for this organization" -#~ msgstr "No recent notes for this organization" - #: src/components/organization-profile/recent-notes.tsx:70 msgid "No recent notes with this organization" msgstr "No recent notes with this organization" -#: src/components/settings/components/ai/stt-view.tsx:248 -#~ msgid "No speech-to-text models available or failed to load." -#~ msgstr "No speech-to-text models available or failed to load." - -#: src/components/editor-area/note-header/listen-button.tsx:341 -#~ msgid "No Template" -#~ msgstr "No Template" - -#: src/components/editor-area/note-header/listen-button.tsx:473 -#~ msgid "No Template (Default)" -#~ msgstr "No Template (Default)" +#: src/components/settings/views/template.tsx:358 +msgid "No tags selected" +msgstr "No tags selected" -#: src/components/settings/views/templates.tsx:342 +#: src/components/settings/views/templates.tsx:343 msgid "No templates yet" msgstr "No templates yet" @@ -1264,6 +845,10 @@ msgstr "No upcoming events for this organization" msgid "No upcoming events with this contact" msgstr "No upcoming events with this contact" +#: src/components/settings/views/template.tsx:312 +msgid "None (disabled)" +msgstr "None (disabled)" + #: src/routes/app.settings.tsx:50 #: src/routes/app.settings.tsx:104 msgid "Notifications" @@ -1285,14 +870,6 @@ msgstr "Only starts at the background for notification purposes." msgid "Only works with Custom Endpoints. Please configure one of the above first." msgstr "Only works with Custom Endpoints. Please configure one of the above first." -#: src/components/settings/views/feedback.tsx:18 -#~ msgid "Ooh! Suggestion!" -#~ msgstr "Ooh! Suggestion!" - -#: src/components/left-sidebar/top-area/calendar-button.tsx:26 -#~ msgid "Open calendar view" -#~ msgstr "Open calendar view" - #: src/components/left-sidebar/top-area/finder-button.tsx:26 msgid "Open finder view" msgstr "Open finder view" @@ -1303,11 +880,6 @@ msgstr "Open finder view" msgid "Open in new window" msgstr "Open in new window" -#: src/components/workspace-calendar/note-card.tsx:123 -#: src/components/workspace-calendar/event-card.tsx:153 -#~ msgid "Open Note" -#~ msgstr "Open Note" - #: src/components/settings/components/ai/llm-custom-view.tsx:290 msgid "OpenAI" msgstr "OpenAI" @@ -1333,38 +905,10 @@ msgstr "Others" msgid "Owner" msgstr "Owner" -#: src/components/editor-area/note-header/listen-button.tsx:363 -#~ msgid "Pause" -#~ msgstr "Pause" - #: src/components/share-and-permission/participants-selector.tsx:35 msgid "people" msgstr "people" -#: src/components/settings/components/ai/stt-view-local.tsx:258 -#~ msgid "Performance difference between languages" -#~ msgstr "Performance difference between languages" - -#: src/components/welcome-modal/audio-permissions-view.tsx:180 -#~ msgid "Permission granted! Detecting changes..." -#~ msgstr "Permission granted! Detecting changes..." - -#: src/components/editor-area/note-header/listen-button.tsx:208 -#~ msgid "Play video" -#~ msgstr "Play video" - -#: src/components/settings/views/general.tsx:315 -#~ msgid "Primary language for the interface" -#~ msgstr "Primary language for the interface" - -#: src/components/settings/views/billing.tsx:33 -#~ msgid "Pro" -#~ msgstr "Pro" - -#: src/routes/app.settings.tsx:62 -#~ msgid "Profile" -#~ msgstr "Profile" - #: src/components/share-and-permission/publish.tsx:15 msgid "Publish your note" msgstr "Publish your note" @@ -1377,26 +921,9 @@ msgstr "Ready" msgid "Recent Notes" msgstr "Recent Notes" -#: src/components/editor-area/note-header/listen-button.tsx:366 -#~ msgid "Record me only" -#~ msgstr "Record me only" - -#: src/components/editor-area/note-header/listen-button.tsx:346 -#~ msgid "Recording Started" -#~ msgstr "Recording Started" - -#: src/components/settings/views/ai.tsx:891 -#~ msgid "Redemption Time" -#~ msgstr "Redemption Time" - -#: src/components/settings/views/ai-stt.tsx:66 -#: src/components/settings/views/ai-llm.tsx:620 -#~ msgid "Remote" -#~ msgstr "Remote" - -#: src/components/editor-area/note-header/chips/participants-chip.tsx:222 -#~ msgid "Remove {0} from list" -#~ msgstr "Remove {0} from list" +#: src/components/settings/views/template.tsx:284 +msgid "Refer to past notes with:" +msgstr "Refer to past notes with:" #: src/components/settings/views/help-support.tsx:84 msgid "Report a Bug" @@ -1424,27 +951,15 @@ msgstr "Required to transcribe your voice during meetings" msgid "Respect Do Not Disturb" msgstr "Respect Do Not Disturb" -#: src/components/editor-area/note-header/listen-button.tsx:148 -#~ msgid "Resume" -#~ msgstr "Resume" - #: src/components/settings/views/team.tsx:104 #: src/components/settings/views/team.tsx:213 msgid "Role" msgstr "Role" -#: src/components/settings/views/templates.tsx:193 -#~ msgid "Save and close" -#~ msgstr "Save and close" - #: src/components/settings/views/general.tsx:225 msgid "Save audio recording locally alongside the transcript." msgstr "Save audio recording locally alongside the transcript." -#: src/components/editor-area/note-header/listen-button.tsx:443 -#~ msgid "Save current recording" -#~ msgstr "Save current recording" - #: src/components/editor-area/note-header/chips/event-chip.tsx:595 msgid "Save Date" msgstr "Save Date" @@ -1457,10 +972,6 @@ msgstr "Save recordings" msgid "Saving..." msgstr "Saving..." -#: src/components/settings/views/billing.tsx:51 -#~ msgid "Search & ask across all notes in workspace" -#~ msgstr "Search & ask across all notes in workspace" - #: src/components/settings/views/team.tsx:204 msgid "Search names or emails" msgstr "Search names or emails" @@ -1474,11 +985,7 @@ msgstr "Search templates..." msgid "Search..." msgstr "Search..." -#: src/components/search-bar.tsx:92 -#~ msgid "Searching..." -#~ msgstr "Searching..." - -#: src/components/settings/views/template.tsx:232 +#: src/components/settings/views/template.tsx:416 msgid "Sections" msgstr "Sections" @@ -1490,14 +997,10 @@ msgstr "Select a model from the dropdown (if available) or manually enter the mo msgid "Select a provider above to configure" msgstr "Select a provider above to configure" -#: src/components/settings/views/templates.tsx:310 +#: src/components/settings/views/templates.tsx:311 msgid "Select a template to enhance your meeting notes" msgstr "Select a template to enhance your meeting notes" -#: src/components/welcome-modal/model-selection-view.tsx:73 -#~ msgid "Select a transcribing model" -#~ msgstr "Select a transcribing model" - #: src/components/welcome-modal/model-selection-view.tsx:40 msgid "Select a transcribing model (STT)" msgstr "Select a transcribing model (STT)" @@ -1522,9 +1025,13 @@ msgstr "Select how you want to process your meeting notes" msgid "Select languages you speak for better transcription" msgstr "Select languages you speak for better transcription" -#: src/components/settings/components/ai/llm-view.tsx:253 -#~ msgid "Select or enter the model name required by your endpoint." -#~ msgstr "Select or enter the model name required by your endpoint." +#: src/components/settings/views/template.tsx:325 +msgid "Select tags" +msgstr "Select tags" + +#: src/components/settings/views/template.tsx:308 +msgid "Select what to use as context..." +msgstr "Select what to use as context..." #: src/components/welcome-modal/language-selection-view.tsx:89 msgid "Select Your Languages" @@ -1558,10 +1065,6 @@ msgstr "Show notifications when you have meetings starting soon in your calendar msgid "Show notifications when you join a meeting." msgstr "Show notifications when you join a meeting." -#: src/components/settings/views/billing.tsx:53 -#~ msgid "Single sign-on for all users" -#~ msgstr "Single sign-on for all users" - #: src/components/welcome-modal/download-progress-view.tsx:227 msgid "Some downloads failed, but you can continue" msgstr "Some downloads failed, but you can continue" @@ -1571,26 +1074,14 @@ msgstr "Some downloads failed, but you can continue" msgid "Sound" msgstr "Sound" -#: src/routes/app.settings.tsx:56 -#~ msgid "Speech to Text Model" -#~ msgstr "Speech to Text Model" - #: src/components/settings/views/general.tsx:345 msgid "Spoken languages" msgstr "Spoken languages" -#: src/components/settings/views/billing.tsx:76 -#~ msgid "Start Annual Plan" -#~ msgstr "Start Annual Plan" - #: src/components/settings/views/general.tsx:196 msgid "Start automatically at login" msgstr "Start automatically at login" -#: src/components/settings/views/billing.tsx:75 -#~ msgid "Start Monthly Plan" -#~ msgstr "Start Monthly Plan" - #: src/components/editor-area/note-header/listen-button.tsx:158 msgid "Start recording" msgstr "Start recording" @@ -1599,47 +1090,31 @@ msgstr "Start recording" msgid "Stop" msgstr "Stop" -#: src/components/settings/views/feedback.tsx:107 -#~ msgid "Submit Feedback" -#~ msgstr "Submit Feedback" - #: src/components/settings/views/help-support.tsx:68 msgid "Suggest new features and improvements" msgstr "Suggest new features and improvements" -#: src/routes/app.settings.tsx:54 -#~ msgid "Summarization" -#~ msgstr "Summarization" - -#: src/components/right-panel/components/chat/empty-chat-state.tsx:61 -#~ msgid "Summarize meeting" -#~ msgstr "Summarize meeting" - #: src/components/settings/views/general.tsx:276 msgid "Summary language" msgstr "Summary language" -#: src/components/settings/views/billing.tsx:42 -#~ msgid "Synchronization across multiple devices" -#~ msgstr "Synchronization across multiple devices" - #: src/components/settings/views/sound.tsx:137 #: src/components/welcome-modal/audio-permissions-view.tsx:175 msgid "System Audio Access" msgstr "System Audio Access" -#: src/components/settings/views/template.tsx:215 +#: src/components/settings/views/template.tsx:259 msgid "System Instruction" msgstr "System Instruction" +#: src/components/settings/views/template.tsx:315 +msgid "Tags" +msgstr "Tags" + #: src/components/left-sidebar/top-area/settings-button.tsx:153 msgid "Talk to Founders" msgstr "Talk to Founders" -#: src/components/settings/views/billing.tsx:46 -#~ msgid "Team" -#~ msgstr "Team" - #: src/components/settings/views/team.tsx:72 msgid "Team management features are currently under development and will be available in a future update." msgstr "Team management features are currently under development and will be available in a future update." @@ -1648,19 +1123,11 @@ msgstr "Team management features are currently under development and will be ava msgid "Teamspace" msgstr "Teamspace" -#: src/components/editor-area/note-header/listen-button.tsx:464 -#~ msgid "Template" -#~ msgstr "Template" - #: src/routes/app.settings.tsx:52 #: src/routes/app.settings.tsx:106 msgid "Templates" msgstr "Templates" -#: src/components/welcome-modal/welcome-view.tsx:28 -#~ msgid "The AI Meeting Notepad" -#~ msgstr "The AI Meeting Notepad" - #: src/components/settings/views/integrations.tsx:188 msgid "The base URL of your Obsidian server. This is typically http://127.0.0.1:27123." msgstr "The base URL of your Obsidian server. This is typically http://127.0.0.1:27123." @@ -1669,10 +1136,6 @@ msgstr "The base URL of your Obsidian server. This is typically http://127.0.0.1 msgid "The name of your Obsidian vault." msgstr "The name of your Obsidian vault." -#: src/components/settings/views/billing.tsx:113 -#~ msgid "There's a plan for everyone" -#~ msgstr "There's a plan for everyone" - #: src/components/settings/views/notifications.tsx:278 msgid "These apps will not trigger meeting detection" msgstr "These apps will not trigger meeting detection" @@ -1689,10 +1152,6 @@ msgstr "This is a short description of your company." msgid "This is the name of the company you work for." msgstr "This is the name of the company you work for." -#: src/components/settings/views/ai.tsx:894 -#~ msgid "Time window (in milliseconds) to allow redemption of failed requests" -#~ msgstr "Time window (in milliseconds) to allow redemption of failed requests" - #: src/components/finder/views/calendar-view.tsx:64 msgid "Today" msgstr "Today" @@ -1709,18 +1168,6 @@ msgstr "Toggle left sidebar" msgid "Toggle transcript panel" msgstr "Toggle transcript panel" -#: src/components/toolbar/buttons/transcript-panel-button.tsx:36 -#~ msgid "Toggle transcriptpanel" -#~ msgstr "Toggle transcriptpanel" - -#: src/components/toolbar/buttons/transcript-panel-button.tsx:36 -#~ msgid "Toggle widget panel" -#~ msgstr "Toggle widget panel" - -#: src/components/settings/components/ai/stt-view-local.tsx:249 -#~ msgid "Transcribing" -#~ msgstr "Transcribing" - #: src/routes/app.settings.tsx:46 #: src/routes/app.settings.tsx:100 msgid "Transcription" @@ -1738,15 +1185,11 @@ msgstr "Type or paste in emails below, separated by commas. Your workspace will msgid "Type to search..." msgstr "Type to search..." -#: src/components/settings/views/feedback.tsx:20 -#~ msgid "Ugh! Can't use it!" -#~ msgstr "Ugh! Can't use it!" - #: src/components/editor-area/note-header/title-input.tsx:32 msgid "Untitled" msgstr "Untitled" -#: src/components/settings/views/template.tsx:186 +#: src/components/settings/views/template.tsx:230 msgid "Untitled Template" msgstr "Untitled Template" @@ -1762,10 +1205,6 @@ msgstr "Upcoming Events" msgid "Upcoming meeting notifications" msgstr "Upcoming meeting notifications" -#: src/components/settings/views/billing.tsx:69 -#~ msgid "Upgrade" -#~ msgstr "Upgrade" - #: src/components/settings/components/ai/llm-custom-view.tsx:389 msgid "Use Google's Gemini models with your API key" msgstr "Use Google's Gemini models with your API key" @@ -1774,18 +1213,10 @@ msgstr "Use Google's Gemini models with your API key" msgid "Use OpenAI's GPT models with your API key" msgstr "Use OpenAI's GPT models with your API key" -#: src/components/settings/components/ai/llm-view.tsx:155 -#~ msgid "Use the local Llama 3.2 model for enhanced privacy and offline capability." -#~ msgstr "Use the local Llama 3.2 model for enhanced privacy and offline capability." - #: src/components/settings/views/team.tsx:101 msgid "User" msgstr "User" -#: src/components/right-panel/components/chat/chat-message.tsx:22 -#~ msgid "User:" -#~ msgstr "User:" - #: src/components/settings/views/profile.tsx:225 msgid "username" msgstr "username" @@ -1803,10 +1234,6 @@ msgstr "View calendar" msgid "View in calendar" msgstr "View in calendar" -#: src/components/settings/views/help-feedback.tsx:103 -#~ msgid "View logs" -#~ msgstr "View logs" - #: src/components/organization-profile/recent-notes.tsx:59 msgid "View Note" msgstr "View Note" @@ -1815,10 +1242,6 @@ msgstr "View Note" msgid "We think different." msgstr "We think different." -#: src/components/settings/views/feedback.tsx:102 -#~ msgid "We'll only use this to follow up if needed." -#~ msgstr "We'll only use this to follow up if needed." - #: src/components/settings/views/integrations.tsx:281 msgid "We're working on adding more tools and services to connect with your workflow" msgstr "We're working on adding more tools and services to connect with your workflow" @@ -1839,30 +1262,6 @@ msgstr "What's your role?" msgid "Where Conversations Stay Yours" msgstr "Where Conversations Stay Yours" -#: src/components/settings/components/wer-modal.tsx:69 -#~ msgid "Whisper Model Language Performance (WER)" -#~ msgstr "Whisper Model Language Performance (WER)" - -#: src/components/settings/components/wer-modal.tsx:72 -#~ msgid "Word Error Rate (WER) indicates transcription accuracy (lower is better). Data based on the FLEURS dataset, measured with OpenAI's Whisper <0>large-v3-turbo model. <1>More info" -#~ msgstr "Word Error Rate (WER) indicates transcription accuracy (lower is better). Data based on the FLEURS dataset, measured with OpenAI's Whisper <0>large-v3-turbo model. <1>More info" - -#: src/components/settings/views/billing.tsx:25 -#~ msgid "Works both in-person and remotely" -#~ msgstr "Works both in-person and remotely" - -#: src/components/settings/views/billing.tsx:29 -#~ msgid "Works offline" -#~ msgstr "Works offline" - -#: src/components/editor-area/note-header/listen-button.tsx:358 -#~ msgid "Yes, activate speaker" -#~ msgstr "Yes, activate speaker" - -#: src/components/settings/views/general.tsx:266 -#~ msgid "You can make Hyprnote takes these words into account when transcribing" -#~ msgstr "You can make Hyprnote takes these words into account when transcribing" - #: src/components/settings/views/integrations.tsx:213 msgid "Your API key for Obsidian local-rest-api plugin." msgstr "Your API key for Obsidian local-rest-api plugin." @@ -1880,6 +1279,6 @@ msgid "Your Name" msgstr "Your Name" #: src/components/settings/components/templates-sidebar.tsx:45 -#: src/components/settings/views/templates.tsx:291 +#: src/components/settings/views/templates.tsx:292 msgid "Your Templates" msgstr "Your Templates" diff --git a/apps/desktop/src/locales/ko/messages.po b/apps/desktop/src/locales/ko/messages.po index 3058f1791a..6c088c5499 100644 --- a/apps/desktop/src/locales/ko/messages.po +++ b/apps/desktop/src/locales/ko/messages.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"POT-Creation-Date: 2025-05-15 16:09-0700\n" +"POT-Creation-Date: 2025-09-09 23:20-0700\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -208,54 +208,6 @@ msgstr "" msgid "{weeks} weeks later" msgstr "" -#. js-lingui-explicit-id -#: src/components/settings/views/general.tsx:275 -#~ msgid "Type jargons (e.g., Blitz Meeting, PaC Squad)" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:168 -#~ msgid "just now" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:207 -#~ msgid "in progress" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:223 -#~ msgid "in {seconds} seconds" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:225 -#~ msgid "in 1 minute" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:227 -#~ msgid "in {minutes} minutes" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:229 -#~ msgid "in 1 hour" -#~ msgstr "" - -#. js-lingui-explicit-id -#: ../../packages/utils/src/datetime.ts:231 -#~ msgid "in {hours} hours" -#~ msgstr "" - -#: src/components/settings/views/notifications.tsx:113 -#~ msgid "(Beta) Detect meetings automatically" -#~ msgstr "" - -#: src/components/settings/views/notifications.tsx:140 -#~ msgid "(Beta) Upcoming meeting notifications" -#~ msgstr "" - #: src/components/settings/components/ai/llm-custom-view.tsx:628 msgid "(Optional for localhost)" msgstr "" @@ -270,7 +222,7 @@ msgstr "" #: src/components/editor-area/note-header/listen-button.tsx:187 #: src/components/editor-area/note-header/listen-button.tsx:211 #: src/components/editor-area/note-header/listen-button.tsx:231 -#: src/components/settings/views/templates.tsx:252 +#: src/components/settings/views/templates.tsx:253 msgid "{0}" msgstr "" @@ -284,10 +236,6 @@ msgstr "" msgid "{buttonText}" msgstr "" -#: src/components/settings/components/wer-modal.tsx:103 -#~ msgid "{category}" -#~ msgstr "" - #: src/components/settings/views/lab.tsx:77 msgid "{description}" msgstr "" @@ -300,18 +248,6 @@ msgstr "" msgid "<0>Create Note" msgstr "" -#: src/components/settings/views/feedback.tsx:19 -#~ msgid "🐛 Small Bug" -#~ msgstr "" - -#: src/components/settings/views/feedback.tsx:18 -#~ msgid "💡 Idea" -#~ msgstr "" - -#: src/components/settings/views/feedback.tsx:20 -#~ msgid "🚨 Urgent Bug" -#~ msgstr "" - #: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:71 #: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:113 msgid "Access granted" @@ -327,18 +263,6 @@ msgstr "" msgid "Access multiple AI models through OpenRouter with your API key" msgstr "" -#: src/components/settings/views/template.tsx:233 -#~ msgid "Add a description..." -#~ msgstr "" - -#: src/components/settings/views/template.tsx:221 -#~ msgid "Add a system instruction..." -#~ msgstr "" - -#: src/components/welcome-modal/language-selection-view.tsx:171 -#~ msgid "Add languages you speak to improve transcription accuracy" -#~ msgstr "" - #: src/components/welcome-modal/language-selection-view.tsx:171 msgid "Add languages you use during meetings to improve transcription accuracy" msgstr "" @@ -351,10 +275,6 @@ msgstr "" msgid "Add more quotes" msgstr "" -#: src/components/editor-area/note-header/chips/participants-chip.tsx:350 -#~ msgid "Add participant" -#~ msgstr "" - #: src/components/settings/views/general.tsx:428 msgid "Add specific terms or jargon for improved transcription accuracy" msgstr "" @@ -368,14 +288,6 @@ msgstr "" msgid "After you grant system audio access, app will restart to apply the changes" msgstr "" -#: src/routes/app.settings.tsx:68 -#~ msgid "AI" -#~ msgstr "" - -#: src/components/login-modal.tsx:97 -#~ msgid "AI notepad for meetings" -#~ msgstr "" - #: src/components/welcome-modal/download-progress-view.tsx:221 msgid "All models ready!" msgstr "" @@ -389,10 +301,6 @@ msgstr "" msgid "and {0} more members" msgstr "" -#: src/components/settings/views/billing.tsx:131 -#~ msgid "Annual" -#~ msgstr "" - #: src/components/share-and-permission/publish.tsx:18 msgid "Anyone with the link can view this page" msgstr "" @@ -424,22 +332,10 @@ msgstr "" msgid "Are you sure you want to delete this note?" msgstr "" -#: src/components/settings/views/billing.tsx:27 -#~ msgid "Ask questions about past meetings" -#~ msgstr "" - -#: src/components/right-panel/components/chat/chat-message.tsx:22 -#~ msgid "Assistant:" -#~ msgstr "" - #: src/components/welcome-modal/audio-permissions-view.tsx:155 msgid "Audio Permissions" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:341 -#~ msgid "Auto (Default)" -#~ msgstr "" - #: src/components/settings/views/ai-llm.tsx:702 msgid "Autonomy Selector" msgstr "" @@ -457,21 +353,13 @@ msgstr "" msgid "Base URL" msgstr "" -#: src/routes/app.settings.tsx:76 -#~ msgid "Billing" -#~ msgstr "" - #: src/routes/app.settings.tsx:58 #: src/routes/app.settings.tsx:112 msgid "Billing & License" msgstr "" -#: src/components/settings/views/billing.tsx:104 -#~ msgid "Billing features are currently under development and will be available in a future update." -#~ msgstr "" - #: src/components/settings/components/templates-sidebar.tsx:68 -#: src/components/settings/views/templates.tsx:355 +#: src/components/settings/views/templates.tsx:356 msgid "Built-in Templates" msgstr "" @@ -488,18 +376,10 @@ msgstr "" msgid "Calendar Access" msgstr "" -#: src/components/settings/components/calendar/cloud-calendar-integration-details.tsx:43 -#~ msgid "Calendar connected" -#~ msgstr "" - #: src/components/individualization-modal/industry-view.tsx:128 msgid "Cancel" msgstr "" -#: src/components/welcome-modal/welcome-view.tsx:28 -#~ msgid "Capture every moment" -#~ msgstr "" - #: src/components/settings/views/profile.tsx:143 msgid "CEO" msgstr "" @@ -508,50 +388,22 @@ msgstr "" msgid "Chat feature is in beta. For best results, we recommend you to use <0>custom endpoints." msgstr "" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:34 -#~ msgid "Chat with meeting notes" -#~ msgstr "" - #: src/components/right-panel/components/chat/empty-chat-state.tsx:46 msgid "Chat with this meeting" msgstr "" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:26 -#~ msgid "Chat with your meeting notes" -#~ msgstr "" - #: src/components/left-sidebar/top-area/settings-button.tsx:147 msgid "Check Updates" msgstr "" -#: src/components/settings/views/general.tsx:185 -#~ msgid "Choose the language you want to use for the speech-to-text model and language model" -#~ msgstr "" - #: src/components/welcome-modal/language-selection-view.tsx:93 msgid "Choose the languages you speak for better transcription accuracy" msgstr "" -#: src/components/settings/views/general.tsx:191 -#~ msgid "Choose whether to save your recordings locally." -#~ msgstr "" - #: src/components/welcome-modal/llm-selection-view.tsx:40 msgid "Choose Your LLM" msgstr "" -#: src/components/settings/views/general.tsx:230 -#~ msgid "Choose your preferred language of use" -#~ msgstr "" - -#: src/components/settings/components/wer-modal.tsx:126 -#~ msgid "Close" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:52 -#~ msgid "Collaborate with others in meetings" -#~ msgstr "" - #: src/components/settings/views/team.tsx:69 msgid "Coming Soon" msgstr "" @@ -568,14 +420,6 @@ msgstr "" msgid "Complete the configuration to continue" msgstr "" -#: src/components/welcome-modal/custom-endpoint-view.tsx:214 -#~ msgid "Configure Your LLM" -#~ msgstr "" - -#: src/components/settings/components/calendar/cloud-calendar-integration-details.tsx:63 -#~ msgid "Connect" -#~ msgstr "" - #: src/components/settings/components/ai/stt-view-remote.tsx:109 msgid "Connect to <0>Deepgram directly, or use <1>OWhisper for other provider support." msgstr "" @@ -584,22 +428,10 @@ msgstr "" msgid "Connect to a self-hosted or third-party LLM endpoint (OpenAI API compatible)" msgstr "" -#: src/components/settings/views/ai.tsx:750 -#~ msgid "Connect to a self-hosted or third-party LLM endpoint (OpenAI API compatible)." -#~ msgstr "" - -#: src/components/settings/components/ai/stt-view-remote.tsx:111 -#~ msgid "Connect to a self-hosted or third-party STT endpoint (Deepgram compatible)" -#~ msgstr "" - #: src/components/settings/views/integrations.tsx:127 msgid "Connect with external tools and services to enhance your workflow" msgstr "" -#: src/components/settings/components/calendar/cloud-calendar-integration-details.tsx:44 -#~ msgid "Connect your {0} calendar to track upcoming events" -#~ msgstr "" - #: src/components/welcome-modal/calendar-permissions-view.tsx:128 msgid "Connect your calendar and contacts for a better experience" msgstr "" @@ -612,14 +444,14 @@ msgstr "" msgid "Connect your Obsidian vault to export notes" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:397 -#~ msgid "Consent settings" -#~ msgstr "" - #: src/components/settings/components/calendar/apple-calendar-integration-details.tsx:109 msgid "Contacts Access" msgstr "" +#: src/components/settings/views/template.tsx:278 +msgid "Context" +msgstr "" + #: src/components/welcome-modal/audio-permissions-view.tsx:189 #: src/components/welcome-modal/calendar-permissions-view.tsx:153 #: src/components/welcome-modal/custom-endpoint-view.tsx:595 @@ -629,35 +461,15 @@ msgstr "" msgid "Continue" msgstr "" -#: src/components/welcome-modal/download-progress-view.tsx:248 -#~ msgid "Continue Setup" -#~ msgstr "" - -#: src/components/settings/views/ai-llm.tsx:730 -#~ msgid "Control how autonomous the AI enhancement should be" -#~ msgstr "" - #: src/components/settings/views/ai-llm.tsx:723 msgid "Control how autonomous the AI enhancement should be." msgstr "" -#: src/components/settings/views/ai.tsx:882 -#~ msgid "Control how autonomousthe AI enhancement should be" -#~ msgstr "" - -#: src/components/settings/views/ai.tsx:878 -#~ msgid "Control how creative the AI enhancement should be" -#~ msgstr "" - #: src/components/editor-area/note-header/chips/participants-chip.tsx:563 #: src/routes/app.human.$id.tsx:535 msgid "Create" msgstr "" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:79 -#~ msgid "Create agenda" -#~ msgstr "" - #: src/components/toolbar/buttons/new-note-button.tsx:46 msgid "Create new note" msgstr "" @@ -666,39 +478,19 @@ msgstr "" msgid "Create Note" msgstr "" -#: src/components/settings/views/templates.tsx:345 +#: src/components/settings/views/templates.tsx:346 msgid "Create your first template to get started" msgstr "" -#: src/components/settings/views/ai.tsx:875 -#~ msgid "Creativity Level" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:66 -#~ msgid "Current Plan" -#~ msgstr "" - #: src/components/settings/views/ai-llm.tsx:671 #: src/components/settings/views/ai-stt.tsx:120 msgid "Custom" msgstr "" -#: src/components/settings/views/ai.tsx:747 -#~ msgid "Custom Endpoint" -#~ msgstr "" - -#: src/components/settings/components/ai/llm-custom-view.tsx:235 -#~ msgid "Custom Endpoints" -#~ msgstr "" - #: src/components/settings/components/ai/stt-view-remote.tsx:102 msgid "Custom Speech-to-Text endpoint" msgstr "" -#: src/components/settings/components/ai/stt-view-remote.tsx:108 -#~ msgid "Custom STT Endpoint" -#~ msgstr "" - #: src/components/settings/views/general.tsx:425 msgid "Custom Vocabulary" msgstr "" @@ -708,13 +500,9 @@ msgstr "" msgid "Default" msgstr "" -#: src/components/settings/components/ai/llm-view.tsx:149 -#~ msgid "Default (llama-3.2-3b-q4)" -#~ msgstr "" - #: src/components/left-sidebar/notes-list.tsx:336 #: src/components/settings/views/team.tsx:165 -#: src/components/settings/views/template.tsx:205 +#: src/components/settings/views/template.tsx:249 msgid "Delete" msgstr "" @@ -722,11 +510,7 @@ msgstr "" msgid "Describe the content and purpose of this section" msgstr "" -#: src/components/settings/views/feedback.tsx:78 -#~ msgid "Describe the issue" -#~ msgstr "" - -#: src/components/settings/views/template.tsx:221 +#: src/components/settings/views/template.tsx:265 msgid "" "Describe the summary you want to generate...\n" " \n" @@ -735,22 +519,10 @@ msgid "" "• what should AI remember when summarizing?" msgstr "" -#: src/components/settings/views/template.tsx:227 -#~ msgid "Description" -#~ msgstr "" - #: src/components/settings/views/notifications.tsx:252 msgid "Detect meetings automatically" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:349 -#~ msgid "Did you get consent from everyone in the meeting?" -#~ msgstr "" - -#: src/components/settings/views/general.tsx:312 -#~ msgid "Display language" -#~ msgstr "" - #: src/components/settings/views/help-support.tsx:46 msgid "Documentation" msgstr "" @@ -759,30 +531,18 @@ msgstr "" msgid "Don't show notifications when Do Not Disturb is enabled on your system." msgstr "" -#: src/components/settings/components/ai/stt-view.tsx:237 -#~ msgid "Download {0}" -#~ msgstr "" - #: src/components/welcome-modal/download-progress-view.tsx:201 msgid "Downloading AI Models" msgstr "" -#: src/components/welcome-modal/download-progress-view.tsx:252 -#~ msgid "Downloads will continue in the background" -#~ msgstr "" - #: src/components/right-panel/components/chat/empty-chat-state.tsx:94 msgid "Draft follow up" msgstr "" -#: src/components/settings/views/template.tsx:195 +#: src/components/settings/views/template.tsx:239 msgid "Duplicate" msgstr "" -#: src/components/settings/views/feedback.tsx:91 -#~ msgid "Email (Optional)" -#~ msgstr "" - #: src/components/settings/views/team.tsx:201 msgid "Email addresses" msgstr "" @@ -791,7 +551,7 @@ msgstr "" msgid "Email separated by commas" msgstr "" -#: src/components/settings/views/template.tsx:162 +#: src/components/settings/views/template.tsx:206 msgid "Emoji" msgstr "" @@ -801,48 +561,20 @@ msgstr "" #: src/components/settings/views/integrations.tsx:153 msgid "Enable Integration" -msgstr "Enable Integration" - -#: src/components/settings/views/ai.tsx:618 -#~ msgid "Enhancing" -#~ msgstr "Enhancing" +msgstr "" #: src/components/settings/components/template-sections.tsx:144 msgid "Enter a section title" msgstr "" -#: src/components/settings/components/ai/llm-view.tsx:291 -#~ msgid "Enter model name (e.g., gpt-4, llama3.2:3b)" -#~ msgstr "" - -#: src/components/settings/components/ai/llm-custom-view.tsx:519 -#~ msgid "Enter the API key for your custom LLM endpoint" -#~ msgstr "" - #: src/components/settings/components/ai/llm-custom-view.tsx:606 msgid "Enter the base URL for your custom LLM endpoint" msgstr "" -#: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434)" -#~ msgstr "" - -#: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:11434/v1)" -#~ msgstr "" - -#: src/components/settings/components/ai/llm-view.tsx:203 -#~ msgid "Enter the base URL for your custom LLM endpoint (e.g., http://localhost:8080/v1)" -#~ msgstr "" - #: src/components/settings/components/ai/stt-view-remote.tsx:146 msgid "Enter the base URL for your custom STT endpoint" msgstr "" -#: src/components/settings/views/ai.tsx:498 -#~ msgid "Enter the exact model name required by your endpoint (if applicable)." -#~ msgstr "" - #: src/components/settings/components/ai/stt-view-remote.tsx:202 msgid "Enter the model name required by your STT endpoint" msgstr "" @@ -851,10 +583,6 @@ msgstr "" msgid "Exclude apps from detection" msgstr "" -#: src/routes/app.settings.tsx:72 -#~ msgid "Extensions" -#~ msgstr "" - #: src/components/right-panel/components/chat/empty-chat-state.tsx:88 msgid "Extract action items" msgstr "" @@ -863,11 +591,6 @@ msgstr "" msgid "Feature Requests" msgstr "" -#: src/routes/app.settings.tsx:69 -#: src/routes/app.settings.tsx:106 -#~ msgid "Feedback" -#~ msgstr "" - #: src/components/editor-area/note-header/chips/participants-chip.tsx:385 msgid "Find person" msgstr "" @@ -876,30 +599,6 @@ msgstr "" msgid "Finish Onboarding" msgstr "" -#: src/components/settings/views/billing.tsx:47 -#~ msgid "For fast growing teams like energetic startups" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:34 -#~ msgid "For those who are serious about their performance" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:21 -#~ msgid "For those who are serious about their privacy" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:26 -#~ msgid "Format notes using templates" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:20 -#~ msgid "Free" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:72 -#~ msgid "Free Trial" -#~ msgstr "" - #: src/components/settings/views/profile.tsx:119 msgid "Full name" msgstr "" @@ -934,19 +633,10 @@ msgstr "" msgid "Grant Access" msgstr "" -#: src/components/welcome-modal/audio-permissions-view.tsx:141 -#~ msgid "Grant access to audio so Hyprnote can transcribe your meetings" -#~ msgstr "" - #: src/components/welcome-modal/audio-permissions-view.tsx:194 msgid "Grant both permissions to continue" msgstr "" -#: src/routes/app.settings.tsx:62 -#: src/routes/app.settings.tsx:116 -#~ msgid "Help & Feedback" -#~ msgstr "" - #: src/components/settings/views/help-support.tsx:33 #: src/routes/app.settings.tsx:62 #: src/routes/app.settings.tsx:116 @@ -957,14 +647,6 @@ msgstr "" msgid "Help us improve by reporting issues" msgstr "" -#: src/components/settings/views/general.tsx:212 -#~ msgid "Help us improve Hyprnote by sharing anonymous usage data" -#~ msgstr "" - -#: src/components/settings/views/feedback.tsx:52 -#~ msgid "Help us improve the Hyprnote experience by providing feedback." -#~ msgstr "" - #: src/components/individualization-modal/how-heard-view.tsx:33 #: src/components/individualization-modal/industry-view.tsx:63 #: src/components/individualization-modal/org-size-view.tsx:24 @@ -972,18 +654,6 @@ msgstr "" msgid "Help us tailor your Hyprnote experience" msgstr "" -#: src/components/left-sidebar/events-list.tsx:302 -#~ msgid "Hide Event" -#~ msgstr "" - -#: src/components/settings/views/feedback.tsx:19 -#~ msgid "Hmm... this is off..." -#~ msgstr "" - -#: src/components/right-panel/components/chat/empty-chat-state.tsx:24 -#~ msgid "How can I help you today?" -#~ msgstr "" - #: src/components/individualization-modal/how-heard-view.tsx:38 msgid "How did you hear about Hyprnote?" msgstr "" @@ -992,10 +662,6 @@ msgstr "" msgid "Important Q&As" msgstr "" -#: src/components/settings/views/billing.tsx:38 -#~ msgid "Integration with other apps like Notion and Google Calendar" -#~ msgstr "" - #: src/components/settings/views/integrations.tsx:124 #: src/routes/app.settings.tsx:56 #: src/routes/app.settings.tsx:110 @@ -1019,10 +685,6 @@ msgstr "" msgid "It's ok to move on, downloads will continue in the background" msgstr "" -#: src/components/settings/views/general.tsx:263 -#~ msgid "Jargons" -#~ msgstr "" - #: src/components/settings/views/profile.tsx:139 msgid "Job title" msgstr "" @@ -1031,26 +693,10 @@ msgstr "" msgid "Join meeting" msgstr "" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:67 -#~ msgid "Key decisions" -#~ msgstr "" - -#: src/routes/app.settings.tsx:120 -#~ msgid "Lab" -#~ msgstr "" - -#: src/components/settings/views/general.tsx:227 -#~ msgid "Language" -#~ msgstr "" - #: src/components/settings/views/general.tsx:279 msgid "Language for AI-generated summaries" msgstr "" -#: src/routes/app.settings.tsx:54 -#~ msgid "Language Model" -#~ msgstr "" - #: src/components/settings/views/help-support.tsx:49 msgid "Learn how to use Hyprnote" msgstr "" @@ -1059,34 +705,14 @@ msgstr "" msgid "Learn more about AI autonomy" msgstr "" -#: src/components/settings/views/billing.tsx:200 -#~ msgid "Learn more about our pricing plans" -#~ msgstr "" - -#: src/components/settings/views/templates.tsx:305 +#: src/components/settings/views/templates.tsx:306 msgid "Learn more about templates" msgstr "" -#: src/routes/app.settings.tsx:71 -#~ msgid "License" -#~ msgstr "" - #: src/components/settings/views/profile.tsx:210 msgid "LinkedIn username" msgstr "" -#: src/components/settings/views/billing.tsx:28 -#~ msgid "Live summary of the meeting" -#~ msgstr "" - -#: src/components/settings/views/ai.tsx:808 -#~ msgid "LLM - Custom" -#~ msgstr "" - -#: src/components/settings/views/ai.tsx:805 -#~ msgid "LLM - Local" -#~ msgstr "" - #: src/components/settings/components/ai/llm-custom-view.tsx:662 msgid "Loading available models..." msgstr "" @@ -1099,7 +725,7 @@ msgstr "" msgid "Loading models..." msgstr "" -#: src/components/settings/views/templates.tsx:276 +#: src/components/settings/views/templates.tsx:277 msgid "Loading templates..." msgstr "" @@ -1107,27 +733,10 @@ msgstr "" msgid "Loading..." msgstr "" -#: src/components/settings/views/ai-stt.tsx:63 -#: src/components/settings/views/ai-llm.tsx:617 -#~ msgid "Local" -#~ msgstr "" - -#: src/components/left-sidebar/top-area/settings-button.tsx:87 -#~ msgid "Local mode" -#~ msgstr "" - -#: src/components/settings/components/ai/llm-local-view.tsx:37 -#~ msgid "Local Models" -#~ msgstr "" - #: src/components/settings/views/help-support.tsx:103 msgid "Logs" msgstr "" -#: src/components/settings/views/billing.tsx:39 -#~ msgid "Long-term memory for past meetings and attendees" -#~ msgstr "" - #: src/components/share-and-permission/publish.tsx:24 msgid "Make it public" msgstr "" @@ -1137,10 +746,6 @@ msgstr "" msgid "MCP" msgstr "" -#: src/components/settings/views/billing.tsx:41 -#~ msgid "Meeting note sharing via links" -#~ msgstr "" - #: src/components/settings/views/team.tsx:145 #: src/components/settings/views/team.tsx:232 msgid "Member" @@ -1170,18 +775,10 @@ msgstr "" msgid "Model Name" msgstr "" -#: src/components/settings/views/billing.tsx:125 -#~ msgid "Monthly" -#~ msgstr "" - #: src/components/settings/views/integrations.tsx:278 msgid "More integrations coming soon..." msgstr "" -#: src/components/settings/views/billing.tsx:40 -#~ msgid "Much better AI performance" -#~ msgstr "" - #: src/components/left-sidebar/top-area/settings-button.tsx:141 msgid "My Profile" msgstr "" @@ -1199,10 +796,6 @@ msgstr "" msgid "New window" msgstr "" -#: src/components/right-panel/components/chat/empty-chat-state.tsx:94 -#~ msgid "Next meeting prep" -#~ msgstr "" - #: src/components/settings/components/calendar/calendar-selector.tsx:101 msgid "No calendars found" msgstr "" @@ -1215,10 +808,6 @@ msgstr "" msgid "No members found" msgstr "" -#: src/components/settings/components/ai/llm-view.tsx:288 -#~ msgid "No models available for this endpoint." -#~ msgstr "" - #: src/components/editor-area/note-header/chips/event-chip.tsx:474 msgid "No past events found." msgstr "" @@ -1227,27 +816,15 @@ msgstr "" msgid "No past notes with this contact" msgstr "" -#: src/components/organization-profile/recent-notes.tsx:70 -#~ msgid "No recent notes for this organization" -#~ msgstr "" - #: src/components/organization-profile/recent-notes.tsx:70 msgid "No recent notes with this organization" msgstr "" -#: src/components/settings/components/ai/stt-view.tsx:248 -#~ msgid "No speech-to-text models available or failed to load." -#~ msgstr "" - -#: src/components/editor-area/note-header/listen-button.tsx:341 -#~ msgid "No Template" -#~ msgstr "" - -#: src/components/editor-area/note-header/listen-button.tsx:473 -#~ msgid "No Template (Default)" -#~ msgstr "" +#: src/components/settings/views/template.tsx:358 +msgid "No tags selected" +msgstr "" -#: src/components/settings/views/templates.tsx:342 +#: src/components/settings/views/templates.tsx:343 msgid "No templates yet" msgstr "" @@ -1263,6 +840,10 @@ msgstr "" msgid "No upcoming events with this contact" msgstr "" +#: src/components/settings/views/template.tsx:312 +msgid "None (disabled)" +msgstr "" + #: src/routes/app.settings.tsx:50 #: src/routes/app.settings.tsx:104 msgid "Notifications" @@ -1284,14 +865,6 @@ msgstr "" msgid "Only works with Custom Endpoints. Please configure one of the above first." msgstr "" -#: src/components/settings/views/feedback.tsx:18 -#~ msgid "Ooh! Suggestion!" -#~ msgstr "" - -#: src/components/left-sidebar/top-area/calendar-button.tsx:26 -#~ msgid "Open calendar view" -#~ msgstr "" - #: src/components/left-sidebar/top-area/finder-button.tsx:26 msgid "Open finder view" msgstr "" @@ -1302,11 +875,6 @@ msgstr "" msgid "Open in new window" msgstr "" -#: src/components/workspace-calendar/note-card.tsx:123 -#: src/components/workspace-calendar/event-card.tsx:153 -#~ msgid "Open Note" -#~ msgstr "" - #: src/components/settings/components/ai/llm-custom-view.tsx:290 msgid "OpenAI" msgstr "" @@ -1332,38 +900,10 @@ msgstr "" msgid "Owner" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:363 -#~ msgid "Pause" -#~ msgstr "" - #: src/components/share-and-permission/participants-selector.tsx:35 msgid "people" msgstr "" -#: src/components/settings/components/ai/stt-view-local.tsx:258 -#~ msgid "Performance difference between languages" -#~ msgstr "" - -#: src/components/welcome-modal/audio-permissions-view.tsx:180 -#~ msgid "Permission granted! Detecting changes..." -#~ msgstr "" - -#: src/components/editor-area/note-header/listen-button.tsx:208 -#~ msgid "Play video" -#~ msgstr "" - -#: src/components/settings/views/general.tsx:315 -#~ msgid "Primary language for the interface" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:33 -#~ msgid "Pro" -#~ msgstr "" - -#: src/routes/app.settings.tsx:62 -#~ msgid "Profile" -#~ msgstr "" - #: src/components/share-and-permission/publish.tsx:15 msgid "Publish your note" msgstr "" @@ -1376,26 +916,9 @@ msgstr "" msgid "Recent Notes" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:366 -#~ msgid "Record me only" -#~ msgstr "" - -#: src/components/editor-area/note-header/listen-button.tsx:346 -#~ msgid "Recording Started" -#~ msgstr "" - -#: src/components/settings/views/ai.tsx:891 -#~ msgid "Redemption Time" -#~ msgstr "" - -#: src/components/settings/views/ai-stt.tsx:66 -#: src/components/settings/views/ai-llm.tsx:620 -#~ msgid "Remote" -#~ msgstr "" - -#: src/components/editor-area/note-header/chips/participants-chip.tsx:222 -#~ msgid "Remove {0} from list" -#~ msgstr "" +#: src/components/settings/views/template.tsx:284 +msgid "Refer to past notes with:" +msgstr "" #: src/components/settings/views/help-support.tsx:84 msgid "Report a Bug" @@ -1423,27 +946,15 @@ msgstr "" msgid "Respect Do Not Disturb" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:148 -#~ msgid "Resume" -#~ msgstr "" - #: src/components/settings/views/team.tsx:104 #: src/components/settings/views/team.tsx:213 msgid "Role" msgstr "" -#: src/components/settings/views/templates.tsx:193 -#~ msgid "Save and close" -#~ msgstr "" - #: src/components/settings/views/general.tsx:225 msgid "Save audio recording locally alongside the transcript." msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:443 -#~ msgid "Save current recording" -#~ msgstr "" - #: src/components/editor-area/note-header/chips/event-chip.tsx:595 msgid "Save Date" msgstr "" @@ -1456,10 +967,6 @@ msgstr "" msgid "Saving..." msgstr "" -#: src/components/settings/views/billing.tsx:51 -#~ msgid "Search & ask across all notes in workspace" -#~ msgstr "" - #: src/components/settings/views/team.tsx:204 msgid "Search names or emails" msgstr "" @@ -1473,11 +980,7 @@ msgstr "" msgid "Search..." msgstr "" -#: src/components/search-bar.tsx:92 -#~ msgid "Searching..." -#~ msgstr "" - -#: src/components/settings/views/template.tsx:232 +#: src/components/settings/views/template.tsx:416 msgid "Sections" msgstr "" @@ -1489,14 +992,10 @@ msgstr "" msgid "Select a provider above to configure" msgstr "" -#: src/components/settings/views/templates.tsx:310 +#: src/components/settings/views/templates.tsx:311 msgid "Select a template to enhance your meeting notes" msgstr "" -#: src/components/welcome-modal/model-selection-view.tsx:73 -#~ msgid "Select a transcribing model" -#~ msgstr "" - #: src/components/welcome-modal/model-selection-view.tsx:40 msgid "Select a transcribing model (STT)" msgstr "" @@ -1521,9 +1020,13 @@ msgstr "" msgid "Select languages you speak for better transcription" msgstr "" -#: src/components/settings/components/ai/llm-view.tsx:253 -#~ msgid "Select or enter the model name required by your endpoint." -#~ msgstr "" +#: src/components/settings/views/template.tsx:325 +msgid "Select tags" +msgstr "" + +#: src/components/settings/views/template.tsx:308 +msgid "Select what to use as context..." +msgstr "" #: src/components/welcome-modal/language-selection-view.tsx:89 msgid "Select Your Languages" @@ -1557,10 +1060,6 @@ msgstr "" msgid "Show notifications when you join a meeting." msgstr "" -#: src/components/settings/views/billing.tsx:53 -#~ msgid "Single sign-on for all users" -#~ msgstr "" - #: src/components/welcome-modal/download-progress-view.tsx:227 msgid "Some downloads failed, but you can continue" msgstr "" @@ -1570,26 +1069,14 @@ msgstr "" msgid "Sound" msgstr "" -#: src/routes/app.settings.tsx:56 -#~ msgid "Speech to Text Model" -#~ msgstr "" - #: src/components/settings/views/general.tsx:345 msgid "Spoken languages" msgstr "" -#: src/components/settings/views/billing.tsx:76 -#~ msgid "Start Annual Plan" -#~ msgstr "" - #: src/components/settings/views/general.tsx:196 msgid "Start automatically at login" msgstr "" -#: src/components/settings/views/billing.tsx:75 -#~ msgid "Start Monthly Plan" -#~ msgstr "" - #: src/components/editor-area/note-header/listen-button.tsx:158 msgid "Start recording" msgstr "" @@ -1598,47 +1085,31 @@ msgstr "" msgid "Stop" msgstr "" -#: src/components/settings/views/feedback.tsx:107 -#~ msgid "Submit Feedback" -#~ msgstr "" - #: src/components/settings/views/help-support.tsx:68 msgid "Suggest new features and improvements" msgstr "" -#: src/routes/app.settings.tsx:54 -#~ msgid "Summarization" -#~ msgstr "" - -#: src/components/right-panel/components/chat/empty-chat-state.tsx:61 -#~ msgid "Summarize meeting" -#~ msgstr "" - #: src/components/settings/views/general.tsx:276 msgid "Summary language" msgstr "" -#: src/components/settings/views/billing.tsx:42 -#~ msgid "Synchronization across multiple devices" -#~ msgstr "" - #: src/components/settings/views/sound.tsx:137 #: src/components/welcome-modal/audio-permissions-view.tsx:175 msgid "System Audio Access" msgstr "" -#: src/components/settings/views/template.tsx:215 +#: src/components/settings/views/template.tsx:259 msgid "System Instruction" msgstr "" +#: src/components/settings/views/template.tsx:315 +msgid "Tags" +msgstr "" + #: src/components/left-sidebar/top-area/settings-button.tsx:153 msgid "Talk to Founders" msgstr "" -#: src/components/settings/views/billing.tsx:46 -#~ msgid "Team" -#~ msgstr "" - #: src/components/settings/views/team.tsx:72 msgid "Team management features are currently under development and will be available in a future update." msgstr "" @@ -1647,19 +1118,11 @@ msgstr "" msgid "Teamspace" msgstr "" -#: src/components/editor-area/note-header/listen-button.tsx:464 -#~ msgid "Template" -#~ msgstr "" - #: src/routes/app.settings.tsx:52 #: src/routes/app.settings.tsx:106 msgid "Templates" msgstr "" -#: src/components/welcome-modal/welcome-view.tsx:28 -#~ msgid "The AI Meeting Notepad" -#~ msgstr "" - #: src/components/settings/views/integrations.tsx:188 msgid "The base URL of your Obsidian server. This is typically http://127.0.0.1:27123." msgstr "" @@ -1668,10 +1131,6 @@ msgstr "" msgid "The name of your Obsidian vault." msgstr "" -#: src/components/settings/views/billing.tsx:113 -#~ msgid "There's a plan for everyone" -#~ msgstr "" - #: src/components/settings/views/notifications.tsx:278 msgid "These apps will not trigger meeting detection" msgstr "" @@ -1688,10 +1147,6 @@ msgstr "" msgid "This is the name of the company you work for." msgstr "" -#: src/components/settings/views/ai.tsx:894 -#~ msgid "Time window (in milliseconds) to allow redemption of failed requests" -#~ msgstr "" - #: src/components/finder/views/calendar-view.tsx:64 msgid "Today" msgstr "" @@ -1708,18 +1163,6 @@ msgstr "" msgid "Toggle transcript panel" msgstr "" -#: src/components/toolbar/buttons/transcript-panel-button.tsx:36 -#~ msgid "Toggle transcriptpanel" -#~ msgstr "" - -#: src/components/toolbar/buttons/transcript-panel-button.tsx:36 -#~ msgid "Toggle widget panel" -#~ msgstr "" - -#: src/components/settings/components/ai/stt-view-local.tsx:249 -#~ msgid "Transcribing" -#~ msgstr "" - #: src/routes/app.settings.tsx:46 #: src/routes/app.settings.tsx:100 msgid "Transcription" @@ -1737,15 +1180,11 @@ msgstr "" msgid "Type to search..." msgstr "" -#: src/components/settings/views/feedback.tsx:20 -#~ msgid "Ugh! Can't use it!" -#~ msgstr "" - #: src/components/editor-area/note-header/title-input.tsx:32 msgid "Untitled" msgstr "" -#: src/components/settings/views/template.tsx:186 +#: src/components/settings/views/template.tsx:230 msgid "Untitled Template" msgstr "" @@ -1761,10 +1200,6 @@ msgstr "" msgid "Upcoming meeting notifications" msgstr "" -#: src/components/settings/views/billing.tsx:69 -#~ msgid "Upgrade" -#~ msgstr "" - #: src/components/settings/components/ai/llm-custom-view.tsx:389 msgid "Use Google's Gemini models with your API key" msgstr "" @@ -1773,18 +1208,10 @@ msgstr "" msgid "Use OpenAI's GPT models with your API key" msgstr "" -#: src/components/settings/components/ai/llm-view.tsx:155 -#~ msgid "Use the local Llama 3.2 model for enhanced privacy and offline capability." -#~ msgstr "" - #: src/components/settings/views/team.tsx:101 msgid "User" msgstr "" -#: src/components/right-panel/components/chat/chat-message.tsx:22 -#~ msgid "User:" -#~ msgstr "" - #: src/components/settings/views/profile.tsx:225 msgid "username" msgstr "" @@ -1802,10 +1229,6 @@ msgstr "" msgid "View in calendar" msgstr "" -#: src/components/settings/views/help-feedback.tsx:103 -#~ msgid "View logs" -#~ msgstr "" - #: src/components/organization-profile/recent-notes.tsx:59 msgid "View Note" msgstr "" @@ -1814,10 +1237,6 @@ msgstr "" msgid "We think different." msgstr "" -#: src/components/settings/views/feedback.tsx:102 -#~ msgid "We'll only use this to follow up if needed." -#~ msgstr "" - #: src/components/settings/views/integrations.tsx:281 msgid "We're working on adding more tools and services to connect with your workflow" msgstr "" @@ -1838,30 +1257,6 @@ msgstr "" msgid "Where Conversations Stay Yours" msgstr "" -#: src/components/settings/components/wer-modal.tsx:69 -#~ msgid "Whisper Model Language Performance (WER)" -#~ msgstr "" - -#: src/components/settings/components/wer-modal.tsx:72 -#~ msgid "Word Error Rate (WER) indicates transcription accuracy (lower is better). Data based on the FLEURS dataset, measured with OpenAI's Whisper <0>large-v3-turbo model. <1>More info" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:25 -#~ msgid "Works both in-person and remotely" -#~ msgstr "" - -#: src/components/settings/views/billing.tsx:29 -#~ msgid "Works offline" -#~ msgstr "" - -#: src/components/editor-area/note-header/listen-button.tsx:358 -#~ msgid "Yes, activate speaker" -#~ msgstr "" - -#: src/components/settings/views/general.tsx:266 -#~ msgid "You can make Hyprnote takes these words into account when transcribing" -#~ msgstr "" - #: src/components/settings/views/integrations.tsx:213 msgid "Your API key for Obsidian local-rest-api plugin." msgstr "" @@ -1879,6 +1274,6 @@ msgid "Your Name" msgstr "" #: src/components/settings/components/templates-sidebar.tsx:45 -#: src/components/settings/views/templates.tsx:291 +#: src/components/settings/views/templates.tsx:292 msgid "Your Templates" msgstr "" diff --git a/apps/desktop/src/utils/default-templates.ts b/apps/desktop/src/utils/default-templates.ts index 5425bd467e..f4bc83a59d 100644 --- a/apps/desktop/src/utils/default-templates.ts +++ b/apps/desktop/src/utils/default-templates.ts @@ -15,6 +15,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Next Steps", description: "Follow-up actions and next meeting details" }, ], tags: ["general", "meeting", "agenda", "action-items", "builtin"], + context_option: null, }, { id: "default-standup", @@ -30,6 +31,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Notes", description: "Additional updates or important information" }, ], tags: ["general", "standup", "daily", "progress", "blockers", "builtin"], + context_option: null, }, { id: "default-weekly-review", @@ -45,6 +47,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Improvements", description: "Areas for personal or process improvement" }, ], tags: ["general", "weekly", "review", "reflection", "planning", "builtin"], + context_option: null, }, { id: "default-one-on-one", @@ -61,6 +64,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Action Items", description: "Follow-up tasks and commitments" }, ], tags: ["general", "one-on-one", "1-on-1", "management", "feedback", "builtin"], + context_option: null, }, { id: "default-user-interview", @@ -77,6 +81,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Key Insights", description: "Important learnings and next steps" }, ], tags: ["startup", "user-interview", "research", "feedback", "ux", "builtin"], + context_option: null, }, { id: "default-b2b-discovery", @@ -93,6 +98,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Next Steps", description: "Follow-up actions and timeline" }, ], tags: ["startup", "b2b", "discovery", "sales", "customer", "builtin"], + context_option: null, }, { id: "default-b2b-pilot", @@ -109,6 +115,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Next Phase", description: "Plans for expansion or full deployment" }, ], tags: ["startup", "b2b", "pilot", "customer", "progress", "builtin"], + context_option: null, }, { id: "default-job-interview", @@ -125,6 +132,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Overall Evaluation", description: "Recommendation and hiring decision" }, ], tags: ["general", "job-interview", "hiring", "candidate", "assessment", "builtin"], + context_option: null, }, { id: "default-patient-visit", @@ -141,6 +149,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Follow-up", description: "Next appointment and monitoring plan" }, ], tags: ["patient", "medical", "healthcare", "consultation", "builtin"], + context_option: null, }, { id: "default-client-meeting-legal", @@ -157,6 +166,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Next Steps", description: "Action items and follow-up tasks" }, ], tags: ["legal", "client", "case", "consultation", "builtin"], + context_option: null, }, { id: "default-therapy-session", @@ -173,6 +183,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Homework", description: "Tasks and exercises for next session" }, ], tags: ["healthcare", "therapy", "counseling", "mental-health", "session", "builtin"], + context_option: null, }, { id: "default-brainstorming", @@ -189,6 +200,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Action Items", description: "Who does what and when" }, ], tags: ["startup", "brainstorming", "creative", "ideation", "innovation", "builtin"], + context_option: null, }, { id: "default-coffee-chat", @@ -205,6 +217,7 @@ export const DEFAULT_TEMPLATES: Template[] = [ { title: "Follow-up", description: "How to stay in touch and next steps" }, ], tags: ["casual", "coffee-chat", "networking", "relationship", "informal", "builtin"], + context_option: null, }, ]; diff --git a/crates/db-user/src/lib.rs b/crates/db-user/src/lib.rs index 01695300a6..402b9c1dc3 100644 --- a/crates/db-user/src/lib.rs +++ b/crates/db-user/src/lib.rs @@ -130,7 +130,7 @@ impl std::ops::Deref for UserDatabase { } // Append only. Do not reorder. -const MIGRATIONS: [&str; 24] = [ +const MIGRATIONS: [&str; 25] = [ include_str!("./calendars_migration.sql"), include_str!("./configs_migration.sql"), include_str!("./events_migration.sql"), @@ -155,6 +155,7 @@ const MIGRATIONS: [&str; 24] = [ include_str!("./events_migration_2.sql"), include_str!("./chat_messages_migration_1.sql"), include_str!("./chat_messages_migration_2.sql"), + include_str!("./templates_migration_1.sql"), ]; pub async fn migrate(db: &UserDatabase) -> Result<(), crate::Error> { diff --git a/crates/db-user/src/templates_migration_1.sql b/crates/db-user/src/templates_migration_1.sql new file mode 100644 index 0000000000..0475726d53 --- /dev/null +++ b/crates/db-user/src/templates_migration_1.sql @@ -0,0 +1,4 @@ +ALTER TABLE + templates +ADD + COLUMN context_option TEXT; diff --git a/crates/db-user/src/templates_ops.rs b/crates/db-user/src/templates_ops.rs index 6b7229b87b..69f32d870a 100644 --- a/crates/db-user/src/templates_ops.rs +++ b/crates/db-user/src/templates_ops.rs @@ -30,19 +30,22 @@ impl UserDatabase { title, description, sections, - tags + tags, + context_option ) VALUES ( :id, :user_id, :title, :description, :sections, - :tags + :tags, + :context_option ) ON CONFLICT(id) DO UPDATE SET title = :title, description = :description, sections = :sections, - tags = :tags + tags = :tags, + context_option = :context_option RETURNING *", libsql::named_params! { ":id": template.id, @@ -51,6 +54,7 @@ impl UserDatabase { ":description": template.description, ":sections": serde_json::to_string(&template.sections).unwrap(), ":tags": serde_json::to_string(&template.tags).unwrap(), + ":context_option": template.context_option.as_deref().unwrap_or(""), }, ) .await?; @@ -96,6 +100,9 @@ mod tests { description: "test".to_string(), sections: vec![], tags: vec![], + context_option: Some( + r#"{"type":"tags","selections":["Meeting","Project A"]}"#.to_string(), + ), }) .await .unwrap(); diff --git a/crates/db-user/src/templates_types.rs b/crates/db-user/src/templates_types.rs index 0a751189f3..181d2bfda7 100644 --- a/crates/db-user/src/templates_types.rs +++ b/crates/db-user/src/templates_types.rs @@ -8,6 +8,7 @@ user_common_derives! { pub description: String, pub sections: Vec, pub tags: Vec, + pub context_option: Option, } } @@ -33,6 +34,7 @@ impl Template { .get_str(5) .map(|s| serde_json::from_str(s).unwrap()) .unwrap_or_default(), + context_option: row.get(6).ok(), }) } } diff --git a/crates/template/assets/enhance.user.jinja b/crates/template/assets/enhance.user.jinja index bd69fac701..8ed1ef9c0e 100644 --- a/crates/template/assets/enhance.user.jinja +++ b/crates/template/assets/enhance.user.jinja @@ -12,10 +12,17 @@ {{ words | timeline }} +{% if contextText %} +Below are additional context from previous notes, refer to them if necessary: + +{{ contextText }} + +{% endif %} + Speaker 0 is the user who is speaking. Your job is to write a perfect note based on the above informations. -Note that above given informations like participants, transcript, etc. are already displayed in the UI, so you don't need to repeat them. +Note that above given informations like participants, transcript, previous context, etc. are already displayed in the UI, so you don't need to repeat them. MAKE SURE THAT contents in the 'raw_note' is well incorporated in the final enhanced note. It is paramount that the enhanced note contains contents of the raw note. diff --git a/plugins/db/js/bindings.gen.ts b/plugins/db/js/bindings.gen.ts index 11df378f0f..2edaeb223f 100644 --- a/plugins/db/js/bindings.gen.ts +++ b/plugins/db/js/bindings.gen.ts @@ -181,7 +181,7 @@ export type Platform = "Apple" | "Google" | "Outlook" export type Session = { id: string; created_at: string; visited_at: string; user_id: string; calendar_event_id: string | null; title: string; raw_memo_html: string; enhanced_memo_html: string | null; words: Word2[]; record_start: string | null; record_end: string | null; pre_meeting_memo_html: string | null } export type SpeakerIdentity = { type: "unassigned"; value: { index: number } } | { type: "assigned"; value: { id: string; label: string } } export type Tag = { id: string; name: string } -export type Template = { id: string; user_id: string; title: string; description: string; sections: TemplateSection[]; tags: string[] } +export type Template = { id: string; user_id: string; title: string; description: string; sections: TemplateSection[]; tags: string[]; context_option: string | null } export type TemplateSection = { title: string; description: string } export type Word2 = { text: string; speaker: SpeakerIdentity | null; confidence: number | null; start_ms: number | null; end_ms: number | null }