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
feat(app): Cmd+N / Ctrl+N opens a new chat from the home page
Louis Beaumontffc9e0522edb
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsxindex db4ccd25f..ab49e3805 100644--- a/apps/screenpipe-app-tauri/app/home/page.tsx+++ b/apps/screenpipe-app-tauri/app/home/page.tsx@@ -403,6 +403,19 @@ function HomeContent() {window.addEventListener("keydown", handler);return () => window.removeEventListener("keydown", handler);}, [toggleSidebar]);++ // Cmd+N / Ctrl+N to start a new chat (matches the "New chat" sidebar button)+ useEffect(() => {+ const handler = (e: KeyboardEvent) => {+ if ((e.metaKey || e.ctrlKey) && !e.shiftKey && !e.altKey && e.key.toLowerCase() === "n") {+ e.preventDefault();+ setActiveSection("home");+ startNewChat();+ }+ };+ window.addEventListener("keydown", handler);+ return () => window.removeEventListener("keydown", handler);+ }, [setActiveSection, startNewChat]);const overlayData = useOverlayData({includeDeviceLevels: false,includeOcrPulse: false,