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
Buttons: one quiet text action, one ghost and one bordered secondary style across the app
Eric Brownroutb0360bbcb248
diff --git a/app/e2e/agendaCard.spec.ts b/app/e2e/agendaCard.spec.tsindex bafeec7c..6bc14db9 100644--- a/app/e2e/agendaCard.spec.ts+++ b/app/e2e/agendaCard.spec.ts@@ -229,8 +229,8 @@ test('long agenda titles stay on one line and forty attendees expand without movexpect(footerBounds.bottom).toBeLessThanOrEqual(bounds.bottom)await expect(card.getByRole('link', { name: 'Join meeting' })).toBeVisible()await expect(card.getByRole('link', { name: 'Join meeting' })).toHaveAttribute('href', 'https://meet.google.com/lar-gec-all')- await expect(card.getByRole('link', { name: 'Join meeting' })).toHaveClass('workspace-button agenda-open-note')- await expect(card.getByRole('link', { name: 'Join meeting' })).toHaveCSS('height', '28px')+ await expect(card.getByRole('link', { name: 'Join meeting' })).toHaveClass('workspace-button')+ await expect(card.getByRole('link', { name: 'Join meeting' })).toHaveCSS('height', '30px')await expect(card.locator('.agenda-inspector-actions')).toHaveCSS('justify-content', 'flex-end')expect(await card.locator('.agenda-inspector-actions').evaluate(el => el.scrollWidth - el.clientWidth)).toBe(0)await expect(card.getByTestId('event-open')).toBeVisible()diff --git a/app/e2e/deleteRecording.spec.ts b/app/e2e/deleteRecording.spec.tsindex 4b5fef8a..f92744d5 100644--- a/app/e2e/deleteRecording.spec.ts+++ b/app/e2e/deleteRecording.spec.ts@@ -38,7 +38,7 @@ test('deleting audio asks first, preserves the note and search, and survives Traconst toast = page.getByTestId('recording-deleted-toast')await expect(toast).toContainText('Recording deleted')await expect(page.getByTestId('recording-settings')).toHaveText('Settings')- expect(await toast.evaluate(el => ['.app-toast-title', '.app-toast-action'].every(selector => {+ expect(await toast.evaluate(el => ['.app-toast-title', '[data-testid=recording-settings]'].every(selector => {const text = el.querySelector(selector)!, range = document.createRange(); range.selectNodeContents(text)return new Set(Array.from(range.getClientRects()).map(r => r.top)).size === 1 && text.scrollWidth <= text.clientWidth}))).toBe(true)diff --git a/app/e2e/detect.spec.ts b/app/e2e/detect.spec.tsindex 093c1586..9ebe14af 100644--- a/app/e2e/detect.spec.ts+++ b/app/e2e/detect.spec.ts@@ -39,6 +39,8 @@ test('a call starts: the card offers notes, and Take notes opens the meeting recawait signals(app, { micApps: [zoom], events: [event()] })const p = await card(app)await expect(p.getByTestId('prompt-heading')).toHaveText('Take notes?')+ await expect(p.getByTestId('prompt-heading')).toHaveCSS('font-size', '13px')+ await expect(p.getByTestId('prompt-title')).toHaveCSS('font-size', '12px')await expect(p.getByTestId('prompt-take-notes')).toHaveText('Start recording')await expect(p.getByTestId('prompt-take-notes')).not.toHaveClass(/primary/)await expect(p.getByTestId('prompt-title')).toHaveText('Zoom call')diff --git a/app/e2e/firstRunPolish.spec.ts b/app/e2e/firstRunPolish.spec.tsindex 9adaddf2..48961c04 100644--- a/app/e2e/firstRunPolish.spec.ts+++ b/app/e2e/firstRunPolish.spec.ts@@ -181,10 +181,10 @@ test('permission help starts collapsed and uses the same secondary action in onbawait help.locator('summary').click()const restart = page.getByTestId('settings-guide-relaunch')await expect(restart).toBeVisible()- await expect(restart).toHaveCSS('height', '36px')- await expect(restart).toHaveClass(/ob-button secondary/)+ await expect(restart).toHaveCSS('height', '30px')+ await expect(restart).toHaveClass(/workspace-button/)await expect(restart.locator('svg')).toHaveCount(0)- if (surface === 'onboarding') expect((await restart.boundingBox())!.height).toBe((await page.getByTestId('step-later').boundingBox())!.height)+ if (surface === 'onboarding') await expect(page.getByTestId('step-later')).toHaveCSS('height', '26px')await page.screenshot({ path: info.outputPath(`help-${surface}-${colorScheme}-expanded.png`) })await help.locator('summary').click()}diff --git a/app/e2e/modelRecovery.spec.ts b/app/e2e/modelRecovery.spec.tsindex 29ca803e..461f39dc 100644--- a/app/e2e/modelRecovery.spec.ts+++ b/app/e2e/modelRecovery.spec.ts@@ -32,7 +32,7 @@ test('a failed notes-model download explains waiting notes and answers, and retrawait page.getByTestId('chat-input').press('Enter')const chatError = page.getByTestId('chat-turn').last().getByTestId('notes-model-error')await expect(chatError).toContainText('needs 4 GB more free space')- await expect(chatError.getByTestId('notes-model-retry')).toHaveCSS('text-decoration-line', 'underline')+ await expect(chatError.getByTestId('notes-model-retry')).toHaveClass('text-action')await expect(chatError).toHaveAttribute('role', 'status')await expect(page.locator('.ask-conversation')).toHaveAttribute('aria-busy', 'false')await expect(page.getByTestId('note-state')).toHaveAttribute('data-state', 'recording')@@ -61,7 +61,7 @@ test('a failed notes-model download explains waiting notes and answers, and retrawait expect.poll(() => page.evaluate(id => window.yogurt.notes.get(id).then(notes => notes.status), id)).toBe('waiting')await expect(page.getByTestId('notes-model-error')).toHaveCount(1)await expect(page.getByTestId('notes-model-error')).toContainText('needs 4 GB more free space')- await expect(page.getByTestId('notes-model-retry')).toHaveCSS('text-decoration-line', 'underline')+ await expect(page.getByTestId('notes-model-retry')).toHaveClass('text-action')await expect(page.getByTestId('note-enhanced-waiting')).toHaveCount(0)// A rejected Retry request remains visible and retryable instead of escaping the click handler.await page.getByTestId('notes-model-retry').click()diff --git a/app/e2e/noteDateStates.spec.ts b/app/e2e/noteDateStates.spec.tsindex f247ab54..888aaa01 100644--- a/app/e2e/noteDateStates.spec.ts+++ b/app/e2e/noteDateStates.spec.ts@@ -28,8 +28,8 @@ for (const theme of ['light', 'dark'] as const) for (const status of ['notDetermif (status !== 'granted') {const label = status === 'error' ? 'Try again' : status === 'denied' ? 'Open System Settings' : 'Connect calendar'const action = card.getByRole('button', { name: label, exact: true })- await expect(action).toHaveClass('workspace-button agenda-open-note')- await expect(action).toHaveCSS('height', '28px')+ await expect(action).toHaveClass('workspace-button')+ await expect(action).toHaveCSS('height', '30px')// the label fits its button: a collapsed button once let it spill over "Calendar access is off"expect(await action.evaluate(el => el.scrollWidth <= el.clientWidth)).toBe(true)if (status === 'denied') {diff --git a/app/e2e/noteTools.spec.ts b/app/e2e/noteTools.spec.tsindex 9ee6d488..8f213ce3 100644--- a/app/e2e/noteTools.spec.ts+++ b/app/e2e/noteTools.spec.ts@@ -46,8 +46,8 @@ test('meeting tools expose all copy choices, an anchored search, and a multilineawait expect(close).toHaveAttribute('title', 'Close (Esc)')await expect(page.locator('.transcript-find-controls')).toHaveCSS('gap', '8px')for (const arrow of [previous, next, close]) {- await expect(arrow).toHaveCSS('width', '24px')- await expect(arrow).toHaveCSS('height', '24px')+ await expect(arrow).toHaveCSS('width', '28px')+ await expect(arrow).toHaveCSS('height', '28px')await expect(arrow.locator('svg')).toHaveAttribute('width', '14')}const arrowX = (await next.boundingBox())!.xdiff --git a/app/e2e/notesSetup.spec.ts b/app/e2e/notesSetup.spec.tsindex df0cb6ad..b7ff3dbc 100644--- a/app/e2e/notesSetup.spec.ts+++ b/app/e2e/notesSetup.spec.ts@@ -52,6 +52,10 @@ async function expectClear(page: Page) {}async function expectQuietLayout(page: Page, upgrading: boolean, failed: boolean) {+ if (upgrading) {+ await expect(page.getByTestId('notes-setup-skip')).toHaveCSS('font-size', '12px')+ await expect(page.getByTestId('notes-setup-skip')).toHaveCSS('line-height', '18px')+ }const popup = page.getByTestId('notes-setup')await expect(popup).toHaveCSS('width', '408px')await expect(popup.locator('.notes-download-progress')).toHaveCSS('height', '3px')@@ -306,7 +310,7 @@ test('skipping from the popover confirms only success, opens Settings, and dismiawait expect(toast).toContainText('AI upgrade skipped')await expect(toast.getByRole('button', { name: 'Settings', exact: true })).toBeVisible()expect(await toast.evaluate(el => {- const title = el.querySelector('.app-toast-title')!, action = el.querySelector('.app-toast-action')!+ const title = el.querySelector('.app-toast-title')!, action = el.querySelector('.workspace-button')!return [title, action].every(line => {const range = document.createRange()range.selectNodeContents(line)@@ -319,7 +323,8 @@ test('skipping from the popover confirms only success, opens Settings, and dismiawait expect(page.getByTestId('settings')).toBeVisible()await expect.poll(() => page.evaluate(() => window.yogurt.nav.current())).toBe('/settings/notes-model')} else if (dismiss === 'close') {- await toast.locator('.app-toast-close').click()+ await toast.hover()+ await toast.getByRole('button', { name: 'Close', exact: true }).click()} else {await page.mouse.move(0, 0)}diff --git a/app/e2e/onboarding.spec.ts b/app/e2e/onboarding.spec.tsindex a92f9a4d..7118301a 100644--- a/app/e2e/onboarding.spec.ts+++ b/app/e2e/onboarding.spec.ts@@ -122,7 +122,7 @@ test('the welcome says what Yogurt is on one screen, and Get started goes on to} finally { await again.close() }})-test('every screen uses the same buttons: Allow and Not now are the same height and sit in the same place on every step', async () => {+test('every screen keeps Allow and the quiet Not now action centered in the same place', async () => {const dir = mkdtempSync(join(tmpdir(), 'yogurt-e2e-'))const app = await launchWith(dir, firstRun)try {@@ -139,7 +139,15 @@ test('every screen uses the same buttons: Allow and Not now are the same height// the step's entrance settles before measuringawait page.waitForTimeout(500)const allow = await box('step-allow'), later = await box('step-later')- expect(later.height).toBe(allow.height)+ expect(later.height).toBe(26)+ expect(later.y + later.height / 2).toBe(allow.y + allow.height / 2)+ await expect(page.getByTestId('step-later')).toHaveClass(/text-action/)+ await expect(page.getByTestId('step-later')).toHaveCSS('font-size', '13px')+ await expect(page.getByTestId('step-later')).toHaveCSS('min-width', '112px')+ await expect(page.getByTestId('step-later')).toHaveCSS('padding-inline-start', '19px')+ await expect(page.getByTestId('step-later')).toHaveCSS('line-height', await page.getByTestId('step-allow').evaluate(el => getComputedStyle(el).lineHeight))+ await page.getByTestId('step-later').hover()+ await expect(page.getByTestId('step-later')).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')expect(allow.height).toBe(start.height)if (first) {expect(allow.y).toBe(first.allow.y)diff --git a/app/e2e/peopleCalendar.spec.ts b/app/e2e/peopleCalendar.spec.tsindex 27a058da..d5f2f811 100644--- a/app/e2e/peopleCalendar.spec.ts+++ b/app/e2e/peopleCalendar.spec.ts@@ -56,8 +56,8 @@ for (const theme of ['light', 'dark'] as const) test(`split metadata popovers stawait expect(date).not.toContainText('[email protected]')await expect(date.getByRole('button', { name: 'Open note', exact: true })).toHaveCount(0)await expect(date.getByRole('link', { name: 'Join meeting' })).toHaveAttribute('href', events[0].url)- await expect(date.getByRole('link', { name: 'Join meeting' })).toHaveClass('workspace-button agenda-open-note')- await expect(date.getByRole('link', { name: 'Join meeting' })).toHaveCSS('height', '28px')+ await expect(date.getByRole('link', { name: 'Join meeting' })).toHaveClass('workspace-button')+ await expect(date.getByRole('link', { name: 'Join meeting' })).toHaveCSS('height', '30px')await expect(date.locator('.agenda-inspector-actions')).toHaveCSS('justify-content', 'flex-end')await expect(date.getByTestId('people-list')).toHaveCount(0)await page.getByTestId('note-date-events-toggle').click()diff --git a/app/e2e/rewriteRecovery.spec.ts b/app/e2e/rewriteRecovery.spec.tsindex c0e57e01..d66fac52 100644--- a/app/e2e/rewriteRecovery.spec.ts+++ b/app/e2e/rewriteRecovery.spec.ts@@ -42,7 +42,9 @@ test('a failed rewrite keeps the previous edited Enhanced note visible, copyableawait expect(page.getByTestId('note-enhanced-rewrite-failed')).toBeVisible()await expect(page.getByTestId('note-enhanced-rewrite-failed')).toHaveAttribute('role', 'alert')const retry = page.getByTestId('note-enhanced-rewrite-failed').getByRole('button', { name: 'Try again' })- await expect(retry).toHaveCSS('text-decoration-line', 'underline')+ await expect(retry).toHaveClass('text-action')+ await expect(retry).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')+ await retry.hover()expect(await retry.evaluate((el) => getComputedStyle(el).color)).not.toBe(await page.getByText("Yogurt couldn't regenerate the summary, so your previous version is still shown.").evaluate((el) => getComputedStyle(el).color))await expect(page.getByTestId('note-enhanced-editor')).toHaveText(prior)await page.getByTestId('share-button').click()diff --git a/app/src/renderer/src/components/Agenda.tsx b/app/src/renderer/src/components/Agenda.tsxindex d1cef588..0840b1c7 100644--- a/app/src/renderer/src/components/Agenda.tsx+++ b/app/src/renderer/src/components/Agenda.tsx@@ -126,8 +126,8 @@ export function Agenda({ revision, recording, onStart, onOpen, jumpTo }: Actions</div><div className="agenda-navigation"><span className="agenda-month">{new Date(weekAnchor).toLocaleDateString(language(), { month: 'long', year: 'numeric' })}</span>- <button className="workspace-icon" aria-label={t('Previous day')} onClick={() => step(-1)}><ChevronLeft size={15} className="rtl:-scale-x-100" /></button>- <button className="workspace-icon" aria-label={t('Next day')} onClick={() => step(1)}><ChevronRight size={15} className="rtl:-scale-x-100" /></button>+ <button className="ghost-btn workspace-icon" aria-label={t('Previous day')} onClick={() => step(-1)}><ChevronLeft size={15} className="rtl:-scale-x-100" /></button>+ <button className="ghost-btn workspace-icon" aria-label={t('Next day')} onClick={() => step(1)}><ChevronRight size={15} className="rtl:-scale-x-100" /></button></div><div className="agenda-week" aria-label={t('Choose agenda date')}>{weekDates(weekAnchor).map((at) => {@@ -229,7 +229,7 @@ function EventDetails({ motionProps, event, recording, onOpen, onStart, now, onC<i className="agenda-inspector-arrow" aria-hidden="true" /><div className="agenda-inspector-content"><div className="agenda-inspector-heading"><h3 id="agenda-detail-title" tabIndex={-1}>{event.title || t('Meeting')}</h3>- <button className="workspace-icon" aria-label={t('Close')} onClick={() => onClose()}><X size={16} aria-hidden="true" /></button>+ <button className="ghost-btn workspace-icon" aria-label={t('Close')} onClick={() => onClose()}><X size={16} aria-hidden="true" /></button></div><div className="agenda-inspector-line agenda-inspector-time"><Clock size={15} aria-hidden="true" /><div><p>{timeOf(event.start)} – {timeOf(event.end)}</p>@@ -239,14 +239,14 @@ function EventDetails({ motionProps, event, recording, onOpen, onStart, now, onC<ul id="agenda-detail-people" aria-label={t('People')}>{(expanded ? event.attendees : event.attendees.slice(0, 5)).map((person, i) => <li key={`${person.name}-${i}`} title={person.email || undefined}>{personName(person.name)}{expanded && person.email && person.email !== personName(person.name) && <span>{person.email}</span>}</li>)}</ul>- {!expanded && event.attendees.length > 5 && <button className="agenda-more-people" aria-expanded={false} aria-controls="agenda-detail-people" onClick={() => setExpanded(true)}>{t('and {count} more', { count: event.attendees.length - 5 })}</button>}+ {!expanded && event.attendees.length > 5 && <button className="text-action mt-2" aria-expanded={false} aria-controls="agenda-detail-people" onClick={() => setExpanded(true)}>{t('and {count} more', { count: event.attendees.length - 5 })}</button>}</div></div></ScrollFade>}- {action === 'start' && <button data-testid="event-open" disabled={pending} className="workspace-button agenda-open-note primary self-start" onClick={() => void act()}><Mic size={13} aria-hidden="true" />{t('Take notes')}</button>}+ {action === 'start' && <button data-testid="event-open" disabled={pending} className="workspace-button primary self-start" onClick={() => void act()}><Mic size={13} aria-hidden="true" />{t('Take notes')}</button>}{(event.calendar || action && action !== 'start' || url) && <div className="agenda-inspector-footer" data-testid="agenda-detail-footer">{event.calendar && <div className="agenda-inspector-line"><CalendarDays size={15} aria-hidden="true" /><p>{event.calendar.name}{event.calendar.source && <span>{event.calendar.source}</span>}</p></div>}{(action && action !== 'start' || url) && <div className="agenda-inspector-actions">- {action && action !== 'start' && <button data-testid="event-open" disabled={pending} className="workspace-button agenda-open-note" title={action === 'open' ? t('Open note') : t('Prepare note')} onClick={() => void act()}><FileText size={13} aria-hidden="true" /><span>{action === 'open' ? t('Open note') : t('Prepare note')}</span></button>}- {url && <a className="workspace-button agenda-open-note" title={t('Join meeting')} href={url} target="_blank" rel="noreferrer"><span>{t('Join meeting')}</span><ExternalLink size={12} aria-hidden="true" /></a>}+ {action && action !== 'start' && <button data-testid="event-open" disabled={pending} className="workspace-button" title={action === 'open' ? t('Open note') : t('Prepare note')} onClick={() => void act()}><FileText size={13} aria-hidden="true" /><span>{action === 'open' ? t('Open note') : t('Prepare note')}</span></button>}+ {url && <a className="workspace-button" title={t('Join meeting')} href={url} target="_blank" rel="noreferrer"><span>{t('Join meeting')}</span><ExternalLink size={12} aria-hidden="true" /></a>}</div>}</div>}{failed && <p role="alert" className="text-danger">{t("Yogurt couldn't start the notes. Try again in a moment.")}</p>}diff --git a/app/src/renderer/src/components/AskConversation.tsx b/app/src/renderer/src/components/AskConversation.tsxindex 02fa4639..183d98a9 100644--- a/app/src/renderer/src/components/AskConversation.tsx+++ b/app/src/renderer/src/components/AskConversation.tsx@@ -263,7 +263,7 @@ export function AskConversation({ id, pendingDraftKey, initial, loadError = fals</button>const results = <>{!!offset && <>- {!!scoped.length && <div role="group" aria-label={t('In this chat')}><h3>{t('In this chat')}<button type="button" className="ask-picker-clear" disabled={busy}+ {!!scoped.length && <div role="group" aria-label={t('In this chat')}><h3>{t('In this chat')}<button type="button" className="text-action ask-picker-clear" disabled={busy}onMouseDown={e => e.preventDefault()} onClick={() => void remove(chips)}>{t('Clear')}</button></h3>{scoped.map((c, i) => targetRow(c, i))}{!!scopeMore && <button type="button" role="option" tabIndex={-1} aria-selected={false} data-active={selected === offset - 1 || undefined} id={`${prefix}-context-${offset - 1}`}@@ -286,8 +286,8 @@ export function AskConversation({ id, pendingDraftKey, initial, loadError = fals<h2 id={panel ? 'meeting-chat-title' : undefined} title={[chat?.title || t('New chat'), ...(chat?.chips.map(chipTitle) ?? [])].join('\n')}>{chat?.title || t('New chat')}</h2><div className="ask-header-actions">{chat && <ConversationActions id={id} title={chat.title} onNew={fresh} onDeleted={onDeleted} />}- {onExpand && <button type="button" data-testid="chat-expand" className="chat-icon" onClick={onExpand} aria-label={t('Open in Ask')} title={t('Open in Ask')}><Maximize2 size={15} aria-hidden="true" /></button>}- {onClose && <button type="button" data-testid="chat-close" className="chat-icon" onClick={onClose} aria-label={t('Close')} title={t('Close')}><X size={16} aria-hidden="true" /></button>}+ {onExpand && <button type="button" data-testid="chat-expand" className="ghost-btn workspace-icon" onClick={onExpand} aria-label={t('Open in Ask')} title={t('Open in Ask')}><Maximize2 size={15} aria-hidden="true" /></button>}+ {onClose && <button type="button" data-testid="chat-close" className="ghost-btn workspace-icon" onClick={onClose} aria-label={t('Close')} title={t('Close')}><X size={16} aria-hidden="true" /></button>}</div></header>}<div className="ask-thread-wrap">@@ -298,7 +298,7 @@ export function AskConversation({ id, pendingDraftKey, initial, loadError = fals{panel && suggestions}</LoadingContent></div></div></ScrollFade>- {follow.behind && <button className="chat-latest" data-testid="chat-latest" aria-label={t('Back to latest')} onClick={follow.latest}><ArrowDown size={15} /></button>}+ {follow.behind && <button className="workspace-button workspace-icon chat-latest" data-testid="chat-latest" aria-label={t('Back to latest')} onClick={follow.latest}><ArrowDown size={15} /></button>}</div><div className={`ask-composer${panel ? ' chat-composer' : ''}`}>{error && <p data-testid={panel ? "chat-send-error" : "chat-page-error"} role="alert" className="chat-error">{t("Couldn't save your changes")}</p>}@@ -359,7 +359,7 @@ function Turn({ turn, chat, panel, showCopy, onSource, onRetry }: { showCopy: bo? <NotesModelWait downloading={percent => <p role="status" className="text-sm text-muted">{t("Your question is waiting for Yogurt's AI to download.")} <span className="whitespace-nowrap">{percent}</span></p>}><p role="status" className="text-sm text-muted">{t('Getting ready to answer. Yogurt is still setting up.')}</p></NotesModelWait>: <p className="chat-progress" role="status">{chat.waitsForMeeting && turn.status === 'waiting' ? t('Yogurt will answer once the meeting ends.') : <><ThinkingDots /><StepText step={turn.status === 'waiting' ? undefined : turn.step} /></>}</p>)}{answer && <div data-testid={`${prefix}-answer`} dir="auto" data-streaming={live || undefined} className={`note-prose chat-answer${live ? ' stream-caret' : ''}`}><AnswerText md={answer} live={live} sources={turn.sources} onSource={onSource} /></div>}- {answer && !live && <div className="chat-answer-actions"><button className="chat-copy-action" data-testid="chat-copy-answer" aria-label={copied ? t('Copied') : t('Copy answer')} onClick={() => {+ {answer && !live && <div className="chat-answer-actions"><button className="ghost-btn chat-copy-action" data-testid="chat-copy-answer" aria-label={copied ? t('Copied') : t('Copy answer')} onClick={() => {void navigator.clipboard.writeText(turn.answer).then(() => { setCopied(true); setFailed(false) }).catch(() => setFailed(true))}}><Swap show={copied ? 'done' : 'copy'} options={{ copy: <Copy size={13} />, done: <Check size={13} /> }} /><SwapText text={copied ? t('Copied') : t('Copy')} widest={t('Copied')} /></button>{turn.scope && <AnswerScope chips={turn.scope} />}<span role="status" className={failed ? 'text-danger' : 'sr-only'}>{failed ? t("Yogurt couldn't copy.") : copied ? t('Copied') : ''}</span></div>}{turn.status === 'stopped' && <p className="text-xs text-muted">{answer ? t('Stopped') : t('Stopped before answering')}</p>}diff --git a/app/src/renderer/src/components/Chat.tsx b/app/src/renderer/src/components/Chat.tsxindex 5ef4bccd..373a82a6 100644--- a/app/src/renderer/src/components/Chat.tsx+++ b/app/src/renderer/src/components/Chat.tsx@@ -126,7 +126,7 @@ export function Ask({ id, recording, anchor, onSource }: { id: string; recording</div></dialog>return <>- <button id="meeting-ask" ref={trigger} data-testid="chat-open" className="chat-trigger" type="button" aria-expanded={open} aria-controls="meeting-chat"+ <button id="meeting-ask" ref={trigger} data-testid="chat-open" className="workspace-button chat-trigger" type="button" aria-expanded={open} aria-controls="meeting-chat"title={onMac() ? t('Ask Yogurt (⌘J)') : `${t('Ask Yogurt')} (${keys('⌘J')})`} onClick={() => {if (open && !closing.current) { close(); return }// Programmatic and pointer opens share the same anchored motion.diff --git a/app/src/renderer/src/components/ConversationActions.tsx b/app/src/renderer/src/components/ConversationActions.tsxindex 7121b7cc..c08b4450 100644--- a/app/src/renderer/src/components/ConversationActions.tsx+++ b/app/src/renderer/src/components/ConversationActions.tsx@@ -18,7 +18,7 @@ export function ConversationActions({ id, title, onNew, onDeleted, onEdit, classconst cancel = () => { setDialog(undefined); button.current?.focus({ preventScroll: true }) }return <><Menu.Root modal={false}>- <Menu.Trigger ref={mountButton} data-testid="chat-menu" className={`chat-icon ask-menu-trigger ${className}`} aria-label={t('More')} title={t('More')}><Ellipsis size={17} aria-hidden="true" /></Menu.Trigger>+ <Menu.Trigger ref={mountButton} data-testid="chat-menu" className={`ghost-btn workspace-icon ask-menu-trigger ${className}`} aria-label={t('More')} title={t('More')}><Ellipsis size={17} aria-hidden="true" /></Menu.Trigger><Menu.Portal container={container}><Menu.Positioner side="bottom" align="end" sideOffset={6} className="ask-menu-positioner"><Menu.Popup className="menu-entry ask-actions-menu" aria-label={t('More')} finalFocus={dialog ? false : button} onKeyDown={e => { if (e.key === 'Escape') e.stopPropagation() }}>@@ -64,7 +64,7 @@ export function ConversationDialog({ id, title, kind, container, onClose, onDele<div className="modal-actions"><button type="submit" data-testid={kind === 'delete' ? 'chat-delete-yes' : 'chat-rename-save'} disabled={busy || kind === 'rename' && !draft.trim()}className={`modal-button ${kind === 'delete' ? 'danger' : 'primary'}`}>{kind === 'delete' ? t('Delete') : t('Save')}</button>- <ModalClose type="button" data-dialog-cancel data-testid="chat-delete-cancel" className="modal-button" disabled={busy}>{t('Cancel')}</ModalClose>+ <ModalClose type="button" data-dialog-cancel data-testid="chat-delete-cancel" className="workspace-button" disabled={busy}>{t('Cancel')}</ModalClose></div></form></Modal>diff --git a/app/src/renderer/src/components/DeleteNote.tsx b/app/src/renderer/src/components/DeleteNote.tsxindex da7174c4..8018c4bb 100644--- a/app/src/renderer/src/components/DeleteNote.tsx+++ b/app/src/renderer/src/components/DeleteNote.tsx@@ -29,7 +29,7 @@ export function DeleteNote({ id, title, onDone }: { id: string; title: string; o: t("Yogurt couldn't finish deleting this note.")}</span></InlineError>}<div className="modal-actions"><button data-testid="delete-yes" onClick={() => void yes()} disabled={busy} className="modal-button danger">{t('Delete forever')}</button>- <ModalClose data-testid="delete-cancel" data-dialog-cancel disabled={busy} className="modal-button">{t('Cancel')}</ModalClose>+ <ModalClose data-testid="delete-cancel" data-dialog-cancel disabled={busy} className="workspace-button">{t('Cancel')}</ModalClose></div></Modal>)diff --git a/app/src/renderer/src/components/FinishSetup.tsx b/app/src/renderer/src/components/FinishSetup.tsxindex 45590663..c26d5b14 100644--- a/app/src/renderer/src/components/FinishSetup.tsx+++ b/app/src/renderer/src/components/FinishSetup.tsx@@ -116,7 +116,7 @@ export function FinishSetup({ collapsed = false }: { collapsed?: boolean }) {<h2>{t('Finish setup')}</h2><div className="finish-setup-controls"><Menu.Root modal={false}>- <Menu.Trigger data-testid="finish-setup-more" aria-label={t('More')} title={t('More')} className="finish-setup-close no-drag"><Ellipsis size={14} aria-hidden="true" /></Menu.Trigger>+ <Menu.Trigger data-testid="finish-setup-more" aria-label={t('More')} title={t('More')} className="ghost-btn workspace-icon no-drag"><Ellipsis size={14} aria-hidden="true" /></Menu.Trigger><Menu.Portal><Menu.Positioner side="bottom" align="end" sideOffset={6} className="ask-menu-positioner"><Menu.Popup ref={menu} className="menu-entry ask-actions-menu" aria-label={t('More')} onKeyDown={e => { if (e.key === 'Escape') e.stopPropagation() }}>@@ -125,7 +125,7 @@ export function FinishSetup({ collapsed = false }: { collapsed?: boolean }) {</Menu.Positioner></Menu.Portal></Menu.Root>- <button data-testid="finish-setup-close" aria-label={t('Close')} title={t('Close')} className="finish-setup-close no-drag" onClick={close}>+ <button data-testid="finish-setup-close" aria-label={t('Close')} title={t('Close')} className="ghost-btn workspace-icon no-drag" onClick={close}><X size={14} aria-hidden="true" /></button></div>@@ -138,7 +138,7 @@ export function FinishSetup({ collapsed = false }: { collapsed?: boolean }) {<div className="finish-setup-copy"><p title={c.name}>{m.kind === 'accessibility' ? t('Accessibility') : c.name}</p><p id={`finish-setup-detail-${m.kind}`} data-testid="finish-setup-detail" className="finish-setup-detail">{finishSetupReason(m.kind)}</p></div>- <TurnOn kind={m.kind} status={m.status} onOn={reload} testId="finish-setup-fix" descriptionId={`finish-setup-detail-${m.kind}`} className="workspace-button finish-setup-action" />+ <TurnOn kind={m.kind} status={m.status} onOn={reload} testId="finish-setup-fix" descriptionId={`finish-setup-detail-${m.kind}`} className="workspace-button" /></li>)})}diff --git a/app/src/renderer/src/components/FolderDialogs.tsx b/app/src/renderer/src/components/FolderDialogs.tsxindex 017aab0a..dfbe485a 100644--- a/app/src/renderer/src/components/FolderDialogs.tsx+++ b/app/src/renderer/src/components/FolderDialogs.tsx@@ -41,7 +41,7 @@ export function FolderName({ folder, onDone }: { folder?: Folder; onDone: (made?{failed && <p className="modal-error" role="alert">{t("Yogurt couldn't save this folder.")}</p>}<div className="modal-actions"><button data-testid="folder-name-save" type="submit" disabled={busy || !name.trim()} className="modal-button primary">{folder ? t('Rename') : t('Create folder')}</button>- <ModalClose data-testid="folder-name-cancel" type="button" data-dialog-cancel disabled={busy} className="modal-button">{t('Cancel')}</ModalClose>+ <ModalClose data-testid="folder-name-cancel" type="button" data-dialog-cancel disabled={busy} className="workspace-button">{t('Cancel')}</ModalClose></div></form></Modal>@@ -62,7 +62,7 @@ export function DeleteFolder({ folder, onDone }: { folder: Folder; onDone: (dele{failed && <p className="modal-error" role="alert">{t("Yogurt couldn't delete this folder.")}</p>}<div className="modal-actions"><button data-testid="folder-delete-yes" onClick={() => void yes()} disabled={busy} className="modal-button danger">{t('Delete folder')}</button>- <ModalClose data-testid="folder-delete-cancel" data-dialog-cancel disabled={busy} className="modal-button">{t('Cancel')}</ModalClose>+ <ModalClose data-testid="folder-delete-cancel" data-dialog-cancel disabled={busy} className="workspace-button">{t('Cancel')}</ModalClose></div></Modal>)@@ -86,7 +86,7 @@ export function FolderAppearanceDialog({ folder, onDone }: { folder: Folder; onD{failed && <p className="modal-error" role="alert">{t("Yogurt couldn't save this folder.")}</p>}<div className="modal-actions"><button data-testid="folder-appearance-save" onClick={() => void save()} disabled={busy} className="modal-button primary">{t('Save')}</button>- <ModalClose data-dialog-cancel disabled={busy} className="modal-button">{t('Cancel')}</ModalClose>+ <ModalClose data-dialog-cancel disabled={busy} className="workspace-button">{t('Cancel')}</ModalClose></div></Modal>}diff --git a/app/src/renderer/src/components/FolderPicker.tsx b/app/src/renderer/src/components/FolderPicker.tsxindex a1e7dc8d..0b39b922 100644--- a/app/src/renderer/src/components/FolderPicker.tsx+++ b/app/src/renderer/src/components/FolderPicker.tsx@@ -165,8 +165,8 @@ export function FolderChip({ meetingId, onNew, suggestion: manualSuggestion, row{proposed ? <div data-testid="folder-suggestion" role="group" aria-label={accepted ? t('Folders') : t('Suggested')} inert={held?.phase === 'dismissed'} data-phase={held?.phase} className={row ? 'meeting-folder-pill meeting-folder-proposal' : 'note-chip note-folder-proposal flex items-center rounded-md border border-line text-[13px] text-muted'}>{trigger}<div className="note-folder-actions" inert={accepted || held?.phase === 'dismissed'}>- <button data-testid="folder-suggestion-cancel" className="workspace-icon" disabled={adding || !!held} onClick={() => void dismissSuggestion()} aria-label={t('Dismiss suggestion')} title={t('Dismiss suggestion')}><X size={row ? 12 : 15} aria-hidden="true" /></button>- <button data-testid="folder-suggestion-confirm" className="workspace-icon" disabled={adding || !!held} onClick={() => void confirmSuggestion()} aria-label={t('Add to folder')} title={t('Add to folder')}><Check size={row ? 12 : 15} aria-hidden="true" /></button>+ <button data-testid="folder-suggestion-cancel" className="ghost-btn workspace-icon" disabled={adding || !!held} onClick={() => void dismissSuggestion()} aria-label={t('Dismiss suggestion')} title={t('Dismiss suggestion')}><X size={row ? 12 : 15} aria-hidden="true" /></button>+ <button data-testid="folder-suggestion-confirm" className="ghost-btn workspace-icon" disabled={adding || !!held} onClick={() => void confirmSuggestion()} aria-label={t('Add to folder')} title={t('Add to folder')}><Check size={row ? 12 : 15} aria-hidden="true" /></button></div></div> : trigger}{presence.value && <div data-testid="folder-menu" {...presence.props} data-anchor="start" role="menu" aria-label={t('Add to folder')} onKeyDown={key}diff --git a/app/src/renderer/src/components/FoldersNav.tsx b/app/src/renderer/src/components/FoldersNav.tsxindex e99db701..e7a65ed7 100644--- a/app/src/renderer/src/components/FoldersNav.tsx+++ b/app/src/renderer/src/components/FoldersNav.tsx@@ -137,7 +137,7 @@ function FolderItem({ folder, collapsed, sidebarMotion, current, go, onRename, o<FolderGlyph appearance={folder} /><span>{folder.name}</span><small data-testid="sidebar-folder-count" aria-label={t('{count} meetings', { count: folder.count })}>{folder.count}</small></button>- <button ref={more} data-testid="sidebar-folder-more" className="workspace-icon workspace-folder-more" aria-haspopup="menu" aria-expanded={!!menu}+ <button ref={more} data-testid="sidebar-folder-more" className="ghost-btn workspace-icon workspace-folder-more" aria-haspopup="menu" aria-expanded={!!menu}aria-label={t('More for “{name}”', { name: folder.name })} title={t('More')} onClick={() => (menu ? setMenu(undefined) : openMenu(true))}><Ellipsis size={15} aria-hidden="true" /></button>diff --git a/app/src/renderer/src/components/MeetingRow.tsx b/app/src/renderer/src/components/MeetingRow.tsxindex b76cba99..05cf6b29 100644--- a/app/src/renderer/src/components/MeetingRow.tsx+++ b/app/src/renderer/src/components/MeetingRow.tsx@@ -64,7 +64,7 @@ export function MeetingRow({ id, recording, children, selected, targets, membersdeleteMeetingFromKey(e, e.target === row.current?.querySelector('.native-meeting-link'), busy || (recording && !selected), () => onTrash(targets))}}>{children(folderId => { setSuggestedId(folderId); setInFolders(true); setOpen('button') },- <button ref={button} data-testid="past-note-more" className="workspace-icon meeting-more row-swap-actions" aria-label={t('More')} title={t('More')} aria-haspopup="menu" aria-expanded={!!open} aria-controls={open ? menuId : undefined}+ <button ref={button} data-testid="past-note-more" className="ghost-btn workspace-icon meeting-more row-swap-actions" aria-label={t('More')} title={t('More')} aria-haspopup="menu" aria-expanded={!!open} aria-controls={open ? menuId : undefined}onClick={() => { if (open) close(); else show('button') }}><Ellipsis size={14} aria-hidden="true" /></button>)}{presence.value && createPortal(<div {...presence.props} ref={menu} id={menuId} data-testid="meeting-row-menu" role="menu" aria-label={t('More')} onKeyDown={menuKey}className="menu-entry meeting-row-menu" style={{ visibility: 'hidden' }}>diff --git a/app/src/renderer/src/components/MeetingSelectionBar.tsx b/app/src/renderer/src/components/MeetingSelectionBar.tsxindex afe65bba..908252be 100644--- a/app/src/renderer/src/components/MeetingSelectionBar.tsx+++ b/app/src/renderer/src/components/MeetingSelectionBar.tsx@@ -61,7 +61,7 @@ export function MeetingSelectionBar({ ids, memberships, list, busy, clear, trash}}><FolderPicker key={ids.join(',')} meetingIds={ids} memberships={memberships} testId="selection-folders" onNew={() => { setOpen(false); setNaming(true) }} /></div>}</div><button className="workspace-button meeting-selection-delete" disabled={busy} onClick={trash}><Trash2 size={14} aria-hidden="true" />{t('Delete')}</button>- <button className="workspace-icon" aria-label={t('Clear selection')} onClick={e => { clear(); if (!e.detail) list.current?.querySelector<HTMLButtonElement>('.native-meeting-link')?.focus() }}><X size={16} aria-hidden="true" /></button>+ <button className="ghost-btn workspace-icon" aria-label={t('Clear selection')} onClick={e => { clear(); if (!e.detail) list.current?.querySelector<HTMLButtonElement>('.native-meeting-link')?.focus() }}><X size={16} aria-hidden="true" /></button></div>{naming && <FolderName onDone={made => {setNaming(false); trigger.current?.focus()diff --git a/app/src/renderer/src/components/NoteDate.tsx b/app/src/renderer/src/components/NoteDate.tsxindex fd0d9682..b97570b0 100644--- a/app/src/renderer/src/components/NoteDate.tsx+++ b/app/src/renderer/src/components/NoteDate.tsx@@ -127,7 +127,7 @@ function DateCard({ m, details, refreshLinked, chip, motionProps, onClose }: { m</div>const recoveryAction = result && !available ? <div className="note-date-access flex flex-wrap items-center gap-x-3 gap-y-2"><p role="status" className="text-xs text-muted">{result.status === 'error' ? t("Yogurt couldn't read your calendar") : t('Calendar access is off')}</p>- <div className="ms-auto flex shrink-0"><button ref={recovery} className="workspace-button agenda-open-note" onClick={result.status === 'error' ? refresh : connect}>{result.status === 'error' ? t('Try again') : result.status === 'denied' ? t('Open System Settings') : t('Connect calendar')}</button></div>+ <div className="ms-auto flex shrink-0"><button ref={recovery} className="workspace-button" onClick={result.status === 'error' ? refresh : connect}>{result.status === 'error' ? t('Try again') : result.status === 'denied' ? t('Open System Settings') : t('Connect calendar')}</button></div></div> : nullreturn <div ref={card} data-testid="note-date-card" {...motionProps} data-anchor="start" data-picking={browsing || picking} role="dialog" aria-label={t('Date')}className="people-card menu-entry note-date-card absolute start-0 top-full z-30 mt-2 w-[min(340px,calc(100vw-48px))] rounded-lg border border-line bg-float text-ink shadow-[var(--shadow)]"@@ -137,8 +137,8 @@ function DateCard({ m, details, refreshLinked, chip, motionProps, onClose }: { m<h3 ref={heading} data-testid="note-date-heading" tabIndex={-1} aria-live="polite" aria-label={fullDate} title={fullDate}>{compactDate ? shortDate : fullDate}</h3><div className="flex shrink-0 items-center gap-1">{(available || (picking && browsing)) && <>- <button type="button" ref={previous} className="workspace-icon" data-testid="note-date-previous" aria-label={t('Previous day')} disabled={linking} onClick={e => { pickerKeyboard.current = e.detail === 0; setPicking(true); browse(shiftCalendarDay(day, -1)) }}><ChevronLeft size={15} aria-hidden="true" /></button>- <button type="button" className="workspace-icon" data-testid="note-date-next" aria-label={t('Next day')} disabled={linking} onClick={e => { pickerKeyboard.current = e.detail === 0; setPicking(true); browse(shiftCalendarDay(day, 1)) }}><ChevronRight size={15} aria-hidden="true" /></button>+ <button type="button" ref={previous} className="ghost-btn workspace-icon" data-testid="note-date-previous" aria-label={t('Previous day')} disabled={linking} onClick={e => { pickerKeyboard.current = e.detail === 0; setPicking(true); browse(shiftCalendarDay(day, -1)) }}><ChevronLeft size={15} aria-hidden="true" /></button>+ <button type="button" className="ghost-btn workspace-icon" data-testid="note-date-next" aria-label={t('Next day')} disabled={linking} onClick={e => { pickerKeyboard.current = e.detail === 0; setPicking(true); browse(shiftCalendarDay(day, 1)) }}><ChevronRight size={15} aria-hidden="true" /></button></>}</div></div>}@@ -163,10 +163,10 @@ function DateCard({ m, details, refreshLinked, chip, motionProps, onClose }: { m<div className="note-date-reveal" data-ready={!!result}>{available && event === null && <div className="note-date-access flex items-center gap-3 text-xs text-muted"><p role="status">{t('Calendar event unavailable')}</p>- <button className="ms-auto shrink-0 underline" onClick={refresh}>{t('Try again')}</button>+ <button className="text-action ms-auto" onClick={refresh}>{t('Try again')}</button></div>}{url && <div className="agenda-inspector-actions">- <a className="workspace-button agenda-open-note" title={t('Join meeting')} href={url} target="_blank" rel="noreferrer"><span>{t('Join meeting')}</span><ExternalLink size={12} aria-hidden="true" /></a>+ <a className="workspace-button" title={t('Join meeting')} href={url} target="_blank" rel="noreferrer"><span>{t('Join meeting')}</span><ExternalLink size={12} aria-hidden="true" /></a></div>}{result?.status !== 'unsupported' && recoveryAction}</div>diff --git a/app/src/renderer/src/components/NoteMenu.tsx b/app/src/renderer/src/components/NoteMenu.tsxindex 5792a2aa..d606ff24 100644--- a/app/src/renderer/src/components/NoteMenu.tsx+++ b/app/src/renderer/src/components/NoteMenu.tsx@@ -55,7 +55,7 @@ export function NoteMenu({ recording, savePending, onRename, onDelete, folders,return (<div ref={root} className="relative"><button ref={button} data-testid="note-menu-button" aria-haspopup={rewriteOpen ? "dialog" : "menu"} aria-expanded={!!open || rewriteOpen} aria-label={t('More')} title={t('More')}- onClick={(e) => { if (rewriteOpen) close(); else setOpen((o) => o ? false : e.detail > 0 ? 'pointer' : 'keyboard') }} className="bar-btn grid size-7 place-items-center rounded-md text-muted"><Ellipsis size={17} strokeWidth={1.75} aria-hidden="true" /></button>+ onClick={(e) => { if (rewriteOpen) close(); else setOpen((o) => o ? false : e.detail > 0 ? 'pointer' : 'keyboard') }} className="ghost-btn workspace-icon"><Ellipsis size={17} strokeWidth={1.75} aria-hidden="true" /></button>{presence.value === 'rewrite' ? (<div key="rewrite" role="dialog" data-testid="note-regenerate" aria-label={hasSummary ? t('Regenerate summary') : t('Generate summary')}aria-describedby={edited ? 'note-rewrite-description' : undefined} {...presence.props} data-anchor="end"diff --git a/app/src/renderer/src/components/NoteReadingPane.tsx b/app/src/renderer/src/components/NoteReadingPane.tsxindex e8f26ac6..b9e93c59 100644--- a/app/src/renderer/src/components/NoteReadingPane.tsx+++ b/app/src/renderer/src/components/NoteReadingPane.tsx@@ -27,6 +27,6 @@ export function NoteReadingPane({ active, summary, generating, writing, resettin<div ref={content} className="note-page-width note-notes-body">{children}</div></section></ScrollFade></div>- {follow.behind && <button type="button" className="note-latest" data-testid="note-summary-latest" onClick={follow.latest}><ArrowDown size={12} aria-hidden="true" />{t('Latest')}</button>}+ {follow.behind && <button type="button" className="workspace-button note-latest" data-testid="note-summary-latest" onClick={follow.latest}><ArrowDown size={12} aria-hidden="true" />{t('Latest')}</button>}</div>}diff --git a/app/src/renderer/src/components/NotesModelWait.tsx b/app/src/renderer/src/components/NotesModelWait.tsxindex 6699c649..c5d36d62 100644--- a/app/src/renderer/src/components/NotesModelWait.tsx+++ b/app/src/renderer/src/components/NotesModelWait.tsx@@ -29,7 +29,7 @@ export function NotesModelWait({ children, downloading }: { children: ReactNode;<div data-testid="notes-model-error" role="status" className="flex flex-col items-start gap-2 text-[14px] text-muted"><p className="font-medium text-ink">{t("The notes model couldn't download.")}</p><p>{setup.notesError}</p>- <button data-testid="notes-model-retry" onClick={() => void retry()} disabled={retrying} className="rounded px-1 font-medium text-accent underline underline-offset-2 disabled:opacity-50">+ <button data-testid="notes-model-retry" onClick={() => void retry()} disabled={retrying} className="text-action">{retrying ? t('Retrying…') : t('Retry download')}</button>{retryFailed && <p className="text-danger">{t("Yogurt couldn't restart the download.")}</p>}diff --git a/app/src/renderer/src/components/NotesSetup.tsx b/app/src/renderer/src/components/NotesSetup.tsxindex 5896a533..90208545 100644--- a/app/src/renderer/src/components/NotesSetup.tsx+++ b/app/src/renderer/src/components/NotesSetup.tsx@@ -73,8 +73,8 @@ export function NotesSetup({ go }: { go: (route: string) => void }) {? error: upgrading ? t("Once this model is ready, we'll remove the old one.") : t('You can record meetings. AI summaries and Ask work when this finishes.')}</p>{(failed || upgrading) && <div className="notes-download-actions">- {failed && <button data-testid="notes-setup-retry" className="notes-download-retry" disabled={retrying} onClick={() => void retry()}>{retrying ? t('Retrying…') : t('Try again')}</button>}- {upgrading && <button data-testid="notes-setup-skip" className="notes-download-skip" disabled={setup.notesUpgradeChanging} onClick={() => void skip()}>{t('Skip')}</button>}+ {failed && <button data-testid="notes-setup-retry" className="workspace-button" disabled={retrying} onClick={() => void retry()}>{retrying ? t('Retrying…') : t('Try again')}</button>}+ {upgrading && <button data-testid="notes-setup-skip" className="text-action" disabled={setup.notesUpgradeChanging} onClick={() => void skip()}>{t('Skip')}</button>}</div>}</div>{retryFailed && <p role="alert">{t("Yogurt couldn't restart the download.")}</p>}diff --git a/app/src/renderer/src/components/People.tsx b/app/src/renderer/src/components/People.tsxindex 9144e93e..c3ece580 100644--- a/app/src/renderer/src/components/People.tsx+++ b/app/src/renderer/src/components/People.tsx@@ -183,10 +183,10 @@ function Row({ name, email, mine, onRemove, onRename }: { name: string; email?:: <span className="block truncate">{name}{mine && <span className="text-muted"> {t('(me)')}</span>}</span>}{email && <span data-testid="people-email" className="block truncate text-xs leading-[17px] text-muted">{email}</span>}</div>- {onRename && !editing && <button data-testid="people-edit" aria-label={t('Rename')} title={t('Rename')} onClick={() => { setDraft(name); setEditing(true) }} className="person-remove grid size-6 shrink-0 place-items-center rounded text-muted hover:bg-[var(--line)] hover:text-ink"><Pencil size={14} strokeWidth={1.75} aria-hidden="true" /></button>}+ {onRename && !editing && <button data-testid="people-edit" aria-label={t('Rename')} title={t('Rename')} onClick={() => { setDraft(name); setEditing(true) }} className="ghost-btn workspace-icon person-remove"><Pencil size={14} strokeWidth={1.75} aria-hidden="true" /></button>}{onRemove && (<button data-testid="people-remove" onClick={onRemove} aria-label={t('Remove {name}', { name })} title={t('Remove')}- className="person-remove grid size-6 shrink-0 place-items-center rounded-full text-muted hover:bg-[var(--line)] hover:text-ink">+ className="ghost-btn workspace-icon person-remove"><X size={14} strokeWidth={1.75} aria-hidden="true" /></button>)}diff --git a/app/src/renderer/src/components/Player.tsx b/app/src/renderer/src/components/Player.tsxindex 9ae10be1..b7b22c1d 100644--- a/app/src/renderer/src/components/Player.tsx+++ b/app/src/renderer/src/components/Player.tsx@@ -140,13 +140,13 @@ function MeetingPlayer({ id, tracks, ref, onTime, onPlaying, onBusy }: PlayerPro<span className="w-9 shrink-0 tabular-nums">{clock(duration * 1000)}</span><button data-testid="player-speed" aria-label={t('Playback speed {rate}', { rate: rateText })}onClick={() => setRate((r) => RATES[(RATES.indexOf(r) + 1) % RATES.length])}- className="ghost-btn h-7 w-[30px] shrink-0 justify-center !px-0 tabular-nums">+ className="ghost-btn tabular-nums">{rateText}</button></>}<Menu.Root modal={false} onOpenChange={setMenuOpen}><Menu.Trigger ref={menuButton} data-testid="recording-menu" aria-label={t('More')} title={t('More')}- className="bar-btn ms-auto grid size-7 shrink-0 place-items-center rounded-md text-muted"><Ellipsis size={17} aria-hidden="true" /></Menu.Trigger>+ className="ghost-btn workspace-icon ms-auto"><Ellipsis size={17} aria-hidden="true" /></Menu.Trigger><Menu.Portal><Menu.Positioner side="top" align="end" sideOffset={6} className="ask-menu-positioner"><Menu.Popup className="menu-entry ask-actions-menu" aria-label={t('More')} finalFocus={confirm ? false : menuButton} onKeyDown={e => { if (e.key === 'Escape') e.stopPropagation() }}>@@ -184,7 +184,7 @@ export function DeleteRecording({ id, onCancel, onDeleted }: { id: string; onCan: failed === 'recording' ? t('Stop the recording first, then try again.') : t("Yogurt couldn't delete the recording.")}</span></InlineError>}<div className="modal-actions"><button data-testid="recording-delete-yes" className="modal-button danger" disabled={busy} onClick={() => void yes()}>{t('Delete recording')}</button>- <ModalClose data-testid="recording-delete-cancel" data-dialog-cancel className="modal-button" disabled={busy}>{t('Cancel')}</ModalClose>+ <ModalClose data-testid="recording-delete-cancel" data-dialog-cancel className="workspace-button" disabled={busy}>{t('Cancel')}</ModalClose></div></Modal>}diff --git a/app/src/renderer/src/components/RegenerateForm.tsx b/app/src/renderer/src/components/RegenerateForm.tsxindex 93a5a1f7..678951d5 100644--- a/app/src/renderer/src/components/RegenerateForm.tsx+++ b/app/src/renderer/src/components/RegenerateForm.tsx@@ -11,7 +11,7 @@ export function RegenerateForm({ active, edited, disabled, hasSummary, onClose,const action = hasSummary ? t('Regenerate summary') : t('Generate summary')return <form onSubmit={(e) => { e.preventDefault(); if (!disabled) onSubmit(note.trim()) }}><div className="summary-regenerate-heading"><span>{action}</span>- <button type="button" className="bar-btn" aria-label={t('Close')} onClick={onClose}><X size={14} aria-hidden="true" /></button>+ <button type="button" className="ghost-btn workspace-icon" aria-label={t('Close')} onClick={onClose}><X size={14} aria-hidden="true" /></button></div><input autoFocus data-testid="note-regenerate-input" className="summary-regenerate-input" aria-label={t('Note for the summary')}placeholder={t('Add a note, like shorter or in Spanish')} maxLength={REWRITE_NOTE_MAX} value={note}diff --git a/app/src/renderer/src/components/Search.tsx b/app/src/renderer/src/components/Search.tsxindex 75dddc69..3f3b91e2 100644--- a/app/src/renderer/src/components/Search.tsx+++ b/app/src/renderer/src/components/Search.tsx@@ -304,7 +304,7 @@ export function Search({ folder, folders, onOpen, onNavigate, onSettingsChange,<span data-testid="search-primary-hint"><kbd className="search-key">↵</kbd>{t('Select')}</span><span data-testid="search-secondary-hint"><kbd className="search-key">{keys('⌘↵')}</kbd>{t('Ask')}</span><span><kbd className="search-key">esc</kbd>{t('Close')}</span>- <button data-testid="search-shortcuts" onClick={onShortcuts} aria-label={t('Keyboard shortcuts')} title={`${t('Keyboard shortcuts')} ${keys('⌘/')}`}><Keyboard size={15} aria-hidden="true" /></button>+ <button className="ghost-btn workspace-icon" data-testid="search-shortcuts" onClick={onShortcuts} aria-label={t('Keyboard shortcuts')} title={`${t('Keyboard shortcuts')} ${keys('⌘/')}`}><Keyboard size={15} aria-hidden="true" /></button></div></MotionPopup></Dialog.Portal>diff --git a/app/src/renderer/src/components/SettingsGuide.tsx b/app/src/renderer/src/components/SettingsGuide.tsxindex 58f5b55d..bc0d039e 100644--- a/app/src/renderer/src/components/SettingsGuide.tsx+++ b/app/src/renderer/src/components/SettingsGuide.tsx@@ -18,7 +18,7 @@ export function SettingsGuide({ kind, onOpenAgain, canRelaunch, art = true }: {<p className="ob-guide-copy">{c.where}</p><p data-testid="settings-guide-waiting" role="status" className="ob-guide-waiting">{t('This closes automatically when access is on.')}</p><div className="ob-guide-actions">- <button data-testid="settings-guide-open" onClick={onOpenAgain} className="settings-link no-drag">+ <button data-testid="settings-guide-open" onClick={onOpenAgain} className="ghost-btn no-drag"><span>{t('Open System Settings')}</span><ExternalLink size={13} aria-hidden="true" className="rtl:-scale-x-100" /></button></div>@@ -26,7 +26,7 @@ export function SettingsGuide({ kind, onOpenAgain, canRelaunch, art = true }: {<summary>{t('Still not working?')}</summary><div className="ob-guide-help-content">{(kind === 'accessibility' || kind === 'systemAudio') && <p>{t('Not in the list? Click +, then choose Yogurt in Applications.')}</p>}- {canRelaunch && <><p>{t('If you turned access on and this stays open, restart Yogurt.')}</p><button data-testid="settings-guide-relaunch" className="ob-button secondary no-drag" onClick={() => {+ {canRelaunch && <><p>{t('If you turned access on and this stays open, restart Yogurt.')}</p><button data-testid="settings-guide-relaunch" className="workspace-button no-drag" onClick={() => {void window.yogurt.permissions.relaunch().then((ok) => setRelaunchFailed(!ok), () => setRelaunchFailed(true))}}><span>{t('Restart Yogurt')}</span></button></>}</div>diff --git a/app/src/renderer/src/components/ShareMenu.tsx b/app/src/renderer/src/components/ShareMenu.tsxindex 55d19fa4..9eb665b5 100644--- a/app/src/renderer/src/components/ShareMenu.tsx+++ b/app/src/renderer/src/components/ShareMenu.tsx@@ -88,7 +88,7 @@ export function ShareMenu({ id, shown, status, hasEnhanced, beforeUse }: { id: s</>}</span><button ref={button} data-testid="share-button" data-state={copied ? 'copied' : 'idle'} aria-haspopup="menu" aria-expanded={!!open} title={t('Copy and export')}- onClick={(e) => setOpen((o) => o ? false : e.detail > 0 ? 'pointer' : 'keyboard')} className="note-record-action share-btn">+ onClick={(e) => setOpen((o) => o ? false : e.detail > 0 ? 'pointer' : 'keyboard')} className="ghost-btn">{/* the status under the button confirms a copy; the button itself stays put */}<Copy size={13} strokeWidth={1.75} aria-hidden="true" />{t('Copy')}<ChevronDown size={12} strokeWidth={1.75} aria-hidden="true" />diff --git a/app/src/renderer/src/components/Shortcuts.tsx b/app/src/renderer/src/components/Shortcuts.tsxindex ee0d52b0..96efc106 100644--- a/app/src/renderer/src/components/Shortcuts.tsx+++ b/app/src/renderer/src/components/Shortcuts.tsx@@ -26,7 +26,7 @@ export function Shortcuts({ onClose }: { onClose(): void }) {const words = query.trim().toLocaleLowerCase().split(/\s+/)const matching = groups.map(([group, rows]) => ({ group, rows: rows.filter(([label]) => words.every(word => `${group} ${label}`.toLocaleLowerCase().includes(word))) }))return <Modal testId="shortcuts-dialog" title={t('Keyboard shortcuts')} onCancel={onClose}>- <ModalClose className="workspace-icon shortcuts-close" aria-label={t('Close')}><X size={17} aria-hidden="true" /></ModalClose>+ <ModalClose className="ghost-btn workspace-icon shortcuts-close" aria-label={t('Close')}><X size={17} aria-hidden="true" /></ModalClose><label className="shortcuts-search"><Search size={16} aria-hidden="true" /><input data-dialog-focus value={query} onChange={e => setQuery(e.target.value)} placeholder={t('Search')} aria-label={t('Search')} /></label><div className="shortcuts-list">{matching.map(({ group, rows }) => rows.length > 0 && <section key={group}><h3>{group}</h3><dl>{rows.map(([label, keys]) =>diff --git a/app/src/renderer/src/components/SourceCitation.tsx b/app/src/renderer/src/components/SourceCitation.tsxindex 1956c7c3..e0e15846 100644--- a/app/src/renderer/src/components/SourceCitation.tsx+++ b/app/src/renderer/src/components/SourceCitation.tsx@@ -49,7 +49,7 @@ export function SourceCitationCard({ source, sentence, triggerId, animate, onOpe</div>{preview.match.text && <blockquote className="citation-quote" data-testid="citation-excerpt" dir="auto"><q>{preview.before.text && <span className="citation-context">{preview.before.text} </span>}<span className="citation-match">{preview.match.text}</span>{preview.after.text && <span className="citation-context"> {preview.after.text}</span>}</q></blockquote>}<div className="citation-footer">- <button className="citation-open" data-testid="citation-open" aria-label={t('Open {source}', { source: title })} onClick={() => onOpen(preview.match.text)}>{t('Open')}<ArrowUpRight size={12} aria-hidden="true" /></button>+ <button className="ghost-btn" data-testid="citation-open" aria-label={t('Open {source}', { source: title })} onClick={() => onOpen(preview.match.text)}>{t('Open')}<ArrowUpRight size={12} aria-hidden="true" /></button></div></div></Popover.Popup>diff --git a/app/src/renderer/src/components/Transcript.tsx b/app/src/renderer/src/components/Transcript.tsxindex da97de8f..b734f4d5 100644--- a/app/src/renderer/src/components/Transcript.tsx+++ b/app/src/renderer/src/components/Transcript.tsx@@ -359,7 +359,7 @@ export function Transcript({ id, recording, inline = false, active = true, onClo<ScrollFade enabled={active && loaded}><ol data-loaded={loaded} data-loading-phase={loadingPhase} data-testid="transcript" ref={list} onScroll={onScroll} onWheel={theirs} onTouchStart={theirs} onPointerDown={theirs} onKeyDownCapture={theirs} onKeyDown={onKeyDown} className="loading-content transcript-loading-content flex flex-1 flex-col gap-2 overflow-y-auto px-4 pb-4 pt-2 text-sm leading-[1.55]">{loadingPhase !== 'ready' && <li className="loading-placeholder"><Loading layout="transcript" /></li>}{loaded && allLines.length === 0 && liveSaid.length === 0 && <li data-testid="transcript-empty" className="note-empty empty-state"><div className="empty-state-content"><div className="empty-tile"><AudioLines size={28} strokeWidth={1.5} aria-hidden="true" /></div>{t('Nothing heard yet.')}</div></li>}- {drawn.earlier > 0 && <li className="flex justify-center"><button data-testid="transcript-earlier" onClick={() => { visibility.current?.programmatic(); stick.current = false; setShowAll(true) }} className="ghost-btn !px-2 !py-1 text-xs text-muted">{t('Show earlier lines')}</button></li>}+ {drawn.earlier > 0 && <li className="flex justify-center"><button data-testid="transcript-earlier" onClick={() => { visibility.current?.programmatic(); stick.current = false; setShowAll(true) }} className="ghost-btn">{t('Show earlier lines')}</button></li>}{drawn.runs.map(run => <Fragment key={run.k}>{turns(run.lines).map((turn) => {const me = turn[0].track === 'me', first = turn[0]@@ -392,12 +392,12 @@ export function Transcript({ id, recording, inline = false, active = true, onClo})}</Fragment>)}</ol></ScrollFade>{recording && behind && !finding && (- <button data-testid="transcript-latest" onClick={toLatest} className="absolute bottom-3 start-1/2 flex -translate-x-1/2 items-center gap-1 rounded-md border border-line bg-float px-3 py-1 text-xs shadow-[var(--shadow)] rtl:translate-x-1/2">+ <button data-testid="transcript-latest" onClick={toLatest} className="workspace-button absolute bottom-3 start-1/2 -translate-x-1/2 rtl:translate-x-1/2"><ArrowDown size={12} aria-hidden="true" />{t('Latest')}</button>)}{!recording && audioOn && away && shownKey && !finding && (- <button data-testid="transcript-follow" onClick={backToPlaying} className="absolute bottom-3 start-1/2 flex -translate-x-1/2 items-center gap-1 rounded-md border border-line bg-float px-3 py-1 text-xs shadow-[var(--shadow)] rtl:translate-x-1/2">+ <button data-testid="transcript-follow" onClick={backToPlaying} className="workspace-button absolute bottom-3 start-1/2 -translate-x-1/2 rtl:translate-x-1/2"><ArrowDown size={12} aria-hidden="true" className="follow-arrow" data-up={away === 'up'} />{t('Back to playing')}</button>)}diff --git a/app/src/renderer/src/components/TranscriptFind.tsx b/app/src/renderer/src/components/TranscriptFind.tsxindex 7f9c5528..6c79f565 100644--- a/app/src/renderer/src/components/TranscriptFind.tsx+++ b/app/src/renderer/src/components/TranscriptFind.tsx@@ -137,16 +137,16 @@ export function TranscriptFind({ lines, list, active, playbackInset, beforeScrol<span id={countId} data-testid="transcript-find-count" role="status" aria-live="polite" aria-atomic="true">{searching ? matches.length ? t('{current} of {count}', { current: index + 1, count: matches.length }) : t('No matches') : ''}</span></span><span className="transcript-find-arrows">- <button type="button" data-testid="transcript-find-previous" className="ghost-btn" disabled={!matches.length} aria-label={t('Previous match')} title={`${t('Previous match')} (⇧Enter · ${keys('⇧⌘G')})`} aria-keyshortcuts={`Shift+Enter ${onMac() ? 'Meta' : 'Control'}+Shift+G`} onClick={() => move(-1)}><ChevronUp size={14} strokeWidth={1.75} aria-hidden="true" /></button>- <button type="button" data-testid="transcript-find-next" className="ghost-btn" disabled={!matches.length} aria-label={t('Next match')} title={`${t('Next match')} (Enter · ${keys('⌘G')})`} aria-keyshortcuts={`Enter ${onMac() ? 'Meta' : 'Control'}+G`} onClick={() => move(1)}><ChevronDown size={14} strokeWidth={1.75} aria-hidden="true" /></button>+ <button type="button" data-testid="transcript-find-previous" className="ghost-btn workspace-icon" disabled={!matches.length} aria-label={t('Previous match')} title={`${t('Previous match')} (⇧Enter · ${keys('⇧⌘G')})`} aria-keyshortcuts={`Shift+Enter ${onMac() ? 'Meta' : 'Control'}+Shift+G`} onClick={() => move(-1)}><ChevronUp size={14} strokeWidth={1.75} aria-hidden="true" /></button>+ <button type="button" data-testid="transcript-find-next" className="ghost-btn workspace-icon" disabled={!matches.length} aria-label={t('Next match')} title={`${t('Next match')} (Enter · ${keys('⌘G')})`} aria-keyshortcuts={`Enter ${onMac() ? 'Meta' : 'Control'}+G`} onClick={() => move(1)}><ChevronDown size={14} strokeWidth={1.75} aria-hidden="true" /></button></span></span>- <button type="button" data-testid="transcript-find-close" className="ghost-btn transcript-find-close" aria-label={t('Close')} title={`${t('Close')} (Esc)`} aria-keyshortcuts="Escape" onClick={close}><X size={14} strokeWidth={1.75} aria-hidden="true" /></button>+ <button type="button" data-testid="transcript-find-close" className="ghost-btn workspace-icon transcript-find-close" aria-label={t('Close')} title={`${t('Close')} (Esc)`} aria-keyshortcuts="Escape" onClick={close}><X size={14} strokeWidth={1.75} aria-hidden="true" /></button></span></div></div></div>- {onClose && <div className="transcript-actions"><button data-testid="transcript-close" onClick={onClose} aria-label={t('Hide transcript')} title={t('Hide transcript')} className="ghost-btn !p-1.5"><ChevronDown size={15} aria-hidden="true" /></button></div>}+ {onClose && <div className="transcript-actions"><button data-testid="transcript-close" onClick={onClose} aria-label={t('Hide transcript')} title={t('Hide transcript')} className="ghost-btn workspace-icon"><ChevronDown size={15} aria-hidden="true" /></button></div>}</div>return active ? toolbar ? createPortal(control, toolbar) : control : null}diff --git a/app/src/renderer/src/components/TrashToast.tsx b/app/src/renderer/src/components/TrashToast.tsxindex 4c3718ba..e57c1574 100644--- a/app/src/renderer/src/components/TrashToast.tsx+++ b/app/src/renderer/src/components/TrashToast.tsx@@ -119,8 +119,8 @@ function ToastList() {data-kind={item.data?.testId} data-testid={item.transitionStatus === 'ending' ? undefined : item.data?.testId ?? 'app-toast'}><Toast.Content className="app-toast-content" transition={{ duration: motion.micro / 1000, ease: motion.out }}><Toast.Title className="app-toast-title" />- {item.actionProps && <Toast.Action className="app-toast-action" data-testid={item.data?.actionTestId} />}- <Toast.Close className="app-toast-close" aria-label={t('Close')}><X size={14} aria-hidden="true" /></Toast.Close>+ {item.actionProps && <Toast.Action className="workspace-button" data-testid={item.data?.actionTestId} />}+ <Toast.Close className="ghost-btn workspace-icon" aria-label={t('Close')}><X size={14} aria-hidden="true" /></Toast.Close></Toast.Content></Toast.Root>)}diff --git a/app/src/renderer/src/components/TurnOn.tsx b/app/src/renderer/src/components/TurnOn.tsxindex b88784c1..9403854d 100644--- a/app/src/renderer/src/components/TurnOn.tsx+++ b/app/src/renderer/src/components/TurnOn.tsx@@ -25,7 +25,7 @@ export function TurnOn({ kind, status, onOn, recording = false, className = 'wor<Modal testId="permission-guide" title={t('Turn it on in System Settings')} description={t('System Settings is open at {pane}.', { pane: c.pane })} onCancel={flow.stop}><div className="modal-guide"><SettingsGuide kind={kind} canRelaunch={!recording} onOpenAgain={() => void flow.openSettings()} /></div><div className="modal-actions">- <ModalClose data-testid="permission-guide-close" data-dialog-cancel className="modal-button">{t('Close')}</ModalClose>+ <ModalClose data-testid="permission-guide-close" data-dialog-cancel className="workspace-button">{t('Close')}</ModalClose></div></Modal>)}diff --git a/app/src/renderer/src/components/UpdateReady.tsx b/app/src/renderer/src/components/UpdateReady.tsxindex 30ef8b04..a8cff8c4 100644--- a/app/src/renderer/src/components/UpdateReady.tsx+++ b/app/src/renderer/src/components/UpdateReady.tsx@@ -46,7 +46,7 @@ export function UpdateReady({ recording }: { recording: boolean }) {<Popover.Title>{t('Yogurt {version}', { version: status.next ?? '' })}</Popover.Title><Popover.Description className="update-ready-description">{recording ? t('You can restart after recording') : t('Installs when you restart Yogurt')}</Popover.Description><div className="update-ready-actions">- <button data-testid="update-later" className="update-ready-later" onClick={() => void later()}>{t('Later')}</button>+ <button data-testid="update-later" className="text-action" onClick={() => void later()}>{t('Later')}</button><button data-testid="update-restart" className="workspace-button primary" disabled={recording || restarting} onClick={() => void restart()}>{t('Restart')}</button></div>{failed && (failed === 'later' || !recording) && <p role="alert">{failed === 'later' ? t("Yogurt couldn't make that change. Try again.") : t("Yogurt couldn't restart. Try again.")}</p>}diff --git a/app/src/renderer/src/components/Workspace.tsx b/app/src/renderer/src/components/Workspace.tsxindex 0194cdff..043de774 100644--- a/app/src/renderer/src/components/Workspace.tsx+++ b/app/src/renderer/src/components/Workspace.tsx@@ -71,7 +71,7 @@ export function Workspace({ route, meeting, folders, go, back, forward, search,return <div className={`workspace ${collapsed ? 'sidebar-collapsed' : ''}`} data-testid="workspace" data-sidebar-motion={sidebarMotion}><div className="workspace-window-bar"><div className="workspace-drag-region drag" data-testid="titlebar" aria-hidden="true" />- <button className="workspace-icon workspace-sidebar-toggle no-drag" data-testid={collapsed ? 'sidebar-expand' : 'sidebar-collapse'}+ <button className="ghost-btn workspace-icon workspace-sidebar-toggle no-drag" data-testid={collapsed ? 'sidebar-expand' : 'sidebar-collapse'}onClick={(e) => toggleSidebar(e.detail > 0)}aria-expanded={!collapsed} aria-controls="workspace-sidebar" aria-keyshortcuts={onMac() ? 'Control+Meta+S' : 'Control+Shift+S'} title={`${collapsed ? t('Expand sidebar') : t('Collapse sidebar')} (${keys('⌃⌘S')})`}aria-label={collapsed ? t('Expand sidebar') : t('Collapse sidebar')}>@@ -100,8 +100,8 @@ export function Workspace({ route, meeting, folders, go, back, forward, search,<header className="workspace-toolbar" data-note={note} data-recording-return={returnToRecording}><div className="workspace-breadcrumb drag"><span className="workspace-history">- <button data-testid="nav-back" className="workspace-icon no-drag" disabled={!back && !note} onClick={back ?? (() => go(''))} aria-label={t('Back')} title={`${t('Back')} (${keys('⌘[')})`}><ChevronLeft size={14} strokeWidth={1.75} className="rtl:-scale-x-100" aria-hidden="true" /></button>- <button data-testid="nav-forward" className="workspace-icon no-drag" disabled={!forward} onClick={forward} aria-label={t('Forward')} title={`${t('Forward')} (${keys('⌘]')})`}><ChevronRight size={14} strokeWidth={1.75} className="rtl:-scale-x-100" aria-hidden="true" /></button>+ <button data-testid="nav-back" className="ghost-btn workspace-icon no-drag" disabled={!back && !note} onClick={back ?? (() => go(''))} aria-label={t('Back')} title={`${t('Back')} (${keys('⌘[')})`}><ChevronLeft size={14} strokeWidth={1.75} className="rtl:-scale-x-100" aria-hidden="true" /></button>+ <button data-testid="nav-forward" className="ghost-btn workspace-icon no-drag" disabled={!forward} onClick={forward} aria-label={t('Forward')} title={`${t('Forward')} (${keys('⌘]')})`}><ChevronRight size={14} strokeWidth={1.75} className="rtl:-scale-x-100" aria-hidden="true" /></button></span><span data-testid="workspace-heading" aria-current="page" title={label}>{label}</span></div>diff --git a/app/src/renderer/src/screens/ChatPage.tsx b/app/src/renderer/src/screens/ChatPage.tsxindex ed97dc5a..00255a58 100644--- a/app/src/renderer/src/screens/ChatPage.tsx+++ b/app/src/renderer/src/screens/ChatPage.tsx@@ -74,9 +74,9 @@ export function ChatPage({ id, go, openSource }: { id: string | null; go: (routereturn <div ref={page} data-testid="chat-page" className={`chat-page ask-page${id ? ' ask-full-thread' : ' ask-home'}`}>{!id && <StartRecording />}<div className="ask-page-toolbar">- {id && <button className="ask-back" onClick={back}><ArrowLeft size={14} aria-hidden="true" />{t('Ask')}</button>}+ {id && <button className="ghost-btn ask-back" onClick={back}><ArrowLeft size={14} aria-hidden="true" />{t('Ask')}</button>}<Popover.Root open={recent} onOpenChange={next => { setRecent(next); if (!next) setShowAll(false) }}>- <Popover.Trigger ref={recentButton} data-testid="chat-recent" className="ask-recent-button"><Clock size={14} aria-hidden="true" />{t('Recent')}</Popover.Trigger>+ <Popover.Trigger ref={recentButton} data-testid="chat-recent" className="ghost-btn"><Clock size={14} aria-hidden="true" />{t('Recent')}</Popover.Trigger><Popover.Portal><Popover.Positioner side="bottom" align="end" sideOffset={8} collisionPadding={16} className="ask-recent-positioner"><Popover.Popup data-testid="chat-recent-list" className="menu-entry ask-history" aria-label={t('Conversations')}>@@ -93,7 +93,7 @@ export function ChatPage({ id, go, openSource }: { id: string | null; go: (route<ConversationActions className="row-swap-actions" id={c.id} title={c.title} onDeleted={() => deleted(c.id)} onEdit={kind => { setRecent(false); setEditing({ id: c.id, title: c.title, kind }) }} /></li>)}</ul></section>)}- {history.hasMore && <button data-testid="chat-history-all" className="ask-history-all" onClick={() => setShowAll(true)}>{t('Show all')}</button>}+ {history.hasMore && <button data-testid="chat-history-all" className="ghost-btn ask-history-all" onClick={() => setShowAll(true)}>{t('Show all')}</button>}</LoadingContent></div></ScrollFade></Popover.Popup></Popover.Positioner>diff --git a/app/src/renderer/src/screens/Note.tsx b/app/src/renderer/src/screens/Note.tsxindex 3db73ced..38ac0fab 100644--- a/app/src/renderer/src/screens/Note.tsx+++ b/app/src/renderer/src/screens/Note.tsx@@ -335,7 +335,7 @@ export function Note({ id, onTitleChange, at, folderSuggestion, onSource, onResuonCancel={() => setResumeConfirm(false)}><div className="modal-actions"><button data-testid="resume-yes" onClick={() => void resumeRecording(true)} className="modal-button primary">{t('Resume recording')}</button>- <ModalClose data-dialog-cancel data-testid="resume-cancel" className="modal-button">{t('Cancel')}</ModalClose>+ <ModalClose data-dialog-cancel data-testid="resume-cancel" className="workspace-button">{t('Cancel')}</ModalClose></div></Modal>}<div data-testid="note-topbar" className="note-topbar no-drag fixed end-4 top-[10px] z-[60]">@@ -369,7 +369,7 @@ export function Note({ id, onTitleChange, at, folderSuggestion, onSource, onResu</>}{finishing && <span data-testid="note-finishing" role="status" className="note-finishing">{t('Finishing…')}</span>}{!finishing && (m.state === 'stopped' || m.state === 'done') && !m.stopSavePending && !trashed && <button data-testid="note-resume" disabled={starting} aria-busy={summarizing} data-processing={summarizing} onClick={() => { if (summarizing) void window.yogurt.notes.stop(id).catch(console.error); else void resumeRecording() }}- aria-label={summarizing ? t('Stop summary') : t('Resume recording')} className="note-record-action note-resume-action" title={summarizing ? t('Stop summary') : t('Resume recording in this note')}>+ aria-label={summarizing ? t('Stop summary') : t('Resume recording')} className="workspace-button note-resume-action" title={summarizing ? t('Stop summary') : t('Resume recording in this note')}><Swap show={summarizing ? 'busy' : 'mic'} options={{ mic: <Mic size={14} />, busy: <span className="summary-stop-icon"><Loader size={14} /><span className="summary-stop-square" /></span> }} /><SwapText text={summarizing ? t('Summarizing…') : starting ? t('Preparing…') : t('Resume recording')} /></button>}@@ -428,7 +428,7 @@ export function Note({ id, onTitleChange, at, folderSuggestion, onSource, onResu<div data-testid="note-stop-unsaved" role="alert" className="mt-5 flex flex-wrap items-start gap-3 rounded-xl border border-line bg-card px-4 py-3 text-[13px] leading-relaxed"><TriangleAlert size={16} aria-hidden="true" className="mt-0.5 shrink-0 text-danger" /><p className="min-w-48 flex-1">{t("Recording stopped. Yogurt couldn't save when it ended. Keep Yogurt open and try again.")}</p>- <button data-testid="note-stop-retry" disabled={retryingStop} className="bar-btn rounded-md border border-line bg-bg px-3 py-1 text-ink disabled:opacity-50" onClick={() => {+ <button data-testid="note-stop-retry" disabled={retryingStop} className="workspace-button" onClick={() => {setRetryingStop(true)void window.yogurt.meetings.retryStopSave(id).then((saved) => {if (saved) transcriptButton.current?.focus({ preventScroll: true })@@ -445,7 +445,7 @@ export function Note({ id, onTitleChange, at, folderSuggestion, onSource, onResu{saveStatus === 'failed' && (<InlineError testId="note-save-status" warningTestId="note-save-warning" className="pointer-events-auto mx-auto mt-3 w-fit max-w-[calc(100%-32px)]"><span>{mineSave.reason === 'too-long' || enhancedSave.reason === 'too-long' ? t('This note is too long to save. Shorten it and try again.') : t("Couldn't save your changes")}</span>- <button data-testid="note-save-retry" className="inline-error-action" onClick={() => { void saveAll() }}>{t('Try again')}</button>+ <button data-testid="note-save-retry" className="text-action" onClick={() => { void saveAll() }}>{t('Try again')}</button></InlineError>)}{startFailed && <p role="alert" className="pointer-events-auto mx-auto mt-3 w-fit text-[13px] text-danger">{t("Yogurt couldn't start the notes. Try again in a moment.")}</p>}@@ -520,7 +520,7 @@ function Enhanced({ notes, presentation, disabled, onChange, onBlur, onRetry, foreturn (<InlineError testId="note-enhanced-failed"><span>{t("Yogurt couldn't generate this summary.")}</span>- <button onClick={onRetry} className="inline-error-action">{t('Try again')}</button>+ <button onClick={onRetry} className="text-action">{t('Try again')}</button></InlineError>)}@@ -542,7 +542,7 @@ function Enhanced({ notes, presentation, disabled, onChange, onBlur, onRetry, fo<div data-testid="note-enhanced" data-status={status} className={presentation === 'streaming' ? 'streaming' : ''}>{status === 'failed' && <InlineError testId="note-enhanced-rewrite-failed" className="mb-6"><span>{t("Yogurt couldn't regenerate the summary, so your previous version is still shown.")}</span>- <button onClick={onRetry} className="inline-error-action">{t('Try again')}</button>+ <button onClick={onRetry} className="text-action">{t('Try again')}</button></InlineError>}{rewriting && <SummaryWaiting outline={false} part={status === 'writing' ? notes.part : undefined} />}<div ref={surface} className="summary-rewrite" data-rewriting={rewriting} data-handoff={handoff} data-resetting={presentation === 'reset'} style={handoff ? { minHeight: height.current } : undefined}>diff --git a/app/src/renderer/src/screens/Onboarding.tsx b/app/src/renderer/src/screens/Onboarding.tsxindex c600eee9..daf6a96f 100644--- a/app/src/renderer/src/screens/Onboarding.tsx+++ b/app/src/renderer/src/screens/Onboarding.tsx@@ -180,7 +180,7 @@ function Ask({ screen, step, lit, chained, leaving, state, progress, onOn, onLatonClick={() => (back ? onOn() : away ? void flow.openSettings() : void flow.allow())} className="ob-button primary no-drag">{flow.phase === 'asking' && <LoaderCircle size={14} aria-hidden="true" className="animate-spin motion-reduce:animate-none" />}{label}</button>- {!back && <button data-testid="step-later" disabled={busy} onClick={onLater} className="ob-button quiet no-drag">{t('Not now')}</button>}+ {!back && <button data-testid="step-later" disabled={busy} onClick={onLater} className="text-action no-drag">{t('Not now')}</button>}</>}/>)@@ -197,7 +197,7 @@ function GuideNote({ kind }: { kind: PermissionKind }) {<div className="ob-guide-help-content">{(kind === 'accessibility' || kind === 'systemAudio') && <p>{t('Not in the list? Click +, then choose Yogurt in Applications.')}</p>}<p>{t('If you turned access on and this stays open, restart Yogurt.')}</p>- <button data-testid="settings-guide-relaunch" className="ob-button secondary no-drag" onClick={() => {+ <button data-testid="settings-guide-relaunch" className="workspace-button no-drag" onClick={() => {void window.yogurt.permissions.relaunch().then((ok) => setFailed(!ok), () => setFailed(true))}}>{t('Restart Yogurt')}</button></div>diff --git a/app/src/renderer/src/screens/Settings.tsx b/app/src/renderer/src/screens/Settings.tsxindex 11814e77..6687b1f9 100644--- a/app/src/renderer/src/screens/Settings.tsx+++ b/app/src/renderer/src/screens/Settings.tsx@@ -360,12 +360,12 @@ function Backup() {<p data-testid="backup-said" data-kind={said.kind} className={`settings-backup-status ${said.kind === 'error' ? 'text-danger' : 'text-ink'}`}>{said.kind === 'exported' && <><span className="flex items-center gap-1.5"><Check size={14} aria-hidden="true" className="text-muted" />{t('Exported {count} meetings', { count: said.count })}</span>- <button data-testid="backup-show" onClick={() => window.yogurt.backup.show()} className="settings-link">{osWords({ mac: t('Show in Finder'), windows: t('Show in File Explorer'), linux: t('Show in Files') })}</button>+ <button data-testid="backup-show" onClick={() => window.yogurt.backup.show()} className="ghost-btn">{osWords({ mac: t('Show in Finder'), windows: t('Show in File Explorer'), linux: t('Show in Files') })}</button></>}{said.kind === 'imported' && <span className="flex items-center gap-1.5"><Check size={14} aria-hidden="true" className="text-muted" />{said.added ? t('Added {count} meetings.', { count: said.added }) : t('Nothing new in this backup.')}{said.skipped > 0 && ' ' + t('{count} were already here.', { count: said.skipped })}</span>}- {said.kind === 'error' && <>{said.text}{said.meetingId && <button data-testid="backup-open-note" className="settings-link" onClick={() => window.yogurt.nav.go(`/note/${said.meetingId}`)}>{t('Open note')}</button>}</>}+ {said.kind === 'error' && <>{said.text}{said.meetingId && <button data-testid="backup-open-note" className="ghost-btn" onClick={() => window.yogurt.nav.go(`/note/${said.meetingId}`)}>{t('Open note')}</button>}</>}</p>)}</div>diff --git a/app/src/renderer/src/screens/Trash.tsx b/app/src/renderer/src/screens/Trash.tsxindex 68e43fc8..64f7b5d8 100644--- a/app/src/renderer/src/screens/Trash.tsx+++ b/app/src/renderer/src/screens/Trash.tsx@@ -52,10 +52,10 @@ export function Trash({ open }: { open: (id: string) => void }) {</div></section> : <ul aria-label={t('Deleted meetings')}>{cards?.map((c) => <li key={c.id} data-row-id={c.id} data-testid="trash-row" className="native-meeting-row trash-row row-swap" tabIndex={0} title={dayLabel(c.startedAt)}><PastCard c={c} onOpen={open} me={me} fixed />- <div className="trash-actions row-swap-actions"><button data-testid="trash-restore" title={t('Restore')} className="workspace-icon" onClick={() => void changeMeetingRows('restore', [c.id], () => window.yogurt.meetings.restore(c.id))} aria-label={t('Restore')}>+ <div className="trash-actions row-swap-actions"><button data-testid="trash-restore" title={t('Restore')} className="ghost-btn workspace-icon" onClick={() => void changeMeetingRows('restore', [c.id], () => window.yogurt.meetings.restore(c.id))} aria-label={t('Restore')}><RotateCcw size={14} aria-hidden="true" /></button>- <button data-testid="trash-delete" className="workspace-icon meeting-delete" onClick={() => setDeleting(c)} aria-label={t('Delete now')} title={t('Delete now')}>+ <button data-testid="trash-delete" className="ghost-btn workspace-icon meeting-delete" onClick={() => setDeleting(c)} aria-label={t('Delete now')} title={t('Delete now')}><Trash2 size={14} aria-hidden="true" /></button></div></li>)}@@ -82,7 +82,7 @@ function EmptyTrash({ ids, onDone }: { ids: string[]; onDone: () => void }) {{failed && <p className="modal-error" role="alert">{t("Yogurt couldn't delete everything in the Trash.")}</p>}<div className="modal-actions"><button data-testid="trash-empty-yes" onClick={() => void yes()} disabled={busy} className="modal-button danger">{t('Empty Trash')}</button>- <ModalClose data-testid="trash-empty-cancel" data-dialog-cancel disabled={busy} className="modal-button">{t('Cancel')}</ModalClose>+ <ModalClose data-testid="trash-empty-cancel" data-dialog-cancel disabled={busy} className="workspace-button">{t('Cancel')}</ModalClose></div></Modal>}diff --git a/app/src/renderer/src/setup.css b/app/src/renderer/src/setup.cssindex 76675cd6..f96e5560 100644--- a/app/src/renderer/src/setup.css+++ b/app/src/renderer/src/setup.css@@ -22,10 +22,6 @@.settings-permission-icon { display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:7px;color:var(--written);background:var(--control); }.settings-permission-status { display:inline-flex;align-items:center;padding:1px 6px;border-radius:4px;font-size:11px;line-height:16px;font-weight:400;color:var(--muted);background:var(--control); }.settings-action { flex:none; }-.settings-link { white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:4px 7px;border-radius:5px;font-size:12px;line-height:18px;color:var(--muted);transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease; }-.settings-link:hover:not(:disabled) { background:var(--control-hover);color:var(--ink); }-.settings-link:active:not(:disabled) { background:var(--control-pressed); }-.settings-link:disabled { opacity:.5; }.settings-name-field { flex:none;width:185px;max-width:100%;height:32px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);font-size:13px; }.settings-select-wrap { position:relative;display:inline-flex;flex:none;max-width:100%; }.settings-select { appearance:none;width:auto;min-width:170px;max-width:100%;height:34px;padding-inline:12px 34px;border:1px solid var(--control-border);border-radius:7px;background:var(--control);box-shadow:0 1px 2px #00000008,inset 0 1px 0 #ffffff08;color:var(--ink);font-size:13px; }@@ -51,7 +47,6 @@.settings-backup { padding:20px; }.settings-backup>.settings-description { margin:0; }.settings-backup-actions { display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px; }-.settings-backup-actions .workspace-button { font-size:12px; }.settings-backup-status { display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;margin-top:12px;font-size:12px;line-height:18px; }.settings-jargon-field { position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:34px;margin-top:11px;padding:4px 5px;border:1px solid var(--line);border-radius:6px;background:var(--bg);cursor:text;transition:border-color var(--dur-micro) ease,box-shadow var(--dur-micro) ease; }.settings-jargon-field:focus-within { border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft); }@@ -82,20 +77,12 @@.call-prompt-logo { flex:none;color:var(--accent); }.call-prompt-label { font-size:13px;line-height:19px;font-weight:600;letter-spacing:-.1px;color:var(--ink); }.call-prompt-title { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;line-height:18px;font-weight:400;color:var(--muted); }-.call-prompt-close { display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:5px;color:var(--muted); }-.call-prompt-close:hover { color:var(--ink);background:var(--control-hover); }-.call-prompt-close:active { background:var(--control-pressed); }.call-prompt-actions { display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-inline-start:39px; }-.call-prompt-actions .workspace-button { height:30px;padding-inline:12px;font-size:12px; }/* The Dock asset includes its own transparent inset: 38px gives a 32px icon plate. */.call-prompt-icon { width:38px;height:38px;margin:-3px;object-fit:contain;flex:none; }.call-prompt[data-kind=start] .call-prompt-heading { gap:10px; }-.call-prompt[data-kind=start] .call-prompt-label { font-size:15px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }-.call-prompt[data-kind=start] .call-prompt-title { margin:0;font-size:13px;line-height:17px; }-.call-prompt[data-kind=start] .workspace-button { height:32px;padding:7px 10px;font-size:13px;line-height:18px;font-weight:500;border:0;border-radius:11px;background:#F4F4F5;box-shadow:none;white-space:nowrap; }-@media (prefers-color-scheme:dark) { .call-prompt[data-kind=start] .workspace-button { background:#3B3B3E; } }-.call-prompt[data-kind=start] .workspace-button:hover { background:var(--control-hover); }-.call-prompt[data-kind=start] .call-prompt-close { width:20px; }+.call-prompt[data-kind=start] .call-prompt-label { white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }+.call-prompt[data-kind=start] .call-prompt-title { margin:0; }.call-prompt-countdown { position:absolute;inset:0 0 auto;height:2px;background:var(--accent);transform-origin:left;pointer-events:none;animation:call-countdown 12s linear forwards; }.call-prompt[data-paused=true] .call-prompt-countdown { animation-play-state:paused; }@keyframes call-countdown { to { transform:scaleX(0); } }@@ -112,7 +99,7 @@.settings-name-field { width:100%; }}@media(prefers-reduced-motion:reduce) {- .settings-link,.settings-toggle,.settings-toggle-knob,.setup-progress-fill,.settings-jargon-field,.settings-jargon-remove { transition:none; }+ .settings-toggle,.settings-toggle-knob,.setup-progress-fill,.settings-jargon-field,.settings-jargon-remove { transition:none; }}/* The launch screen: the mark, and a soft light passing over it. Fades in late (delay set inline) so a quick start never shows it. */@@ -159,14 +146,10 @@.finish-setup-header { display:flex;justify-content:space-between;align-items:center;height:40px;padding:0 12px;border-bottom:1px solid var(--line); }.finish-setup-header h2 { font-size:13px;line-height:18px;font-weight:600;color:var(--ink); }.finish-setup-controls { display:flex;align-items:center;gap:4px; }-.finish-setup-close { display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:5px;color:var(--muted); }-.finish-setup-close:hover { color:var(--ink);background:var(--control-hover); }-.finish-setup-close:active { background:var(--control-pressed); }.finish-setup ul { display:grid;gap:10px;padding:12px; }.finish-setup-item { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;min-height:44px; }.finish-setup-copy { min-width:0;font-size:12px;line-height:18px;font-weight:500; }.finish-setup-detail { font-size:12px;line-height:18px;font-weight:400;color:var(--muted);white-space:nowrap; }-.finish-setup-action { min-height:28px;padding:4px 8px;font-size:11px; }.modal-guide { padding:0 20px 18px; }.modal-guide .ob-settings { width:100%; }@@ -200,7 +183,8 @@.ob-title { display:flex;align-items:flex-end;min-height:2.2em;font-family:var(--font-brand);font-size:36px;line-height:1.1;font-weight:600;letter-spacing:-.035em;color:var(--heading); }.ob-title>span { text-wrap:balance; }.ob-text { min-height:66px;margin-top:14px;max-width:372px;font-size:14.5px;line-height:22px;color:var(--muted);text-wrap:pretty; }-.ob-actions { display:flex;align-items:center;gap:8px;min-height:36px;margin-top:24px; }+.ob-actions>.text-action { min-width:112px;padding-inline:19px; }+.ob-actions { font-size:13px;line-height:18px;display:flex;align-items:center;gap:8px;min-height:36px;margin-top:24px; }.ob-note-slot { min-height:80px;margin-top:18px; }.ob-foot { display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;min-height:20px; }.ob-foot .setup-status { flex:1;min-width:0;justify-content:flex-end;text-align:end; }@@ -216,11 +200,6 @@.ob-button:focus-visible { outline:2px solid #6F00FF38;outline-offset:2px; }.ob-button.primary { color:#fff;background:linear-gradient(180deg,#8A3DFF,#6F00FF 60%,#6700EC);border-color:#6200E0;box-shadow:inset 0 1px 0 #FFFFFF40,0 1px 2px #4A00AA2E,0 4px 12px -4px #6F00FF73; }.ob-button.primary:hover:not(:disabled) { background:linear-gradient(180deg,#8030FF,#6600EB); }-.ob-button.secondary { color:var(--ink);background:var(--control);border-color:var(--control-border);box-shadow:var(--shadow-soft); }-.ob-button.secondary:hover:not(:disabled) { background:var(--control-hover); }-.ob-button.quiet { color:var(--muted);background:transparent; }-.ob-button.quiet:hover:not(:disabled) { color:var(--ink);background:var(--control); }-.ob-button.quiet:active:not(:disabled) { background:var(--control-hover); }@media (prefers-color-scheme: dark) {.ob-button:focus-visible { outline-color:#C599FF4D; }.ob-button.primary { border-color:#7A1CFF;box-shadow:inset 0 1px 0 #FFFFFF33,0 1px 2px #00000066,0 6px 16px -6px #6F00FFA6; }diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.cssindex 35fec6b7..43851359 100644--- a/app/src/renderer/src/styles.css+++ b/app/src/renderer/src/styles.css@@ -186,16 +186,7 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:vtouch-action: none;}.widget-pill:focus-visible { outline: 2px solid var(--pill-accent); outline-offset: -3px; }-.widget-btn { color:#fff;background:#6F00FF;transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro) ease; }-.widget-btn-secondary { color:var(--pill-ink);background:#39393E; }-.widget-btn:disabled { opacity:.55; }.widget-retry { color:#FFB0BD; }-.widget-btn:focus-visible { outline: 2px solid var(--pill-ink); outline-offset: 2px; }-.widget-btn:active { transform: scale(0.97); }-@media (hover: hover) and (pointer: fine) {- .widget-btn:not(:disabled):hover { background:#8120FF; }- .widget-btn-secondary:not(:disabled):hover { background:#48484F; }-}.widget-morph { position:absolute;visibility:hidden;overflow:hidden;isolation:isolate;user-select:none;color:var(--pill-ink);cursor:default; }.widget-morph[data-open=true] { cursor:grab; }.widget-details { position:absolute;left:0;top:0;z-index:2; }@@ -220,31 +211,25 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:v.widget-preview .live-words { color:#C3C3CA; }.widget-preview .live-dots i { background:#C3C3CA; }.widget-preview-empty { padding:12px 6px;color:#B8B8C0;font-size:13px; }-.widget-preview-latest { position:absolute;bottom:12px;inset-inline-start:50%;translate:-50% 0;display:flex;align-items:center;gap:4px;padding:4px 9px;border:1px solid var(--widget-line);border-radius:8px;background:var(--pill);font-size:11px;box-shadow:0 3px 10px #0003; }+.widget-preview-latest { position:absolute;bottom:12px;inset-inline-start:50%;translate:-50% 0; }[dir=rtl] .widget-preview-latest { translate:50% 0; }.widget-preview-warning { flex:none;margin:0 8px 12px 0;padding:10px 12px;border-radius:10px;background:#FFFFFF06;font-size:12px;line-height:18px; }-.widget-settings { display:block;margin-top:10px;padding:4px 9px;min-height:28px;border:1px solid #FFFFFF20;border-radius:6px;background:#FFFFFF08;font-size:11px;font-weight:500;cursor:pointer; }-.widget-settings:hover { background:#FFFFFF14; }-.widget-preview button:focus-visible { outline:2px solid var(--pill-accent);outline-offset:1px; }+.widget-settings { display:flex;margin-top:10px; }.widget-preview .page-loading { --control:#FFFFFF14; }-@media (prefers-reduced-motion: reduce) { .widget-btn { transition: none; } }/* ---- the note screen ---- *//* The rewrite stays anchored to the note menu, leaving the reading surface still. */.summary-regenerate { position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:40;width:420px;max-width:calc(100vw - 32px);padding:14px;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--float);box-shadow:var(--shadow); }.summary-regenerate-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap; }-.summary-regenerate-heading button { display:grid;place-items:center;width:22px;height:22px;border-radius:4px;color:var(--muted); }.summary-regenerate-input { width:100%;height:36px;border:1px solid var(--control-border);border-radius:6px;background:var(--control);padding:0 10px;font-size:12px;color:var(--ink); }.main-window .summary-regenerate-input:focus-visible { outline:2px solid var(--muted);outline-offset:2px; }.summary-regenerate-input::placeholder { color:var(--muted); }.summary-regenerate-warning { margin-top:10px;font-size:12px;line-height:20px;color:var(--muted);white-space:nowrap; }.summary-regenerate-actions { display:flex;justify-content:flex-end;margin-top:12px; }-.summary-regenerate-actions button { white-space:nowrap;font-size:12px; }.note-chip, .note-record-action { height:32px; }-.note-chip, .share-btn, .person-remove { transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease, opacity var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) ease; }+.note-chip { transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease, opacity var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) ease; }.note-chip:hover, .note-chip[aria-expanded="true"] { background:var(--control-hover);color:var(--ink); }-.note-chip:focus-visible, .share-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }-.share-btn:hover { background:var(--control-hover); }+.note-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }.person-remove { opacity: 0; }.person-row:hover { background: color-mix(in srgb, var(--line) 45%, transparent); }/* keyboard focus shows a row's actions; the focus the card takes when it opens doesn't, so only the hovered row shows them */@@ -269,14 +254,12 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:v@starting-style { .menu-entry:not([data-motion=instant]) { opacity:0;transform:scale(.97); } }.menu-entry:not([data-motion=instant])[data-ending-style] { opacity:0;transform:none;transition:opacity var(--dur-micro) var(--ease-out);pointer-events:none; }@media (prefers-reduced-motion:reduce) {- .note-chip,.share-btn,.person-remove { transition:opacity var(--dur-micro) var(--ease-out); }+ .note-chip { transition:opacity var(--dur-micro) var(--ease-out); }.menu-entry:not([data-motion=instant]) { transition:opacity var(--dur-micro) var(--ease-out); }.menu-entry:not([data-motion=instant])[data-starting-style] { transform:none; }@starting-style { .menu-entry:not([data-motion=instant]) { transform:none; } }}-.ghost-btn { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 4px 8px; color: var(--muted); transition: color var(--dur-micro) ease, background-color var(--dur-micro) ease; }-.ghost-btn:hover, .ghost-btn[aria-pressed="true"] { color:var(--ink);background:var(--control-hover); }@keyframes rec-pulse { 50% { opacity: 0.35; } }@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }@@ -500,9 +483,6 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:v.inline-error { display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--float);color:var(--written);font-size:13px;line-height:20px;text-align:start;text-overflow:ellipsis; }.inline-error>svg { flex:none;align-self:flex-start;margin-block-start:2px;color:var(--danger); }.inline-error>span { flex:1;min-width:0;overflow-wrap:anywhere; }-.inline-error-action { flex:none;border-radius:4px;padding:2px 3px;color:var(--accent);font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:3px; }-.inline-error-action:hover { color:var(--ink);background:var(--control); }-.inline-error-action:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }.inline-error-in-dialog { margin:0 19px 16px;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;line-height:18px; }.modal-actions { display:flex;flex-direction:column;gap:7px;padding:0 20px 20px; }.modal-button { display:inline-flex;align-items:center;justify-content:center;min-height:33px;width:100%;padding:6px 12px;border:1px solid transparent;border-radius:7px;background:var(--control);font-size:12px;font-weight:500;transition:background-color var(--dur-micro) ease; }@@ -605,11 +585,8 @@ input::selection, textarea::selection, .note-prose ::selection { background: var.note-recording-group[data-recording=true] .note-finish-action:hover:not(:disabled),.note-recording-group[data-recording=true] .note-finish-action:active:not(:disabled) { background:var(--primary-hover);color:#FFFFFF; }.note-recording-group[data-recording=true] .note-finish-action:focus-visible { outline-color:#FFFFFF;outline-offset:-3px; }.note-finishing { display:flex;align-items:center;height:30px;padding-inline:10px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px; }-.note-header-actions .share-btn { height:30px;background:transparent;box-shadow:none; }.workspace .note-record-action:focus-visible { outline-offset:-2px; }-.chat-trigger { display:flex;align-items:center;justify-content:center;gap:7px;height:30px;padding-inline:10px;border:1px solid var(--line);border-radius:6px;background:var(--float);box-shadow:var(--shadow-soft);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap; }-.chat-trigger:hover,.chat-trigger[aria-expanded=true] { background:var(--control); }-.chat-trigger:active { background:var(--control-pressed); }+.chat-panel { position:fixed;z-index:70;inset-block:auto var(--chat-bottom,72px);inset-inline:auto 24px;width:420px;max-width:calc(100% - 32px);height:min(440px,var(--chat-height,440px),calc(100dvh - var(--chat-bottom,72px) - 68px));min-height:0;max-height:none;margin:0;padding:0;overflow:visible;border:1px solid var(--line);border-radius:12px;background:var(--float);color:var(--ink);box-shadow:0 16px 48px rgb(0 0 0 / .18),0 4px 12px rgb(0 0 0 / .08); }.chat-panel[open] { display:flex;flex-direction:column; }.chat-panel { background:transparent;border-color:transparent;box-shadow:none; }@@ -622,9 +599,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var@keyframes icon-spin { to { transform:rotate(360deg); } }@media (prefers-reduced-motion:reduce) { [data-icon=Loader] { animation:none; } }-.chat-icon { display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:5px;color:var(--muted); }-.chat-icon:hover,.chat-icon[aria-expanded=true] { background:var(--control);color:var(--ink); }-.chat-latest { position:absolute;z-index:1;bottom:8px;inset-inline-start:calc(50% - 15px);display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:var(--float);color:var(--muted);box-shadow:var(--shadow-soft); }+.chat-latest { position:absolute;z-index:1;bottom:8px;inset-inline-start:calc(50% - 14px); }.chat-answer-actions { display:flex;align-items:center;gap:8px;margin-top:6px; }/* Answer actions ease in, rising 2px, a beat after the answer finishes or on hover; they fade out in place. */.ask-turn .chat-answer-actions { opacity:0;transform:translateY(2px);transition:opacity var(--dur-base) ease,transform 0s linear var(--dur-base); }@@ -635,8 +610,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var@media (hover:none) { .ask-turn .chat-answer-actions { opacity:1; } }.chat-answer-scope { display:flex;align-items:center;min-width:0;margin-inline-start:-5px;font-size:11px;line-height:16px;color:var(--muted);white-space:pre; }.chat-answer-scope::before { content:"·";flex:none;margin-inline-end:8px; }-.chat-copy-action { flex:none;display:inline-flex;align-items:center;gap:5px;padding:4px 5px;margin-inline-start:-5px;min-height:28px;border-radius:5px;font-size:11px;color:var(--muted); }-.chat-copy-action:hover { background:var(--control);color:var(--ink); }+.chat-copy-action { margin-inline-start:-10px; }.chat-progress { display:flex;align-items:center;gap:9px;padding-block:5px;color:var(--muted);font-size:13px;line-height:20px; }.thinking-dots { width:18px;height:20px;flex:none;color:var(--accent); }/* a new wording of the step fades in, never slides */@@ -676,7 +650,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var.transcript-toolbar { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:10px 12px;border-bottom:1px solid var(--line); }.note-primary-tabs { z-index:2; }.transcript-find { position:relative;width:32px;height:32px;z-index:2;clip-path:inset(-4px -4px -4px -600px); }-.transcript-find-trigger { width:32px;height:32px;justify-content:center;padding:0;opacity:1;transition:opacity var(--dur-micro) var(--ease-out) var(--dur-micro); }+.ghost-btn.transcript-find-trigger { width:32px;height:32px;justify-content:center;padding:0;opacity:1;transition:opacity var(--dur-micro) var(--ease-out) var(--dur-micro); }.transcript-find[data-open=true] .transcript-find-trigger { opacity:0;pointer-events:none;transition-delay:0s; }.transcript-find-clip { position:absolute;inset-inline-end:0;top:0;width:min(376px,calc(100vw - 48px));height:32px;overflow:hidden;border-radius:6px;opacity:0;pointer-events:none;transform:translateX(calc(100% - 32px));transition:transform var(--dur-micro) var(--ease-out),opacity var(--dur-micro) var(--ease-out); }.transcript-search-field { display:flex;align-items:center;gap:8px;height:32px;padding-inline:10px 4px;background:var(--control);border-radius:6px;transform:translateX(calc(32px - 100%));transition:transform var(--dur-micro) var(--ease-out); }@@ -693,8 +667,6 @@ input::selection, textarea::selection, .note-prose ::selection { background: var.transcript-find-count>span { grid-area:1/1; }.transcript-find-reserve { visibility:hidden; }.transcript-find-arrows { display:flex;align-items:center;gap:2px;flex:none; }-.transcript-find-controls .ghost-btn { display:grid;place-items:center;width:24px;height:24px;padding:0;flex:none; }-.transcript-find-controls .ghost-btn:disabled { opacity:.35;background:transparent;color:var(--muted);cursor:default; }.transcript-find-controls svg { display:block; }/* The trigger finishes fading before the close glyph appears in its old position. */.transcript-find-close { opacity:0;transition:opacity var(--dur-micro) var(--ease-out); }@@ -747,17 +719,13 @@ input::selection, textarea::selection, .note-prose ::selection { background: varhtml:not(.widget) .bg-accent { background-color:var(--primary); }html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible { outline-color:var(--focus); }-.share-control { display:flex;align-items:center;height:28px;border-radius:6px;background:var(--control);color:var(--ink);font-size:12px;font-weight:500; }-.share-control .share-btn { height:28px;border-radius:5px; }-.share-control .share-btn + .share-btn { border-color:var(--line); }@media (prefers-reduced-motion:reduce) { .modal-button { transition:none; } }/* Shared Ask send controls. */@media(prefers-reduced-motion:reduce) { .chat-page .chat-box,.chat-page .chat-send { transition:none; } }-.search-footer>button { display:flex;align-items:center;gap:6px;margin-inline-start:auto;border-radius:4px; }-.search-footer>button:hover { color:var(--ink); }+.search-footer>button { margin-inline-start:auto; }.app-modal[data-testid=shortcuts-dialog] { width:min(460px,calc(100vw - 40px));height:min(580px,80vh);display:flex;flex-direction:column;overflow:hidden; }.app-modal[data-testid=shortcuts-dialog] .modal-copy { flex:none;padding:22px 24px 18px; }.shortcuts-close { position:absolute;inset-inline-end:16px;top:18px; }@@ -904,16 +872,7 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {.notes-download-footer { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap; }.notes-download-support { font-size:11px; }.notes-download-menu[data-failed=true] .notes-download-support { flex-basis:100%; }-.notes-download-retry,.notes-download-skip { transition:transform var(--dur-micro) var(--ease-out); }-.notes-download-actions { display:flex;align-items:center;gap:12px; }-.notes-download-actions button { flex:none;border-radius:5px;padding:4px 10px;border:1px solid var(--line);background:var(--control);color:var(--ink);font-size:12px;line-height:18px;white-space:nowrap; }-.notes-download-actions button:hover { background:var(--control-hover); }-.notes-download-actions button:active:not(:disabled) { transform:scale(.97); }-.notes-download-actions button:focus-visible { outline:2px solid var(--focus);outline-offset:3px; }-.notes-download-actions button:disabled { opacity:.5; }-.notes-download-actions .notes-download-skip { border:0;padding:4px 0;background:transparent;color:var(--muted);font-size:11px; }-.notes-download-actions .notes-download-skip:hover { color:var(--ink);background:transparent; }-.notes-download-actions .notes-download-skip:active { transform:none; }+.notes-download-actions { font-size:12px;line-height:18px;display:flex;align-items:center;gap:12px; }/* Upgrading: the line and Skip share one row; a long translation wraps inside the line, never pushes Skip below */.notes-download-menu:not([data-failed=true]) .notes-download-footer { flex-wrap:nowrap; }.notes-download-menu:not([data-failed=true]) .notes-download-support { flex:1 1 auto;min-width:0; }@@ -921,7 +880,7 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {@keyframes motion-fade { from { opacity:0; } to { opacity:1; } }@media (prefers-reduced-motion:reduce) {- .widget-btn:active,.player-btn:active,.notes-download-actions button:active:not(:disabled) { transform:none; }+ .player-btn:active { transform:none; }.player-btn { transition:opacity var(--dur-micro) var(--ease-out); }.scrubber::-webkit-slider-thumb,.scrubber:hover::-webkit-slider-thumb,.scrubber:active::-webkit-slider-thumb { transition:none;transform:none; }.notes-download-trigger>svg { transition:none; }@@ -973,9 +932,20 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {.update-ready-menu { width:max-content;min-width:286px;max-width:calc(100vw - 24px); }.update-ready-menu h2 { font-size:12px;font-weight:550;line-height:18px; }.update-ready-menu .update-ready-description { margin:6px 0 15px;color:var(--muted);font-size:11px;white-space:nowrap;text-wrap:nowrap;overflow:hidden;text-overflow:ellipsis; }-.update-ready-actions { display:flex;justify-content:flex-end;align-items:center;gap:14px; }-.update-ready-later { border:0;padding:4px 0;background:transparent;color:var(--muted);font-size:11px; }-.update-ready-later:hover { color:var(--ink);background:transparent; }-.update-ready-later:active { transform:none; }-.update-ready-later:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }+.update-ready-actions { font-size:12px;line-height:18px;display:flex;justify-content:flex-end;align-items:center;gap:14px; }.update-ready-menu [role=alert] { max-width:320px;font-size:11px;color:var(--muted); }++/* Shared actions. Status fields and selection controls keep their own geometry. */+.text-action,.ghost-btn,.workspace-button { display:inline-flex;align-items:center;justify-content:center;flex:none;gap:6px;box-sizing:border-box;white-space:nowrap;text-decoration:none;line-height:18px; }+.text-action { padding:4px 0;border:0;border-radius:3px;background:transparent;color:var(--muted);font-size:inherit;line-height:inherit;font-weight:400; }+.text-action:hover:not(:disabled) { color:var(--ink); }+.ghost-btn,.workspace-button { height:30px;padding:0 11px;border:1px solid transparent;border-radius:6px;font-size:12px; }+.ghost-btn { background:transparent;color:var(--muted);font-weight:400; }+.workspace-button { border-color:var(--line);background:var(--float);color:var(--ink);font-weight:500;box-shadow:inset 0 1px 0 #FFFFFF0D,0 1px 2px #0000000A; }+.ghost-btn:hover:not(:disabled),.ghost-btn:is([aria-expanded=true],[aria-pressed=true]):not(:disabled),.workspace-button:not(.primary):hover:not(:disabled) { color:var(--ink);background:var(--control-hover); }+.ghost-btn:active:not(:disabled),.workspace-button:not(.primary):active:not(:disabled) { background:var(--control-pressed); }+.text-action:disabled,.ghost-btn:disabled,.workspace-button:disabled { opacity:.45;cursor:default; }+.text-action:focus-visible,.ghost-btn:focus-visible,.workspace-button:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }+.workspace-icon { width:28px;height:28px;padding:0; }+.modal-actions>.workspace-button { width:100%; }+.widget-preview { --float:var(--pill);--ink:var(--pill-ink);--line:var(--widget-line);--control-hover:#FFFFFF14;--control-pressed:#FFFFFF20;--focus:var(--pill-accent); }diff --git a/app/src/renderer/src/windows/Prompt.tsx b/app/src/renderer/src/windows/Prompt.tsxindex 69569195..41983ebf 100644--- a/app/src/renderer/src/windows/Prompt.tsx+++ b/app/src/renderer/src/windows/Prompt.tsx@@ -52,7 +52,7 @@ export function Prompt() {)}</div>{start && (- <button data-testid="prompt-close" aria-label={t('Not now')} className="call-prompt-close" onClick={() => window.yogurt.prompt.act('close')}>+ <button data-testid="prompt-close" aria-label={t('Not now')} className="ghost-btn workspace-icon" onClick={() => window.yogurt.prompt.act('close')}><X size={16} strokeWidth={1.5} aria-hidden="true" /></button>)}diff --git a/app/src/renderer/src/windows/Widget.tsx b/app/src/renderer/src/windows/Widget.tsxindex 9f740d4f..7f60d641 100644--- a/app/src/renderer/src/windows/Widget.tsx+++ b/app/src/renderer/src/windows/Widget.tsx@@ -199,7 +199,7 @@ function Preview({ view, open }: { view: WidgetView; open: boolean }) {return <div data-testid="widget-preview" className="widget-preview" role="region" aria-label={t('Live transcript')} inert={!open} aria-hidden={!open}>{note && <div className="widget-preview-warning" role="status"><p data-testid="widget-note" data-tone={note.tone}>{note.text}</p>- {permission && <button className="widget-settings" onClick={() => { void window.yogurt.permissions.open(permission) }}>{t('Open Settings')}</button>}+ {permission && <button className="workspace-button widget-settings" onClick={() => { void window.yogurt.permissions.open(permission) }}>{t('Open Settings')}</button>}</div>}<ScrollFade><div ref={scroll} data-testid="widget-preview-text" className="widget-preview-conversation" role="log" aria-live="off" aria-label={t('Transcript')}@@ -225,6 +225,6 @@ function Preview({ view, open }: { view: WidgetView; open: boolean }) {</div></div></ScrollFade>- {behind && <button data-testid="widget-preview-latest" className="widget-preview-latest" onClick={latest}><ArrowDown size={12} aria-hidden="true" />{t('Latest')}</button>}+ {behind && <button data-testid="widget-preview-latest" className="workspace-button widget-preview-latest" onClick={latest}><ArrowDown size={12} aria-hidden="true" />{t('Latest')}</button>}</div>}diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.cssindex fe8f5b94..5fbdabed 100644--- a/app/src/renderer/src/workspace.css+++ b/app/src/renderer/src/workspace.css@@ -53,7 +53,7 @@.workspace-nav>svg { color:var(--muted);flex:none; }.workspace-nav>span:not(.folder-glyph) { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.workspace-nav small { margin-inline-start:auto;font-size:9px;line-height:17px;font-weight:400;color:var(--muted); }-.workspace-nav:hover,.workspace-icon:hover { background:color-mix(in srgb,var(--ink) 5%,transparent); }+.workspace-nav:hover { background:color-mix(in srgb,var(--ink) 5%,transparent); }.workspace-nav[aria-current=page] { background:var(--sidebar-selected);color:var(--ink); }.workspace-nav[aria-current=page]:before { content:none; }.workspace-nav[aria-current=page]>svg { color:var(--written); }@@ -67,7 +67,7 @@.workspace-folder-item[data-moving=true] .workspace-folder-more { visibility:hidden; }.workspace-folder-item [role=menuitem]:disabled { opacity:.4; }.workspace-folder-item>.workspace-nav[data-drop=true] { background:var(--accent-soft);color:var(--ink); }-.workspace-folder-more { position:absolute;inset-inline-end:5px;top:4px;width:27px;height:27px;opacity:0; }+.workspace-folder-more { position:absolute;inset-inline-end:5px;top:4px;opacity:0; }.workspace-folder-item:hover .workspace-folder-more,.workspace-folder-more:focus-visible,.workspace-folder-more[aria-expanded=true] { opacity:1; }.workspace-folder-item:hover small,.workspace-folder-item:has(.workspace-folder-more:focus-visible,.workspace-folder-more[aria-expanded=true]) small { visibility:hidden; }.workspace-folder-item small { position:absolute;inset-inline-end:var(--nav-inset); }@@ -93,18 +93,12 @@/* Keep chrome edge-to-edge while the canvas moves; only the controls need clearance. */.sidebar-collapsed .workspace-toolbar { padding-inline-start:68px; }.workspace[data-sidebar-motion=true] .workspace-toolbar { transition:padding-inline-start 200ms cubic-bezier(.22,1,.36,1); }-.workspace-icon { display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:none;border:1px solid transparent;border-radius:5px;color:var(--muted); }-.workspace-icon:active { background:color-mix(in srgb,var(--ink) 9%,transparent); }.workspace button:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }-.workspace-button { height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;border:1px solid var(--line);border-radius:6px;background:var(--float);box-shadow:inset 0 1px 0 #FFFFFF0D,0 1px 2px #0000000A;font-size:12px;font-weight:500;color:var(--ink);white-space:nowrap;transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease,box-shadow var(--dur-micro) ease,transform var(--dur-micro) var(--ease-out); }-.workspace-button:hover:not(:disabled) { background:var(--control-hover); }-.workspace-button:active:not(:disabled) { background:var(--control-pressed);box-shadow:inset 0 1px 2px #0000000A; }-.workspace-button:disabled { opacity:.45;cursor:default; }.workspace-button.primary { background-color:var(--primary);background-image:linear-gradient(180deg,#FFFFFF14,transparent 55%,#0000000A);border-color:#00000014;color:#FFFFFF;box-shadow:inset 0 1px 0 #FFFFFF29,0 1px 2px #35006524; }.workspace-button.primary:hover:not(:disabled) { background-color:var(--primary-hover); }.workspace-button.primary:active:not(:disabled) { background-image:none;box-shadow:inset 0 1px 2px #35006533; }.recording-split { display:flex;min-width:0;max-width:min(100%,276px); }-.recording-main { min-width:0; }+.recording-main { flex:0 1 auto;min-width:0; }.recording-main>svg { flex:none; }.recording-label { min-width:0;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.recording-split[data-split=true] .recording-main { border-start-end-radius:0;border-end-end-radius:0;border-inline-end:0; }@@ -163,23 +157,19 @@.meeting-drag-preview { position:fixed;inset-block-start:0;inset-inline-start:0;display:flex;align-items:center;gap:9px;width:max-content;max-width:280px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:var(--float);color:var(--ink);box-shadow:var(--shadow);pointer-events:none; }.meeting-drag-preview strong { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:19px;font-weight:500; }.meeting-live { display:flex;align-items:center;gap:4px;color:var(--accent); }-.meeting-delete { width:27px;height:27px;opacity:.6; }+.meeting-delete { opacity:.6; }.meeting-delete svg { width:13px;height:13px; }.native-meeting-row:hover .meeting-delete,.native-meeting-row:has(:focus-visible) .meeting-delete { opacity:1; }.meeting-delete:hover { color:var(--danger); }-.meeting-more { width:27px;height:27px; }/* Opacity only: sliding text a couple of pixels re-rasterizes the glyphs, which reads as a jitter. The time leaves quickly and the button arrives just after, so the two never sit on top of each other. */.row-swap-meta { grid-column:2;transition:opacity var(--dur-micro) var(--ease-out) 40ms; }.row-swap-actions { grid-area:1 / 2;justify-self:end;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--dur-micro) var(--ease-out); }.row-swap:is(:hover,:focus-visible,:has(:focus-visible),[data-menu-open=true],:has(>.row-swap-actions[aria-expanded=true])) .row-swap-meta { opacity:0;pointer-events:none;transition-delay:0ms; }.row-swap:is(:hover,:focus-visible,:has(:focus-visible),[data-menu-open=true],:has(>.row-swap-actions[aria-expanded=true])) .row-swap-actions { opacity:1;pointer-events:auto;transition:opacity var(--dur-micro) var(--ease-out) 50ms; }-.row-swap :is(.workspace-icon,.chat-icon) { background:transparent; }-.row-swap :is(.workspace-icon,.chat-icon):hover:not(:disabled) { background:var(--control-hover); }-.row-swap :is(.workspace-icon,.chat-icon):active:not(:disabled) { background:var(--control-pressed); }/* Pointer focus is inert; keyboard focus belongs to the whole row, inside its clipped boundary. */:is(.native-meeting-row,.ask-history-row,.agenda-event):is(:focus-visible,:has(:focus-visible)) { outline:2px solid var(--focus);outline-offset:-2px; }.native-meeting-row .native-meeting-link:focus-visible,.ask-history-row>.ask-history-link:focus-visible,.agenda-event .agenda-title:focus-visible { outline:none; }-.row-swap :is(.workspace-icon,.chat-icon):focus-visible { outline-offset:-2px; }+.row-swap .workspace-icon:focus-visible { outline-offset:-2px; }.meeting-row-menu { position:fixed;z-index:100;width:224px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;border:1px solid var(--line); }.meeting-row-menu [role="menuitem"] { display:flex;align-items:center;gap:10px;width:100%;text-align:start; }.meeting-row-menu [role="menuitem"]:disabled { opacity:.5; }@@ -204,7 +194,6 @@.agenda-header>h2 { font-weight:550;font-size:13px;letter-spacing:-.1px; }.agenda-navigation { margin-top:24px;display:flex;gap:4px;align-items:center; }.agenda-month { margin-inline-end:auto;min-width:0;font-size:11px;font-weight:500;color:var(--written); }-.agenda-header .workspace-button { height:27px;padding:0 9px;font-size:11px; }.agenda-week { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;padding:18px 0 20px;border-bottom:1px solid var(--line);margin-bottom:23px; }.agenda-week button { display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0; }.agenda-week span { font-size:10px;line-height:14px;color:var(--muted); }@@ -244,7 +233,6 @@.agenda-inspector-heading { flex:none;display:flex;align-items:start;justify-content:space-between;gap:12px; }.agenda-inspector-heading h3 { min-width:0;font-size:14px;line-height:21px;font-weight:600;outline:none; }.agenda-inspector-heading .workspace-icon { flex:none;margin-block:-4px;margin-inline-end:-4px; }-.agenda-open-note { height:28px;padding-inline:8px;font-size:11px; }.agenda-inspector-footer { flex:none;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);padding-top:16px; }.agenda-inspector-actions { display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;container-type:inline-size; }.agenda-inspector .agenda-inspector-footer { gap:16px; }@@ -257,8 +245,6 @@.agenda-inspector-actions>a.workspace-button:focus-visible { outline:2px solid var(--focus);outline-offset:-2px; }@container (max-width:180px) { .agenda-inspector-actions:has(>:nth-child(2))>.workspace-button { max-width:100%; } }.agenda-inspector-people { min-width:0; }-.agenda-more-people { margin-top:8px;color:var(--accent);font-size:11px;text-align:start; }-.agenda-more-people:hover { text-decoration:underline;text-underline-offset:3px; }.agenda-inspector button:focus-visible,.agenda-inspector a:focus-visible { outline-offset:-2px; }.agenda-inspector-line { display:flex;align-items:start;gap:10px; }.agenda-inspector-line>svg { flex:none;margin-top:2px;color:var(--muted); }@@ -275,10 +261,8 @@.agenda-status svg { margin-bottom:14px; }.agenda-status h3 { font-size:13px;color:var(--written);font-weight:500; }.agenda-status p { margin:5px 0 17px; }-.agenda-status .workspace-button { font-size:11px; }.trash-note { color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 16px; }.trash-actions { display:flex;gap:4px; }-.trash-actions .workspace-icon { width:27px;height:27px; }/* Move around the composer without relaying out the toast stack. */.app-toast-viewport { position:fixed;bottom:20px;inset-inline-end:20px;--toast-x:0px;--toast-y:0px;translate:var(--toast-x) var(--toast-y);transition:translate var(--dur-surface) var(--ease-in-out);width:340px;max-width:calc(100% - 40px);z-index:90;outline:none;pointer-events:none; }.app-toast { position:absolute;inset-block-end:0;inset-inline:0;width:100%;height:var(--toast-frontmost-height,var(--toast-height));border:1px solid var(--line);border-radius:11px;background:var(--float);color:var(--ink);box-shadow:0 8px 24px #0000001F,0 1px 3px #00000014;pointer-events:auto;outline:none;--gap:10px;z-index:calc(100 - var(--toast-index,0)); }@@ -287,10 +271,6 @@.app-toast-content { display:flex;align-items:center;gap:12px;padding-block:12px;padding-inline:16px 10px;overflow:hidden; }.app-toast-content[data-behind]:not([data-expanded]) { opacity:0; }.app-toast-title { min-width:0;flex:1;font-size:13px;line-height:19px;font-weight:500; }-.app-toast-action { flex:none;padding:5px 9px;border:1px solid var(--control-border);border-radius:6px;font-size:12px;line-height:18px;font-weight:500;background:var(--button-surface,var(--control));box-shadow:0 1px 2px #0000000A; }-.app-toast-action:hover { background:var(--control-hover); }-.app-toast-close { display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:5px;color:var(--muted); }-.app-toast-close:hover { color:var(--ink);background:var(--control); }.app-toast button:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }/* Meeting source pills, with only the preview surface joining through goo. */@@ -322,10 +302,6 @@.citation-quote { margin:8px 0;color:var(--ink);font-size:14px;line-height:21px;font-weight:400;letter-spacing:0;overflow-wrap:anywhere;max-height:min(320px,calc(100vh - 160px));overflow:auto; }.citation-context { color:var(--written); }.citation-footer { display:flex;align-items:center;justify-content:flex-end;margin:4px 0 0;font-size:11px;color:var(--muted); }-.citation-open { display:inline-flex;align-items:center;gap:5px;height:24px;padding:2px 4px;border-radius:4px;background:transparent;color:var(--muted);font-size:11px;line-height:20px; }-.citation-open:hover { background:var(--control-hover);color:var(--ink); }-.citation-open:active { background:var(--control-pressed); }-.citation-open:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }.citation-card[data-morph=true] .citation-liquid { filter:var(--citation-filter); }.citation-card[data-morph=true] .citation-mass { animation:citation-pull 280ms linear both; }.citation-card[data-morph=true] .citation-content { animation:citation-in 130ms ease-out 90ms both,citation-crop 280ms linear backwards; }@@ -422,7 +398,7 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }.meeting-folder-proposal .note-folder-name { height:20px;padding:0;gap:5px;border-radius:9px;font:inherit; }.meeting-folder-proposal .note-folder-name:hover { background:transparent; }.meeting-folder-proposal .note-folder-actions { padding:0;border:0; }-.meeting-folder-proposal .workspace-icon { width:20px;height:20px;border-radius:50%; }+.meeting-folder-proposal .workspace-icon { width:20px;height:20px; }.meeting-folder-proposal button:focus-visible { outline:2px solid var(--accent);outline-offset:-2px; }.meeting-folder-proposal button:active { background:var(--control-pressed); }@container meeting-library (max-width:460px) {@@ -443,9 +419,6 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }/* a gutter held from the start: a scrollbar appearing as context grows would shift the centred page sideways */.ask-page { contain:layout;height:100%;min-height:0;display:flex;flex-direction:column;overflow-y:auto;scrollbar-gutter:stable both-edges;padding:104px 32px 24px; }.ask-page-toolbar { position:absolute;z-index:4;top:68px;inset-inline:24px;display:flex;align-items:center;justify-content:flex-end;gap:12px;height:28px; }-.ask-recent-button,.ask-back { display:inline-flex;align-items:center;gap:8px;height:28px;padding-inline:8px;border-radius:6px;color:var(--muted);font-size:12px; }-.ask-recent-button:hover,.ask-recent-button[aria-expanded=true],.ask-back:hover { background:var(--control);color:var(--ink); }-.ask-recent-button:active,.ask-back:active { background:var(--control-pressed); }.ask-back { margin-inline-end:auto; }.ask-page:has(.ask-landing) { container-type:size;padding-bottom:clamp(104px,24vh,240px); }.ask-page:has(.ask-landing) .ask-back { display:none; }@@ -459,10 +432,6 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }.ask-full-thread .ask-thread { padding-inline:var(--ask-reading-inset); }.ask-conversation-head { display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:44px;flex:none; }.ask-conversation-head h2 { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550; }-.ask-conversation .chat-icon:active:not(:disabled) { background:var(--control-pressed); }-.ask-conversation .chat-icon:disabled { opacity:.45; }-.ask-conversation :is(.chat-copy-action,.chat-latest):hover { background:var(--control);color:var(--ink); }-.ask-conversation :is(.chat-copy-action,.chat-latest):active { background:var(--control-pressed); }.ask-conversation button:focus-visible,.ask-page-toolbar button:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }.ask-header-actions { display:flex;align-items:center;gap:8px;flex:none; }.ask-thread-wrap { flex:1;position:relative;min-height:0;display:flex; }@@ -514,9 +483,7 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }.ask-scope-clear { flex:none;display:flex;align-items:center;justify-content:center;width:26px;height:28px;border-start-end-radius:8px;border-end-end-radius:8px;background:var(--control);color:var(--muted); }.ask-scope-clear:hover:not(:disabled) { background:var(--control-hover);color:var(--ink); }.ask-scope-clear:disabled { opacity:.45; }-.ask-picker h3:has(.ask-picker-clear) { display:flex;align-items:center;justify-content:space-between; }-.ask-picker h3 .ask-picker-clear { width:auto;padding:0 2px;border-radius:4px;background:none;color:var(--muted);font-size:11px;font-weight:500; }-.ask-picker h3 .ask-picker-clear:hover:not(:disabled) { background:none;color:var(--ink); }+.ask-picker h3:has(.text-action) { display:flex;align-items:center;justify-content:space-between; }.ask-scope-label { display:flex;min-width:0; }.ask-scope-name { min-width:0;overflow:hidden;text-overflow:ellipsis; }.ask-scope-others { flex:none;white-space:pre; }@@ -539,12 +506,12 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }.ask-picker-search:focus-visible { outline:none;border-radius:0; }.ask-picker-results { min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable; }.ask-picker h3 { padding:7px 8px;font-size:11px;font-weight:550;color:var(--muted); }-.ask-picker button { display:flex;align-items:center;gap:8px;width:100%;padding:8px;border-radius:5px;text-align:start;font-size:13px; }-.ask-picker button[data-active=true],.ask-picker button:hover:not(:disabled) { background:var(--card); }-.ask-picker button>span { flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }-.ask-picker button:active { background:var(--control-pressed); }-.ask-picker button>svg { flex:none; }-.ask-picker button:disabled { opacity:.45; }+.ask-picker button:not(.text-action) { display:flex;align-items:center;gap:8px;width:100%;padding:8px;border-radius:5px;text-align:start;font-size:13px; }+.ask-picker button:not(.text-action)[data-active=true],.ask-picker button:not(.text-action):hover:not(:disabled) { background:var(--card); }+.ask-picker button:not(.text-action)>span { flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }+.ask-picker button:not(.text-action):active { background:var(--control-pressed); }+.ask-picker button:not(.text-action)>svg { flex:none; }+.ask-picker button:not(.text-action):disabled { opacity:.45; }.ask-picker small { flex:none;color:var(--muted);font-size:11px; }.ask-picker p { padding:10px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }.ask-recent-positioner { z-index:80; }@@ -559,9 +526,7 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }.ask-history-link { grid-area:1 / 1 / 2 / 3;display:grid;grid-template-columns:subgrid;align-items:center;min-width:0;height:100%;text-align:start;border-radius:5px; }.ask-history-link strong { min-width:0;font-size:13px;font-weight:450;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.ask-history-link time { min-width:86px;color:var(--muted);font-size:11px;text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums; }-.ask-history-all { display:block;width:100%;padding:10px 8px;color:var(--muted);font-size:12px;text-align:start;border-radius:5px; }-.ask-history-all:hover { background:var(--card);color:var(--ink); }-.ask-history-all:active { background:var(--control-pressed); }+.ask-history-all { width:100%;justify-content:flex-start; }.ask-menu-positioner { z-index:110; }.ask-actions-menu { min-width:156px; }.ask-actions-menu [role=menuitem] { display:flex;align-items:center;gap:8px;cursor:default; }@@ -629,7 +594,7 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }.note-reading-clip>.note-notes-pane::-webkit-scrollbar { width:4px; }.note-reading-clip>.note-notes-pane::-webkit-scrollbar-track,.note-reading-clip>.note-notes-pane::-webkit-scrollbar-thumb { background:transparent; }.note-reading-clip>.note-notes-pane[data-scrolling]::-webkit-scrollbar-thumb { background:color-mix(in srgb,var(--muted) 45%,transparent);border-radius:3px; }-.note-latest { position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:6px;padding:4px 12px;background:var(--float);color:var(--ink);font-size:12px;line-height:16px;box-shadow:var(--shadow); }+.note-latest { position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:3; }.native-library { --meeting-selection-tint:6%; }@media (prefers-color-scheme:dark) { .native-library { --meeting-selection-tint:9%; } }@@ -650,12 +615,13 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }/* This confirmation and its Settings shortcut stay on one line. */.app-toast[data-kind=recording-deleted-toast] { inset-inline-start:auto;width:max-content;max-width:calc(100vw - 40px); }-.app-toast[data-kind=recording-deleted-toast] :is(.app-toast-title,.app-toast-action) { white-space:nowrap; }-.workspace-button:active:not(:disabled) { transform:scale(.97); }+.app-toast[data-kind=recording-deleted-toast] :is(.app-toast-title,.workspace-button) { white-space:nowrap; }@media (prefers-reduced-motion:reduce) {- .workspace-button:active:not(:disabled) { transform:none; }.app-toast { filter:none!important; }.note-folder-proposal,.meeting-folder-proposal,.note-folder-actions,.meeting-folder-proposal .note-folder-name span:last-child { transition:opacity var(--dur-micro) var(--ease-out); }}.note-reading-frame[data-resetting=true] .note-reading-clip { visibility:hidden; }+.workspace-button.primary { transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease,box-shadow var(--dur-micro) ease,transform var(--dur-micro) var(--ease-out); }+.workspace-button.primary:active:not(:disabled) { transform:scale(.97); }+@media (prefers-reduced-motion:reduce) { .workspace-button.primary { transition:none; } .workspace-button.primary:active:not(:disabled) { transform:none; } }diff --git a/app/test/motionInteractions.test.ts b/app/test/motionInteractions.test.tsindex af52da15..a532dc3e 100644--- a/app/test/motionInteractions.test.ts+++ b/app/test/motionInteractions.test.ts@@ -654,7 +654,7 @@ it.each(['picker', 'pill'])('clears saved and draft scope from the %s and keepsconst scope = [...c.initial.chips, ...c.initial.draftChips]c.popup().onOpenChange(true)await c.lookup()- find(c.render(), control === 'picker' ? 'ask-picker-clear' : 'ask-scope-clear').props.onClick()+ find(c.render(), control === 'picker' ? 'text-action ask-picker-clear' : 'ask-scope-clear').props.onClick()await c.flush()expect(c.removeContext.mock.calls).toEqual(scope.map(chip => [c.initial.id, chip]))expect(c.popup().open).toBe(true)diff --git a/app/test/noteDateCard.test.ts b/app/test/noteDateCard.test.tsindex 6425d10d..ae8f295b 100644--- a/app/test/noteDateCard.test.ts+++ b/app/test/noteDateCard.test.ts@@ -44,7 +44,7 @@ it.each([expect(html).toContain('Tuesday, Nov 10')expect(html).toContain('7 min')expect(html).toContain(message.replaceAll("'", '''))- expect(html).toContain(`class="workspace-button agenda-open-note">${action}</button>`)+ expect(html).toContain(`class="workspace-button">${action}</button>`)expect(html).not.toContain('note-date-days')expect(html).not.toContain('note-date-previous')expect(html).not.toContain('note-date-next')