working on workflows

This commit is contained in:
2026-03-04 22:02:34 -06:00
parent b54aa3ec26
commit 7438f92502
63 changed files with 10231 additions and 731 deletions

View File

@@ -22,9 +22,9 @@ import { useState, useMemo } from "react";
import { RotateCcw, Loader2 } from "lucide-react";
import ExecuteActionModal from "@/components/common/ExecuteActionModal";
import EntityHistoryPanel from "@/components/common/EntityHistoryPanel";
import WorkflowTasksPanel from "@/components/common/WorkflowTasksPanel";
import ExecutionArtifactsPanel from "@/components/executions/ExecutionArtifactsPanel";
import ExecutionProgressBar from "@/components/executions/ExecutionProgressBar";
import WorkflowDetailsPanel from "@/components/executions/WorkflowDetailsPanel";
const getStatusColor = (status: string) => {
switch (status) {
@@ -279,6 +279,16 @@ export default function ExecutionDetailPage() {
)}
</div>
{/* Workflow Details — combined timeline + tasks panel (top of page for workflows) */}
{isWorkflow && (
<div className="mb-6">
<WorkflowDetailsPanel
parentExecution={execution}
actionRef={execution.action_ref}
/>
</div>
)}
{/* Re-Run Modal */}
{showRerunModal && actionData?.data && (
<ExecuteActionModal
@@ -542,13 +552,6 @@ export default function ExecutionDetailPage() {
</div>
</div>
{/* Workflow Tasks (shown only for workflow executions) */}
{isWorkflow && (
<div className="mt-6">
<WorkflowTasksPanel parentExecutionId={execution.id} />
</div>
)}
{/* Artifacts */}
<div className="mt-6">
<ExecutionArtifactsPanel