Skip to content

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.

Site: the FAQ is a stack of cards that open like the walkthrough steps

Eric Brownrout9db574e291e6
diff --git a/site/content/home.html b/site/content/home.html
index 70b2a47c..bc8c2ef7 100644
--- a/site/content/home.html
+++ b/site/content/home.html
@@ -1006,78 +1006,60 @@
></span></a>
</div>
</section>
-<section aria-labelledby="faq-heading" class="faq-story continuation" id="questions" tabindex="-1">
- <div><h2 id="faq-heading">FAQ</h2></div>
- <div class="faq-list">
- <details name="yogurt-faq">
- <summary>
- What kind of computer do I need?<span aria-hidden="true" class="faq-plus"
- ><svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 20 20">
- <path d="M10 4v12M4 10h12"></path></svg
- ></span>
- </summary>
- <p>
- A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer,
- or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your
- computer is too slow, Yogurt tells you during setup. On Windows and Linux, you connect your calendar
- with a private calendar link.
- </p>
+<section aria-labelledby="faq-heading" class="faq-section section-wrap" id="questions" tabindex="-1">
+ <div class="section-intro"><h2 id="faq-heading">FAQ</h2></div>
+ <div class="faq-cards">
+ <details name="yogurt-faq" id="faq-computer">
+ <summary>What kind of computer do I need?<span class="tour-plus" aria-hidden="true"></span></summary>
+ <div class="faq-answer">
+ <p>
+ A Mac with Apple silicon and macOS 14.4 or newer, a 64-bit PC with Windows 10 (version 2004) or newer,
+ or a 64-bit Linux computer with Ubuntu 22.04 or newer. Each needs at least 8 GB of memory. If your
+ computer is too slow, Yogurt tells you during setup. On Windows and Linux, you connect your calendar
+ with a private calendar link.
+ </p>
+ </div>
</details>
- <details name="yogurt-faq">
- <summary>
- Does Yogurt join my meetings?<span aria-hidden="true" class="faq-plus"
- ><svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 20 20">
- <path d="M10 4v12M4 10h12"></path></svg
- ></span>
- </summary>
- <p>
- No. Yogurt records your microphone and the sound playing on your computer. No bot joins the call, so let
- the other people on the call know you’re recording.
- </p>
+ <details name="yogurt-faq" id="faq-meetings">
+ <summary>Does Yogurt join my meetings?<span class="tour-plus" aria-hidden="true"></span></summary>
+ <div class="faq-answer">
+ <p>
+ No. Yogurt records your microphone and the sound playing on your computer. No bot joins the call, so let
+ the other people on the call know you’re recording.
+ </p>
+ </div>
</details>
- <details name="yogurt-faq">
- <summary>
- Are recordings saved?<span aria-hidden="true" class="faq-plus"
- ><svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 20 20">
- <path d="M10 4v12M4 10h12"></path></svg
- ></span>
- </summary>
- <p>Yes. Your recordings, transcripts, and notes are saved locally on your computer.</p>
+ <details name="yogurt-faq" id="faq-recordings">
+ <summary>Are recordings saved?<span class="tour-plus" aria-hidden="true"></span></summary>
+ <div class="faq-answer">
+ <p>Yes. Your recordings, transcripts, and notes are saved locally on your computer.</p>
+ </div>
</details>
- <details name="yogurt-faq">
- <summary>
- Is Yogurt free?<span aria-hidden="true" class="faq-plus"
- ><svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 20 20">
- <path d="M10 4v12M4 10h12"></path></svg
- ></span>
- </summary>
- <p>Yes. Yogurt is free and open source under the MIT license.</p>
+ <details name="yogurt-faq" id="faq-free">
+ <summary>Is Yogurt free?<span class="tour-plus" aria-hidden="true"></span></summary>
+ <div class="faq-answer">
+ <p>Yes. Yogurt is free and open source under the MIT license.</p>
+ </div>
</details>
- <details name="yogurt-faq">
- <summary>
- Which languages does Yogurt understand?<span aria-hidden="true" class="faq-plus"
- ><svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 20 20">
- <path d="M10 4v12M4 10h12"></path></svg
- ></span>
- </summary>
- <p>
- Yogurt transcribes 99 languages. English is the default and the fastest. For meetings in other
- languages, pick Multi-language in Settings, or from the language menu in a note, even during a call. In
- Multi-language mode, everyone can speak their own language, and Yogurt keeps up when someone switches
- languages mid-meeting. Summaries are written in the meeting’s main language, or one you choose.
- </p>
+ <details name="yogurt-faq" id="faq-languages">
+ <summary>Which languages does Yogurt understand?<span class="tour-plus" aria-hidden="true"></span></summary>
+ <div class="faq-answer">
+ <p>
+ Yogurt transcribes 99 languages. English is the default and the fastest. For meetings in other
+ languages, pick Multi-language in Settings, or from the language menu in a note, even during a call. In
+ Multi-language mode, everyone can speak their own language, and Yogurt keeps up when someone switches
+ languages mid-meeting. Summaries are written in the meeting’s main language, or one you choose.
+ </p>
+ </div>
</details>
- <details id="faq-offline" name="yogurt-faq">
- <summary>
- Does Yogurt work offline?<span aria-hidden="true" class="faq-plus"
- ><svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 20 20">
- <path d="M10 4v12M4 10h12"></path></svg
- ></span>
- </summary>
- <p>
- Yes. After a one-time download of the AI models, transcription and summaries run locally on your
- computer.
- </p>
+ <details name="yogurt-faq" id="faq-offline">
+ <summary>Does Yogurt work offline?<span class="tour-plus" aria-hidden="true"></span></summary>
+ <div class="faq-answer">
+ <p>
+ Yes. After a one-time download of the AI models, transcription and summaries run locally on your
+ computer.
+ </p>
+ </div>
</details>
</div>
</section>
diff --git a/site/public/marketing/reserve.mjs b/site/public/marketing/reserve.mjs
index 4d3e7ee3..2e04f9b5 100644
--- a/site/public/marketing/reserve.mjs
+++ b/site/public/marketing/reserve.mjs
@@ -1,4 +1,4 @@
-// Measure the tallest single open row at this width. Keyboard focus and native details stay in the live list.
+// Measure the tallest single open row at this width. Keyboard focus stays in the live list.
function reserve(list, rows, select) {
let lastWidth = 0
function measure(force = false) {
@@ -30,16 +30,13 @@ function reserve(list, rows, select) {
new ResizeObserver(() => measure()).observe(list)
document.fonts.ready.then(() => measure(true))
}
-reserve(document.querySelector('.faq-list'), 'details', (row, open) => {
- row.open = open
-})
reserve(document.querySelector('.tour-list'), '.tour-item', (row, open) => {
row.dataset.selected = String(open)
})
function revealAnswer() {
const item = document.getElementById(location.hash.slice(1))
- if (item?.matches('.faq-list details')) item.open = true
+ if (item?.matches('.faq-cards details')) item.open = true
}
window.addEventListener('hashchange', revealAnswer)
revealAnswer()
diff --git a/site/public/marketing/site.css b/site/public/marketing/site.css
index 9749f7cf..0c9c782a 100644
--- a/site/public/marketing/site.css
+++ b/site/public/marketing/site.css
@@ -2359,31 +2359,82 @@ body[data-background=ribbon] .hero-copy{padding-bottom:70px}
margin: 0;
}
.section-wrap:is(.app-features, .open-progress),
-.faq-story {
+.faq-section {
padding-top: 128px;
}
-.faq-story {
- padding-bottom: 20px;
+.faq-section {
+ padding-bottom: 128px;
}
-.faq-story .faq-list {
- align-content: start;
- gap: 0;
+.faq-cards {
+ --card-gap: 7px;
+ display: grid;
+ gap: var(--card-gap);
+ padding: var(--card-gap);
+ background: var(--panel);
+ border: 1px solid var(--hairline);
+ border-radius: 12px;
}
-.faq-story .faq-list details {
- background: transparent;
- border-radius: 0;
- border-bottom: 1px solid var(--hairline);
+.faq-cards details {
+ min-width: 0;
+ background: var(--page);
+ border-radius: 7px;
+}
+.faq-cards summary {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) 14px;
+ gap: 16px;
+ align-items: center;
+ min-height: 56px;
+ padding: 14px 20px;
+ color: var(--ink);
+ font-size: 15px;
+ line-height: 1.45;
+ font-weight: 500;
+ cursor: pointer;
+ list-style: none;
}
-.faq-story .faq-list summary,
-.faq-story .faq-list details[open] summary {
- padding: 22px 0;
- line-height: 1.5;
+.faq-cards summary::-webkit-details-marker { display: none; }
+.faq-cards summary:focus-visible {
+ border-radius: 7px;
+ outline: 2px solid var(--link);
+ outline-offset: -3px;
}
-.faq-story .faq-list p {
- padding: 0 38px 20px 0;
+.faq-cards .tour-plus { line-height: 1; }
+.faq-cards .tour-plus::before { content: '+'; }
+.faq-cards details[open] .tour-plus::before { content: '−'; color: var(--link); }
+.faq-cards details::details-content {
+ display: grid;
+ grid-template-rows: 0fr;
+}
+.faq-cards details[open]::details-content { grid-template-rows: 1fr; }
+.faq-answer {
+ min-height: 0;
+ overflow: hidden;
+ opacity: 0;
+ visibility: hidden;
+}
+.faq-cards details[open] .faq-answer { opacity: 1; visibility: inherit; }
+.faq-answer p {
+ max-width: 68ch;
margin: 0;
- line-height: 1.7;
+ padding: 0 20px 18px;
color: var(--reading);
+ font-size: 14px;
+ line-height: 1.65;
+ overflow-wrap: anywhere;
+}
+@media (prefers-reduced-motion: no-preference) {
+ .faq-cards details::details-content {
+ transition: grid-template-rows 240ms ease-out, content-visibility 240ms allow-discrete;
+ }
+ .faq-cards details[open] .faq-answer {
+ transition: opacity 120ms ease-out 70ms;
+ }
+}
+@media (max-width: 760px) {
+ .faq-cards { --card-gap: 6px; }
+ .faq-cards summary { min-height: 52px; padding: 14px 16px; font-size: 14px; }
+ .faq-answer p { padding: 0 16px 16px; }
}
.site-footer {
margin-top: 24px;
@@ -2411,13 +2462,10 @@ body[data-background=ribbon] .hero-copy{padding-bottom:70px}
display: inline-flex !important;
}
.section-wrap:is(.app-features, .open-progress),
- .faq-story {
+ .faq-section {
padding-top: 88px;
}
- .faq-story {
- row-gap: 6px;
- padding-bottom: 12px;
- }
+ .faq-section { padding-bottom: 88px; }
}
/* The same renderer supplies the initial frame and the complete reduced-motion still. */
diff --git a/site/scripts/faq-clearance.test.mjs b/site/scripts/faq-clearance.test.mjs
new file mode 100644
index 00000000..ff52aa97
--- /dev/null
+++ b/site/scripts/faq-clearance.test.mjs
@@ -0,0 +1,94 @@
+import assert from 'node:assert/strict'
+
+// Runs in the production document. Keep measuring while both the opening and closing
+// cards are moving, including when an unusually long answer pushes the footer farther down.
+async function measureFaq(longAnswers) {
+ const frame = document.querySelector('#questions .faq-cards')
+ const tab = document.querySelector('.site-footer .footer-dock')
+ const cards = [...frame.querySelectorAll('details')]
+ const originals = cards.map(card => card.querySelector('p').textContent)
+ await document.fonts.ready
+ frame.scrollIntoView({block: 'start', behavior: 'instant'})
+ if (longAnswers) {
+ cards.forEach((card, i) => {
+ card.querySelector('p').textContent = Array(5).fill(originals[i].trim()).join(' ')
+ })
+ }
+ const gap = () => tab.getBoundingClientRect().top - frame.getBoundingClientRect().bottom
+ const readings = {}
+ let frames = 0
+ async function sample(state, ms) {
+ const end = performance.now() + ms
+ let min = gap()
+ do {
+ await new Promise(requestAnimationFrame)
+ min = Math.min(min, gap())
+ frames++
+ } while (performance.now() < end)
+ readings[state] = min
+ }
+ function toggle(i) {
+ cards[i].querySelector('summary').click()
+ }
+ try {
+ await sample('closed', 30)
+ for (const [i, card] of cards.entries()) {
+ toggle(i)
+ await sample(card.id, 300)
+ if (!card.open || cards.filter(item => item.open).length !== 1) throw Error('FAQ selection failed')
+ const answer = card.querySelector('.faq-answer')
+ const text = card.querySelector('p').getBoundingClientRect()
+ if (!text.height || text.bottom > answer.getBoundingClientRect().bottom + 1 ||
+ text.bottom > frame.getBoundingClientRect().bottom || getComputedStyle(answer).opacity !== '1') {
+ throw Error('Answer did not finish expanding: ' + card.id)
+ }
+ }
+ toggle(cards.length - 1)
+ await sample('closing-last', 300)
+ for (const [n, i] of [4, 5, 0, 5, 5, 2, 1, 4, 5].entries()) {
+ toggle(i)
+ await sample('rapid-' + n, 35)
+ }
+ await sample('last-settled', 300)
+ return { readings, frames, theme: document.documentElement.dataset.theme, count: cards.length }
+ } finally {
+ cards.forEach((card, i) => {
+ card.open = false
+ if (longAnswers) card.querySelector('p').textContent = originals[i]
+ })
+ }
+}
+
+export async function verifyFaqClearance(call, origin) {
+ await call('Page.bringToFront')
+ for (const width of [320, 390, 768, 1280]) {
+ await call('Emulation.setDeviceMetricsOverride', {width, height: 900, deviceScaleFactor: 1, mobile: width < 761})
+ for (const theme of ['light', 'dark']) {
+ await call('Emulation.setEmulatedMedia', {features: [
+ {name: 'prefers-color-scheme', value: theme}, {name: 'prefers-reduced-motion', value: 'no-preference'},
+ ]})
+ for (const long of [false, true]) {
+ const url = new URL('/', origin)
+ url.searchParams.set('faq-check', [width, theme, long].join('-'))
+ url.hash = 'questions'
+ await call('Page.navigate', {url: url.href})
+ const sample = await call('Runtime.evaluate', {awaitPromise: true, returnByValue: true, expression: `(async () => {
+ if (document.readyState !== 'complete') await new Promise(resolve => addEventListener('load', resolve, {once:true}))
+ return (${measureFaq})(${long})
+ })()`})
+ assert(!sample.exceptionDetails, sample.exceptionDetails?.exception?.description)
+ const {readings, frames, count, theme: actualTheme} = sample.result.value
+ assert.equal(count, 6)
+ assert.equal(actualTheme, theme)
+ assert(frames > 20, 'must observe intermediate animation frames')
+ const required = (width <= 760 ? 88 : 128) + 24 // section spacing and footer clearance
+ const minimum = Math.min(...Object.values(readings))
+ const label = width + 'px ' + theme + (long ? ' extended' : ' published')
+ for (const [state, distance] of Object.entries(readings)) {
+ assert(distance >= required - 0.5, label + ' ' + state + ': ' + distance + 'px to the footer tab')
+ }
+ console.log('FAQ clearance', label, JSON.stringify({minimum, frames, readings}))
+ }
+ }
+ }
+}
diff --git a/site/scripts/stills.mjs b/site/scripts/stills.mjs
index 9f0eb998..36f9335c 100644
--- a/site/scripts/stills.mjs
+++ b/site/scripts/stills.mjs
@@ -70,6 +70,8 @@ try {
assert(resting.summaryFits && resting.lastLineVisible,'the complete Summary fits above the bottom fade')
}
assert.deepEqual(errors,[],'live Summary and Ask have no runtime errors')
+ const { verifyFaqClearance } = await import('./faq-clearance.test.mjs')
+ await verifyFaqClearance(call, origin)
await call('Emulation.setEmulatedMedia',{features:[{name:'prefers-color-scheme',value:'light'},{name:'prefers-reduced-motion',value:'reduce'}]})
const images={}
const {createHash}=await import('node:crypto')