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
style(chat-sidebar): brand-aligned streaming indicator, drop redundant bullet
Louis Beaumontd3af5a7d160a
diff --git a/apps/screenpipe-app-tauri/app/globals.css b/apps/screenpipe-app-tauri/app/globals.cssindex 15b261b0a..7a39c2120 100644--- a/apps/screenpipe-app-tauri/app/globals.css+++ b/apps/screenpipe-app-tauri/app/globals.css@@ -508,24 +508,6 @@}}- /* sp-pulse — slow soft halo for live-streaming chat rows in the- sidebar. Tailwind's default `animate-pulse` is too loud (opacity- fades from 1 → 0.5) and `animate-ping` flashes outward too- aggressively. We want a calmer breath — opacity dips less far,- scales out slightly, and breathes at 1.6s so it reads as- "background activity" rather than "alert me now". */- @keyframes sp-pulse {- 0%,- 100% {- transform: scale(1);- opacity: 0.55;- }- 50% {- transform: scale(1.6);- opacity: 0;- }- }-.meeting-audio-level-bar {transform-origin: bottom;}diff --git a/apps/screenpipe-app-tauri/components/chat-sidebar.tsx b/apps/screenpipe-app-tauri/components/chat-sidebar.tsxindex 7ea5336dc..f635db014 100644--- a/apps/screenpipe-app-tauri/components/chat-sidebar.tsx+++ b/apps/screenpipe-app-tauri/components/chat-sidebar.tsx@@ -1244,8 +1244,7 @@ interface ChatRowProps {* (That's why "delete chat doesn't work" — the X click was eaten by the* outer button.)*- * Left-side bullet stays stable; the right-side status slot carries- * exactly one signal:+ * Right-side status slot carries exactly one signal:* loading dot → streaming/thinking/tool/queued* unread dot → new content* compact age → idle/read@@ -1308,7 +1307,6 @@ export function SidebarChatRow({onSelect(session.id);}}>- <RowBullet /><spanclassName={cn("truncate flex-1 text-xs font-normal",@@ -1441,15 +1439,6 @@ export function SidebarChatRow({/** Stable left-side bullet. State belongs in the right slot so each row* reads as one clear signal instead of two competing indicators. */-function RowBullet() {- return (- <span- className="h-1.5 w-1.5 rounded-full border border-muted-foreground/40 shrink-0"- aria-hidden- />- );-}-function RowRightSignal({isLive,isError,@@ -1483,9 +1472,11 @@ function RowRightSignal({if (isUnread) {return (<span- className="h-1.5 w-1.5 rounded-full bg-foreground"+ className="font-mono text-[10px] leading-none text-foreground inline-flex items-center justify-center w-2.5 h-2.5"aria-label="unread"- />+ >+ █+ </span>);}if (age) {@@ -1503,14 +1494,26 @@ function RowRightSignal({return <span className="min-w-5 shrink-0 inline-flex justify-end">{content}</span>;}+// Quadrant frames — a square fills clockwise, then empties. Sharp Unicode+// block chars keep the per-DESIGN.md no-curves rule. Categorically different+// motion from the static unread `█` so the row reads "live" at a glance.+const LIVE_FRAMES = ["▘", "▀", "▛", "█", "▜", "▐", "▝", "·"] as const;+function LiveSignal({ ariaLabel = "loading" }: { ariaLabel?: string }) {+ const [frame, setFrame] = useState(0);+ useEffect(() => {+ const id = setInterval(+ () => setFrame((f) => (f + 1) % LIVE_FRAMES.length),+ 140+ );+ return () => clearInterval(id);+ }, []);return (<span- className="relative h-2 w-2 shrink-0 flex items-center justify-center"+ className="font-mono text-[10px] leading-none text-foreground inline-flex items-center justify-center w-2.5 h-2.5 shrink-0"aria-label={ariaLabel}>- <span className="absolute inset-0 rounded-full bg-foreground/30 animate-[sp-pulse_1.6s_ease-in-out_infinite]" />- <span className="relative h-1.5 w-1.5 rounded-full bg-foreground" />+ {LIVE_FRAMES[frame]}</span>);}