Add network/connection details to Space Acres
enhancementfrontend
**Issue Summary**
This issue is related to [#228](https://github.com/autonomys/space-acres/issues/228), focusing specifically on the network portion with some differences.
**Problem Description**
When users experience slow syncing or intermittent plotting, effective troubleshooting requires the following information:
- Port Forwarding: Are the user's ports properly forwarded?
- Peer Count: How many peers are connected?
- Connection Status: How many inbound and outbound connections are active?
- Plotting Dependencies: Is the next sector waiting for data from peers before it can be plotted?
- Bandwidth Usage: How much bandwidth is being used for sending and receiving?
**Previous Context**
In the original issue, there was a summary tab that included a network status panel, as shown here:

**Proposal**
Introduce a traffic light indicator as a quick visual representation of network health:
- Red: No connections to peers.
- Yellow: Some peers are connected, but ports are not forwarded.
- Green: All systems functional with appropriate peer connections and forwarded ports.
Additional features could include:
- A progress bar to indicate the status of data downloads required for the next sector.
- Numeric indicators for the number of peers and active connections.
**Tooltips**
Tooltips can provide more detailed descriptions:
- Traffic light:
1. Green: "All systems functional."
2. Yellow: "Port(s) not forwarded."
3. Red: "No connections to peers."
- Progress bar: Show real-time inbound and outbound bandwidth usage.
This approach ensures a clear, actionable overview of network health for troubleshooting purposes.
关闭于 2024-12-06 0 条评论