Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
feat: meeting recording mode — focused note view with sidebar collapse
Gabriel Steinc62e4997e8b1
diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsxindex 2e1424d6b..0bd89837a 100644--- a/src/components/ControlPanel.tsx+++ b/src/components/ControlPanel.tsx@@ -1,7 +1,7 @@import React, { Suspense, useState, useEffect, useRef, useCallback } from "react";import { useTranslation } from "react-i18next";import { Button } from "./ui/button";-import { Download, RefreshCw, Loader2, AlertTriangle, Zap } from "lucide-react";+import { Download, RefreshCw, Loader2, AlertTriangle, Zap, ArrowLeft } from "lucide-react";import UpgradePrompt from "./UpgradePrompt";import { ConfirmDialog, AlertDialog } from "./ui/dialog";import { useDialogs } from "../hooks/useDialogs";@@ -18,6 +18,7 @@ import {} from "../stores/transcriptionStore";import ControlPanelSidebar, { type ControlPanelView } from "./ControlPanelSidebar";import WindowControls from "./WindowControls";+import { cn } from "./lib/utils";import { getCachedPlatform } from "../utils/platform";import { setActiveNoteId, setActiveFolderId } from "../stores/noteStore";import HistoryView from "./HistoryView";@@ -45,6 +46,7 @@ export default function ControlPanel() {const [showReferrals, setShowReferrals] = useState(false);const [showCloudMigrationBanner, setShowCloudMigrationBanner] = useState(false);const [activeView, setActiveView] = useState<ControlPanelView>("home");+ const [isMeetingMode, setIsMeetingMode] = useState(false);const [meetingRecordingRequest, setMeetingRecordingRequest] = useState<{noteId: number;folderId: number;@@ -189,6 +191,7 @@ export default function ControlPanel() {setActiveFolderId(data.folderId);setActiveNoteId(data.noteId);setActiveView("personal-notes");+ setIsMeetingMode(true);setMeetingRecordingRequest(data);});return () => cleanup?.();@@ -375,50 +378,71 @@ export default function ControlPanel() {)}<div className="flex flex-1 overflow-hidden">- <ControlPanelSidebar- activeView={activeView}- onViewChange={setActiveView}- onOpenSettings={() => {- setSettingsSection(undefined);- setShowSettings(true);- }}- onOpenReferrals={() => setShowReferrals(true)}- onUpgrade={() => {- setSettingsSection("plansBilling");- setShowSettings(true);- }}- onUpgradeCheckout={() => usage?.openCheckout()}- isOverLimit={usage?.isOverLimit ?? false}- userName={user?.name}- userEmail={user?.email}- userImage={user?.image}- isSignedIn={isSignedIn}- authLoaded={authLoaded}- isProUser={!!(usage?.isSubscribed || usage?.isTrial)}- usageLoaded={usage?.hasLoaded ?? false}- updateAction={- !updateStatus.isDevelopment &&- (updateStatus.updateAvailable ||- updateStatus.updateDownloaded ||- isDownloading ||- isInstalling) ? (- <Button- variant={updateStatus.updateDownloaded ? "default" : "outline"}- size="sm"- onClick={handleUpdateClick}- disabled={isInstalling || isDownloading}- className="gap-1.5 text-xs w-full h-7"- >- {getUpdateButtonContent()}- </Button>- ) : undefined- }- />+ <div+ className="shrink-0 overflow-hidden transition-[width] duration-300 ease-out"+ style={{ width: isMeetingMode ? 0 : undefined }}+ >+ <ControlPanelSidebar+ activeView={activeView}+ onViewChange={setActiveView}+ onOpenSettings={() => {+ setSettingsSection(undefined);+ setShowSettings(true);+ }}+ onOpenReferrals={() => setShowReferrals(true)}+ onUpgrade={() => {+ setSettingsSection("plansBilling");+ setShowSettings(true);+ }}+ onUpgradeCheckout={() => usage?.openCheckout()}+ isOverLimit={usage?.isOverLimit ?? false}+ userName={user?.name}+ userEmail={user?.email}+ userImage={user?.image}+ isSignedIn={isSignedIn}+ authLoaded={authLoaded}+ isProUser={!!(usage?.isSubscribed || usage?.isTrial)}+ usageLoaded={usage?.hasLoaded ?? false}+ updateAction={+ !updateStatus.isDevelopment &&+ (updateStatus.updateAvailable ||+ updateStatus.updateDownloaded ||+ isDownloading ||+ isInstalling) ? (+ <Button+ variant={updateStatus.updateDownloaded ? "default" : "outline"}+ size="sm"+ onClick={handleUpdateClick}+ disabled={isInstalling || isDownloading}+ className="gap-1.5 text-xs w-full h-7"+ >+ {getUpdateButtonContent()}+ </Button>+ ) : undefined+ }+ />+ </div><main className="flex-1 flex flex-col overflow-hidden"><div- className="flex items-center justify-end w-full h-10 shrink-0"+ className={cn(+ "flex items-center w-full h-10 shrink-0",+ isMeetingMode ? "justify-between" : "justify-end"+ )}style={{ WebkitAppRegion: "drag" } as React.CSSProperties}>+ {isMeetingMode && (+ <button+ onClick={() => setIsMeetingMode(false)}+ className={cn(+ "flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors",+ platform === "darwin" ? "pl-20" : "pl-3"+ )}+ style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}+ >+ <ArrowLeft size={14} />+ {t("notes.meeting.back")}+ </button>+ )}{platform !== "darwin" && (<div className="pr-1" style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}><WindowControls />@@ -530,6 +554,7 @@ export default function ControlPanel() {}}meetingRecordingRequest={meetingRecordingRequest}onMeetingRecordingRequestHandled={handleMeetingRecordingRequestHandled}+ isMeetingMode={isMeetingMode}/></Suspense>)}diff --git a/src/components/notes/PersonalNotesView.tsx b/src/components/notes/PersonalNotesView.tsxindex 1a9025b1b..0d01bdaa1 100644--- a/src/components/notes/PersonalNotesView.tsx+++ b/src/components/notes/PersonalNotesView.tsx@@ -47,12 +47,14 @@ interface PersonalNotesViewProps {onOpenSettings?: (section: string) => void;meetingRecordingRequest?: { noteId: number; folderId: number; event: any } | null;onMeetingRecordingRequestHandled?: () => void;+ isMeetingMode?: boolean;}export default function PersonalNotesView({onOpenSettings,meetingRecordingRequest,onMeetingRecordingRequestHandled,+ isMeetingMode,}: PersonalNotesViewProps) {const { t } = useTranslation();const notes = useNotes();@@ -114,10 +116,6 @@ export default function PersonalNotesView({} = useFolderManagement();const activeNote = notes.find((n) => n.id === activeNoteId) ?? null;- const isMeetingsFolder = useMemo(- () => folders.find((f) => f.id === activeFolderId)?.name === MEETINGS_FOLDER_NAME,- [folders, activeFolderId]- );const {isRecording,@@ -378,302 +376,299 @@ export default function PersonalNotesView({return (<div className="flex h-full">- <div className="w-52 shrink-0 border-r border-border/15 dark:border-white/4 flex flex-col">- {/* Folders */}- <div className="flex items-center justify-between px-3 py-2">- <span className="text-xs font-medium uppercase tracking-wider text-foreground/50 dark:text-foreground/25">- {t("notes.folders.title")}- </span>- <Button- variant="ghost"- size="icon"- onClick={() => setIsCreatingFolder(true)}- aria-label={t("notes.context.newFolder")}- className="h-5 w-5 rounded-md text-muted-foreground/50 dark:text-muted-foreground/30 hover:text-foreground/60 hover:bg-foreground/5"- >- <Plus size={13} />- </Button>- </div>+ <div+ className="shrink-0 overflow-hidden transition-[width] duration-300 ease-out"+ style={{ width: isMeetingMode ? 0 : "13rem" }}+ >+ <div className="w-52 shrink-0 border-r border-border/15 dark:border-white/4 flex flex-col h-full">+ {/* Folders */}+ <div className="flex items-center justify-between px-3 py-2">+ <span className="text-xs font-medium uppercase tracking-wider text-foreground/50 dark:text-foreground/25">+ {t("notes.folders.title")}+ </span>+ <Button+ variant="ghost"+ size="icon"+ onClick={() => setIsCreatingFolder(true)}+ aria-label={t("notes.context.newFolder")}+ className="h-5 w-5 rounded-md text-muted-foreground/50 dark:text-muted-foreground/30 hover:text-foreground/60 hover:bg-foreground/5"+ >+ <Plus size={13} />+ </Button>+ </div>- <div className="px-1.5 space-y-px">- {folders.map((folder) => {- const isActive = folder.id === activeFolderId;- const isMeetings = folder.name === MEETINGS_FOLDER_NAME;- const count = folderCounts[folder.id] || 0;- const isRenaming = renamingFolderId === folder.id;+ <div className="px-1.5 space-y-px">+ {folders.map((folder) => {+ const isActive = folder.id === activeFolderId;+ const isMeetings = folder.name === MEETINGS_FOLDER_NAME;+ const count = folderCounts[folder.id] || 0;+ const isRenaming = renamingFolderId === folder.id;++ if (isRenaming) {+ return (+ <div key={folder.id} className="px-2">+ <input+ ref={renameInputRef}+ value={renameValue}+ onChange={(e) => setRenameValue(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === "Enter") handleConfirmRename();+ if (e.key === "Escape") {+ setRenamingFolderId(null);+ setRenameValue("");+ }+ }}+ onBlur={handleConfirmRename}+ className={FOLDER_INPUT_CLASS}+ />+ </div>+ );+ }++ const isDragOver = dragState.dragOverFolderId === folder.id;+ const isDropSuccess = dragState.dropSuccessFolderId === folder.id;- if (isRenaming) {return (- <div key={folder.id} className="px-2">- <input- ref={renameInputRef}- value={renameValue}- onChange={(e) => setRenameValue(e.target.value)}- onKeyDown={(e) => {- if (e.key === "Enter") handleConfirmRename();- if (e.key === "Escape") {- setRenamingFolderId(null);- setRenameValue("");- }- }}- onBlur={handleConfirmRename}- className={FOLDER_INPUT_CLASS}- />- </div>- );- }-- const isDragOver = dragState.dragOverFolderId === folder.id;- const isDropSuccess = dragState.dropSuccessFolderId === folder.id;-- return (- <button- key={folder.id}- onClick={() => setActiveFolderId(folder.id)}- {...folderDropHandlers(folder.id, folder.name)}- className={cn(- "group relative flex items-center gap-2 w-full h-7 px-2 rounded-md cursor-pointer text-left transition-all duration-150",- "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary/30",- isActive- ? "bg-primary/8 dark:bg-primary/10"- : "hover:bg-foreground/4 dark:hover:bg-white/4",- isDragOver &&- !isMeetings &&- "bg-primary/12 dark:bg-primary/15 ring-1 ring-primary/25 scale-[1.02]",- isDropSuccess &&- "bg-emerald-500/10 dark:bg-emerald-400/10 ring-1 ring-emerald-500/20"- )}- >- {isActive && !isDragOver && !isDropSuccess && (- <div className="absolute left-0 top-1/2 -translate-y-1/2 w-0.5 h-3 rounded-r-full bg-primary" />- )}- <FolderOpen- size={13}- className={cn(- "shrink-0 transition-colors duration-150",- isDragOver || isActive- ? "text-primary"- : "text-foreground/35 dark:text-foreground/20 group-hover:text-foreground/50 dark:group-hover:text-foreground/35"- )}- />- <span+ <button+ key={folder.id}+ onClick={() => setActiveFolderId(folder.id)}+ {...folderDropHandlers(folder.id, folder.name)}className={cn(- "text-xs truncate flex-1 transition-colors duration-150",- isDragOver || isActive- ? "text-foreground font-medium"- : "text-foreground/50 group-hover:text-foreground/70"+ "group relative flex items-center gap-2 w-full h-7 px-2 rounded-md cursor-pointer text-left transition-all duration-150",+ "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary/30",+ isActive+ ? "bg-primary/8 dark:bg-primary/10"+ : "hover:bg-foreground/4 dark:hover:bg-white/4",+ isDragOver &&+ !isMeetings &&+ "bg-primary/12 dark:bg-primary/15 ring-1 ring-primary/25 scale-[1.02]",+ isDropSuccess &&+ "bg-emerald-500/10 dark:bg-emerald-400/10 ring-1 ring-emerald-500/20")}>- {folder.name}- </span>-- {isMeetings ? (- <span className="text-[7px] font-semibold uppercase tracking-wider text-foreground/20 bg-foreground/4 dark:bg-white/6 px-1.5 py-px rounded shrink-0">- {t("notes.folders.soon")}- </span>- ) : (- <>- {isDropSuccess ? (- <Check- size={10}- className="text-emerald-500 dark:text-emerald-400 shrink-0 animate-[scale-in_200ms_ease-out]"- />- ) : (- <span- className={cn(- "text-xs tabular-nums shrink-0 transition-colors group-hover:opacity-0",- isActive- ? "text-foreground/50 dark:text-foreground/30"- : "text-foreground/35 dark:text-foreground/15"- )}- >- {count > 0 ? count : ""}- </span>+ {isActive && !isDragOver && !isDropSuccess && (+ <div className="absolute left-0 top-1/2 -translate-y-1/2 w-0.5 h-3 rounded-r-full bg-primary" />+ )}+ <FolderOpen+ size={13}+ className={cn(+ "shrink-0 transition-colors duration-150",+ isDragOver || isActive+ ? "text-primary"+ : "text-foreground/35 dark:text-foreground/20 group-hover:text-foreground/50 dark:group-hover:text-foreground/35")}- {!folder.is_default && (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <span- role="button"- tabIndex={-1}- onClick={(e) => e.stopPropagation()}- className="h-4 w-4 flex items-center justify-center rounded-sm opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 transition-opacity absolute right-1.5 text-foreground/25 hover:text-foreground/50 cursor-pointer"- >- <MoreHorizontal size={11} />- </span>- </DropdownMenuTrigger>- <DropdownMenuContent align="end" sideOffset={4} className="min-w-32">- <DropdownMenuItem- onClick={(e) => {- e.stopPropagation();- setRenamingFolderId(folder.id);- setRenameValue(folder.name);- }}- className="text-xs gap-2 rounded-md px-2 py-1"- >- <Pencil size={11} className="text-muted-foreground/60" />- {t("notes.context.rename")}- </DropdownMenuItem>- <DropdownMenuSeparator />- <DropdownMenuItem- onClick={(e) => {- e.stopPropagation();- handleDeleteFolder(folder.id);- }}- className="text-xs gap-2 rounded-md px-2 py-1 text-destructive focus:text-destructive focus:bg-destructive/10"- >- <Trash2 size={11} />- {t("notes.context.delete")}- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>+ />+ <span+ className={cn(+ "text-xs truncate flex-1 transition-colors duration-150",+ isDragOver || isActive+ ? "text-foreground font-medium"+ : "text-foreground/50 group-hover:text-foreground/70")}- </>- )}- </button>- );- })}-- {isCreatingFolder && (- <div className="px-2">- <input- ref={newFolderInputRef}- value={newFolderName}- onChange={(e) => setNewFolderName(e.target.value)}- onKeyDown={(e) => {- if (e.key === "Enter") handleCreateFolder();- if (e.key === "Escape") {- setIsCreatingFolder(false);- setNewFolderName("");- }- }}- onBlur={handleCreateFolder}- placeholder={t("notes.folders.folderName")}- className={cn(FOLDER_INPUT_CLASS, "placeholder:text-foreground/20")}- />- </div>- )}- </div>-- <div className="mx-3 h-px bg-border/10 dark:bg-white/4 my-2" />-- {/* Notes list */}- <div className="flex items-center justify-between px-3 py-1">- <span className="text-xs font-medium uppercase tracking-wider text-foreground/50 dark:text-foreground/25">- {t("notes.list.title")}- </span>- <Button- variant="ghost"- size="icon"- onClick={handleNewNote}- aria-label={t("notes.list.newNote")}- className="h-5 w-5 rounded-md text-muted-foreground/50 dark:text-muted-foreground/30 hover:text-foreground/60 hover:bg-foreground/5"- >- <Plus size={13} />- </Button>- </div>+ >+ {folder.name}+ </span>- <div className="flex-1 overflow-y-auto">- {isLoading ? (- <div className="flex items-center justify-center py-8">- <Loader2 size={12} className="animate-spin text-foreground/15" />- </div>- ) : notes.length === 0 ? (- <div className="flex flex-col items-center justify-center py-8 px-4">- <svg- className="text-foreground dark:text-white mb-3"- width="40"- height="36"- viewBox="0 0 40 36"- fill="none"- >- <rect- x="12"- y="1"- width="20"- height="26"- rx="2"- transform="rotate(5 22 14)"- fill="currentColor"- fillOpacity={0.025}- stroke="currentColor"- strokeOpacity={0.06}- />- <rect- x="8"- y="3"- width="20"- height="26"- rx="2"- fill="currentColor"- fillOpacity={0.04}- stroke="currentColor"- strokeOpacity={0.08}- />- <rect- x="12"- y="9"- width="10"- height="1.5"- rx="0.75"- fill="currentColor"- fillOpacity={0.07}- />- <rect- x="12"- y="13"- width="12"- height="1.5"- rx="0.75"- fill="currentColor"- fillOpacity={0.05}- />- <rect- x="12"- y="17"- width="8"- height="1.5"- rx="0.75"- fill="currentColor"- fillOpacity={0.04}- />- </svg>- <p className="text-xs text-foreground/50 dark:text-foreground/25 mb-3">- {t("notes.empty.emptyFolder")}- </p>- <div className="flex flex-col gap-1.5 w-full max-w-36">- <button- onClick={handleNewNote}- className="flex items-center justify-center gap-1.5 h-6 rounded-md bg-primary/8 dark:bg-primary/10 border border-primary/12 dark:border-primary/15 text-xs font-medium text-primary/70 hover:bg-primary/12 hover:text-primary hover:border-primary/20 transition-colors"- >- <Plus size={10} />- {t("notes.empty.createNote")}+ {isDropSuccess ? (+ <Check+ size={10}+ className="text-emerald-500 dark:text-emerald-400 shrink-0 animate-[scale-in_200ms_ease-out]"+ />+ ) : (+ <span+ className={cn(+ "text-xs tabular-nums shrink-0 transition-colors group-hover:opacity-0",+ isActive+ ? "text-foreground/50 dark:text-foreground/30"+ : "text-foreground/35 dark:text-foreground/15"+ )}+ >+ {count > 0 ? count : ""}+ </span>+ )}+ {!folder.is_default && (+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <span+ role="button"+ tabIndex={-1}+ onClick={(e) => e.stopPropagation()}+ className="h-4 w-4 flex items-center justify-center rounded-sm opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 transition-opacity absolute right-1.5 text-foreground/25 hover:text-foreground/50 cursor-pointer"+ >+ <MoreHorizontal size={11} />+ </span>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end" sideOffset={4} className="min-w-32">+ <DropdownMenuItem+ onClick={(e) => {+ e.stopPropagation();+ setRenamingFolderId(folder.id);+ setRenameValue(folder.name);+ }}+ className="text-xs gap-2 rounded-md px-2 py-1"+ >+ <Pencil size={11} className="text-muted-foreground/60" />+ {t("notes.context.rename")}+ </DropdownMenuItem>+ <DropdownMenuSeparator />+ <DropdownMenuItem+ onClick={(e) => {+ e.stopPropagation();+ handleDeleteFolder(folder.id);+ }}+ className="text-xs gap-2 rounded-md px-2 py-1 text-destructive focus:text-destructive focus:bg-destructive/10"+ >+ <Trash2 size={11} />+ {t("notes.context.delete")}+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>+ )}</button>- <button- onClick={() => setShowAddNotesDialog(true)}- className="flex items-center justify-center gap-1.5 h-6 rounded-md border border-foreground/8 dark:border-white/8 text-xs text-foreground/40 hover:text-foreground/60 hover:border-foreground/15 hover:bg-foreground/3 dark:hover:bg-white/3 transition-colors"+ );+ })}++ {isCreatingFolder && (+ <div className="px-2">+ <input+ ref={newFolderInputRef}+ value={newFolderName}+ onChange={(e) => setNewFolderName(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === "Enter") handleCreateFolder();+ if (e.key === "Escape") {+ setIsCreatingFolder(false);+ setNewFolderName("");+ }+ }}+ onBlur={handleCreateFolder}+ placeholder={t("notes.folders.folderName")}+ className={cn(FOLDER_INPUT_CLASS, "placeholder:text-foreground/20")}+ />+ </div>+ )}+ </div>++ <div className="mx-3 h-px bg-border/10 dark:bg-white/4 my-2" />++ {/* Notes list */}+ <div className="flex items-center justify-between px-3 py-1">+ <span className="text-xs font-medium uppercase tracking-wider text-foreground/50 dark:text-foreground/25">+ {t("notes.list.title")}+ </span>+ <Button+ variant="ghost"+ size="icon"+ onClick={handleNewNote}+ aria-label={t("notes.list.newNote")}+ className="h-5 w-5 rounded-md text-muted-foreground/50 dark:text-muted-foreground/30 hover:text-foreground/60 hover:bg-foreground/5"+ >+ <Plus size={13} />+ </Button>+ </div>++ <div className="flex-1 overflow-y-auto">+ {isLoading ? (+ <div className="flex items-center justify-center py-8">+ <Loader2 size={12} className="animate-spin text-foreground/15" />+ </div>+ ) : notes.length === 0 ? (+ <div className="flex flex-col items-center justify-center py-8 px-4">+ <svg+ className="text-foreground dark:text-white mb-3"+ width="40"+ height="36"+ viewBox="0 0 40 36"+ fill="none">- {t("notes.addToFolder.addExisting")}- </button>+ <rect+ x="12"+ y="1"+ width="20"+ height="26"+ rx="2"+ transform="rotate(5 22 14)"+ fill="currentColor"+ fillOpacity={0.025}+ stroke="currentColor"+ strokeOpacity={0.06}+ />+ <rect+ x="8"+ y="3"+ width="20"+ height="26"+ rx="2"+ fill="currentColor"+ fillOpacity={0.04}+ stroke="currentColor"+ strokeOpacity={0.08}+ />+ <rect+ x="12"+ y="9"+ width="10"+ height="1.5"+ rx="0.75"+ fill="currentColor"+ fillOpacity={0.07}+ />+ <rect+ x="12"+ y="13"+ width="12"+ height="1.5"+ rx="0.75"+ fill="currentColor"+ fillOpacity={0.05}+ />+ <rect+ x="12"+ y="17"+ width="8"+ height="1.5"+ rx="0.75"+ fill="currentColor"+ fillOpacity={0.04}+ />+ </svg>+ <p className="text-xs text-foreground/50 dark:text-foreground/25 mb-3">+ {t("notes.empty.emptyFolder")}+ </p>+ <div className="flex flex-col gap-1.5 w-full max-w-36">+ <button+ onClick={handleNewNote}+ className="flex items-center justify-center gap-1.5 h-6 rounded-md bg-primary/8 dark:bg-primary/10 border border-primary/12 dark:border-primary/15 text-xs font-medium text-primary/70 hover:bg-primary/12 hover:text-primary hover:border-primary/20 transition-colors"+ >+ <Plus size={10} />+ {t("notes.empty.createNote")}+ </button>+ <button+ onClick={() => setShowAddNotesDialog(true)}+ className="flex items-center justify-center gap-1.5 h-6 rounded-md border border-foreground/8 dark:border-white/8 text-xs text-foreground/40 hover:text-foreground/60 hover:border-foreground/15 hover:bg-foreground/3 dark:hover:bg-white/3 transition-colors"+ >+ {t("notes.addToFolder.addExisting")}+ </button>+ </div></div>- </div>- ) : (- notes.map((note) => (- <NoteListItem- key={note.id}- note={note}- isActive={note.id === activeNoteId}- onClick={() => setActiveNoteId(note.id)}- onDelete={handleDelete}- folders={folders}- currentFolderId={activeFolderId}- onMoveToFolder={handleMoveToFolder}- onCreateFolderAndMove={handleCreateFolderAndMove}- dragHandlers={noteDragHandlers(note.id, note.title)}- isDragging={dragState.draggingNoteId === note.id}- />- ))- )}+ ) : (+ notes.map((note) => (+ <NoteListItem+ key={note.id}+ note={note}+ isActive={note.id === activeNoteId}+ onClick={() => setActiveNoteId(note.id)}+ onDelete={handleDelete}+ folders={folders}+ currentFolderId={activeFolderId}+ onMoveToFolder={handleMoveToFolder}+ onCreateFolderAndMove={handleCreateFolderAndMove}+ dragHandlers={noteDragHandlers(note.id, note.title)}+ isDragging={dragState.draggingNoteId === note.id}+ />+ ))+ )}+ </div></div></div>diff --git a/src/locales/de/translation.json b/src/locales/de/translation.jsonindex c1c2a084a..b0cf54d28 100644--- a/src/locales/de/translation.json+++ b/src/locales/de/translation.json@@ -1370,7 +1370,8 @@"meeting": {"title": "Besprechungsnotizen","description": "Sprechererkennung und strukturierte Zusammenfassungen",- "comingSoon": "Demnächst verfügbar"+ "comingSoon": "Demnächst verfügbar",+ "back": "Zurück"},"context": {"moveToFolder": "In Ordner verschieben",diff --git a/src/locales/en/translation.json b/src/locales/en/translation.jsonindex 2363943c2..731513c15 100644--- a/src/locales/en/translation.json+++ b/src/locales/en/translation.json@@ -1441,7 +1441,8 @@"meeting": {"title": "Meeting Notes","description": "Speaker identification & structured summaries",- "comingSoon": "Coming Soon"+ "comingSoon": "Coming Soon",+ "back": "Back"},"empty": {"title": "No notes here yet",diff --git a/src/locales/es/translation.json b/src/locales/es/translation.jsonindex bb9e8657a..edb4144a9 100644--- a/src/locales/es/translation.json+++ b/src/locales/es/translation.json@@ -1374,7 +1374,8 @@"meeting": {"title": "Notas de reunión","description": "Identificación de hablantes y resúmenes estructurados",- "comingSoon": "Próximamente"+ "comingSoon": "Próximamente",+ "back": "Atrás"},"context": {"moveToFolder": "Mover a carpeta",diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.jsonindex 4ccd8abc3..1924f0bb0 100644--- a/src/locales/fr/translation.json+++ b/src/locales/fr/translation.json@@ -1410,7 +1410,8 @@"meeting": {"title": "Notes de réunion","description": "Identification des intervenants et résumés structurés",- "comingSoon": "Bientôt disponible"+ "comingSoon": "Bientôt disponible",+ "back": "Retour"},"empty": {"title": "Aucune note ici pour l'instant",diff --git a/src/locales/it/translation.json b/src/locales/it/translation.jsonindex e7805021f..9f4bb4fc6 100644--- a/src/locales/it/translation.json+++ b/src/locales/it/translation.json@@ -1374,7 +1374,8 @@"meeting": {"title": "Note delle riunioni","description": "Identificazione degli interlocutori e riassunti strutturati",- "comingSoon": "Prossimamente"+ "comingSoon": "Prossimamente",+ "back": "Indietro"},"context": {"moveToFolder": "Sposta nella cartella",diff --git a/src/locales/ja/translation.json b/src/locales/ja/translation.jsonindex 6a9b17f59..d9c9a6ee7 100644--- a/src/locales/ja/translation.json+++ b/src/locales/ja/translation.json@@ -1349,7 +1349,8 @@"meeting": {"title": "議事録","description": "話者識別と構造化されたサマリー",- "comingSoon": "近日公開"+ "comingSoon": "近日公開",+ "back": "戻る"},"onboarding": {"llm": {diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.jsonindex 4387d5672..c08d5eb5c 100644--- a/src/locales/pt/translation.json+++ b/src/locales/pt/translation.json@@ -1374,7 +1374,8 @@"meeting": {"title": "Notas de reunião","description": "Identificação de falantes e resumos estruturados",- "comingSoon": "Em breve"+ "comingSoon": "Em breve",+ "back": "Voltar"},"context": {"moveToFolder": "Mover para pasta",diff --git a/src/locales/ru/translation.json b/src/locales/ru/translation.jsonindex 3989d31f8..06d2ff8ae 100644--- a/src/locales/ru/translation.json+++ b/src/locales/ru/translation.json@@ -1374,7 +1374,8 @@"meeting": {"title": "Заметки со встреч","description": "Определение говорящих и структурированные резюме",- "comingSoon": "Скоро"+ "comingSoon": "Скоро",+ "back": "Назад"},"context": {"moveToFolder": "Переместить в папку",diff --git a/src/locales/zh-CN/translation.json b/src/locales/zh-CN/translation.jsonindex 8fd8d17a0..c4ff9091a 100644--- a/src/locales/zh-CN/translation.json+++ b/src/locales/zh-CN/translation.json@@ -1370,7 +1370,8 @@"meeting": {"title": "会议笔记","description": "说话人识别与结构化摘要",- "comingSoon": "即将推出"+ "comingSoon": "即将推出",+ "back": "返回"},"context": {"moveToFolder": "移动到文件夹",diff --git a/src/locales/zh-TW/translation.json b/src/locales/zh-TW/translation.jsonindex ef2dbd9aa..a04b17775 100644--- a/src/locales/zh-TW/translation.json+++ b/src/locales/zh-TW/translation.json@@ -1370,7 +1370,8 @@"meeting": {"title": "會議筆記","description": "說話者辨識與結構化摘要",- "comingSoon": "即將推出"+ "comingSoon": "即將推出",+ "back": "返回"},"context": {"moveToFolder": "移動到資料夾",