diff --git a/ui/src/components/CommentThread.tsx b/ui/src/components/CommentThread.tsx
index f529382b..fa123d31 100644
--- a/ui/src/components/CommentThread.tsx
+++ b/ui/src/components/CommentThread.tsx
@@ -2,7 +2,7 @@ import { memo, useEffect, useMemo, useRef, useState, type ChangeEvent } from "re
import { Link, useLocation } from "react-router-dom";
import type { IssueComment, Agent } from "@paperclipai/shared";
import { Button } from "@/components/ui/button";
-import { Paperclip } from "lucide-react";
+import { Check, Copy, Paperclip } from "lucide-react";
import { Identity } from "./Identity";
import { InlineEntitySelector, type InlineEntityOption } from "./InlineEntitySelector";
import { MarkdownBody } from "./MarkdownBody";
@@ -92,6 +92,25 @@ function parseReassignment(target: string): CommentReassignment | null {
return null;
}
+function CopyMarkdownButton({ text }: { text: string }) {
+ const [copied, setCopied] = useState(false);
+ return (
+
+ );
+}
+
type TimelineItem =
| { kind: "comment"; id: string; createdAtMs: number; comment: CommentWithRunMeta }
| { kind: "run"; id: string; createdAtMs: number; run: LinkedRunItem };
@@ -160,12 +179,15 @@ const TimelineList = memo(function TimelineList({
) : (
)}
-
- {formatDateTime(comment.createdAt)}
-
+
+
+ {formatDateTime(comment.createdAt)}
+
+
+
{comment.body}
{comment.runId && (