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

fix(ui): use brand colors and add keyboard hints to search

Louis Beaumont9aa018d19922
diff --git a/screenpipe-app-tauri/app/search/page.tsx b/screenpipe-app-tauri/app/search/page.tsx
index e5f6bc598..cb3dffca8 100644
--- a/screenpipe-app-tauri/app/search/page.tsx
+++ b/screenpipe-app-tauri/app/search/page.tsx
@@ -152,7 +152,7 @@ function SearchPage() {
</div>
{!querys.query && (
<div className="h-64 w-96 flex mx-auto items-center justify-center">
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-muted-foreground">
Please provide query for searching
</p>
</div>
@@ -160,7 +160,7 @@ function SearchPage() {
{!isSearching && searchResults.length === 0 && querys.query ? (
<div className="h-64 w-96 flex mx-auto items-center justify-center whitespace-nowrap">
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-muted-foreground">
No results found for &quot;{querys.query}&quot;
</p>
</div>
@@ -181,6 +181,14 @@ function SearchPage() {
) : (
<div></div>
)}
+
+ {/* Keyboard hints footer */}
+ <div className="fixed bottom-0 left-0 right-0 px-4 py-2 border-t border-border bg-background/80 backdrop-blur-sm flex items-center justify-center gap-6 text-[10px] text-muted-foreground font-mono">
+ <span>←→↑↓ navigate</span>
+ <span>click select</span>
+ <span>hover expand</span>
+ <span>esc close</span>
+ </div>
</div>
);
}
diff --git a/screenpipe-app-tauri/components/settings/shortcut-section.tsx b/screenpipe-app-tauri/components/settings/shortcut-section.tsx
index 0d37ffabf..580aaec93 100644
--- a/screenpipe-app-tauri/components/settings/shortcut-section.tsx
+++ b/screenpipe-app-tauri/components/settings/shortcut-section.tsx
@@ -29,6 +29,14 @@ const ShortcutSection = () => {
value={settings.showScreenpipeShortcut}
/>
+ <ShortcutRow
+ type="global"
+ shortcut="showChatShortcut"
+ title="toggle ai chat"
+ description="global shortcut to show/hide the ai chat window"
+ value={settings.showChatShortcut}
+ />
+
<ShortcutRow
type="global"
shortcut="startRecordingShortcut"
@@ -61,14 +69,6 @@ const ShortcutSection = () => {
value={settings.stopAudioShortcut}
/>
- <ShortcutRow
- type="global"
- shortcut="showChatShortcut"
- title="toggle ai chat"
- description="global shortcut to show/hide the ai chat window"
- value={settings.showChatShortcut}
- />
-
<div className="flex items-center justify-between py-4 border-t">
<div className="space-y-1">
<Label htmlFor="shortcut-overlay" className="text-base font-medium">
diff --git a/screenpipe-app-tauri/lib/hooks/use-permission-monitor.tsx b/screenpipe-app-tauri/lib/hooks/use-permission-monitor.tsx
index 0d3f306cc..83f298821 100644
--- a/screenpipe-app-tauri/lib/hooks/use-permission-monitor.tsx
+++ b/screenpipe-app-tauri/lib/hooks/use-permission-monitor.tsx
@@ -8,6 +8,7 @@ import posthog from "posthog-js";
interface PermissionLostPayload {
screen_recording: boolean;
microphone: boolean;
+ accessibility: boolean;
}
/**
@@ -22,12 +23,12 @@ export function usePermissionMonitor() {
if (typeof window === "undefined") return;
const unlisten = listen<PermissionLostPayload>("permission-lost", async (event) => {
- const { screen_recording, microphone } = event.payload;
+ const { screen_recording, microphone, accessibility } = event.payload;
// Don't show multiple times in quick succession
if (hasShownRef.current) return;
- console.log("Permission lost event received:", { screen_recording, microphone });
+ console.log("Permission lost event received:", { screen_recording, microphone, accessibility });
// Double-check permissions before showing modal to avoid false positives
// The backend already requires 3 consecutive failures, but let's verify once more
@@ -35,13 +36,15 @@ export function usePermissionMonitor() {
const currentPerms = await commands.doPermissionsCheck(false);
const screenOk = currentPerms.screenRecording === "granted" || currentPerms.screenRecording === "notNeeded";
const micOk = currentPerms.microphone === "granted" || currentPerms.microphone === "notNeeded";
+ const accessibilityOk = currentPerms.accessibility === "granted" || currentPerms.accessibility === "notNeeded";
- if (screenOk && micOk) {
+ // Show modal if ANY permission is lost (screen, mic, OR accessibility)
+ if (screenOk && micOk && accessibilityOk) {
console.log("Permission check passed on frontend verification, skipping modal");
return;
}
- console.log("Permission loss confirmed:", { screenOk, micOk });
+ console.log("Permission loss confirmed:", { screenOk, micOk, accessibilityOk });
} catch (error) {
console.error("Failed to verify permissions:", error);
// Continue to show modal if we can't verify
@@ -53,6 +56,7 @@ export function usePermissionMonitor() {
posthog.capture("permission_lost", {
screen_recording_lost: screen_recording,
microphone_lost: microphone,
+ accessibility_lost: accessibility,
});
// Show the permission recovery window
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 1af0cfa7c..30a5c20f6 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.120"
+version = "2.0.121"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""