Skip to content

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

Bump app to v2.0.8

Louis Beaumontde5658097848
diff --git a/screenpipe-app-tauri/app/shortcut-reminder/page.tsx b/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
index fb64ba48f..199c58e8f 100644
--- a/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
+++ b/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
@@ -2,41 +2,21 @@
import { useEffect, useState } from "react";
import { listen } from "@tauri-apps/api/event";
-import { getCurrentWindow } from "@tauri-apps/api/window";
import posthog from "posthog-js";
export default function ShortcutReminderPage() {
const [shortcut, setShortcut] = useState("⌘⌃S");
- const [visible, setVisible] = useState(true);
const [hovered, setHovered] = useState(false);
- const hideWindow = async () => {
- posthog.capture("shortcut_reminder_dismissed");
- setVisible(false);
- setTimeout(async () => {
- const window = getCurrentWindow();
- await window.hide();
- }, 200);
- };
-
useEffect(() => {
const unlistenShortcut = listen<string>("shortcut-reminder-update", (event) => {
setShortcut(formatShortcut(event.payload));
});
- const unlistenHide = listen("shortcut-reminder-hide", hideWindow);
-
- const handleKeyDown = (e: KeyboardEvent) => {
- if (e.key === "Escape") hideWindow();
- };
- window.addEventListener("keydown", handleKeyDown);
-
posthog.capture("shortcut_reminder_shown");
return () => {
unlistenShortcut.then((fn) => fn());
- unlistenHide.then((fn) => fn());
- window.removeEventListener("keydown", handleKeyDown);
};
}, []);
@@ -49,40 +29,31 @@ export default function ShortcutReminderPage() {
data-tauri-drag-region
onMouseEnter={() => setHovered(true)}
onMouseLeave={() => setHovered(false)}
- className={`
- select-none
- transition-all duration-300 ease-out
- ${visible ? "opacity-100 scale-100" : "opacity-0 scale-95"}
- `}
+ className="select-none"
style={{ cursor: "grab" }}
>
<div className="relative" data-tauri-drag-region>
{/* Subtle glow */}
<div
data-tauri-drag-region
- className={`absolute inset-0 bg-pink-500/30 rounded-full blur-md transition-opacity duration-300 ${hovered ? 'opacity-100' : 'opacity-50'}`}
+ className={`absolute inset-0 bg-pink-500/20 rounded-full blur-md transition-opacity duration-300 ${hovered ? 'opacity-100' : 'opacity-40'}`}
/>
{/* Main pill */}
<div
data-tauri-drag-region
- className={`
- relative flex items-center gap-2 py-1.5 px-3
- bg-black/85 backdrop-blur-xl rounded-full
- border border-white/10 shadow-2xl
- transition-all duration-300 ease-out
- `}
+ className="relative flex items-center gap-1.5 py-1 px-2.5 bg-black/80 backdrop-blur-xl rounded-full border border-white/10 shadow-xl"
>
{/* Pulsing dot */}
- <span className="relative flex h-1.5 w-1.5 flex-shrink-0" data-tauri-drag-region>
+ <span className="relative flex h-1 w-1 flex-shrink-0" data-tauri-drag-region>
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-pink-400 opacity-75" />
- <span className="relative inline-flex rounded-full h-1.5 w-1.5 bg-pink-500" />
+ <span className="relative inline-flex rounded-full h-1 w-1 bg-pink-500" />
</span>
{/* Shortcut */}
<span
data-tauri-drag-region
- className="font-mono text-[11px] font-semibold text-white/90 tracking-wide"
+ className="font-mono text-[10px] font-semibold text-white/90 tracking-wide"
>
{shortcut}
</span>
@@ -91,28 +62,13 @@ export default function ShortcutReminderPage() {
<span
data-tauri-drag-region
className={`
- text-[10px] text-white/60 whitespace-nowrap overflow-hidden
+ text-[9px] text-white/50 whitespace-nowrap overflow-hidden
transition-all duration-300 ease-out
- ${hovered ? 'max-w-[150px] opacity-100 ml-0.5' : 'max-w-0 opacity-0'}
+ ${hovered ? 'max-w-[100px] opacity-100' : 'max-w-0 opacity-0'}
`}
>
open screenpipe
</span>
-
- {/* Close button on hover */}
- <button
- onClick={(e) => {
- e.stopPropagation();
- hideWindow();
- }}
- className={`
- ml-1 text-white/40 hover:text-white/80
- transition-all duration-200
- ${hovered ? 'opacity-100 w-4' : 'opacity-0 w-0'}
- `}
- >
- ×
- </button>
</div>
</div>
</div>
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index 4fb8e75eb..f9a31291c 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -5629,7 +5629,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "2.0.7"
+version = "2.0.8"
dependencies = [
"anyhow",
"async-stream",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 73b462e4f..c717baa43 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.7"
+version = "2.0.8"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index 81f5ab672..e793e8ef2 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -382,9 +382,9 @@ pub async fn show_shortcut_reminder(
let screen_size = monitor.size();
let scale_factor = monitor.scale_factor();
- // Compact window dimensions (wider for hover state)
- let window_width = 280.0;
- let window_height = 40.0;
+ // Compact window dimensions
+ let window_width = 180.0;
+ let window_height = 28.0;
// Position at top center of screen
let x = ((screen_size.width as f64 / scale_factor) - window_width) / 2.0;