Repository navigation
Conversation
domcyrus
marked this pull request as ready for review
November 23, 2026 17:11
domcyrus
force-pushed
the
feat/connection-trend-sparkline
branch
from
November 25, 2026 21:06
7fd3f0b to
3ea284b
Compare
domcyrus
force-pushed
the
feat/connection-trend-sparkline
branch
from
November 25, 2026 21:07
3ea284b to
9379792
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an 8-second per-row
Trendthroughput sparkline column to the shared connection tables (Overview, grouped view, and the Details continuity strip).src/ui/trend.rs):TrendHistorysamples live connections once per second by diffing cumulativebytes_received/bytes_sentcounters, preserving per-second burst shape instead of flattening it into the 10s sliding average and without copyingRateTracker's raw sample buffers. Member deltas are also summed per process group so group headers render aggregate trends cleanly without spikes when connections open or close.▁..█, newest on the right,·for silent seconds), scaled to each row's peak with a1 KiB/sfloor so trickles stay low. Bars use the Graph tab'srx_wave/tx_wavegradients based on dominant direction; underNO_COLOR, bar height carries the shape on its own.REVERSED(Muted,Vivid, ANSI-16,NO_COLOR), stripsREVERSED | BOLDfrom non-blank Trend cells so block glyphs stay right-side-up and in their true colors (keeping blank historic cells reversed so the highlight band stays continuous). On tinted-selection themes, lifts idle dots fromfainttomutedon the selected row.Rx↓/Tx↑, unsortable, and hidden automatically on narrow terminals (degradation order:Location → Service → Trend → Local → RTT → Health → compact App → State). Historic rows and historic-only groups leave the cell blank.x(clear all connections) and documents theTrendcolumn in the Help legend.Verification
Verified via CI on commit
e503ac1b(all 30 checks passing across Linux, macOS, Windows, 32-bit parser, Docker, and CodeQL):cargo fmt --all -- --checkcargo clippy --locked --workspace --all-targets --all-features -- -D warningscargo test --locked --workspace --all-featurescargo build --locked --workspace --all-targets --releaseScope
#[allow(clippy::...)]suppressions## [Unreleased]section ofCHANGELOG.md