Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: meeting page@

Louis Beaumonteeaac405ad8d
diff --git a/screenpipe-app-tauri/components/meeting-history.tsx b/screenpipe-app-tauri/components/meeting-history.tsx
index 180a7b87f..8cfa5c5bb 100644
--- a/screenpipe-app-tauri/components/meeting-history.tsx
+++ b/screenpipe-app-tauri/components/meeting-history.tsx
@@ -154,23 +154,22 @@ export default function MeetingHistory() {
}, [posthog, settings.userId]);
useEffect(() => {
- console.log("useEffect running, isOpen:", isOpen);
if (isOpen) {
loadMeetings();
posthog?.capture("meeting_history_opened", {
userId: settings.userId,
});
- } else {
- posthog?.capture("meeting_history_closed", {
- userId: settings.userId,
- });
}
- }, [isOpen, settings.userId, posthog]);
+ }, [isOpen]);
useEffect(() => {
setShowError(!!error);
}, [error]);
+ useEffect(() => {
+ console.log("Dialog state changed:", isOpen);
+ }, [isOpen]);
+
async function loadMeetings() {
setLoading(true);
try {
@@ -541,7 +540,6 @@ export default function MeetingHistory() {
);
}
-
// Memoize expensive computations
const sortedMeetings = useMemo(() => {
return [...meetings].sort(
@@ -667,12 +665,24 @@ export default function MeetingHistory() {
return (
<Dialog open={isOpen} onOpenChange={setIsOpen}>
<DialogTrigger asChild>
- <Button variant="ghost" className="pl-2" onClick={() => setIsOpen(true)}>
+ <Button
+ variant="ghost"
+ className="pl-2"
+ onClick={(e) => {
+ e.stopPropagation();
+ setIsOpen(true);
+ }}
+ >
<Calendar className="mr-2 h-4 w-4" />
meetings
</Button>
</DialogTrigger>
- <DialogContent className="max-w-[90vw] w-full max-h-[90vh] h-full">
+ <DialogContent
+ className="max-w-[90vw] w-full max-h-[90vh] h-full"
+ onClick={(e) => {
+ e.stopPropagation();
+ }}
+ >
<DialogHeader className="py-4">
<DialogTitle className="flex items-center justify-between">
<div className="flex items-center">
@@ -909,7 +919,7 @@ export default function MeetingHistory() {
s.deviceType?.toLowerCase() === "input"
? "you"
: "others"
- }] ${s.transcription}`
+ }] ${s.transcription}`;
})
.join("\n"),
"transcription"
@@ -926,7 +936,11 @@ export default function MeetingHistory() {
.filter((s) =>
meeting.selectedDevices.has(s.deviceName)
)
- .sort((a, b) => new Date(a.timestamp).getTime() - new Date(b.timestamp).getTime())
+ .sort(
+ (a, b) =>
+ new Date(a.timestamp).getTime() -
+ new Date(b.timestamp).getTime()
+ )
.map((s, i) => (
<React.Fragment key={i}>
<span className="font-bold">
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index d78a00729..6775d25a2 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4170,7 +4170,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "0.14.4"
+version = "0.14.6"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 8faed09d0..e854f4c36 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.14.6"
+version = "0.14.7"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin b/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin
index 0ca6118dd..b8610eb78 100755
Binary files a/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin and b/screenpipe-app-tauri/src-tauri/ui_monitor-aarch64-apple-darwin differ
diff --git a/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin b/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin
index 47dcdb636..b8597c2ba 100755
Binary files a/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin and b/screenpipe-app-tauri/src-tauri/ui_monitor-x86_64-apple-darwin differ
diff --git a/screenpipe-vision/lib/libscreenpipe_arm64.dylib b/screenpipe-vision/lib/libscreenpipe_arm64.dylib
index b1380982d..16882c124 100755
Binary files a/screenpipe-vision/lib/libscreenpipe_arm64.dylib and b/screenpipe-vision/lib/libscreenpipe_arm64.dylib differ