From b9a163c7ccef3856a3f3854ab4973800a3388ab1 Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 1 May 2026 20:28:54 +1000 Subject: [PATCH] Shrink AgentAvatar to sm + dim on idle instead of removing Persistent presence is less jumpy than pop-in/out. When the model isn't actively doing anything, the avatar collapses to the `sm` size variant, loses its activity label, and dims to 50% opacity. Springs back to full-size + label when activity resumes. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/routes/ai.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/routes/ai.tsx b/app/routes/ai.tsx index 95b4b2d..46fa3f6 100644 --- a/app/routes/ai.tsx +++ b/app/routes/ai.tsx @@ -571,14 +571,19 @@ function ChatSurface({ pendingConfirm: !!pendingConfirm, confirmBusy, }) - if (activity === "idle") return null + const isIdle = activity === "idle" return ( -
+
)