fix: resolve connection speed display issues after IPC migration #4208 (#4229)

🐞 Bug Fixes:
- Fix missing upload/download rate display in connections page after IPC migration
- Implement real-time connection speed calculation based on data differences
- Add connection speed data types and calculation logic

🔧 Technical Improvements:
- Add connection speed calculation function in AppDataProvider
- Use useRef to store previous connection data for speed difference calculation
- Add curUpload and curDownload fields to connection data
- Optimize connection data processing flow for accurate speed calculations

📝 Changelog:
- Update relevant issue descriptions in UPDATELOG.md
This commit is contained in:
Tunglies
2025-07-27 03:00:08 +08:00
committed by GitHub
parent 4905b44c8a
commit 80de055fc2
2 changed files with 89 additions and 5 deletions

View File

@@ -41,7 +41,8 @@
- 改进核心启动/停止/重启后的状态刷新机制
- 修复 `Windows` 安装器删除用户自启问题
- 修复 `Windows` 安装器参数使用错误问题
- 修复 `IPC` 迁移后测速功能异常
- 修复 `IPC` 迁移后节点测速功能异常
- 修复 `IPC` 迁移后连接上下行速率计算功能异常
### 🔧 技术改进