diff --git a/desktop/src/components/PipelinesPanel.tsx b/desktop/src/components/PipelinesPanel.tsx index 7419371..87b5ef8 100644 --- a/desktop/src/components/PipelinesPanel.tsx +++ b/desktop/src/components/PipelinesPanel.tsx @@ -18,6 +18,7 @@ import { Filter, X, } from 'lucide-react'; +import { PipelineResultPreview } from './PipelineResultPreview'; import { PipelineClient, PipelineInfo, @@ -28,7 +29,6 @@ import { formatInputType, } from '../lib/pipeline-client'; import { useToast } from './ui/Toast'; -import { PresentationContainer } from './presentation'; // === Category Badge Component === @@ -117,64 +117,6 @@ function PipelineCard({ pipeline, onRun }: PipelineCardProps) { ); } -// === Pipeline Result Modal === - -interface ResultModalProps { - result: PipelineRunResponse; - pipeline: PipelineInfo; - onClose: () => void; -} - -function ResultModal({ result, pipeline, onClose }: ResultModalProps) { - return ( -
- 状态: {result.status === 'completed' ? '已完成' : '失败'} -
-{result.error}
-无输出结果
-