-
-
Notifications
You must be signed in to change notification settings - Fork 104
feat: Show an email-avatar for email-contacts and email-chats #6916
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
fc53165
feat: Show an email-avatar for email-contacts and email-chats
Hocuri 3283212
refactor: Directly return device/saved messages icon from get_profile…
Hocuri 57eaf5d
refactor: Make it harder to misuse get_*_icon() by returning PathBuf …
Hocuri 88eb02b
fix: Fix test failing on Windows
Hocuri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Single#Chat#11: bob@example.net [bob@example.net] | ||
Single#Chat#11: bob@example.net [bob@example.net] Icon: 9a17b32ad5ff71df91f7cfda9a62bb2.png | ||
-------------------------------------------------------------------------------- | ||
Msg#12: Me (Contact#Contact#Self): One classical MUA message √ | ||
-------------------------------------------------------------------------------- |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mimeparser
supports setting group avatars even for unencrypted chats. Should we really unsupport this? Maybe it's still better to have that "email" character at the end of the chat/contact name, but add it artificially in the core (i agree that UIs shouldn't care about this)? Green verification checkmarks are shown at the end of the name as well, would be good to unify everything somehow. One more reason: let's say i have email contacts "Alice" and "Bob" which both don't have avatars. Currently they have different colors with "A" and "B" inside which help me distinguish them, but the PR suggests they look the same.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems unlikely to me that this feature was in widespread use, but, sure, this is a downside of this approach.
Like, an emoji?
The main reasoning for moving the icon into the avatar was minimizing visual clutter in the UI.
Yes, this is a downside.
All in all, I'm like +0.1 on this PR, because I do like the removal of visual clutter, but don't have a strong opinion on it. @r10s, who is our main UI person, after some real-life discussions around the topic, decided that we'll go for putting the icon into the avatar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remind me why we need this email pictogram in the UIs at all? In release versions we don't have it. And if we need it, maybe it's still possible to preserve colors and put the email unicode char / emoji inside? This gray icon looks boring, e.g. i have many email threads and i'm glad to see all this spectrum. Btw, green checkmarks also clutter the UI, e.g. in WhatsApp i don't see anything like this. Just putting in one more opinion, it's fine to merge if that's already agreed