jeevatkm / ReplyWithHeaderMozilla

Outlook style headers and few goodies for Thunderbird
https://myjeeva.com/replywithheader-mozilla
Mozilla Public License 2.0
44 stars 22 forks source link

Brand new RWH v3.0.0 Mail Extension for TB future roadmap #103

Closed jeevatkm closed 2 months ago

jeevatkm commented 3 years ago

In the #99 issue tracking, the short-term goal of adding TB 78 has been done and released to ATN.

This issue is to track the new development of RWH v3.0.0 Mail Extention development.

jeevatkm commented 5 months ago

@frazar @ofa- @rostafiychuk I'm working on the WebExtension version of RWH. The branch is here.

I require a sample string of the following in multiple languages for a Plain Text email.

Reply

On 4/27/24 5:58 PM, Thunderbird Add-ons wrote:

Forward

-------- Forwarded Message --------
Subject: Mozilla Add-on User Rating: ReplyWithHeader
Date: Sun, 28 Apr 2024 00:58:03 -0000
From: Thunderbird Add-ons <nobody@thunderbird.net>
To: jeeva@myjeeva.com
p91paul commented 5 months ago

For Italian:

Reply

Il 27/4/2024 alle 17:58, Thunderbird Add-ons ha scritto:

Forward

-------- Messaggio Inoltrato --------
Oggetto: Mozilla Add-on User Rating: ReplyWithHeader
Data: Domenica 28 Aprile 2024 00:58:03 -0000
Da: Thunderbird Add-ons <nobody@thunderbird.net>
A: jeeva@myjeeva.com
jeevatkm commented 5 months ago

Thanks, @p91paul, for your help.

frazar commented 5 months ago

Sorry, I can't provide with anything more than what you already have 😅

ofa- commented 5 months ago

