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
settings calendars and 'still not working' open and close smoothly
Eric Brownrout1bc820da4d1a
diff --git a/app/src/renderer/src/components/CalendarSettings.tsx b/app/src/renderer/src/components/CalendarSettings.tsxindex cf76b600..a4ac8b29 100644--- a/app/src/renderer/src/components/CalendarSettings.tsx+++ b/app/src/renderer/src/components/CalendarSettings.tsx@@ -49,7 +49,7 @@ export function CalendarSettings() {</span><ChevronDown size={16} aria-hidden="true" /></button>- <div id="settings-calendar-list" className="settings-calendar-list" hidden={!open}>+ <div id="settings-calendar-list" className="accordion" data-open={open} inert={!open || undefined}><div className="settings-calendar-list"><LoadingContent pending={!view} skeleton={<Loading layout="calendars" />}>{view && (view.status !== 'granted' ? <div className="settings-row"><p className="settings-description settings-row-copy">{view.status === 'error' ? t("Yogurt couldn't read your calendars.") : t('Allow calendar access to choose your calendars.')}</p><button className="workspace-button" onClick={() => { if (view.status === 'error') reload(); else void window.yogurt.calendar.connect().then(reload) }}>{view.status === 'error' ? t('Try again') : t('Connect calendar')}</button>@@ -71,7 +71,7 @@ export function CalendarSettings() {</div></div>}{error && <p role="alert" className="settings-row text-danger">{t("Couldn't update your calendars. Try again.")}</p>}- </div>+ </div></div></div></section>}diff --git a/app/src/renderer/src/setup.css b/app/src/renderer/src/setup.cssindex 528d4163..cd30d6b5 100644--- a/app/src/renderer/src/setup.css+++ b/app/src/renderer/src/setup.css@@ -123,7 +123,17 @@.ob-guide-waiting { width:100%;font-size:12px;line-height:18px;color:var(--muted);text-align:start; }.ob-guide-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%; }.ob-guide-help { width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--card);font-size:12px;line-height:18px;color:var(--muted);text-align:start; }-.ob-guide-help summary { cursor:pointer; }+.ob-guide-help summary { display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none; }+.ob-guide-help summary::-webkit-details-marker { display:none; }+/* a small chevron that turns as it opens, like Settings' Calendars */+.ob-guide-help summary::after { content:"";flex:none;width:6px;height:6px;margin-inline-end:3px;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:rotate(-45deg);transition:transform 200ms cubic-bezier(.16,.8,.25,1); }+.ob-guide-help summary:dir(rtl)::after { transform:rotate(45deg); }+.ob-guide-help[open] summary::after { transform:rotate(45deg); }+/* it opens like the other expanding sections: the height grows while the content softens in */+.ob-guide-help { interpolate-size:allow-keywords; }+.ob-guide-help::details-content { height:0;overflow:hidden;opacity:0;filter:blur(2px);transition:height 220ms cubic-bezier(.22,1,.36,1),opacity 140ms ease-out,filter 140ms ease-out,content-visibility 220ms allow-discrete; }+.ob-guide-help[open]::details-content { height:auto;opacity:1;filter:blur(0);transition:height 300ms cubic-bezier(.22,1,.36,1),opacity 220ms ease-out 40ms,filter 220ms ease-out 40ms,content-visibility 300ms allow-discrete; }+@media (prefers-reduced-motion:reduce) { .ob-guide-help::details-content,.ob-guide-help summary::after { transition:none; } }.ob-guide-help summary:focus-visible { outline:2px solid var(--focus);outline-offset:3px;border-radius:2px; }.ob-guide-help-content { display:grid;justify-items:start;gap:12px;padding-top:12px; }.ob-note:has(>.ob-guide-help) { gap:12px; }diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.cssindex d59d64bb..f6713416 100644--- a/app/src/renderer/src/styles.css+++ b/app/src/renderer/src/styles.css@@ -313,6 +313,12 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:v.follow-arrow { transition:transform 240ms cubic-bezier(.34,1.3,.64,1); }.follow-arrow[data-up=true] { transform:rotate(180deg); }@media (prefers-reduced-motion:reduce) { .swap>*,.swap-in,.follow-arrow { transition:none;animation:none; } }+/* Expanding sections (Settings → Calendars): the panel grows to its height while the content softens in, and closes a little quicker */+.accordion { display:grid;grid-template-rows:0fr;transition:grid-template-rows 220ms cubic-bezier(.22,1,.36,1); }+.accordion[data-open=true] { grid-template-rows:1fr;transition-duration:300ms; }+.accordion>* { min-height:0;overflow:hidden;opacity:0;filter:blur(2px);visibility:hidden;transition:opacity 140ms ease-out,filter 140ms ease-out,visibility 220ms; }+.accordion[data-open=true]>* { opacity:1;filter:blur(0);visibility:visible;transition:opacity 220ms ease-out 40ms,filter 220ms ease-out 40ms,visibility 0s; }+@media (prefers-reduced-motion:reduce) { .accordion,.accordion>* { transition:none; } }/* before the first word the summary is one empty paragraph, whose placeholder line break would push the dot down a line */.streaming .note-prose > :last-child > br.ProseMirror-trailingBreak:only-child { display: none; }.summary-surface, .summary-waiting { position: relative; }