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.

toasts: the newest sits in front of the stack, and no countdown bar

Eric Brownrout5dbab7f8d0ef
diff --git a/app/src/renderer/src/components/TrashToast.tsx b/app/src/renderer/src/components/TrashToast.tsx
index 7a076fd9..b7639c58 100644
--- a/app/src/renderer/src/components/TrashToast.tsx
+++ b/app/src/renderer/src/components/TrashToast.tsx
@@ -86,7 +86,7 @@ export function TrashToast({ go }: { go: (route: string) => void }) {
}
return () => { show = undefined }
}, [go])
- return <Toast.Provider toastManager={toasts} timeout={6000} limit={3}>
+ return <Toast.Provider toastManager={toasts} timeout={6000} limit={3} progressBar={false}>
<Toast.Portal container={host}><Toast.Viewport className="app-toast-viewport"><ToastList /></Toast.Viewport></Toast.Portal>
</Toast.Provider>
}
diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.css
index b631cacd..26815c7c 100644
--- a/app/src/renderer/src/workspace.css
+++ b/app/src/renderer/src/workspace.css
@@ -256,7 +256,7 @@
.trash-actions .workspace-icon { width:27px;height:27px; }
/* at the top, under the title bar, so it never covers the Ask bar at the bottom */
.app-toast-viewport { position:fixed;bottom:20px;inset-inline-end:20px;transition:inset-inline-end 260ms cubic-bezier(.22,1,.36,1),bottom 260ms cubic-bezier(.22,1,.36,1);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; }
+.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)); }
.app-toast[data-expanded] { height:var(--toast-height); }
.app-toast[data-limited] { opacity:0; }
.app-toast-content { display:flex;align-items:center;gap:12px;padding-block:12px;padding-inline:16px 10px;overflow:hidden; }