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 bunch of small UX improvements

Louis Beaumont147613416e25
diff --git a/screenpipe-app-tauri/app/page.tsx b/screenpipe-app-tauri/app/page.tsx
index d47436d6c..b69892a54 100644
--- a/screenpipe-app-tauri/app/page.tsx
+++ b/screenpipe-app-tauri/app/page.tsx
@@ -176,7 +176,6 @@ export default function Home() {
<ChangelogDialog />
{/* <BreakingChangesInstructionsDialog /> */}
<Header />
- <div className="h-[32px]" />
<div className=" w-[90%]">
<PipeStore />
</div>
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsx
index 9bd717c5f..e0f684e69 100644
--- a/screenpipe-app-tauri/components/pipe-store.tsx
+++ b/screenpipe-app-tauri/components/pipe-store.tsx
@@ -1458,6 +1458,25 @@ const PipeStore: React.FC = () => {
}
};
+ // Add this empty state render function
+ const renderEmptyState = () => {
+ return (
+ <div className="flex flex-col items-center justify-center h-screen p-4 space-y-4">
+ <div className="text-center space-y-2">
+ <h3 className="text-lg font-medium">screenpipe is not running</h3>
+ <p className="text-sm text-muted-foreground">
+ please start the screenpipe service to browse and manage pipes
+ </p>
+ </div>
+ </div>
+ );
+ };
+
+ // Add this check at the start of the component render
+ if (health?.status === "error") {
+ return renderEmptyState();
+ }
+
if (selectedPipe) {
return renderPipeDetails();
}
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index c6e6294ca..88faf8007 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.25.6"
+version = "0.25.7"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/analytics.rs b/screenpipe-app-tauri/src-tauri/src/analytics.rs
index d9e94eed4..d0ce96cdc 100755
--- a/screenpipe-app-tauri/src-tauri/src/analytics.rs
+++ b/screenpipe-app-tauri/src-tauri/src/analytics.rs
@@ -1,4 +1,4 @@
-use log::{error, info};
+use log::{error, info, warn};
use reqwest::Client;
use serde_derive::Deserialize;
use serde_json::json;
@@ -90,7 +90,7 @@ impl AnalyticsManager {
// Track enabled pipes
if let Err(e) = self.track_enabled_pipes().await {
- error!("failed to track enabled pipes: {}", e);
+ warn!("failed to track enabled pipes: {}, is screenpipe up?", e);
}
}
}
diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rs
index ef49c3615..555990c27 100755
--- a/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -29,7 +29,7 @@ use tauri_plugin_store::StoreBuilder;
use tokio::runtime::Handle;
use tokio::sync::mpsc;
use tokio::sync::Mutex;
-use tracing::{debug, error, info};
+use tracing::{debug, error, info, warn};
use tracing_appender::rolling::{RollingFileAppender, Rotation};
use tracing_subscriber::prelude::*;
use tracing_subscriber::EnvFilter;
@@ -62,7 +62,6 @@ use crate::commands::hide_main_window;
pub use permissions::do_permissions_check;
pub use permissions::open_permission_settings;
pub use permissions::request_permission;
-use tauri_plugin_sentry::sentry;
use std::collections::HashMap;
use tauri::AppHandle;
use tauri_plugin_global_shortcut::GlobalShortcutExt;
@@ -1079,7 +1078,7 @@ async fn main() {
let app_handle = app.handle().clone();
tauri::async_runtime::spawn(async move {
if let Err(e) = initialize_global_shortcuts(&app_handle).await {
- error!("Failed to initialize global shortcuts: {}", e);
+ warn!("Failed to initialize global shortcuts: {}", e);
}
});
Ok(())