question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: Peers page table enhancements

See original GitHub issue

Note: 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 and TotalOut, or -- if sum(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 of 211 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 and RateOut as well as TotalIn and TotalOut, per mockup
  • 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 via ipfs id <PeerId>
    • Include hover state indicating what type of activity occurred, i.e. DHT, Bitswap (note this doesn’t appear if using js-ipfs)
  • <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

peers-page-transfer-status

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:25 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
rafaelramalho19commented, Aug 28, 2020

Yes, after the breadcrumbs work I’ll pick up this 😄

1reaction
jessicaschillingcommented, Sep 21, 2020

@lidel Thanks for the clarification - added that as a to-do item in https://github.com/ipfs-shipyard/ipfs-webui/pull/1616.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found