= ({
onClick={handleOnShowRetryDetail}
>
-
+
{t('workflow.nodes.common.retry.retries', { num: nodeInfo.retryDetail?.length })}
-
+
)}
diff --git a/web/app/components/workflow/run/special-result-panel.tsx b/web/app/components/workflow/run/special-result-panel.tsx
new file mode 100644
index 0000000000..c8918e897e
--- /dev/null
+++ b/web/app/components/workflow/run/special-result-panel.tsx
@@ -0,0 +1,49 @@
+import RetryResultPanel from './retry-result-panel'
+import IterationResultPanel from './iteration-result-panel'
+import type { IterationDurationMap, NodeTracing } from '@/types/workflow'
+
+type SpecialResultPanelProps = {
+ showRetryDetail: boolean
+ setShowRetryDetailFalse: () => void
+ retryResultList: NodeTracing[]
+
+ showIteratingDetail: boolean
+ setShowIteratingDetailFalse: () => void
+ iterationResultList: NodeTracing[][]
+ iterationResultDurationMap: IterationDurationMap
+}
+const SpecialResultPanel = ({
+ showRetryDetail,
+ setShowRetryDetailFalse,
+ retryResultList,
+
+ showIteratingDetail,
+ setShowIteratingDetailFalse,
+ iterationResultList,
+ iterationResultDurationMap,
+}: SpecialResultPanelProps) => {
+ return (
+ <>
+ {
+ showRetryDetail && (
+
+ )
+ }
+ {
+ showIteratingDetail && (
+
+ )
+ }
+ >
+ )
+}
+
+export default SpecialResultPanel