Skip to content

Add historic connections toggle#184

Merged
domcyrus merged 4 commits intomainfrom
feat/historic-connections
Mar 13, 2026
Merged

Add historic connections toggle#184
domcyrus merged 4 commits intomainfrom
feat/historic-connections

Conversation

@domcyrus
Copy link
Owner

@domcyrus domcyrus commented Mar 8, 2026

Summary

  • Press t to toggle display of recently closed connections alongside active ones
  • Closed connections are archived to a separate store (capped at 5,000, oldest evicted first)
  • Historic connections rendered in dimmed DarkGray styling in both flat and grouped views
  • Stats panel counts only active connections; details tab shows closed-at timing
  • Integrates with r (reset), x (clear), and filter/sort

Test plan

  • Run rustnet, wait for connections to close, press t — closed connections reappear dimmed
  • Press t again — historic connections hidden
  • Verify scrolling works correctly in both flat and grouped views
  • Verify x clears historic connections, r resets the toggle
  • Verify stats panel shows only active connection counts
  • Verify details tab shows "Historic Connection" title and "Closed (Xs ago)" for historic entries

@domcyrus domcyrus merged commit 4959120 into main Mar 13, 2026
20 checks passed
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