deltachat / interface

General and shared components and discussions relating to deltachat user interface
8 stars 3 forks source link

Signature Handling #41

Closed frink closed 3 years ago

frink commented 3 years ago

Moved to: https://support.delta.chat/t/email-signature-handling/1292

hpk42 commented 3 years ago

There already is quoting-support and "swipe-to-reply", recently released. Do you know about this?

As to the signatures -- this is for using Delta Chat as e-mail client, i.e. focused on how the message appears on a non-deltachat side right?

adbenitez commented 3 years ago

if you are chatting from Delta Chat with Spike users, you will see the Spike quotes in the delta chat bubbles because Spike uses alternate plain text part which uses quotes incorrectly while the html part shows quotes correctly, the plain text part is used in email clients that disable html, and they are not shown properly as quotes, so it is not a Delta Chat issue, Delta Chat hides quotes correctly replacing them with "[...]" (unless atop or end of message where they are shown as a nice short reply like in other chat apps. Regards, adb

El 14 de diciembre de 2020 11:33:24 GMT-05:00, frink notifications@github.com escribió:

Signatures are pretty standard and down right required in most business situations where conversational email can benefit most. For that reason many of us must use signatures. In addition, most signature templates are HTML. So a plain text based solution doesn't quite work.

On the flip side of the equation, chat messages don't do well with quoted text or signatures which obscure the reply. Spike does a pretty good job of this (although their interface is very clunky. So here's my suggestion on how to make the email conversation more seamless:

  1. Hide quoted replies, but only when they quote a previous message.
  2. Hide the bottom part of the email which is a duplicate of a previous message footer.
  3. Allow an HTML Signature in the app settings, but hide it from the display in the chat view.

On number 2 clarification is in order... When messages are loaded into this chat view, they are parsed into a separate array of strings less than 1024 characters trimming the start to the first new line. Then that string is added again trimming to the next new line until there is no more signature left. Then we can do a simple compare against these strings for each of the messages to see if they match the signature. In cases where the entire message matches one of the previous "signatures", we know that there is at least one line of text that should not match. (perhaps someone is just sending a thumbs up in reply...) So in the case where everything matches show the first line.

I think this accounts for the cases of signature handling simply and elegantly.

frink commented 3 years ago

Is there a way to make sure all email gets to DeltaChat. I've only gotten the Delta Chat folder not the rest. Ultimately stopped testing. But I'd like to replace Spike with something that is a little less buggy.

adbenitez commented 3 years ago

in Settings go to "Chats and Media" in "Email interaction" change from "chats only" to "all" you will receive all emails as chats messages even id the sender doesn't use Delta Chat

NOTE: mailing list (github emails, etc) aren't currently supported, but migh come in a near future (peek at the dc core repo, there is a PR)

El 27 de diciembre de 2020 20:54:55 GMT-05:00, frink notifications@github.com escribió:

Is there a way to make sure all email gets to DeltaChat. I've only gotten the Delta Chat folder not the rest. Ultimately stopped testing. But I'd like to replace Spike with something that is a little less buggy.

r10s commented 3 years ago

as the issue was moved to https://support.delta.chat/t/email-signature-handling/1292, closing it here.