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: move URL bar to parent timeline so it's clickable, position below nav
Louis Beaumont75a5a456c269
diff --git a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsxindex 46426c9ba..7174ce7b3 100644--- a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx@@ -12,7 +12,7 @@ import { SelectableTextLayer, getSelectableLayerText, clearSelectableLayerSelectimport { RegionOcrOverlay } from "@/components/rewind/region-ocr-overlay";import { useSearchHighlight } from "@/lib/hooks/use-search-highlight";import { useSettings } from "@/lib/hooks/use-settings";-import { ImageOff, ChevronLeft, ChevronRight, Copy, ImageIcon, Link2, MessageCircle, ExternalLink, Type, Lock, Globe, Zap } from "lucide-react";+import { ImageOff, ChevronLeft, ChevronRight, Copy, ImageIcon, Link2, MessageCircle, ExternalLink, Type, Zap } from "lucide-react";import { usePipes, type TemplatePipe } from "@/lib/hooks/use-pipes";import posthog from "posthog-js";import { toast } from "@/components/ui/use-toast";@@ -153,7 +153,6 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({const filePath = device?.metadata?.file_path;const offsetIndex = device?.offset_index ?? 0;const fpsFromServer = device?.fps ?? 0.5;- const browserUrl = device?.metadata?.browser_url;// Track skipped frames for analytics@@ -937,37 +936,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({/>)}-- {/* Browser address bar overlay — shows URL when viewing a web page */}- {!isLoading && !hasError && browserUrl && (- <div- className="absolute top-0 left-0 right-0 z-10 flex justify-center px-3 py-1.5"- >- <button- type="button"- className="flex items-center gap-1.5 max-w-lg min-w-0 px-3 py-1 rounded-full bg-black/70 backdrop-blur-sm border border-white/10 hover:bg-black/80 hover:border-white/20 transition-colors cursor-pointer"- title={`Open ${browserUrl}`}- onClick={async () => {- try {- const { open } = await import("@tauri-apps/plugin-shell");- await open(browserUrl);- } catch {- window.open(browserUrl, "_blank");- }- }}- >- {browserUrl.startsWith("https") ? (- <Lock className="w-3 h-3 text-green-400/80 shrink-0" />- ) : (- <Globe className="w-3 h-3 text-white/40 shrink-0" />- )}- <span className="text-[12px] font-mono text-white/80 truncate">- {browserUrl.replace(/^https?:\/\/(www\.)?/, "")}- </span>- <ExternalLink className="w-3 h-3 text-white/40 shrink-0" />- </button>- </div>- )}+ {/* Browser URL bar moved to parent timeline.tsx at z-[45] so it's clickable above controls */}{/* Search highlights + URL links (pointer-events: none wrapper, links have auto) */}{!isLoading && !hasError && !ocrLoading && naturalDimensions && renderedImageInfo && textPositions.length > 0 && (diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline.tsxindex 13ba101e4..5f95b1982 100644--- a/apps/screenpipe-app-tauri/components/rewind/timeline.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/timeline.tsx@@ -5,7 +5,7 @@import { useEffect, useState, useRef, useMemo, useCallback } from "react";-import { Loader2, RotateCcw, AlertCircle, X, Sparkles } from "lucide-react";+import { Loader2, RotateCcw, AlertCircle, X, Sparkles, Globe, Lock, ExternalLink } from "lucide-react";import { SearchModal } from "@/components/rewind/search-modal";import { commands } from "@/lib/utils/tauri";import { listen, emit } from "@tauri-apps/api/event";@@ -1722,6 +1722,39 @@ export default function Timeline({ embedded = false }: { embedded?: boolean }) {<DailySummaryCard currentDate={currentDate} /></div>+ {/* Browser URL bar — below nav bar, clickable to open in browser */}+ {(() => {+ const browserUrl = currentFrame?.devices?.[0]?.metadata?.browser_url;+ if (!browserUrl) return null;+ return (+ <div className={`absolute ${embedded ? "top-12" : "top-[calc(env(safe-area-inset-top)+52px)]"} left-0 right-0 z-[39] flex justify-center pointer-events-none`}>+ <button+ type="button"+ className="flex items-center gap-1.5 max-w-lg min-w-0 px-3 py-1 rounded-full bg-black/70 backdrop-blur-sm border border-white/10 hover:bg-black/80 hover:border-white/20 transition-colors cursor-pointer pointer-events-auto"+ title={`Open ${browserUrl}`}+ onClick={async () => {+ try {+ const { open } = await import("@tauri-apps/plugin-shell");+ await open(browserUrl);+ } catch {+ window.open(browserUrl, "_blank");+ }+ }}+ >+ {browserUrl.startsWith("https") ? (+ <Lock className="w-3 h-3 text-green-400/80 shrink-0" />+ ) : (+ <Globe className="w-3 h-3 text-white/40 shrink-0" />+ )}+ <span className="text-[12px] font-mono text-white/80 truncate">+ {browserUrl.replace(/^https?:\/\/(www\.)?/, "")}+ </span>+ <ExternalLink className="w-3 h-3 text-white/40 shrink-0" />+ </button>+ </div>+ );+ })()}+{/* Subtitle bar — below nav bar, always visible when audio exists nearby */}<div className={`absolute ${embedded ? "top-16" : "top-[calc(env(safe-area-inset-top)+96px)]"} left-4 right-4 z-[35]`}><SubtitleBar