feat: Peers page table enhancements
See original GitHub issueNote: This issue includes and therefore supersedes https://github.com/ipfs-shipyard/ipfs-webui/issues/1037 and https://github.com/ipfs-shipyard/ipfs-webui/issues/1117.
Summary
Enhance Peers page by adding table columns for transfer rates and IPFS version, and removing unused “Notes” column.
To do
- Remove “Notes” column from Peers page table
- Add sortable “In/Out” column between “Latency” and “Peer ID” columns, formatted per mockup:
- Display
TotalIn
andTotalOut
, or--
ifsum(TotalIn, TotalOut)
= 0 - Sort by
sum(TotalIn, TotalOut)
- For units, express as the largest unit that can be used while keeping the value above 1 (i.e. let’s avoid things like
0.2 kB
in favor of211 B
) - If a transfer is currently happening (e.g. if
sum(RateIn, RateOut)
> 0 ), add an “indicator light” whose colors are the same as the in/out colors on Status page; for edge case in which out/in values are the same, split the circle in two as per mockup - Include browser-native hover state indicating current
RateIn
andRateOut
as well asTotalIn
andTotalOut
, per mockup
- Display
- For “Peer ID” column, make peer IDs clickable, with an action of copying that peer ID to clipboard and feedback using green snackbar: “Peer ID copied to clipboard.”
- For “Connection” column, make row content clickable, with an action of copying that multiaddr to clipboard and feedback using green snackbar: “Connection address copied to clipboard.”
- For “Connection” column, also append
direction
to the hover text as such:/multi/addr (outbound)
(note this doesn’t appear if using js-ipfs) - Add sortable “Agent” column at the far right, formatted per mockup, using
AgentVersion
viaipfs id <PeerId>
- Include hover state indicating what type of activity occurred, i.e.
DHT
,Bitswap
(note this doesn’t appear if using js-ipfs)
- Include hover state indicating what type of activity occurred, i.e.
- <del>Make items in “Peer ID” column links that open the Explore page with that particular IPNS address</del> (peers dont publish anything under their PeerID by default, this would be broken for most of peers)
- Replace monospace font throughout table with standard Inter for everything except the values in the “Peer ID” column
Mockup screenshot
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:25 (23 by maintainers)
Top Results From Across the Web
feat: Peers page table enhancements · Issue #1602 · ipfs/ipfs-webui ...
Enhance Peers page by adding table columns for transfer rates and IPFS version, and removing unused "Notes" column. To do. Remove "Notes" column ......
Read more >System Wide Page Table - Stack Overflow
I have a doubt when each process has its own separate page table then why is a system wide page table required? Also...
Read more >Self-Selection of Peers and Performance - PubsOnLine
This paper studies how the presence of peers and different peer assignment rules—self-selection versus random assignment—affect individual ...
Read more >Peers for Progress Program Development Guide
The Comprehensive Peer Support Program Development Guide aims to assist the development, implementation, evaluation, enhancement, and sustainability of peer ...
Read more >Dial Peer Configuration on Voice Gateway Routers ... - Cisco
Creating a Dial Peer Configuration Table, page 5. • Codecs, page 6 ... Figure 16 illustrates a network featuring Modem Pass Through capability....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, after the breadcrumbs work I’ll pick up this 😄
@lidel Thanks for the clarification - added that as a to-do item in https://github.com/ipfs-shipyard/ipfs-webui/pull/1616.