diff --git a/ui/src/components/IssueThreadInteractionCard.tsx b/ui/src/components/IssueThreadInteractionCard.tsx index d95314be82e..91803ab947e 100644 --- a/ui/src/components/IssueThreadInteractionCard.tsx +++ b/ui/src/components/IssueThreadInteractionCard.tsx @@ -1,6 +1,6 @@ import { useEffect, useMemo, useState } from "react"; import type { Agent } from "@paperclipai/shared"; -import { AlertTriangle, CheckCircle2, ChevronRight, CircleDashed, GitBranch, ListChecks, Loader2, MessageSquareQuote, Sparkles, XCircle } from "lucide-react"; +import { AlertTriangle, CheckCircle2, ChevronRight, CircleDashed, GitBranch, ListChecks, Loader2, MessageSquareQuote, XCircle } from "lucide-react"; import { Link } from "@/lib/router"; import { formatAssigneeUserLabel } from "../lib/assignees"; import { @@ -20,6 +20,7 @@ import { cn, formatDateTime, formatShortDate } from "../lib/utils"; import { MarkdownBody } from "./MarkdownBody"; import { Button } from "./ui/button"; import { Checkbox } from "./ui/checkbox"; +import { PriorityIcon } from "./PriorityIcon"; import { Textarea } from "./ui/textarea"; import { Tooltip, TooltipContent, TooltipTrigger } from "./ui/tooltip"; @@ -78,6 +79,10 @@ function statusLabel(status: IssueThreadInteraction["status"]) { } } +function interactionKindLabel(kind: IssueThreadInteraction["kind"]) { + return kind === "suggest_tasks" ? "Suggested tasks" : "Ask user questions"; +} + function statusIcon(status: IssueThreadInteraction["status"]) { switch (status) { case "accepted": @@ -114,7 +119,7 @@ function statusClasses(status: IssueThreadInteraction["status"]) { }; default: return { - shell: "border-sky-300/80 bg-card", + shell: "border-border bg-card", badge: "border-sky-400/60 bg-sky-100/85 text-sky-950", }; } @@ -132,7 +137,7 @@ function TaskField({ return ( 0 && "relative pl-5")}> +
0 && "relative pl-6")}> {depth > 0 ? (