-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Peers page table enhancements #1602
Comments
What about separating it between in & out into their own columns? Would be better for sorting |
@rafaelramalho19 Wondered that too, but ended up settling that breaking them into two columns might be disconnecting them too much, and giving each too much importance. If the primary question we're trying to answer is "which peers am I trading with", a single column would be better at indicating that (particularly with the addition of the orange/teal indicator light). Curious what @lidel thinks though. |
Some answers:
nits/ideas:
|
@lidel Thanks! I'll update mockup in the morning but one question in the meantime:
We could, but I don't believe we would be able to include those icons/emoji in the hover state, and that would introduce inconsistency. Thoughts? |
@lidel and @rafaelramalho19 -- updated #1602 (comment) to include notes mentioned above. This includes a rough first pass at out/in icons based on our existing Wondering if including an "indicator light" adds noise rather than value -- #1602 (comment) now includes two screenshots, one with lights, one without. Further thoughts? |
On decreasing visual noiseI like both, unsure how many active transfers regular desktop user would see (more on that later). In the context of the other visuals, the entire screen got a bit noisy, but I don't think the main offender being the "indicator light". If anything, I think in/out icons are more distracting. Some ideas (but not feeling too strong about them):
Sidethought: should we flip it and show totals instead?Tweaking noise vs signal ration made me think about how often user will look at Peers screen while there is an ongoing transfer on that exact moment. Desktop users won't have that many data, so unless they happen to download something big at the same time, they will just see boring empty column for the most of the time: What if we optimize for the most common, boring state when "nothing happens", and:
(Just an idea, I'm ok with us implementing rates as the default first, and then re-evaluating after looking how it behaves irl) |
@lidel these are excellent ideas! Adjusted mockup (note German just for idea of longer words) and specifications accordingly. I'm not 100% convinced that total in/out is more valuable than current in/out, but if we keep the indicator light, that allows us to convey enough info (is a transfer happening right now?) all at once. I think we might be ready to go here ... any other thoughts? |
Thank you @jessicaschilling, looks good to me, ready for impl. (I agree it's not ideal, but a good starting point. Just like with the map, where we tweaked clustering so regular users with 100-300 peers have a nice view, we may revisit various aspects after we see how it behaves in real situations.) |
Thank you! @rafaelramalho19, do you still have time to take this on? Anything I can help with? |
Yes, after the breadcrumbs work I'll pick up this 😄 |
As this work did not start yet, I propose we move it to v2.12. Y/n? |
OK. |
Note - #1616 stubs everything out and meets visual spec, but still needs wiring up. |
It's great to see the progress, looks great! Would you consider changing the values in the Peer ID column to links that open the Explore page with that particular IPNS address? |
@andrasfuchs -- nice thought! |
@andrasfuchs @jessicaschilling What I would do instead, is to copy value clipboard when user clicks on table cell (with some visual feedback). |
@lidel Good idea! Is it technically difficult/expensice to detect if someone is sharing anything publicly? |
@jessicaschilling the original Multiaddr value we currently show onhover in title ( |
Identified two more things that go-ipfs provides and what we could surface on the Peers screen:
I think those are in the same category as "agent version". @jessicaschilling thoughts? |
@lidel Would "streams" activity type make sense as a hover state for a value in the Agent column? We could add that to requirements for #1616. I'm struggling a bit with where we'd want to display who initiated the connection, particularly since "direction" as a term is easily confused with the data in the in/out column. Do you have any thoughts on how we might be able to word this more clearly in the hover state for the Agent column? |
|
Note: This issue includes and therefore supersedes #1037 and #1117.
Summary
Enhance Peers page by adding table columns for transfer rates and IPFS version, and removing unused "Notes" column.
To do
TotalIn
andTotalOut
, or--
ifsum(TotalIn, TotalOut)
= 0sum(TotalIn, TotalOut)
0.2 kB
in favor of211 B
)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 mockupRateIn
andRateOut
as well asTotalIn
andTotalOut
, per mockupdirection
to the hover text as such:/multi/addr (outbound)
(note this doesn't appear if using js-ipfs)AgentVersion
viaipfs id <PeerId>
DHT
,Bitswap
(note this doesn't appear if using js-ipfs)Make items in "Peer ID" column links that open the Explore page with that particular IPNS address(peers dont publish anything under their PeerID by default, this would be broken for most of peers)
Mockup screenshot
The text was updated successfully, but these errors were encountered: