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: deduplicate timeline app names, trim whitespace, update sync pricing
Louis Beaumont96068b0ac36d
diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsxindex ada6140cd..4714a928a 100644--- a/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx@@ -63,7 +63,8 @@ export function AppContextPopover({onClose,onSearch,}: AppContextPopoverProps) {- const allApps = appNames && appNames.length > 1 ? appNames : [appName];+ // Deduplicate app names (trim + unique) to prevent showing same icon twice+ const allApps = [...new Set((appNames && appNames.length > 0 ? appNames : [appName]).map(n => n.trim()).filter(Boolean))];const [copied, setCopied] = useState(false);// compute time range from framesdiff --git a/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsxindex 10b74ffdc..a6e0a9d5e 100644--- a/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/timeline/timeline.tsx@@ -228,15 +228,15 @@ export function stringToColor(str: string): string {export function getFrameAppName(frame: StreamTimeSeriesResponse | undefined): string {if (!frame?.devices?.length) return 'Unknown';// Find first device with a non-empty app_name- const deviceWithApp = frame.devices.find(d => d.metadata?.app_name);- return deviceWithApp?.metadata?.app_name || 'Unknown';+ const deviceWithApp = frame.devices.find(d => d.metadata?.app_name?.trim());+ return deviceWithApp?.metadata?.app_name?.trim() || 'Unknown';}// Get ALL app names from a frame (for multi-app display)export function getFrameAppNames(frame: StreamTimeSeriesResponse | undefined): string[] {if (!frame?.devices?.length) return ['Unknown'];const appNames = frame.devices- .map(d => d.metadata?.app_name)+ .map(d => d.metadata?.app_name?.trim()).filter((name): name is string => Boolean(name));return appNames.length > 0 ? [...new Set(appNames)] : ['Unknown'];}diff --git a/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx b/apps/screenpipe-app-tauri/components/settings/sync-settings.tsxindex fc77a45fe..791aea4f1 100644--- a/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx@@ -214,13 +214,13 @@ function SyncOnboarding({ onSubscribe, onRefresh, isLoading, isRefreshing, isLog</div><div className="text-right"><div className="text-lg font-bold">- ${isAnnual ? "49" : "99"}+ ${isAnnual ? "19" : "29"}<span className="text-sm font-normal text-muted-foreground">/mo</span></div>{isAnnual && (- <p className="text-xs text-primary">$588/year - Save 50%</p>+ <p className="text-xs text-primary">$228/year - Save 34%</p>)}</div></div>