summaryrefslogtreecommitdiff
path: root/makima/frontend/src/components/directives/StepNode.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'makima/frontend/src/components/directives/StepNode.tsx')
-rw-r--r--makima/frontend/src/components/directives/StepNode.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/makima/frontend/src/components/directives/StepNode.tsx b/makima/frontend/src/components/directives/StepNode.tsx
index fa91956..2844b4a 100644
--- a/makima/frontend/src/components/directives/StepNode.tsx
+++ b/makima/frontend/src/components/directives/StepNode.tsx
@@ -46,6 +46,14 @@ export function StepNode({ step, onComplete, onFail, onSkip }: StepNodeProps) {
{step.description}
</p>
)}
+ {step.taskId && (
+ <a
+ href={`/mesh/${step.taskId}`}
+ className="text-[9px] font-mono text-[#556677] hover:text-[#75aafc] underline block mb-1"
+ >
+ {step.status === "running" ? "Auto-executing..." : "View task"}
+ </a>
+ )}
{(step.status === "running" || step.status === "ready") && (
<div className="flex gap-1 mt-1">
{onComplete && (