Skip to content

Refactor Netracer into modular Ratatui components - #5

Closed
LucaBTE wants to merge 1 commit into
feature/pingfrom
refactor/modular-components
Closed

LucaBTE wants to merge 1 commit into
feature/pingfrom
refactor/modular-components

Conversation

@LucaBTE

@LucaBTE LucaBTE commented Sep 5, 2026

Copy link
Copy Markdown
Owner

The Ping feature currently mixes event handling, process execution, statistics, persistence and rendering in App and UI. This makes new tabs expensive to add.

This refactor introduces a small Component contract and a single registration point, separates Ping state/input/rendering/history from the Linux network backend, and uses Tokio and tui-input for background work and text editing. Existing recent targets remain compatible. It adds typed ping outcomes, process deadlines, terminal cleanup, regression tests and a runnable third-tab extension example.

Compiled extensions are supported through Component; runtime plugin loading is intentionally deferred until there is a concrete external-plugin use case.

Validation is in progress through the included GitHub Actions workflow. Local Rust tooling is unavailable in the editing environment. This draft targets feature/ping and is not intended to be merged until validation is complete.

@LucaBTE LucaBTE closed this Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant