nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
852 stars 264 forks source link

Clicking outside the composing window discards message if not saved by auto save => dialog window, which asks for discarding #8208

Open new-on-github opened 1 year ago

new-on-github commented 1 year ago

Is your feature request related to a problem? Please describe.

Clicking outside the composing window discards message if not saved by auto save. Therefore you lose your composed message and you have to start again.

Describe the solution you'd like

Add a dialog window, which asks if you want to discard the mail.

Describe alternatives you've considered

No response

Additional context

No response

st3iny commented 1 year ago

Yeah, this is known and I already tried to fix it. However, there are some fundamental issues in the frontend architecture that make this hard to fix.

Similar issue is at https://github.com/nextcloud/mail/issues/6470 My attempt to fix it is at https://github.com/nextcloud/mail/pull/6483

new-on-github commented 1 year ago

Thanks for your reply!

Maybe you can check out SnappyMail: https://github.com/the-djmaze/snappymail There nothing happens if you click outside the composing window. This seems to be a good solution.

ChristophWurst commented 1 year ago

:can-close="false" could be a short-term remedy https://nextcloud-vue-components.netlify.app/#/Components/NcModal