linagora / tmail-flutter

A multi-platform (Flutter) application for reading your emails, with your favorite devices, using the JMAP protocol!
GNU Affero General Public License v3.0
299 stars 65 forks source link

[Improvement] No need to suggest sending message to drafts when it's empty #3036

Open tprudentova opened 1 month ago

tprudentova commented 1 month ago

0.12.1 tested on Android, Firefox, Safari, Opera; mail.stg.lin-saas.com

  1. Open composer
  2. Click Close
  3. There's a suggestion to save email to Drafts. I believe it's not necessary when the user hasn't input anything in the composer

https://github.com/user-attachments/assets/f4226526-1c4b-4ea5-a4b3-fd9545ecd9ec

hoangdat commented 1 month ago

hi @dab246, how we can distinguish the case of it? we should to consider carefully the signature in draft too

dab246 commented 1 month ago

hi @dab246, how we can distinguish the case of it? we should to consider carefully the signature in draft too

hoangdat commented 1 week ago

Should add logic to compare identity to validate changes.