From 1da9ec56738033449fbda27fecdaf22c2e7a504b Mon Sep 17 00:00:00 2001 From: mindesbunister Date: Thu, 24 Jul 2025 17:49:37 +0200 Subject: [PATCH] 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. --- app/automation-v2/page.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/automation-v2/page.js b/app/automation-v2/page.js index 209c22f..6fc99d8 100644 --- a/app/automation-v2/page.js +++ b/app/automation-v2/page.js @@ -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}`)