mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-19 02:17:46 +00:00
COMPLETED: - Added ViewWithSize(width, height) pattern to all submodels - login.go: responsive provider rows with adaptive widths - switch.go: responsive agent rows without card borders - mappings.go: responsive table columns with calculateColumnWidths() - usage.go: responsive stat cards (2x2 grid layout) - logs.go: responsive log entries with message truncation - Fixed main View() layout calculation in tui.go - Properly accounts for border (2) + padding (2) = 4 chars per panel - sidebarWidth now represents content width (20/14 for normal/narrow) - contentWidth = m.width - sidebarWidth - 9 (accounts for both panels) - Added new screen files: - integrations.go: setup/integration screen - logs.go: real-time log viewer with filtering - mappings.go: model alias mappings table - usage.go: usage statistics with charts PENDING TEST: - Verify sidebar displays correctly alongside content (was overflowing) - Test all screens at various terminal widths (60, 80, 100+ cols) KNOWN ISSUE BEING FIXED: - Sidebar was showing only "[8] Setup" at top due to width overflow - Content panel was too wide, causing horizontal wrap