The best way to control Claude Code, Codex and more from any computer or phone
Use undo icon for revert action in chat timeline
- Replace "Revert agent work" button text with `Undo2Icon` in `ChatView` - Keep existing revert behavior and disabled/loading states unchanged
Julius Marminge committed
Feb 18, 2026 at 00:23 UTC
5209967a7e8b7a8aad24653c7e15264dbc7b7f4f
1 file changed
+2
-1
apps/web/src/components/ChatView.tsx
+2
-1
@@ -93,6 +93,7 @@ import {
93
InfoIcon,
94
LockIcon,
95
LockOpenIcon,
96
+ Undo2Icon,
97
XIcon,
98
} from "lucide-react";
99
import { Button } from "./ui/button";
@@ -2601,7 +2602,7 @@ const MessagesTimeline = memo(function MessagesTimeline({
2602
disabled={isRevertingCheckpoint || isWorking}
2603
onClick={() => onRevertUserMessage(timelineEntry.message.id)}
2604
>
2604
- {isRevertingCheckpoint ? "Reverting..." : "Revert agent work"}
2605
+ <Undo2Icon className="size-3" />
2606
</Button>
2607
)}
2608
<p className="text-right text-[10px] text-muted-foreground/30">