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: timeline deep link click handlers
Louis Beaumont4c3c5bc2606b
diff --git a/Cargo.toml b/Cargo.tomlindex ecc41ba21..0047edc06 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri"]resolver = "2"[workspace.package]-version = "0.3.34"+version = "0.3.35"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/mediar-ai/screenpipe"diff --git a/apps/screenpipe-app-tauri/components/global-chat.tsx b/apps/screenpipe-app-tauri/components/global-chat.tsxindex 458c10831..61e60d99a 100644--- a/apps/screenpipe-app-tauri/components/global-chat.tsx+++ b/apps/screenpipe-app-tauri/components/global-chat.tsx@@ -2458,7 +2458,7 @@ export function GlobalChat() {// Handle screenpipe:// timeline deep links in-appif (href?.startsWith("screenpipe://timeline")) {- const handleTimelineClick = async (e: React.MouseEvent) => {+ const handleTimelineClick = async (e: React.MouseEvent<HTMLAnchorElement>) => {e.preventDefault();try {const url = new URL(href);@@ -2483,15 +2483,16 @@ export function GlobalChat() {});}};-+return (- <button+ <a+ href={href}onClick={handleTimelineClick}className="underline underline-offset-2 text-blue-500 hover:text-blue-400 cursor-pointer inline"{...props}>{children}- </button>+ </a>);}diff --git a/apps/screenpipe-app-tauri/components/rewind/chat-message.tsx b/apps/screenpipe-app-tauri/components/rewind/chat-message.tsxindex 2c49bac68..c147a853b 100644--- a/apps/screenpipe-app-tauri/components/rewind/chat-message.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/chat-message.tsx@@ -169,7 +169,7 @@ export function ChatMessage({ message, ...props }: ChatMessageProps) {// Handle screenpipe:// timeline deep links in-appif (href?.startsWith("screenpipe://timeline")) {- const handleTimelineClick = async (e: React.MouseEvent) => {+ const handleTimelineClick = async (e: React.MouseEvent<HTMLAnchorElement>) => {e.preventDefault();try {const url = new URL(href);@@ -196,13 +196,14 @@ export function ChatMessage({ message, ...props }: ChatMessageProps) {};return (- <button+ <a+ href={href}onClick={handleTimelineClick}className="underline underline-offset-2 text-blue-500 hover:text-blue-400 cursor-pointer inline"{...props}>{children}- </button>+ </a>);}diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsxindex 9fd3fa838..9b1296a7e 100644--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx@@ -1444,7 +1444,7 @@ export function StandaloneChat() {// Handle screenpipe:// timeline deep links in-appif (href?.startsWith("screenpipe://timeline")) {- const handleTimelineClick = async (e: React.MouseEvent) => {+ const handleTimelineClick = async (e: React.MouseEvent<HTMLAnchorElement>) => {e.preventDefault();try {const url = new URL(href);@@ -1471,13 +1471,14 @@ export function StandaloneChat() {};return (- <button+ <a+ href={href}onClick={handleTimelineClick}className="underline underline-offset-2 text-blue-500 hover:text-blue-400 cursor-pointer inline"{...props}>{children}- </button>+ </a>);}diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 0d39b6bd9..8ed29595d 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.0.240"+version = "2.0.241"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""