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): stop spamming source build modal on periodic update checks
Louis Beaumont03257070474a
diff --git a/screenpipe-app-tauri/app/settings/page.tsx b/screenpipe-app-tauri/app/settings/page.tsxindex 1a252736f..ccaacdec5 100644--- a/screenpipe-app-tauri/app/settings/page.tsx+++ b/screenpipe-app-tauri/app/settings/page.tsx@@ -11,6 +11,7 @@ import {HardDrive,Plug,MessageSquare,+ Cloud,} from "lucide-react";import { cn } from "@/lib/utils";import { AccountSection } from "@/components/settings/account-section";@@ -21,6 +22,7 @@ import GeneralSettings from "@/components/settings/general-settings";import { DiskUsageSection } from "@/components/settings/disk-usage-section";import { ConnectionsSection } from "@/components/settings/connections-section";import { FeedbackSection } from "@/components/settings/feedback-section";+import { SyncSettings } from "@/components/settings/sync-settings";import { useRouter } from "next/navigation";import { useQueryState } from "nuqs";import { listen } from "@tauri-apps/api/event";@@ -33,6 +35,7 @@ type SettingsSection =| "account"| "disk-usage"| "connections"+ | "cloud-sync"| "feedback";function SettingsPageContent() {@@ -40,7 +43,7 @@ function SettingsPageContent() {const [activeSection, setActiveSection] = useQueryState("section", {defaultValue: "general" as SettingsSection,parse: (value) => {- if (["general", "ai", "shortcuts", "recording", "account", "disk-usage", "connections", "feedback"].includes(value)) {+ if (["general", "ai", "shortcuts", "recording", "account", "disk-usage", "connections", "cloud-sync", "feedback"].includes(value)) {return value as SettingsSection;}return "general" as SettingsSection;@@ -66,6 +69,8 @@ function SettingsPageContent() {return <DiskUsageSection />;case "connections":return <ConnectionsSection />;+ case "cloud-sync":+ return <SyncSettings />;case "feedback":return <FeedbackSection />;}@@ -114,6 +119,12 @@ function SettingsPageContent() {icon: <Plug className="h-4 w-4" />,description: "Connect to AI assistants like Claude",},+ {+ id: "cloud-sync",+ label: "Cloud Sync",+ icon: <Cloud className="h-4 w-4" />,+ description: "Sync your data across devices",+ },{id: "feedback",label: "Send Feedback",diff --git a/screenpipe-app-tauri/src-tauri/src/updates.rs b/screenpipe-app-tauri/src-tauri/src/updates.rsindex 604217fac..3aebebfc5 100644--- a/screenpipe-app-tauri/src-tauri/src/updates.rs+++ b/screenpipe-app-tauri/src-tauri/src/updates.rs@@ -229,7 +229,8 @@ impl UpdatesManager {loop {interval.tick().await;if !*self.update_available.lock().await {- if let Err(e) = self.check_for_updates(true).await {+ // Don't show dialog for periodic checks - only for manual checks+ if let Err(e) = self.check_for_updates(false).await {error!("Failed to check for updates: {}", e);}}