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
329 stars 75 forks source link

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

Open tprudentova opened 4 months ago

tprudentova commented 4 months 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 4 months ago

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

dab246 commented 4 months ago

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

hoangdat commented 3 months ago

Should add logic to compare identity to validate changes.

dab246 commented 1 month ago

Also fixed at https://github.com/linagora/tmail-flutter/pull/3184