Commit 65e608d
committed
feat(dashboard): enhance dashboard formatting, error display, and log capture
- Improved dashboard formatting with separators, centered headers, and better
section layout.
- Added functions for terminal width detection, text wrapping, centering, and
error formatting.
- Enhanced error display: codes, causes, and extra properties shown with
indentation and color.
- Limited recent activity and persistent logs to show only the most relevant
entries.
- Added scroll detection to prevent dashboard updates while terminal is being
scrolled.
- Refined log capture: logs only display during dashboard rendering, otherwise
are captured.
- Throttled dashboard updates for responsiveness and reduced flicker.
- Updated global state to track dashboard config for immediate updates.
- Added test scripts to verify dashboard and error handling
(`test-dashboard.js`, `test-error-codes.js`).1 parent 79c2e6b commit 65e608d
7 files changed
Lines changed: 449 additions & 66 deletions
Binary file not shown.
0 commit comments