Hi there @jeevatkm ! my Japanese contact is not reachable :-( I used goOgLe : image

Reply:

24/04/27 17:58に、 Thunderbirdのアドオン /// 書き込み: TOTO

ofa- commented 5 months ago
--------転送されたメッセージ--------
件名: Mozilla Add-on User
レーティング: ReplyWithHeader
日付: Sun, 28 Apr 2024 00:58:03 -0000
差出人: Thunderbird Add-ons
宛先: jeeva@myjeeva.com
jeevatkm commented 5 months ago

Sorry, I can't provide with anything more than what you already have 😅

Thanks, @frazar, for your response.

jeevatkm commented 5 months ago

Hi there @jeevatkm ! my Japanese contact is not reachable :-( I used goOgLe : image

Reply:

24/04/27 17:58に、 Thunderbirdのアドオン /// 書き込み: TOTO

Thanks, @ofa-. I require the translation provided by Thunderbird since I need to process plain text emails generated by Thunderbird.

ofa- commented 5 months ago

@jeevatkm then maybe go look into the TB source / i18n ?

for fr, from the TB android github repo: https://github.com/thunderbird/thunderbird-android/blob/18e414fe2fd6d60005ae4adb53e3b4e847d9984e/app/ui/legacy/src/main/res/values-fr/strings.xml#L170

for .ja: https://github.com/thunderbird/thunderbird-android/blob/18e414fe2fd6d60005ae4adb53e3b4e847d9984e/app/ui/legacy/src/main/res/values-ja/strings.xml#L168

EDIT:

That said, if you are going to be replacing the text you search, you might as well use the TB i18n api itself to give you the exact correct string to look for, no ?

jeevatkm commented 5 months ago

@ofa- Thanks for the message. I did that exercise already, but I couldn't find a reference here. That's why I'm trying my luck with RWH users to collect data.

I'm planning to reach out to https://thunderbird.topicbox.com/groups/addons next.

Just so you know, the above code reference you have shared belongs to the K-9 Android mobile app, not a TB desktop app.

jeevatkm commented 4 months ago

Hello RWH Users -

I have created an RWH {Web|Mail}Extension version of the add-on. The v3 version is a complete rewrite from the ground up. Please try it and share feedback. I have developed a significantly improved and capable RWH in v3. You will find it to be a significant enhancement to your workflow.

Download Link: https://docs.myjeeva.com/rwh-mozilla/replywithheader-v3.0.0.beta1.xpi

Cheers, Jeeva

jeevatkm commented 4 months ago

It requires minimum, TB v125 - https://ftp.mozilla.org/pub/thunderbird/releases/125.0/

gabri25ele commented 4 months ago

problem in "object"

old version old

more correct the "RE" is removed

new version new the "RE" is present

;)

then I found that it's not good for newsserver accounts, ok they should be disabled. But could they have already been disabled at the start? Or is it even better to have an answer made specifically for this type of account?

jeevatkm commented 4 months ago

@gabri25ele I have validated it. The RWH v3 add-on does not add any prefix to the subject, e.g.,Re:; it must be TB v125 that is doing it. So, can you try TB v125 with the RWH v3 add-on?

I didn't understand the following three lines. What did you mean?

then I found that it's not good for newsserver accounts, ok they should be disabled. But could they have already been disabled at the start? Or is it even better to have an answer made specifically for this type of account?

gabri25ele commented 4 months ago

@gabri25ele I have validated it. The RWH v3 add-on does not add any prefix to the subject, e.g.,Re:; it must be TB v125 that is doing it. So, can you try TB v125 with the RWH v3 add-on?

I tried 125 thunderbird, this image 329965973-ba14d485-76e2-45bd-b93c-4da81fa146e0 is from 125.

I didn't understand the following three lines. What did you mean?

then I found that it's not good for newsserver accounts, ok they should be disabled. But could they have already been disabled at the start? Or is it even better to have an answer made specifically for this type of account?

Thunderbird is also a news reader, read newsgroup, so with newsserver, for example news.solani.org, the reply is not good, the quote message not work properly.

jeevatkm commented 4 months ago

@gabri25ele Did you mean the subject for Re: => RE: on the header attribution?

Thunderbird is also a news reader, read newsgroup, so with newsserver, for example news.solani.org, the reply is not good, the quote message not work properly.

Now I understand, thanks. FYI, RWH always supported only Mail accounts.

gabri25ele commented 4 months ago

@gabri25ele Did you mean the subject for Re: => RE: on the header attribution?

Thunderbird is also a news reader, read newsgroup, so with newsserver, for example news.solani.org, the reply is not good, the quote message not work properly.

Now I understand, thanks. FYI, RWH always supported only Mail accounts.

yes, in fact just deactivate the accounts on the list the problem is only with the object https://github.com/jeevatkm/ReplyWithHeaderMozilla/issues/103#issuecomment-2106876869

in some emails it puts me RE in others only R, look here

sshot-1

jeevatkm commented 4 months ago

@gabri25ele That tells us that TB itself has an issue.

jeevatkm commented 4 months ago

Hello RWH Users -

Now RWH v3.0.0.beta2 is ready! FYI, the v3 version is a complete rewrite from the ground up. Please try it and share feedback. I have developed a significantly improved and capable RWH in v3. You will find it to be a significant enhancement to your workflow.

Download Link: https://github.com/jeevatkm/ReplyWithHeaderMozilla/releases/download/v3.0.0.beta2/replywithheader-v3.0.0.beta2.xpi

Cheers, Jeeva

gabri25ele commented 4 months ago

from this "problem" https://github.com/jeevatkm/ReplyWithHeaderMozilla/issues/103#issuecomment-2109864814 nothing changed with RWH v3.0.0.beta2

sshot-1

jeevatkm commented 4 months ago

@gabri25ele I have investigated it; the R problem is coming from TB; the RWH addon doesn't do that. So please report it TB as a bug.

RWH only acts if it sees the Re: or Fwd:; otherwise, nothing happens. Code reference: https://github.com/jeevatkm/ReplyWithHeaderMozilla/blob/f70e382a99aac20d88a8ab9640a864da71a6b5d0/modules/compose.mjs#L441-L449

jeevatkm commented 2 months ago

I have submitted the RWH v3.0.0 addon to ATN for review.