Skip to content
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

Make encryption status and icons more noticeable #1555

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

eerielili
Copy link
Contributor

This PR is about issue #1240, #971 and also #1345 I guess.

I've borrowed the changes-allow-symbolic from the Adwaita since it's simple and does the job and paint it red when unencrypted:
image image

A message also appears in the chat input status label when you send unencrypted messages:
image image

Here's messages' padlock color depending on encryption methods:
image image

If you have encryption enabled when opening a chat, unencrypted messages will look like this :
image image
If not no padlock will be displayed, I didn't change default behavior much in this part.
Guess I could meddle with
https://github.com/dino/dino/blob/master/main/src/ui/conversation_content_view/conversation_item_skeleton.vala#L158C1-L169C10
to only not show up in public groupchats where OMEMO is disabled is most cases, will see.

There's also a tooltip to the encryption picking icon so it tells you what kind is used. It's a nice to have imho as it's saving you a click if you want to check it:
image image image

…parate color for OMEMO or PGP

	This commit is adressing dino#1240:
	- If you hover the encryption icon on your messages if present, it should now say "This
	message is PGP encrypted" or "This message is OMEMO encrypted".
	- As a visual aid, the icon's color change accordingly. PGP is blue-ish, OMEMO is off green-ish.
	- NOTE: There's no color if your theme's 'changes-prevent-symbolic' icon is not a SVG.
	- added file changes-allow-symbolic from GTK Adwaita icon theme
	as dino-unencrypted.svg (licensed under LGPL3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant