-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add support for signatures #900
Conversation
This will prepare proper handling of signatures Also fixes an issue that caused messages sent by this client to be editable in this and some other clients
… for signatures more logical
I am not Dani but I agree @lenemter I think the margins needs adjusting and the remove button moved. |
@lenemter @zeebok pushed some fixes for spacing, placeholder, etc. I do want to keep the "delete" button in the actual content area instead of in the sidebar to make it really clear that it's tied to this signature But thoughts on actionbar versus box here? Also if @micahilbery has opinions |
I think if the intent is to keep the delete button with the active signature I think I like the latter more. Helps it really feel tied together as one concept. |
@danirabbit "Title" header still has large bottom spacing because it's packed into the headerbar.
I like box more here :) |
@danirabbit thank you for taking this over! (The last commit only removes some redundant parent setting since it's now set by the application.) Regarding the bottom margin mentioned by @lenemter, it's only indirectly related to the headerbar but more because we add an additional |
Yeah that can just be removed in Gtk4. And we can pack a WindowControls to get even more control over spacing there as well. So I’m not super worried about it since it’s kind of a temporary quirk of Gtk 3 |
Things look good but I do have a couple UX questions. If I add a signature to the email content I see:
|
@zeebok AFAIK geary does it and I think some other clients like windows mail. Also it was a really easy way to make it reliably work. However I agree it currently is unintutive if you don't really know what's going on so if we keep it we probably should add some outlines to make clear what is currently edited (main body, signature or quote). Also if anyone wants to, you can checkout the branch signatures-intuitive and tell me which version you prefer. There I've tried my best (ignore the weird cursor placing for now :)) to make it more intuitive but that needs to be tested thoroughly because otherwise it might lead to some data loss if the user accidently manages to write everything in the signature div because it wasn't easy distinguishable and then changes the signature to none. |
@leolost2605 Yeah that branch definitely felt more how I would expect it to behave. I think it is fine to merge this and upgrade the feel separately where we can have a focused changelist and conversation |
hmm 🤔 I like how clean the bottom action bar looks but it feels a little disconnected from the content it effects. Idk both are fine with me (super helpful I know 😜 ) |
@danirabbit and @leolost2605 Anything else you want to discuss or change before this gets merged? |
As far as I'm concerned we can merge this. For the composer related considerations I opened #934 |
TODO:
Edit Signatures Dialog:
The signature icon in the composer needs improvements because I've got no idea how to create good SVGs and couldn't find a good one with an appropriate license online.
Fixes #616