|
1 | | -import { EyeIcon, MagnifyingGlassIcon, TrashIcon } from "@heroicons/react/20/solid"; |
| 1 | +import { MagnifyingGlassIcon, TrashIcon } from "@heroicons/react/20/solid"; |
2 | 2 | import { useState } from "react"; |
3 | 3 | import { Button } from "~/components/primitives/Buttons"; |
4 | 4 | import { DateTime } from "~/components/primitives/DateTime"; |
@@ -52,13 +52,9 @@ function ProcessIcon({ process }: { process: ChatProcess }) { |
52 | 52 | <span title={label} aria-label={label} role="img" className="shrink-0 text-text-dimmed"> |
53 | 53 | {process === "investigating" ? ( |
54 | 54 | <MagnifyingGlassIcon className="size-3.5" /> |
55 | | - ) : process === "watching" ? ( |
56 | | - // A watch is passive — an eye, not a spinner, so it can't be read as |
57 | | - // "the agent is busy in this chat". |
58 | | - <EyeIcon className="size-3.5" /> |
59 | 55 | ) : ( |
60 | | - // Same spinner the transcript's progress line uses — a spinner means |
61 | | - // "the agent is working right now". |
| 56 | + // Thinking and watching both spin — "something is going on here"; the |
| 57 | + // hover title says which. |
62 | 58 | <Spinner className="size-3.5" /> |
63 | 59 | )} |
64 | 60 | </span> |
@@ -114,7 +110,9 @@ export function DashboardAgentHistory({ |
114 | 110 | key={chat.id} |
115 | 111 | label={chat.title} |
116 | 112 | unread={chat.hasUnreadWake ?? false} |
117 | | - status={process ? <ProcessIcon process={process} /> : undefined} |
| 113 | + // null keeps the leading slot so every title starts at the |
| 114 | + // same x whether or not this chat has a status. |
| 115 | + status={process ? <ProcessIcon process={process} /> : null} |
118 | 116 | meta={ |
119 | 117 | chat.lastMessageAt ? ( |
120 | 118 | <DateTime date={chat.lastMessageAt} showTooltip={false} /> |
|
0 commit comments