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: move Recording Schedule from Recording to Privacy settings
Louis Beaumont9c75cc166eff
diff --git a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsxindex 76488b7ad..7b1e9b0d4 100644--- a/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx+++ b/apps/screenpipe-app-tauri/components/settings/privacy-section.tsx@@ -28,6 +28,7 @@ import { Badge } from "@/components/ui/badge";import { HelpTooltip } from "@/components/ui/help-tooltip";import { MultiSelect } from "@/components/ui/multi-select";import { useSettings, Settings } from "@/lib/hooks/use-settings";+import { ScheduleSettings } from "./schedule-settings";import { useTeam } from "@/lib/hooks/use-team";import { useToast } from "@/components/ui/use-toast";import { useSqlAutocomplete } from "@/lib/hooks/use-sql-autocomplete";@@ -579,6 +580,15 @@ export function PrivacySection() {</CardContent></Card>+ {/* Recording Schedule */}+ <ScheduleSettings+ enabled={settings.scheduleEnabled ?? false}+ rules={(settings.scheduleRules as any[]) ?? []}+ onChange={(enabled, rules) => {+ handleSettingsChange({ scheduleEnabled: enabled, scheduleRules: rules } as any);+ }}+ />+<div className="space-y-2"><h2 className="text-xs font-semibold text-muted-foreground uppercase tracking-wider px-1">Content filtersdiff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsxindex a495de720..3d09d1203 100644--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -96,7 +96,7 @@ import * as Sentry from "@sentry/react";import { defaultOptions } from "tauri-plugin-sentry-api";import { useLoginDialog } from "../login-dialog";import { BatterySaverSection } from "./battery-saver-section";-import { ScheduleSettings } from "./schedule-settings";+// ScheduleSettings moved to privacy-sectionimport { ValidatedInput } from "../ui/validated-input";import {validateField,@@ -822,14 +822,14 @@ export function RecordingSettings() {}}- await commands.stopScreenpipe();+ await commands.stopCapture();+ await new Promise((resolve) => setTimeout(resolve, 500));+ await commands.startCapture();await new Promise((resolve) => setTimeout(resolve, 1000));- await commands.spawnScreenpipe(null);- await new Promise((resolve) => setTimeout(resolve, 2000));toast({title: "Settings updated successfully",- description: "Screenpipe has been restarted with new settings",+ description: "Recording restarted with new settings",});} catch (error) {console.error("Failed to update settings:", error);@@ -1113,15 +1113,6 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre</CardContent></Card>- {/* Recording Schedule */}- <ScheduleSettings- enabled={settings.scheduleEnabled ?? false}- rules={(settings.scheduleRules as any[]) ?? []}- onChange={(enabled, rules) => {- handleSettingsChange({ scheduleEnabled: enabled, scheduleRules: rules } as any);- }}- />-{/* Audio */}<LockedSetting settingKey="audio_recording"><div className="space-y-2 pt-2">