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(app): day picker saves now persist — use pendingConfigSaves to prevent poll overwrite
Louis Beaumont82008bf9b2ad
diff --git a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsxindex ffc2ebdb7..bd07f9592 100644--- a/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx+++ b/apps/screenpipe-app-tauri/components/settings/pipes-section.tsx@@ -1950,11 +1950,17 @@ export function PipesSection() {: p));- fetch(`${apiBase}/pipes/${pipeName}/config`, {+ const savePromise = fetch(`${apiBase}/pipes/${pipeName}/config`, {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify({ schedule: newSchedule }),- }).then(() => fetchPipes());+ }).then(() => {+ delete pendingConfigSaves.current[pipeName];+ fetchPipes();+ }).catch(() => {+ delete pendingConfigSaves.current[pipeName];+ });+ pendingConfigSaves.current[pipeName] = savePromise;return;}// Build day-of-week field@@ -1990,11 +1996,17 @@ export function PipesSection() {: p));- fetch(`${apiBase}/pipes/${pipeName}/config`, {+ const savePromise = fetch(`${apiBase}/pipes/${pipeName}/config`, {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify({ schedule: newSchedule }),- }).then(() => fetchPipes());+ }).then(() => {+ delete pendingConfigSaves.current[pipeName];+ fetchPipes();+ }).catch(() => {+ delete pendingConfigSaves.current[pipeName];+ });+ pendingConfigSaves.current[pipeName] = savePromise;};return (