Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(issues): add brand border beam to active agent header chip (#3921)
Jiayuan Zhang0c80c33c627d
diff --git a/packages/views/issues/components/issue-agent-header-chip.tsx b/packages/views/issues/components/issue-agent-header-chip.tsxindex 9d8d4d5a18..15bd160fbc 100644--- a/packages/views/issues/components/issue-agent-header-chip.tsx+++ b/packages/views/issues/components/issue-agent-header-chip.tsx@@ -9,6 +9,7 @@ import {} from "@multica/ui/components/ui/popover";import { useWorkspaceId } from "@multica/core/hooks";import { useActorName } from "@multica/core/workspace/hooks";+import { cn } from "@multica/ui/lib/utils";import { agentTaskSnapshotOptions } from "@multica/core/agents";import type { AgentTask } from "@multica/core/types";import { AgentAvatarStack } from "../../agents/components/agent-avatar-stack";@@ -99,7 +100,15 @@ function ActiveChip({ issueId, running, queued }: ActiveChipProps) {<buttontype="button"aria-label={label}- className="flex h-7 max-w-[11rem] items-center gap-1.5 rounded-md px-1.5 text-muted-foreground outline-none transition-colors hover:bg-accent/60 focus-visible:ring-2 focus-visible:ring-ring"+ // While an agent is actively running, the chip wears the+ // brand border beam — a highlight sweeping around its rounded+ // edge — so a triggered run is unmistakably "alive" in the+ // header. Queued-only state stays calm (no beam) to reserve the+ // motion for work that is genuinely in flight.+ className={cn(+ "flex h-7 max-w-[11rem] items-center gap-1.5 rounded-md px-1.5 text-muted-foreground outline-none transition-colors hover:bg-accent/60 focus-visible:ring-2 focus-visible:ring-ring",+ anyRunning && "border-beam bg-brand/5",+ )}/>}>