Commit Graph

8 Commits

Author SHA1 Message Date
Alec 8e594387af Clean up UI: remove overrides, simplify controls, use proper labels
- Remove all font size and margin specifications to respect user's theme
- Remove Top N control (now fixed at 10 entries)
- Move time period selection next to analyze button in same row
- Use proper button labels: 'Add Database File' and 'Clear Database Files'
- Remove manual layout margins/spacing to use system defaults
- Simplify controls layout with database controls on left, analysis on right
- Let the operating system handle proper spacing and theming
2025-07-17 16:23:45 +02:00
Alec e95c125dff Consolidate controls into compact horizontal layout
- Combine database and filter sections into single horizontal row
- Reduce vertical space usage by ~60% for control area
- Use shorter button labels (Add DB, Clear) to save space
- Add visual separators between control sections
- Compact filter controls into inline layouts
- Make database path label more compact with word wrap
- Integrate analyze button into controls row
- Significantly increase space available for data display
2025-07-17 16:20:35 +02:00
Alec 74237b6429 Make UI more compact and efficient
- Reduce window minimum size to 900x700, default to 1000x750
- Decrease graph figure sizes from 12x4 to 10x3
- Add proper margins and spacing throughout all layouts
- Reduce summary text height from 120px to 90px
- Limit table heights to 150px with alternating row colors
- Adjust graph subplot margins for better space utilization
- Use smaller font size for summary text
- Improve overall visual density and information display
2025-07-17 16:17:56 +02:00
Alec e484bd6704 Fix line unpacking error in graph plotting
- Check plot() return values before accessing first element
- Handle cases where matplotlib returns None or empty results
- Fix total errors calculation in amounts graph
- Update both amounts and ratios graphs consistently
- Prevent 'cannot unpack none-iteralLine2D Object' error
2025-07-17 16:13:38 +02:00
Alec f02a5416e7 Fix tooltip index access for proper data display
- Add multiple methods to access data point index from mplcursors
- Use coordinate-based fallback when direct index access fails
- Show proper date, metric name, and formatted values in tooltips
- Add better error handling with detailed error messages
2025-07-17 16:08:30 +02:00
Alec 5fe67cf9a5 Add interactive time series graphs with hover tooltips
- Add Visual Stats tab with two interactive graphs
- Amounts graph: uploads, downloads, errors, new users over time
- Ratios graph: speeds and error rates with dynamic y-axes
- Interactive hover tooltips showing date and exact values
- Checkboxes to toggle metrics on/off
- Automatic y-axis adjustment when metrics are disabled
- Clean, modern graph styling with proper date formatting
- Support for all existing time period filters
2025-07-17 16:04:16 +02:00
Alec 0c86bcee18 Convert to GUI-only application
- Remove all CLI/TUI functionality and command line arguments
- Update README to reflect GUI-only nature
- Simplify main() function to launch GUI directly
- Remove unused imports and display_stats function
2025-07-17 15:44:50 +02:00
Alec f21c75adb0 Update GUI with dropdown time periods and backwards compatibility
- Replace spinbox with dropdown for time periods (All time, Last month, Last year)
- Add backwards compatibility for both old and new database formats
- Detect database schema automatically and use appropriate queries
- Fix compatibility with newer transfers.db format (StateDescription vs State)
2025-07-17 15:43:44 +02:00