cabal-club / cabal-cli

Terminal client for Cabal, the p2p chat platform.
https://cabal.chat
Other
524 stars 43 forks source link

Deemphasize seeders in peer name list UI #51

Open nikolaiwarner opened 6 years ago

nikolaiwarner commented 6 years ago

If there is a way to tell if connected peers are seeders, it would be nice to change the color of their nick or place them at the end of the list so that real user nicks are more prominent.

hackergrrl commented 6 years ago

Good idea. On the initial handshake, we could include a bit in the userdata (where we currently pass in the peer's key) that says "I am a seeder". We could expose that through the cabal-node API so clients can choose how to render them.

hackergrrl commented 6 years ago

(BTW I would say emphasize seeders, since, as a non-seeder it's a relief to know that someone is keeping the cabal alive.)

On 08/07 07:42, Nick Warner wrote:

If there is a way to tell if connected peers are seeders, it would be nice to change the color of their nick or place them at the end of the list so that real user nicks are more prominent.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/cabal-club/cabal/issues/51

nikolaiwarner commented 6 years ago

Yeah! I'm not interested in seeing seeder's names though. But I really care about who's online at the moment. I think it would be really cool to just show a count of the seeders to give the user some confidence. Then in another screen, show a named list of seeders and also their uptime.

It also would be interesting if there was an indicator shown when coming back online telling you that there were no seeders around when you were gone... to give you a clue that there may be gaps in your history.

hackergrrl commented 6 years ago

Showing seeders feels meaningful to me. People who dedicate hardware and network bandwidth to helping a cabal stay alive and well resourced.. that feels significant to me. I'd personally like to know who's putting in that effort to keep things running. These are probably individuals running seeds, not some nameless corporate cloud.

Maybe a compromise could be putting the peers above the seeders on the list?

On 08/07 09:46, Nick Warner wrote:

Yeah! I'm not interested in seeing seeder's names though. But I really care about who's online at the moment. I think it would be really cool to just show a count of the seeders to give the user some confidence. Then in another screen, show a named list of seeders and also their uptime.

It also would be interesting if there was an indicator shown when coming back online telling you that there were no seeders around when you were gone... to give you a clue that there may be gaps in your history.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/cabal-club/cabal/issues/51#issuecomment-411124303

nikolaiwarner commented 6 years ago

That's a great point! I'm with you.

What about showing an icon or symbol along with the name indicating if a peer is a seeder or regular peer?

I suppose my real goal here is inform the user if another peer has a human behind it who can respond. A set of symbols could also be useful to identify bots when we get to that 🤖

hackergrrl commented 6 years ago

+1. Since we don't have roles like irc, we could use & or + or ! or some other sigil to signify seeder.

On 08/08 05:33, Nick Warner wrote:

That's a great point! I'm with you.

What about showing an icon or symbol along with the name indicating if a peer is a seeder or regular peer?

I suppose my real goal here is inform the user if another peer has a human behind it who can respond. A set of symbols could also be useful to identify bots when we get to that 🤖

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/cabal-club/cabal/issues/51#issuecomment-411389126

cblgh commented 6 years ago

+1 to sigils/runes

Le 8 août 2018 à 18:04, Stephen Whitmore notifications@github.com a écrit :

+1. Since we don't have roles like irc, we could use & or + or ! or some other sigil to signify seeder.

On 08/08 05:33, Nick Warner wrote:

That's a great point! I'm with you.

What about showing an icon or symbol along with the name indicating if a peer is a seeder or regular peer?

I suppose my real goal here is inform the user if another peer has a human behind it who can respond. A set of symbols could also be useful to identify bots when we get to that 🤖

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/cabal-club/cabal/issues/51#issuecomment-411389126 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hackergrrl commented 4 years ago

If anyone is interested in working on this, I'd be happy to help mentor! Here's the TODOs I see:

At a high level, it's

  1. thread the --seed argument down to cabal-core, and then
  2. thread the user.seed property back up the stack to the frontend so it can be displayed