-
-
Notifications
You must be signed in to change notification settings - Fork 106
api!: Contact::get_color(): Preserve address-based color hue for SELF #7135
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
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
I have created a topic on the forum for discussion https://support.delta.chat/t/setting-the-color-of-own-nickname/4068
It does not make sense to introduce options only in the core that are not planned in the UIs. Most users cannot use Looking at #7127 (comment) I am also not sure if setting a self-color locally is what is the user requested. I guess it is a request to copy Telegram feature and users expect that the color they choose is visible for other users, not only for themselves. And if we send the color to others, we need to either limit the colors to predefined set or have a function similar to Twitch "Readable colors" to enforce that the text is readable. |
Ok, then this PR doesn't make sense w/o a migration preserving the old address-based self-color. Even if we don't send this color to others, it may make sense because there will be probably less complains (and i guess some users were creating their current profiles until they get the color they like).
It's an interesting topic, but probably indeed better to be discussed at https://support.delta.chat/t/setting-the-color-of-own-nickname/4068. EDIT: It will be difficult to preserve the old address-based color accurately because the old code generating colors is already dropped, but we can preserve the color angle (hue). |
4010c60 "feat: use key fingerprints for color generation" changes colors for contacts including SELF. Even if an avatar is set, the self-color is visible in e.g. replies to outgoing messages. This adds `Config::Selfcolor` and sets it in a migration. This doesn't preserve the old address-based color accurately because the old code generating colors is already dropped, so this only preserves the color angle (hue).
f3136ab
to
0dab210
Compare
Added a migration, but overall the PR has questionable value (mainly because the color is only preserved locally), so feel free to close it. Maybe the useful part of this is that |
i agree in the questionable value, and would close this PR as well. currently, there are no plans for introducing smth in the ui let's focus more on calls, multi-transport steps, bugfixes |
This PR isn't about introducing an UI to change the self-color. It just preserves the old address-based color so that users don't complain that the color changes because now it's calculated from the key fingerprint. But the problems here are:
|
we had one color change before some years ago, i do not expect much backlash here, and even if, it does not outweight effort etc |
No description provided.