Skip to content

Support connection sorting - #2278

Open
tangwenixng wants to merge 1 commit into
chen08209:mainfrom
tangwenixng:feat/connection-sorting
Open

Support connection sorting#2278
tangwenixng wants to merge 1 commit into
chen08209:mainfrom
tangwenixng:feat/connection-sorting

Conversation

@tangwenixng

Copy link
Copy Markdown

Summary

Add sorting controls to the connections page for easier inspection of active connections.

Changes

  • Add a sorting menu to the connections page toolbar
  • Support sorting by upload speed in ascending or descending order
  • Support sorting by download speed in ascending or descending order
  • Support sorting by process name in ascending or descending order
  • Calculate connection speed from traffic deltas between consecutive snapshots
  • Preserve the original connection order when the default option is selected
  • Reuse existing localized labels for sorting options
  • Add tests for speed calculation and connection ordering

Verification

  • Passed the complete Flutter test suite with 419 tests
  • Passed targeted Flutter analysis with no issues
  • Verified the Linux release and deb package builds successfully

Closes #1725

Support connection sorting by upload and download speed

Support connection sorting by process name

Add connection sorting tests
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.

[Feature] 期待添加连接页面的排序功能,按照上行/下行速率排序,按照进程首字母排序,等等,方便查看

1 participant