element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.21k stars 2k forks source link

Same username color in "People" Chats #16631

Open Leon0402 opened 3 years ago

Leon0402 commented 3 years ago

Description

It seems to me like the color of the username is always the same in every chat (Perhaps it's based on the username hash or something like that?). This is problematic in 1-1 Chats (People) if both have the same color or a similar color. It makes it a lot harder to identify at a first glance who has written what (especially if both also have the default profile picture, which will look rather similar then as well).

Different Solutions:

t3chguy commented 3 years ago

Related https://github.com/vector-im/element-meta/issues/841 https://github.com/matrix-org/matrix-react-sdk/pull/5626

Perhaps it's based on the username hash or something like that?

Precisely that

Leon0402 commented 3 years ago

Good to know thanks!

I just want to clarify that being able to change the username color would certainly help, but I think it's more suitable for group chats. For 1:1 I would prefer if there is an automatic solution like the ones suggested by me in the initial post.

t3chguy commented 3 years ago

being able to change the username would certainly help,

This is not an option, the option linked above is the same as you asked for

Change the color of the other person for just me (client-side)

Leon0402 commented 3 years ago

being able to change the username would certainly help,

This is not an option, the option linked above is the same as you asked for

Change the color of the other person for just me (client-side)

I edited my post to address that I rather (or additionally) would prefer an automatic approach. I think people expect it to have good defaults. Imo the probably simplest and easiest way would be to just give the receiver and sender always the same color in 1:1 chats. Then there are no such issues like bad color contrast with some colors (as you only need to find two fitting colors for each theme) nor is there any need to implement a complicated algorithm. Then maybe on top of that give the option to customize these colors, but that's rather low priority for me.

vranki commented 1 year ago

Related https://github.com/vector-im/element-meta/issues/1559

unknown-user-9246102101 commented 1 year ago

Related: https://github.com/matrix-org/matrix-spec/issues/835