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): make search button clickable, disable buggy text selection

Louis Beaumont304bee40a242
diff --git a/screenpipe-app-tauri/components/rewind/timeline.tsx b/screenpipe-app-tauri/components/rewind/timeline.tsx
index 181f0ae28..1538f7836 100644
--- a/screenpipe-app-tauri/components/rewind/timeline.tsx
+++ b/screenpipe-app-tauri/components/rewind/timeline.tsx
@@ -661,6 +661,7 @@ export default function Timeline() {
startAndEndDates={startAndEndDates}
onDateChange={handleDateChange}
onJumpToday={handleJumpToday}
+ onSearchClick={() => setShowSearchModal(true)}
/>
{/* Top right buttons */}
<div className="absolute top-[calc(env(safe-area-inset-top)+16px)] right-4 flex items-center gap-2">
diff --git a/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx b/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx
index 4b9e21e30..c4ca84952 100644
--- a/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx
+++ b/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx
@@ -31,6 +31,7 @@ interface TimelineControlsProps {
currentDate: Date;
onDateChange: (date: Date) => Promise<any>;
onJumpToday: () => void;
+ onSearchClick?: () => void;
className?: string;
}
@@ -39,6 +40,7 @@ export function TimelineControls({
currentDate,
onDateChange,
onJumpToday,
+ onSearchClick,
className,
}: TimelineControlsProps) {
const { isMac } = usePlatform();
@@ -170,10 +172,14 @@ export function TimelineControls({
</Button>
</div>
- <div className="flex items-center h-10 gap-1.5 bg-background border border-border px-4 font-mono">
+ <button
+ type="button"
+ onClick={onSearchClick}
+ className="flex items-center h-10 gap-1.5 bg-background border border-border px-4 font-mono hover:bg-foreground hover:text-background transition-colors duration-150 cursor-pointer"
+ >
<span className="text-xs text-muted-foreground">{isMac ? "⌘K" : "Ctrl+K"}</span>
<span className="text-xs text-foreground">search</span>
- </div>
+ </button>
</div>
diff --git a/screenpipe-app-tauri/components/text-overlay.tsx b/screenpipe-app-tauri/components/text-overlay.tsx
index f05afa152..fccaed106 100644
--- a/screenpipe-app-tauri/components/text-overlay.tsx
+++ b/screenpipe-app-tauri/components/text-overlay.tsx
@@ -82,6 +82,9 @@ interface ScaledTextPositionWithUrl extends ScaledTextPosition {
* TextOverlay renders transparent, selectable text positioned over a screenshot.
* This enables native text selection (Cmd+C / Ctrl+C) on OCR-extracted text.
* URLs are automatically detected and made clickable.
+ *
+ * NOTE: Currently disabled due to buggy text selection experience.
+ * TODO: Re-enable once text selection UX is improved.
*/
export const TextOverlay = memo(function TextOverlay({
textPositions,
@@ -94,6 +97,9 @@ export const TextOverlay = memo(function TextOverlay({
debug = false,
clickableUrls = true,
}: TextOverlayProps) {
+ // TEMPORARILY DISABLED: Text selection is buggy, disable for now
+ // Remove this line to re-enable text overlay
+ return null;
// Scale and filter text positions, detect URLs
// Note: OCR bounds are normalized (0-1 range), so we multiply directly by displayed dimensions
const scaledPositions = useMemo<ScaledTextPositionWithUrl[]>(() => {