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

release-app fix meeting page and health audio status

Louis Beaumont86aaa167ec3c
diff --git a/screenpipe-app-tauri/components/meeting-history.tsx b/screenpipe-app-tauri/components/meeting-history.tsx
index 508d2ea2b..b9063e2cc 100644
--- a/screenpipe-app-tauri/components/meeting-history.tsx
+++ b/screenpipe-app-tauri/components/meeting-history.tsx
@@ -174,7 +174,6 @@ export default function MeetingHistory({ className }: { className?: string }) {
try {
const storedMeetings = (await getItem("meetings")) || [];
setMeetings(storedMeetings);
-
await fetchMeetings();
} catch (err) {
setError("failed to load meetings");
@@ -666,7 +665,11 @@ export default function MeetingHistory({ className }: { className?: string }) {
<DialogTrigger asChild>
<DropdownMenuItem
className="cursor-pointer"
- onClick={() => setIsOpen(true)}
+ onClick={(e) => {
+ e.preventDefault();
+ e.stopPropagation();
+ setIsOpen(true);
+ }}
disabled={!health || health.status === "error"}
>
<Calendar className="mr-2 h-4 w-4" />
@@ -744,16 +747,16 @@ export default function MeetingHistory({ className }: { className?: string }) {
</DialogTitle>
</DialogHeader>
<DialogDescription className="mb-4">
- <p className="text-sm text-gray-600">
+ <span className="block text-sm text-gray-600">
this page provides transcriptions and summaries of your daily
meetings. it uses your ai settings to generate summaries. note:
phrases like &quot;thank you&quot; or &quot;you know&quot; might be
transcription errors. for better accuracy, consider using deepgram
as the engine or adjust your prompt to ignore these.
- </p>
- <p className="text-sm text-gray-600 mt-2">
+ </span>
+ <span className="block text-sm text-gray-600 mt-2">
<strong>make sure to setup your ai settings</strong>
- </p>
+ </span>
</DialogDescription>
<div className="flex-grow overflow-auto">
{loading ? (
diff --git a/screenpipe-app-tauri/components/settings.tsx b/screenpipe-app-tauri/components/settings.tsx
index 5b94fa8bf..625e02a88 100644
--- a/screenpipe-app-tauri/components/settings.tsx
+++ b/screenpipe-app-tauri/components/settings.tsx
@@ -546,9 +546,18 @@ export function Settings({ className }: { className?: string }) {
};
return (
- <Dialog>
+ <Dialog
+ onOpenChange={(open) => {
+ if (!open) {
+ window.location.reload();
+ }
+ }}
+ >
<DialogTrigger asChild>
- <DropdownMenuItem className="cursor-pointer" onSelect={(e) => e.preventDefault()}>
+ <DropdownMenuItem
+ className="cursor-pointer"
+ onSelect={(e) => e.preventDefault()}
+ >
<div className="flex items-center">
<Settings2 className="mr-2 h-4 w-4" />
<span>settings</span>
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 62c5dfce6..c63e714db 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4713,7 +4713,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "0.14.28"
+version = "0.14.30"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index a2e33e7ce..54976157c 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.30"
+version = "0.14.31"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rs
index c1d886db9..a007da719 100644
--- a/screenpipe-server/src/server.rs
+++ b/screenpipe-server/src/server.rs
@@ -488,7 +488,7 @@ pub async fn health_check(State(state): State<Arc<AppState>>) -> JsonResponse<He
let last_capture = LAST_AUDIO_CAPTURE.load(Ordering::Relaxed);
let audio_active = now - last_capture < 5; // Consider active if captured in last 5 seconds
- let (last_frame, _, last_ui) = match state.db.get_latest_timestamps().await {
+ let (last_frame, audio, last_ui) = match state.db.get_latest_timestamps().await {
Ok((frame, audio, ui)) => (frame, audio, ui),
Err(e) => {
error!("failed to get latest timestamps: {}", e);
@@ -563,18 +563,14 @@ pub async fn health_check(State(state): State<Arc<AppState>>) -> JsonResponse<He
"unhealthy",
format!("some systems are not functioning properly: {}. frame status: {}, audio status: {}, ui status: {}",
unhealthy_systems.join(", "), frame_status, audio_status, ui_status),
- Some("if you're experiencing issues, please try the following steps:\n\
- 1. restart the application.\n\
- 2. if using a desktop app, reset your screenpipe os audio/screen recording permissions.\n\
- 3. if the problem persists, please contact support with the details of this health check at [email protected].\n\
- 4. last, here are some faq to help you troubleshoot: https://github.com/mediar-ai/screenpipe/blob/main/content/docs/notes.md".to_string())
+ Some("if you're experiencing issues, please try contacting us on discord".to_string())
)
};
JsonResponse(HealthCheckResponse {
status: overall_status.to_string(),
last_frame_timestamp: last_frame,
- last_audio_timestamp: None,
+ last_audio_timestamp: audio,
last_ui_timestamp: last_ui,
frame_status: frame_status.to_string(),
audio_status: audio_status.to_string(),