Skip to content

The open-source app everyone uses to manage agents at work

Add Routine badge to issue detail for routine-generated issues

dotta9ee440b8e449
diff --git a/ui/src/pages/IssueDetail.tsx b/ui/src/pages/IssueDetail.tsx
index fbed1e9cf4..2c6ae1043c 100644
--- a/ui/src/pages/IssueDetail.tsx
+++ b/ui/src/pages/IssueDetail.tsx
@@ -48,6 +48,7 @@ import {
MessageSquare,
MoreHorizontal,
Paperclip,
+ Repeat,
SlidersHorizontal,
Trash2,
} from "lucide-react";
@@ -726,6 +727,16 @@ export function IssueDetail() {
</span>
)}
+ {issue.originKind === "routine_execution" && issue.originId && (
+ <Link
+ to={`/routines/${issue.originId}`}
+ className="inline-flex items-center gap-1 rounded-full bg-violet-500/10 border border-violet-500/30 px-2 py-0.5 text-[10px] font-medium text-violet-600 dark:text-violet-400 shrink-0 hover:bg-violet-500/20 transition-colors"
+ >
+ <Repeat className="h-3 w-3" />
+ Routine
+ </Link>
+ )}
+
{issue.projectId ? (
<Link
to={`/projects/${issue.projectId}`}