Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Folders: the title's hover background covers the whole name
Eric Brownrouta1818c1e5c2a
diff --git a/app/src/renderer/src/screens/Folder.tsx b/app/src/renderer/src/screens/Folder.tsxindex 2ad3667b..20c7e4f4 100644--- a/app/src/renderer/src/screens/Folder.tsx+++ b/app/src/renderer/src/screens/Folder.tsx@@ -35,7 +35,7 @@ function FolderTitle({ folder }: { folder: FolderRow }) {const cancelled = useRef(false)useEffect(() => { if (editing) { setDraft(folder.name); cancelled.current = false } }, [editing, folder.name])if (!editing) {- return <h1 data-testid="folder-title"><button onClick={() => setEditing(true)} title={t('Rename')} className="note-title-btn -mx-1 max-w-full rounded-lg px-1 text-start">{folder.name}</button></h1>+ return <h1 data-testid="folder-title"><button onClick={() => setEditing(true)} title={t('Rename')} className="note-title-btn -mx-1 rounded-lg px-1 text-start">{folder.name}</button></h1>}const done = () => {setEditing(false)diff --git a/app/src/renderer/src/screens/Note.tsx b/app/src/renderer/src/screens/Note.tsxindex 38ac0fab..461bb3d0 100644--- a/app/src/renderer/src/screens/Note.tsx+++ b/app/src/renderer/src/screens/Note.tsx@@ -484,7 +484,7 @@ function Title({ id, title, editing, onEdit }: { id: string; title: string; editif (!editing) {return (<h1 data-testid="note-title" className={cls}>- <button onClick={() => onEdit(true)} title={t('Rename')} className="note-title-btn -mx-1 max-w-full rounded-lg px-1 text-start">{title}</button>+ <button onClick={() => onEdit(true)} title={t('Rename')} className="note-title-btn -mx-1 rounded-lg px-1 text-start">{title}</button></h1>)}diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.cssindex 43851359..627cb442 100644--- a/app/src/renderer/src/styles.css+++ b/app/src/renderer/src/styles.css@@ -416,7 +416,8 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:v.bar-btn { transition: transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro) var(--ease-out), background-color var(--dur-micro) ease, color var(--dur-micro) ease; }.bar-btn:hover { color: var(--ink); background: var(--card); }/* the note's title renames on click: a faint wash says so */-.note-title-btn { transition: background-color var(--dur-micro) ease; }+/* Match the title’s negative side margins so padding cannot squeeze the final glyph. */+.note-title-btn { max-width:calc(100% + .5rem);overflow-wrap:anywhere;transition: background-color var(--dur-micro) ease; }.note-title-btn:hover { background: color-mix(in srgb, var(--line) 60%, transparent); }.note-title-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }.bar-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }