Skip to content

feat: console improvements#33

Merged
Maximus7474 merged 7 commits into
mainfrom
feat/console-improvements
Jul 2, 2026
Merged

feat: console improvements#33
Maximus7474 merged 7 commits into
mainfrom
feat/console-improvements

Conversation

@FjamZoo

@FjamZoo FjamZoo commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Description

Bunch of improvements for the console view

  • Fix console auto-scroll: the scroll effect never ran on new output, only on checkbox toggle
  • Replace the auto-scroll checkbox with devtools-style follow mode: scrolling up pauses, a floating "N new lines" pill jumps back down; line trimming is suspended while scrolled up so the buffer can't shift under the reader
  • Intercept clear / cls client-side to clear the console view instead of erroring as an unknown server command
  • Add an output filter (toggle button + bar): case-insensitive, ANSI-stripped matching with a match counter
  • Batch console output core-side: lines now broadcast as lines arrays with a leading-edge 50ms throttle and a monotonic seq per line (stable React keys, duplicate-drop against the initial dump); LogLine is memoized so new output no longer re-renders/re-parses the whole list
  • Add WebSocket auto-reconnect with exponential backoff (500ms→10s) and subscription replay on reconnect; subscriptions are refcounted, fixing live channels dying when one of several subscriber components unmounted

Tests

  • Tested in development mode
  • Passes typecheck
  • Builds & runs on Windows
  • Builds & runs on Linux

Additional Notes

N/A

@Maximus7474 Maximus7474 merged commit 65372e3 into main Jul 2, 2026
5 checks passed
@FjamZoo FjamZoo deleted the feat/console-improvements branch July 4, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants