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(ui): align AI panel and export button with brand style
Louis Beaumont2582daebc9b0
diff --git a/screenpipe-app-tauri/components/rewind/export-button.tsx b/screenpipe-app-tauri/components/rewind/export-button.tsxindex 0299211f7..57a5a416b 100644--- a/screenpipe-app-tauri/components/rewind/export-button.tsx+++ b/screenpipe-app-tauri/components/rewind/export-button.tsx@@ -238,18 +238,20 @@ export function ExportButton() {<Buttonvariant="outline"onClick={handleExport}- className="h-auto px-3 py-1 bg-background hover:bg-accent border text-foreground text-xs rounded flex items-center gap-2 transition-colors"+ className="w-full h-auto px-3 py-1.5 bg-background hover:bg-foreground hover:text-background border border-border text-foreground text-xs uppercase tracking-wide font-mono flex items-center justify-center gap-2 transition-colors duration-150"disabled={isExporting || !selectionRange?.frameIds.length}>{isExporting ? (- <div className="flex items-center">- <Loader2 className="h-4 w-4 animate-spin mr-2" />+ <>+ <Loader2 className="h-4 w-4 animate-spin" />{progress > 0 && `${Math.round(progress)}%`}- </div>+ </>) : (- <Video className="h-4 w-4 mr-2" />+ <>+ <Video className="h-4 w-4" />+ EXPORT VIDEO+ </>)}- Export Video</Button>);}diff --git a/screenpipe-app-tauri/components/rewind/timeline/ai-panel.tsx b/screenpipe-app-tauri/components/rewind/timeline/ai-panel.tsxindex 93157a074..2039ed13b 100644--- a/screenpipe-app-tauri/components/rewind/timeline/ai-panel.tsx+++ b/screenpipe-app-tauri/components/rewind/timeline/ai-panel.tsx@@ -359,7 +359,7 @@ export function AIPanel({return (<divref={aiPanelRef}- className="ai-panel bg-card border border-border rounded-lg shadow-lg transition-all duration-300 ease-in-out z-10"+ className="ai-panel bg-card border border-border transition-all duration-150 ease-in-out z-10"style={{position: "fixed",left: position.x,@@ -406,7 +406,7 @@ export function AIPanel({<div className="p-4 space-y-2"><ExportButton /><button- className="px-3 py-1 bg-background hover:bg-accent border text-foreground text-xs rounded flex items-center gap-2 transition-colors"+ className="w-full px-3 py-1.5 bg-background hover:bg-foreground hover:text-background border border-border text-foreground text-xs uppercase tracking-wide font-mono flex items-center justify-center gap-2 transition-colors duration-150"onClick={(e) => {e.stopPropagation();posthog.capture("timeline_ai_panel_expanded");@@ -416,8 +416,8 @@ export function AIPanel({}, 100);}}>- <span>ask ai</span>- <span className="text-muted-foreground text-[10px]">+ <span>ASK AI</span>+ <span className="text-muted-foreground text-[10px] normal-case">{osType === "macos" ? "⌘L" : "Ctrl+L"}</span></button>