Add support for export JSON, CSV, PDF, Text
## Changes to DebugTab.tsx & EventLogsTab.tsx ### Debug Tab Enhancements - Added multi-page support for PDF exports - Implemented proper page breaks and content flow - Added styled headers, key-value pairs, and horizontal lines - Added title and timestamp at the top of the PDF - Improved PDF layout with sections for system info, web app info, and performance metrics - Added footer with page numbers - Fixed memory usage calculations with proper null checks - Added error handling for undefined values ### Event Logs Tab Enhancements - Added comprehensive PDF export functionality with: - Professional header with bolt.diy branding - Report summary section - Log statistics with color-coded categories - Detailed log entries with proper formatting - Multi-page support with proper page breaks - Footer with page numbers and timestamp - Added multiple export formats (JSON, CSV, PDF, Text) - Fixed linter errors and improved type safety - Enhanced dark mode compatibility
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
"istextorbinary": "^9.5.0",
|
||||
"jose": "^5.9.6",
|
||||
"js-cookie": "^3.0.5",
|
||||
"jspdf": "^2.5.2",
|
||||
"jszip": "^3.10.1",
|
||||
"nanostores": "^0.10.3",
|
||||
"next": "^15.1.5",
|
||||
|
||||
Reference in New Issue
Block a user