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 New Chat button more visible in chat headers

Louis Beaumont29597748d956
diff --git a/screenpipe-app-tauri/components/global-chat.tsx b/screenpipe-app-tauri/components/global-chat.tsx
index 1eb7e4c24..45b21e913 100644
--- a/screenpipe-app-tauri/components/global-chat.tsx
+++ b/screenpipe-app-tauri/components/global-chat.tsx
@@ -1894,14 +1894,14 @@ export function GlobalChat() {
<span className="hidden sm:inline">History</span>
</Button>
<Button
- variant="outline"
+ variant="default"
size="sm"
onClick={startNewConversation}
- className="h-7 px-2 gap-1 text-xs"
+ className="h-7 px-3 gap-1.5 text-xs bg-foreground text-background hover:bg-foreground/90"
title="New chat"
>
<Plus size={14} />
- <span className="hidden sm:inline">New</span>
+ <span>New</span>
</Button>
<kbd className="hidden sm:inline-flex items-center gap-1 px-2 py-0.5 text-[10px] font-mono text-muted-foreground bg-muted/50 border border-border/50 rounded">
{formatShortcutDisplay(settings.showChatShortcut || (isMac ? DEFAULT_CHAT_SHORTCUT_MAC : DEFAULT_CHAT_SHORTCUT_OTHER), isMac)}
diff --git a/screenpipe-app-tauri/components/standalone-chat.tsx b/screenpipe-app-tauri/components/standalone-chat.tsx
index 2d59d2222..164e7ec3d 100644
--- a/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -1181,17 +1181,17 @@ export function StandaloneChat() {
<span className="hidden sm:inline">History</span>
</Button>
<Button
- variant="outline"
+ variant="default"
size="sm"
onClick={(e) => {
e.stopPropagation();
startNewConversation();
}}
- className="h-7 px-2 gap-1 text-xs"
+ className="h-7 px-3 gap-1.5 text-xs bg-foreground text-background hover:bg-foreground/90"
title="New chat"
>
<Plus size={14} />
- <span className="hidden sm:inline">New</span>
+ <span>New</span>
</Button>
<kbd className="hidden sm:inline-flex items-center gap-1 px-2 py-0.5 text-[10px] font-mono text-muted-foreground bg-muted/50 border border-border/50 rounded">
{isMac ? "⌘⌥" : "Alt+"}L