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
Site: the floating nav no longer shows a sliver past its rounded edge
Eric Brownrout058ad10525aa
diff --git a/site/public/marketing/navigation.mjs b/site/public/marketing/navigation.mjsindex 6ce0be9a..47462161 100644--- a/site/public/marketing/navigation.mjs+++ b/site/public/marketing/navigation.mjs@@ -17,7 +17,8 @@ function paint() {const seam = endX + surfaceHeight / 2// Cover both antialiased joins so the page cannot show through the pill.left.style.transform = `translate(${endX}px, ${top}px) scale(${scale})`- middle.style.transform = `translate(${seam - 2}px, ${top}px) scale(${width - 2 * seam + 4}, ${scale})`+ // Shrink a full-width strip. Zoom rounding on a one-pixel strip gets magnified across the bar.+ middle.style.transform = `translate(${seam - 2}px, ${top}px) scale(${(width - 2 * seam + 4) / width}, ${scale})`right.style.transform = `translate(${width - seam}px, ${top}px) scale(${scale})`nav.style.setProperty('--nav-download-radius', (8 + (geometry.downloadRadius - 8) * position) + 'px')const dy = (pillTop + (pillHeight - height) / 2) * positiondiff --git a/site/public/marketing/site.css b/site/public/marketing/site.cssindex ff6f8871..43fba4e8 100644--- a/site/public/marketing/site.css+++ b/site/public/marketing/site.css@@ -1376,7 +1376,7 @@ body[data-background=ribbon] .hero-copy{padding-bottom:70px}}.sticky-header[data-scrolled] .nav-surface i { border-color: var(--hairline); }.nav-surface i:first-child { border-right: 0; border-radius: 100% 0 0 100% / 50% 0 0 50%; clip-path: ellipse(100% 50% at right center); }-.nav-surface i:nth-child(2) { width: 1px; border-inline: 0; }+.nav-surface i:nth-child(2) { width: 100%; border-inline: 0; }.nav-surface i:last-child { border-left: 0; border-radius: 0 100% 100% 0 / 0 50% 50% 0; clip-path: ellipse(100% 50% at left center); }.sticky-header :is(a, button, summary, .mobile-download-list) { pointer-events: auto; }.site-header {diff --git a/site/scripts/navigation.test.mjs b/site/scripts/navigation.test.mjsindex d2048a36..dc6114ae 100644--- a/site/scripts/navigation.test.mjs+++ b/site/scripts/navigation.test.mjs@@ -3,7 +3,21 @@ import { readFileSync } from 'node:fs'import vm from 'node:vm'const source = readFileSync(new URL('../public/marketing/navigation.mjs', import.meta.url), 'utf8')-for (const width of [1280, 390, 320]) {+const sheet = readFileSync(new URL('../public/marketing/site.css', import.meta.url), 'utf8')+assert.match(sheet, /\.nav-surface i:nth-child\(2\)\s*\{\s*width:\s*100%/)++function checkJoin(parts, width) {+ const values = part => part.style.transform.match(/-?[\d.]+/g).map(Number)+ const [left, , scaleX] = values(parts[1])+ const [rightCap] = values(parts[2])+ for (const dpr of [0.9, 1, 1.25, 1.5, 1.8, 2, 2.625]) {+ const paintedRight = left + Math.round(width * dpr) / dpr * scaleX+ const overlap = paintedRight - rightCap+ assert(overlap > 0.5 && overlap < 3.5, `center strip join at ${width}px and ${dpr}x: ${overlap}px`)+ }+}++for (const width of [1441, 1280, 761, 760, 390, 320]) {const phone = width < 761, height = phone ? 72 : 80const wordmark = { offsetWidth: phone ? 92 : 108, style: {} }const toggle = { offsetLeft: -44 }@@ -29,7 +43,13 @@ for (const width of [1280, 390, 320]) {const hero = { getBoundingClientRect: () => ({ bottom: 1000 - context.scrollY }) }vm.runInNewContext(source, context)const original = wordmark.style.transform- const advance = () => { const next = frame; frame = null; next(now += 16) }+ const advance = () => {+ const next = frame+ frame = null+ next(now += 16)+ checkJoin(surface.children, width)+ }+ checkJoin(surface.children, width)const move = y => { context.scrollY = y; scroll() }move(1000 - height - 1)assert(!frame, 'the full header stays still over the app')@@ -44,6 +64,7 @@ for (const width of [1280, 390, 320]) {advance()reduced = truemotionChange()+ checkJoin(surface.children, width)const compact = wordmark.style.transformconst x = el => parseFloat(el.style.transform.slice('translate('.length))const pillLeft = x(surface.children[0])