fix: Remove annoying speed efficiency popup from test function
- Removed detailed performance metrics from test alert popup - Cleaned up message to show only analysis results and recommendations - Kept performance logging in console for debugging if needed - Users no longer see annoying 'Duration/Screenshots/Efficiency' popup The speed improvements are real but don't need to be constantly shown in popup form - focus on analysis results instead.
This commit is contained in:
@@ -260,7 +260,8 @@ export default function AutomationPageV2() {
|
||||
console.log(`🤖 Analysis: ${data.analysis ? 'Yes' : 'No'}`)
|
||||
console.log(`🚀 Efficiency: ${data.optimization?.efficiency || 'N/A'}`)
|
||||
|
||||
alert(`✅ Optimized Analysis Complete!\n\n⏱️ Duration: ${duration}s\n📸 Screenshots: ${data.screenshots?.length || 0}\n🚀 Efficiency: ${data.optimization?.efficiency || 'N/A'}\n\n${data.analysis ? `📊 Recommendation: ${data.analysis.overallRecommendation} (${data.analysis.confidence}% confidence)` : ''}`)
|
||||
// Clean success message without annoying speed metrics
|
||||
alert(`✅ Analysis Complete!\n\n${data.analysis ? `📊 Recommendation: ${data.analysis.overallRecommendation} (${data.analysis.confidence}% confidence)` : 'Analysis completed successfully'}`)
|
||||
} else {
|
||||
console.error('❌ Optimized analysis failed:', data.error)
|
||||
alert(`❌ Optimized analysis failed: ${data.error}`)
|
||||
|
||||
Reference in New Issue
Block a user