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: add cursor-pointer and hover state to timeline refresh button

Louis Beaumont0cee47b626a1
diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx
index 1b4d09944..10b74ffdc 100644
--- a/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx
@@ -1302,8 +1302,8 @@ export const TimelineSlider = ({
{/* Collapse/expand filters toggle */}
<button
className={cn(
- "p-1.5 rounded-md transition-colors shrink-0",
- "bg-background/80 backdrop-blur-sm border border-border",
+ "p-1.5 rounded-md transition-colors shrink-0 cursor-pointer",
+ "bg-background/80 backdrop-blur-sm border border-border hover:bg-accent",
)}
onClick={() => setFiltersCollapsed((prev) => !prev)}
title={filtersCollapsed ? "Show filters" : "Hide filters"}
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 6c2f4bacb..28321cfdf 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -9329,7 +9329,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.2.147"
+version = "2.2.149"
dependencies = [
"anyhow",
"arboard",
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/health.rs b/apps/screenpipe-app-tauri/src-tauri/src/health.rs
index 229441852..98bb7a2cb 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/health.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/health.rs
@@ -309,6 +309,7 @@ pub async fn start_health_check(app: tauri::AppHandle) -> Result<()> {
let mut consecutive_vision_stall: u32 = 0;
let mut last_audio_notification: Option<Instant> = None;
let mut last_vision_notification: Option<Instant> = None;
+ let mut wake_reset_done = false;
tokio::spawn(async move {
loop {
@@ -477,6 +478,22 @@ pub async fn start_health_check(app: tauri::AppHandle) -> Result<()> {
consecutive_vision_stall = 0;
}
+ // After wake from sleep, reset stall counters and notification
+ // cooldowns once so degraded recording is re-detected from scratch.
+ // Only reset once per wake event to avoid suppressing the counter
+ // for the entire 30s wake window.
+ let woke = screenpipe_engine::sleep_monitor::recently_woke_from_sleep();
+ if woke && !wake_reset_done {
+ wake_reset_done = true;
+ consecutive_audio_stall = 0;
+ consecutive_vision_stall = 0;
+ last_audio_notification = None;
+ last_vision_notification = None;
+ }
+ if !woke {
+ wake_reset_done = false;
+ }
+
// Show notification if threshold hit and cooldown expired
let now_instant = Instant::now();