RetroShare / RetroShare

RetroShare is a Free and Open Source cross-platform, Friend-2-Friend and secure decentralised communication platform.
https://retroshare.cc/
Other
1.73k stars 276 forks source link

[Qt] Add random Avatar for Friends (when no own Avatar is set) #1725

Open defnax opened 4 years ago

defnax commented 4 years ago

When friend has not set a own avatar, without avatars looks boring, Set a random avatar for friends automaticly, like how on GXS Users, but not use the same or random avatar with different colors.

other idea: https://github.com/arusanov/avatar-generator

Demo http://eightbitavatar.herokuapp.com/?id=userid&s=male&size=400 Where: id - your user id s - sex (male|female) size - avatar size

RV784 commented 3 years ago

If this is still open...Then what are your expectations ? You want every other account which has not set any profile picture to get a default unique image avatar ?

csoler commented 3 years ago

it's already the case: when no avatar is provided, each RS node will display an image that is locally generated. This image is never stored nor exchanged in the network. It's important that no useless data is sent , because it would take bandwidth unnecessarily.

csoler commented 3 years ago

I understood afterwards that you talk about friend nodes. Friend nodes are not persons. They are nodes. If you keep that ambiguity in the software, it's going to confuse users even more. So generating random avatars when none is provided makes sense, but these avatars shouldn't look like persons imho.

RV784 commented 3 years ago

"So generating random avatars when none is provided makes sense, but these avatars shouldn't look like persons imho." So RS doesn't do this already ?

csoler commented 3 years ago

It does this for GXS ids, not for node IDs. For nodes without an avatar, RS always shows a shape that looks like a person. Not a good idea either imho.

RV784 commented 3 years ago

So the implementation of this feature will remain mostly same for node IDs compared to GXS IDs ?

defnax commented 3 years ago

So the implementation of this feature will remain mostly same for node IDs compared to GXS IDs ?

hi you want develope this feature? you use RetroShare?

RV784 commented 3 years ago

So the implementation of this feature will remain mostly same for node IDs compared to GXS IDs ?

hi you want develope this feature? you use RetroShare?

->Yes, I've been using RS.

jaskiratsingh2000 commented 3 years ago

Hey I am quite beginner and super interested to begin my contribution towards this repo and this issue seems interesting to me. Can you please let me know that where exactly do I have to make changes or add functionalities? Any examples corresponding to this would be highly appreciable. Thanks!

defnax commented 3 years ago

Hey I am quite beginner and super interested to begin my contribution towards this repo and this issue seems interesting to me. Can you please let me know that where exactly do I have to make changes or add functionalities? Any examples corresponding to this would be highly appreciable. Thanks!

First run retroshare and use it, and join to the dev network, to get know how rs works and then you can look into the code

csoler commented 3 years ago

Generating random avatars means displaying locally-generated avatars on demand. These shouldn't be sent to friends, because otherwise the network cost will be unacceptable and not needed.

The idea would be to: