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: link in changelog, nextjs build
Louis Beaumonte497be63d42b
diff --git a/screenpipe-app-tauri/app/timeline/page.tsx b/screenpipe-app-tauri/app/timeline/page.tsxindex ce8269a4b..a90cea49f 100644--- a/screenpipe-app-tauri/app/timeline/page.tsx+++ b/screenpipe-app-tauri/app/timeline/page.tsx@@ -20,6 +20,11 @@ import { Button } from "@/components/ui/button";import { platform } from "@tauri-apps/plugin-os";import posthog from "posthog-js";import { TimelineBlocks } from "@/components/timeline/timeline-block";+import {+ TimelineDock,+ TimelineDockIcon,+ TimelineIconsSection,+} from "@/components/timeline/timeline-dock";export interface StreamTimeSeriesResponse {timestamp: string;@@ -335,6 +340,8 @@ export default function Timeline() {};const handleTimelineMouseDown = (e: React.MouseEvent<HTMLDivElement>) => {+ if (!e.currentTarget) return;+const rect = e.currentTarget.getBoundingClientRect();const clickX = e.clientX - rect.left;const percentage = (clickX / rect.width) * 100;@@ -372,11 +379,9 @@ export default function Timeline() {};const handleTimelineMouseMove = (e: React.MouseEvent<HTMLDivElement>) => {- if (!isDragging || dragStart === null) return;+ if (!isDragging || dragStart === null || !e.currentTarget) return;- // Prevent text selection during drage.preventDefault();-const rect = e.currentTarget.getBoundingClientRect();const moveX = e.clientX - rect.left;const percentage = (moveX / rect.width) * 100;@@ -947,18 +952,22 @@ export default function Timeline() {</div>)}+ {/* {loadedTimeRange && frames.length > 0 && (+ <TimelineIconsSection blocks={frames} />+ )} */}+<div className="relative mt-1 px-2 text-[10px] text-muted-foreground select-none">{Array(7).fill(0).map((_, i) => {if (!loadedTimeRange) return null;const totalMinutes =- (loadedTimeRange.visibleEnd.getTime() -- loadedTimeRange.visibleStart.getTime()) /+ (loadedTimeRange.visibleEnd!.getTime() -+ loadedTimeRange.visibleStart!.getTime()) /(1000 * 60);const minutesPerStep = totalMinutes / 6;const date = new Date(- loadedTimeRange.visibleStart.getTime() ++ loadedTimeRange.visibleStart!.getTime() +i * minutesPerStep * 60 * 1000);return (diff --git a/screenpipe-app-tauri/components/changelog-dialog.tsx b/screenpipe-app-tauri/components/changelog-dialog.tsxindex 99aa9f0f4..0dca59d24 100644--- a/screenpipe-app-tauri/components/changelog-dialog.tsx+++ b/screenpipe-app-tauri/components/changelog-dialog.tsx@@ -2,6 +2,9 @@ import React, { useEffect, useState } from "react";import { Dialog, DialogContent } from "@/components/ui/dialog";import { useChangelogDialog } from "@/lib/hooks/use-changelog-dialog";import { MemoizedReactMarkdown } from "./markdown";+import remarkGfm from "remark-gfm";+import remarkMath from "remark-math";+import { CodeBlock } from "./ui/codeblock";export const ChangelogDialog: React.FC = () => {const [changelogContent, setChangelogContent] = useState<string>("");@@ -20,13 +23,47 @@ export const ChangelogDialog: React.FC = () => {const onClose = () => setShowChangelogDialog(false);return (- <Dialog open={showChangelogDialog} onOpenChange={onClose} >+ <Dialog open={showChangelogDialog} onOpenChange={onClose}><DialogContent className="w-11/12 max-w-6xl p-6 h-[80vh] overflow-auto"><div className="max-w-max prose prose-medium prose-slate w-full h-full"><h1>Changelog</h1>- <MemoizedReactMarkdown>{changelogContent}</MemoizedReactMarkdown>+ <MemoizedReactMarkdown+ remarkPlugins={[remarkGfm, remarkMath]}+ components={{+ p({ children }) {+ return <p className="mb-2 last:mb-0">{children}</p>;+ },+ a({ node, href, children, ...props }) {+ return (+ <a+ href={href}+ target="_blank"+ rel="noopener noreferrer"+ {...props}+ >+ {children}+ </a>+ );+ },+ code({ node, className, children, ...props }) {+ const content = String(children).replace(/\n$/, "");+ const match = /language-(\w+)/.exec(className || "");++ return (+ <CodeBlock+ key={Math.random()}+ language={(match && match[1]) || ""}+ value={content}+ {...props}+ />+ );+ },+ }}+ >+ {changelogContent}+ </MemoizedReactMarkdown></div></DialogContent></Dialog>);-};\ No newline at end of file+};