fix: remove running tag, use opacity-50 on inactive agent avatars instead

This commit is contained in:
Taylor Ho
2026-05-20 23:29:36 -07:00
parent 7c96f87f3a
commit cb848348d7

View File

@@ -640,10 +640,6 @@ export function QuickAddAgentPopover({
</span>
{isInChannel ? (
<Check className="h-3.5 w-3.5 shrink-0 text-muted-foreground" />
) : item.kind === "running-available" && !selectMode ? (
<span className="shrink-0 rounded-full bg-emerald-500/15 px-1.5 py-0.5 text-[10px] font-medium text-emerald-600 dark:text-emerald-400">
running
</span>
) : null}
{isItemPending ? (
<Spinner className="h-3.5 w-3.5 shrink-0 text-primary" />
@@ -729,7 +725,7 @@ function QuickAddAgentAvatar({
.toUpperCase();
return (
<div className="relative flex h-7 w-7 shrink-0 items-center justify-center rounded-full border border-border/50 bg-muted/30">
<div className={cn("relative flex h-7 w-7 shrink-0 items-center justify-center rounded-full border border-border/50 bg-muted/30", !isRunning && "opacity-50")}>
{avatarUrl ? (
<img
alt={label}