29 Commits

Author SHA1 Message Date
65383788b1 V2 Feature overhaul and improvements 2025-12-29 12:12:38 +11:00
390b9477f3 Cleanup main.js - removed dead multi-run code 2025-12-29 10:55:35 +11:00
9a5212de9e Fix: View Images button logic 2025-12-28 22:07:20 +11:00
097109b3e9 Refactor: Remove multi-run option from UI and logic 2025-12-28 21:22:41 +11:00
ebea27d687 Retry: Add Rerun button and fix run count usage in main.js 2025-12-28 12:30:03 +11:00
7cfe4f74a5 Fix video generation crash: patch Whammy.js logic and safeguard empty frames 2025-12-28 11:55:27 +11:00
83cec85258 Optimize video generation: Fixed 30fps Whammy implementation 2025-12-28 11:52:11 +11:00
deaa23f8bd Revert main.js optimization to fix broken website 2025-12-28 11:49:47 +11:00
c90dc96d12 Optimize Whammy implementation: Use fixed 30fps and precise frame interpolation 2025-12-28 11:46:13 +11:00
fe24f638c6 Fix video duration and quality: use timeslice and proper frame timing 2025-12-28 11:31:26 +11:00
1a57b84285 Fix MediaRecorder error: remove conflicting keyframe parameter 2025-12-28 11:27:08 +11:00
0dbd593e9a Fix video quality: force high bitrate with multiple parameters and 30fps 2025-12-28 11:24:31 +11:00
8eb02acf40 Increase video bitrate to 75 Mbps (15x quality boost) 2025-12-28 11:20:58 +11:00
1342571271 Fix video download: 1080p resolution and improved browser compatibility 2025-12-28 11:17:02 +11:00
03ce5f1e9b Enhance video modal: increase size and add download functionality 2025-12-28 11:13:53 +11:00
7dba6a8183 Fix View Video button and restore View Images button 2025-12-28 11:02:33 +11:00
0419bd6a9e Implement all Gap Analysis features: Visualization, Network, Bulk, Compare 2025-12-28 10:56:28 +11:00
7d9c7d9651 Feat: Complete UI implementation for GTmetrix dashboard 2025-12-28 05:09:13 +11:00
6df9b0e44f Make Recent Tests URLs clickable to reload results 2025-12-28 03:40:18 +11:00
aaa712b7e4 Phase C.2 - Multi-run frontend (UI, progress, results display) 2025-12-28 03:15:17 +11:00
c6a9d914df Add images gallery link handler to main.js 2025-12-28 03:00:49 +11:00
4ca5ab1d71 Fix corrupted main.js syntax error that broke entire site 2025-12-28 02:14:56 +11:00
79439f7bfa Fix device selection default mismatch + Integrate Waterfall & Comparison
Bug Fix:
- Backend was defaulting to mobile (isMobile ?? true)
- Frontend was defaulting to desktop
- Changed runner.js default to false (desktop) to match frontend

Feature Integration:
- Added Waterfall button to each history item
- Added comparison checkboxes to history for easy test selection
- Auto-limit to 2 tests for comparison
- Comparison controls appear dynamically when tests selected
- Auto-load comparison when URL params present
2025-12-28 01:55:27 +11:00
fd67a8a4fa Add Export APIs & Optimization Checks (Phases 14-15)
Features Added:
- HAR file export endpoint (/api/export/:testId/har)
- CSV metrics export endpoint (/api/export/:testId/csv)
- Optimization checker analyzing 8 categories:
  * Image optimization
  * Text compression (gzip/brotli)
  * Cache policies
  * Render-blocking resources
  * Unused JavaScript
  * Unused CSS
  * HTTP/2 adoption
  * Code minification
- Frontend optimization checklist with color-coded warnings
- Export buttons integrated into results UI

Technical Implementation:
- Created lib/optimization-checker.js with Lighthouse audit analysis
- Added optimization score calculation (0-100%)
- Potential time savings displayed for each check
- Export buttons wired to download endpoints
- Optimization data saved alongside each test result
2025-12-28 01:41:33 +11:00
8d9e0380b6 Add Content Breakdown & Domain Analysis
Features Added:
- Canvas-based pie chart showing resource distribution by type
- Content breakdown statistics table
- Compression savings percentage display
- Resource counts and sizes by type
- Automatic rendering after test completion

Technical implementation - Created breakdown.js with drawPieChart and renderContentBreakdown functions
2025-12-28 01:33:42 +11:00
4aa890da6f Add Waterfall Chart & Request Inspector
Features Added:
- Interactive waterfall timeline visualization
- Color-coded timing bars (DNS, Connect, SSL, TTFB, Download)
- Request filtering by resource type (HTML, JS, CSS, Images, Fonts)
- Detailed request inspector dialog with timing breakdown
- HAR data extraction from Lighthouse results
- Size/compression metrics display
- Third-party resource identification
- Render-blocking resource detection

Technical Implementation:
- Created lib/har-parser.js for network data extraction
- Built waterfall.html with SVG-based timeline renderer
- Added waterfall.js with interactive controls
- Integrated HAR generation into test runner workflow
- Updated main UI with View Waterfall link
2025-12-28 01:32:27 +11:00
ae862f0f84 Set default emulation to Desktop 2025-12-28 00:46:08 +11:00
5ae3b0d036 Implement PostgreSQL history with user isolation 2025-12-28 00:13:43 +11:00
c332ba1b45 Rename script.js to main.js to force cache clear 2025-12-27 23:31:13 +11:00