Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Notes: with calendar access off, the date popover's Connect calendar button keeps its width instead of its label spilling over the line beside it

Eric Brownrout44b58da6667f
diff --git a/app/e2e/noteDateStates.spec.ts b/app/e2e/noteDateStates.spec.ts
index 5f4a2026..937074ba 100644
--- a/app/e2e/noteDateStates.spec.ts
+++ b/app/e2e/noteDateStates.spec.ts
@@ -29,6 +29,8 @@ for (const theme of ['light', 'dark'] as const) for (const status of ['notDeterm
const action = card.getByRole('button', { name: label, exact: true })
await expect(action).toHaveClass('workspace-button agenda-open-note')
await expect(action).toHaveCSS('height', '28px')
+ // 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') {
await action.click()
await expect.poll(() => app.evaluate(() => (globalThis as any).__fake__.main().settingsOpened)).toBe(1)
diff --git a/app/src/renderer/src/components/NoteDate.tsx b/app/src/renderer/src/components/NoteDate.tsx
index ac44bfa5..08d1c7df 100644
--- a/app/src/renderer/src/components/NoteDate.tsx
+++ b/app/src/renderer/src/components/NoteDate.tsx
@@ -148,7 +148,7 @@ function DateCard({ m, chip, motionProps, onClose }: { m: Meeting; chip: RefObje
{!result ? loading
: !available ? <div className="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="agenda-inspector-actions"><button ref={recovery} className="workspace-button agenda-open-note" onClick={result.status === 'error' ? () => setRevision(n => n + 1) : 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 agenda-open-note" onClick={result.status === 'error' ? () => setRevision(n => n + 1) : connect}>{result.status === 'error' ? t('Try again') : result.status === 'denied' ? t('Open System Settings') : t('Connect calendar')}</button></div>
</div>
: !linked && <div className="note-date-empty-row">
{!result.events.length && <p role="status" className="text-xs text-muted" data-testid="note-date-events-none" title={t('No events')}>{t('No events')}</p>}