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(chat): show fallback sparkle icon on auto-suggestions
Louis Beaumontece9d58bb90d
diff --git a/apps/screenpipe-app-tauri/components/chat/summary-cards.tsx b/apps/screenpipe-app-tauri/components/chat/summary-cards.tsxindex 586476325..0df8087ab 100644--- a/apps/screenpipe-app-tauri/components/chat/summary-cards.tsx+++ b/apps/screenpipe-app-tauri/components/chat/summary-cards.tsx@@ -5,7 +5,7 @@import { useState, useEffect, useRef } from "react";import { motion, AnimatePresence } from "framer-motion";-import { ChevronDown, ChevronUp, Plug, Plus, RefreshCw } from "lucide-react";+import { ChevronDown, ChevronUp, Plug, Plus, RefreshCw, Sparkles } from "lucide-react";import { PipeAIIconLarge } from "@/components/pipe-ai-icon";import { type TemplatePipe } from "@/lib/hooks/use-pipes";import { FALLBACK_TEMPLATES, type CustomTemplate } from "@/lib/summary-templates";@@ -346,7 +346,11 @@ export function SummaryCards({title={s.text}><span className="flex h-4 w-4 shrink-0 items-center justify-center">- {s.connectionIcon && <ConnectionSuggestionIcon name={s.connectionIcon} />}+ {s.connectionIcon ? (+ <ConnectionSuggestionIcon name={s.connectionIcon} />+ ) : (+ <Sparkles className="h-3.5 w-3.5 text-muted-foreground/70 group-hover:text-foreground/70" strokeWidth={1.5} aria-hidden />+ )}</span><span className="min-w-0 flex-1 text-xs leading-tight line-clamp-2">{s.text}diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsxindex b09ff8b1e..497f38bf5 100644--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx@@ -7521,7 +7521,11 @@ export function StandaloneChat({className="inline-flex items-center gap-1.5 px-2.5 py-1 text-[11px] font-mono bg-muted/20 hover:bg-foreground hover:text-background border border-border/20 hover:border-foreground text-muted-foreground transition-all duration-150 cursor-pointer max-w-[280px]"title={s.preview ? `${s.text} — ${s.preview}` : s.text}>- {s.connectionIcon && <ConnectionToolIcon name={s.connectionIcon} />}+ {s.connectionIcon ? (+ <ConnectionToolIcon name={s.connectionIcon} />+ ) : (+ <Sparkles className="w-3 h-3 shrink-0 text-muted-foreground/70" strokeWidth={1.5} aria-hidden />+ )}<span className="truncate">{s.text}</span></button>))}@@ -7563,7 +7567,11 @@ export function StandaloneChat({className="text-left px-2 py-1.5 text-[11px] font-mono rounded-sm hover:bg-muted text-muted-foreground hover:text-foreground transition-colors flex items-start gap-1.5"title={s.preview ? `${s.text} — ${s.preview}` : s.text}>- {s.connectionIcon && <ConnectionToolIcon name={s.connectionIcon} />}+ {s.connectionIcon ? (+ <ConnectionToolIcon name={s.connectionIcon} />+ ) : (+ <Sparkles className="w-3 h-3 mt-0.5 shrink-0 text-muted-foreground/70" strokeWidth={1.5} aria-hidden />+ )}<span className="line-clamp-2">{s.text}</span></button>))}