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(chat): add history button back to overlay (right side, before +NEW)

Louis Beaumont06f0d1bfc70f
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index c37e57fdf..8448b7a49 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -2983,6 +2983,24 @@ export function StandaloneChat({ className }: { className?: string } = {}) {
<h2 className="font-semibold text-sm tracking-tight">Pipe AI</h2>
<p className="text-[10px] text-muted-foreground font-mono uppercase tracking-wider">Screen Activity Assistant</p>
</div>
+ {!isEmbedded && (
+ <Button
+ variant={showHistory ? "secondary" : "ghost"}
+ size="icon"
+ onMouseDown={(e) => e.stopPropagation()}
+ onClick={async (e) => {
+ e.stopPropagation();
+ if (!showHistory) {
+ await reloadStore();
+ }
+ setShowHistory(!showHistory);
+ }}
+ className="relative z-10 h-7 w-7"
+ title="Chat history"
+ >
+ <History size={14} />
+ </Button>
+ )}
<Button
variant="default"
size="sm"