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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(timeline): prevent double-jump when navigating to previous/next day
Louis Beaumont706af2f67c1c
diff --git a/screenpipe-app-tauri/components/rewind/timeline.tsx b/screenpipe-app-tauri/components/rewind/timeline.tsxindex 79586a8b6..4810b5445 100644--- a/screenpipe-app-tauri/components/rewind/timeline.tsx+++ b/screenpipe-app-tauri/components/rewind/timeline.tsx@@ -500,9 +500,13 @@ export default function Timeline() {setCurrentIndex(targetIndex);setCurrentFrame(frames[targetIndex]);pendingNavigationRef.current = null; // Clear pending since we found it+ setSeekingTimestamp(null); // Clear any seeking state} else {- // Frames not loaded yet - will be handled by pendingNavigation effect- setCurrentIndex(0);+ // Frames not loaded yet - set pending navigation and wait+ // DON'T set currentIndex(0) as that causes a visible jump to "today"+ pendingNavigationRef.current = newDate;+ // Show seeking overlay while waiting for frames+ setSeekingTimestamp(newDate.toISOString());}} finally {// Clear navigation flag after a short delay to let state settle