thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/
Apache License 2.0
10.06k stars 2.47k forks source link

Hide / collapse nested quote / replies when viewing emails? #763

Open 89d845 opened 9 years ago

89d845 commented 9 years ago

When I'm part of a long email thread there's a huge amount of junk that gets tacked on to the end of the email, the nested quoted replies take up a TON of space, and end up making the email start out zoomed out and super tiny. This is usually resolved with just a double-tap of the screen but it would be nice if there were a way to make it so that these replies are collapsed by default, and can be expanded with a tap, similar to how the official Gmail app handles this.

Is this possible? I'm using K9 because I don't use Gapps, so it'd be super nice if there were an option for this.

Thanks!

harjot-oberai commented 7 years ago

@cketti : I would like to work on this. But the issue is quite old, so I assume there was some technical difficulty, or no one got around to implementing this feature. Is there some core issue that kept this feature from being implemented ?

cketti commented 7 years ago

It's quite a bit of work. The first problem is finding out which parts of the text are quotes from previous messages. The code for this will most likely be different for text/plain and text/html parts. Handling cases where people answer inline (intersperse their answers with quoted text) are probably hardest to handle. I believe Outlook is one of the clients that use text color to distinguish answers from the original message.

The next step is to make the quoted parts actually expand/collapse. I believe we can use this approach: http://stackoverflow.com/a/15742338/1800174

This feature can dramatically improve the user experience of the app. However, getting it wrong in only some cases can cause major frustrations. So, I will not accept patches that don't include extensive tests for this new functionality.

Whoever takes a stab at implementing this, please use jsoup to parse and modify HTML messages.

harjot-oberai commented 7 years ago

@cketti : Thanks for such a detailed clarification. Well, that's surely quite a lot of work. I am leaving this issue for now; will get back to it sometime soon, once I have a better understanding of the above mentioned approach. The issue is quite old and I have seen 2 other issues directly affected by this : #2067 and #1895, so solving this would be quite beneficial to the whole project 👍 .

7fe commented 6 years ago

So I'm not sure if this is the same issue but I have yet to find an option to display email replies nested. I need to read some more.

Ideally I am looking for something like this https://lh3.ggpht.com/oBOGoEOSPRnoo1RM9t8k5dcmCc3Nhb0gautw-dx0eosnHCm56HULM5pS8SPiGX0yZnM=h310

This is how it works in most email applications.

7fe commented 6 years ago

I would really really like this feature.

After reading the website the finance links to f-droid.

Is there any way to finance this desired feature maybe?