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 weird red line on timeline
Louis Beaumont04957cafa935
diff --git a/screenpipe-app-tauri/components/timeline/timeline-dock-section.tsx b/screenpipe-app-tauri/components/timeline/timeline-dock-section.tsxindex bfc33c02c..c8c41fb34 100644--- a/screenpipe-app-tauri/components/timeline/timeline-dock-section.tsx+++ b/screenpipe-app-tauri/components/timeline/timeline-dock-section.tsx@@ -18,7 +18,6 @@ export function TimelineIconsSection({blocks: StreamTimeSeriesResponse[];}) {const [iconCache, setIconCache] = useState<{ [key: string]: string }>({});- const [hoveredIndex, setHoveredIndex] = useState<number | null>(null);// Get the visible time rangeconst timeRange = useMemo(() => {@@ -38,7 +37,7 @@ export function TimelineIconsSection({// Show all devices without filteringframe.devices.forEach((device) => {if (!device.metadata?.app_name) return;-+const timestamp = new Date(frame.timestamp);const appName = device.metadata.app_name;@@ -158,28 +157,28 @@ export function TimelineIconsSection({<div className="absolute -top-8 inset-x-0 h-8">{processedBlocks.map((block, i) => {const bgColor = stringToColor(block.appName);-+return (<motion.divkey={`${block.appName}-${i}`}- className="absolute top-0 h-full pointer-events-auto cursor-pointer"+ className="absolute h-full pointer-events-auto cursor-pointer"style={{left: `${block.percentThroughDay}%`,- transform: 'translateX(-50%)',- border: '1px solid red',+ transform: "translateX(-50%)",zIndex: 50,}}onMouseEnter={() => {- console.log('hover on:', block.appName);+ console.log("hover on:", block.appName);}}whileHover={{scale: 1.5,- backgroundColor: 'red',+ backgroundColor: "red",+ y: -20,}}transition={{type: "spring",stiffness: 300,- damping: 30+ damping: 30,}}>{block.iconSrc ? (