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
revert: undo macOS titlebar spacing experiments
Gabriel Stein5d44582582c6
diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsxindex f7de8e105..3d5625c06 100644--- a/src/components/ControlPanel.tsx+++ b/src/components/ControlPanel.tsx@@ -21,7 +21,6 @@ import {import { useSettingsStore } from "../stores/settingsStore";import ControlPanelSidebar, { type ControlPanelView } from "./ControlPanelSidebar";import WindowControls from "./WindowControls";-import { cn } from "./lib/utils";import { getCachedPlatform } from "../utils/platform";import { setActiveNoteId, setActiveFolderId, initializeNotes } from "../stores/noteStore";@@ -631,39 +630,15 @@ export default function ControlPanel() {/></div><main className="flex-1 flex flex-col overflow-hidden">- {platform !== "darwin" && (- <div- className="flex items-center justify-between w-full h-10 shrink-0"- style={{ WebkitAppRegion: "drag" } as React.CSSProperties}- >- {isMeetingMode && (- <div className="ml-2" style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}>- <Button- variant="outline-flat"- size="sm"- onClick={handleExitMeetingMode}- className="h-7 px-2.5 pl-1.5 gap-1"- >- <ChevronLeft size={14} strokeWidth={1.8} />- {t("controlPanel.backToNotes")}- </Button>- </div>- )}- <div className="flex-1" />- <div className="pr-1" style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}>- <WindowControls />- </div>- </div>- )}- {platform === "darwin" && (- <div- className="w-full h-8 shrink-0"- style={{ WebkitAppRegion: "drag" } as React.CSSProperties}- />- )}- <div className="flex-1 overflow-y-auto relative">- {platform === "darwin" && isMeetingMode && (- <div className="absolute top-2 left-4 z-10">+ <div+ className="flex items-center justify-between w-full h-10 shrink-0"+ style={{ WebkitAppRegion: "drag" } as React.CSSProperties}+ >+ {isMeetingMode && (+ <div+ className={platform === "darwin" ? "ml-[84px] mt-[16px]" : "ml-2"}+ style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}+ ><Buttonvariant="outline-flat"size="sm"@@ -675,6 +650,14 @@ export default function ControlPanel() {</Button></div>)}+ <div className="flex-1" />+ {platform !== "darwin" && (+ <div className="pr-1" style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}>+ <WindowControls />+ </div>+ )}+ </div>+ <div className="flex-1 overflow-y-auto pt-1">{usage?.isPastDue && activeView === "home" && (<div className="max-w-3xl mx-auto w-full mb-3"><div className="rounded-lg border border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-950/50 p-3">diff --git a/src/components/ControlPanelSidebar.tsx b/src/components/ControlPanelSidebar.tsxindex abb8bbd2c..d1c37e444 100644--- a/src/components/ControlPanelSidebar.tsx+++ b/src/components/ControlPanelSidebar.tsx@@ -100,7 +100,7 @@ export default function ControlPanelSidebar({/>{onOpenSearch && (- <div className="px-2 pt-1 pb-1">+ <div className="px-2 pt-2 pb-1"><buttononClick={onOpenSearch}className="group flex items-center w-full h-7 px-2.5 rounded-md border border-border/70 dark:border-white/25 bg-transparent hover:bg-foreground/5 dark:hover:bg-white/5 transition-colors gap-2 outline-none focus-visible:ring-1 focus-visible:ring-primary/30"diff --git a/src/components/notes/EmbeddedChat.tsx b/src/components/notes/EmbeddedChat.tsxindex 019e5710f..04c0b3733 100644--- a/src/components/notes/EmbeddedChat.tsx+++ b/src/components/notes/EmbeddedChat.tsx@@ -34,7 +34,6 @@ interface EmbeddedChatProps {activeConversationId?: number | null;onSwitchConversation?: (id: number) => void;onNewChat?: () => void;- sidebarClassName?: string;}function EmptyState() {@@ -65,7 +64,6 @@ export default function EmbeddedChat({activeConversationId,onSwitchConversation,onNewChat,- sidebarClassName,}: EmbeddedChatProps) {const { t } = useTranslation();@@ -225,8 +223,7 @@ export default function EmbeddedChat({"border-l border-border/25 dark:border-white/10","bg-surface-1 dark:bg-surface-2","flex flex-col",- "min-h-0",- sidebarClassName+ "min-h-0")}>{chatContent}diff --git a/src/components/notes/NoteEditor.tsx b/src/components/notes/NoteEditor.tsxindex 206b9194c..f8be1ec46 100644--- a/src/components/notes/NoteEditor.tsx+++ b/src/components/notes/NoteEditor.tsx@@ -34,9 +34,6 @@ import EmbeddedChat, { type EmbeddedChatMode } from "./EmbeddedChat";import { useEmbeddedChat } from "../../hooks/useEmbeddedChat";import { normalizeDbDate } from "../../utils/dateFormatting";import { parseTranscriptSegments } from "../../utils/parseTranscriptSegments";-import { getCachedPlatform } from "../../utils/platform";--const isMac = getCachedPlatform() === "darwin";function formatNoteDate(dateStr: string): string {const date = normalizeDbDate(dateStr);@@ -600,7 +597,6 @@ export default function NoteEditor({activeConversationId={embeddedChat.activeConversationId}onSwitchConversation={embeddedChat.switchConversation}onNewChat={embeddedChat.startNewChat}- sidebarClassName={isMac ? "-mt-8 pt-8" : undefined}/>)}</div>