diff --git a/app/automation-v2/page.js b/app/automation-v2/page.js index cfb9957..3ff0b91 100644 --- a/app/automation-v2/page.js +++ b/app/automation-v2/page.js @@ -544,8 +544,98 @@ export default function AutomationPageV2() { )} + {/* Analysis Progress */} + {status?.analysisProgress && ( +
+
+

Analysis Progress

+
+ Session: {status.analysisProgress.sessionId.split('-').pop()} +
+
+
+ {/* Overall Progress */} +
+ Step {status.analysisProgress.currentStep} of {status.analysisProgress.totalSteps} + + {Math.round((status.analysisProgress.currentStep / status.analysisProgress.totalSteps) * 100)}% + +
+
+
+
+ + {/* Timeframe Progress */} + {status.analysisProgress.timeframeProgress && ( +
+
+ + Analyzing {status.analysisProgress.timeframeProgress.currentTimeframe || 'timeframes'} + + + {status.analysisProgress.timeframeProgress.current}/{status.analysisProgress.timeframeProgress.total} + +
+
+ )} + + {/* Detailed Steps */} +
+ {status.analysisProgress.steps.map((step, index) => ( +
+ {/* Status Icon */} +
+ {step.status === 'active' ? '⏳' : + step.status === 'completed' ? '✓' : + step.status === 'error' ? '✗' : + index + 1} +
+ + {/* Step Info */} +
+
+ {step.title} +
+
+ {step.details || step.description} +
+
+ + {/* Duration */} + {step.duration && ( +
+ {(step.duration / 1000).toFixed(1)}s +
+ )} +
+ ))} +
+
+
+ )} + {/* Analysis Timer */} - {status?.isActive && ( + {status?.isActive && !status?.analysisProgress && (

Analysis Timer

@@ -559,7 +649,7 @@ export default function AutomationPageV2() { {formatCountdown(nextAnalysisCountdown)}
- {nextAnalysisCountdown > 0 ? 'Next Analysis In' : 'Analysis Running'} + {nextAnalysisCountdown > 0 ? 'Next Analysis In' : 'Analysis Starting Soon'}