feat(desktop): move v2 terminal ws reconnect notices to a pane-side log
Merged
KI
6mo ago+236+236+012345678901234567890123456789-31-31-01234567890123456789
Reconnect/close/error chatter no longer streams into xterm scrollback. The transport now buffers up to 200 log entries and exposes them via the runtime registry; a pane-header button reveals a popover with the log and a clear action, and only appears when there's something to show. Removes the move-to-background button from the v2 terminal pane header.
Description
Related Issues
Type of Change
- Bug fix
- New feature
- Documentation
- Refactor
- Other (please describe):
Testing
Screenshots (if applicable)
Additional Notes
Summary by cubic
Moved WebSocket reconnect/close/error notices out of terminal scrollback into a pane-side connection log, keeping the terminal clean and making connection issues easier to spot. Added a header button that shows a popover log with a clear action and only appears when there are events.
-
New Features
- Transport buffers up to 200 connection log entries (with level and timestamp) and exposes them via the runtime registry.
- New
TerminalLogsButtonin the pane header opens a popover with the log and a Clear action; the button only renders when logs exist.
-
Refactors
- Removed reconnect/close/error messages from
xtermoutput. - Removed the “Move to background” button from the v2 terminal pane header.
- Removed reconnect/close/error messages from
Summary by CodeRabbit
Release Notes
- New Features
- Added terminal logs viewer accessible from the terminal header
- Monitor terminal connection events with timestamps and severity levels
- Error indicators highlight when critical issues occur
- Clear terminal logs through the dedicated interface button