discourse/app
Arpit Jalan 0853208d67
FIX: save draft when either title or reply is present (#11243)
Here's how draft saving process works currently:

- if only title is present (no reply) the draft is saved
- if only reply is present (no title) the draft is saved
- if both title and reply are present, and reply length is less than
`min_post_length` and the title length is less than
`min_topic_title_length`, then the draft is saved
- if both title and reply are present, and reply length is less than
`min_post_length`, then the draft is not saved

The current draft saving conditions are complex to understand and is
causing confusion as seen here: https://meta.discourse.org/t/draft-is-not-being-saved-when-creating-a-new-pm/149990/6?u=techapj

This commit updates the process to always save the draft if either title
or reply exists.
2020-11-16 16:43:50 +05:30
..
assets FIX: save draft when either title or reply is present (#11243) 2020-11-16 16:43:50 +05:30
controllers FIX: Disallow editing of remote themes (#11189) 2020-11-13 09:57:49 -06:00
helpers UX: Use appropriate logo on static pages (#11211) 2020-11-12 10:50:55 -08:00
jobs FIX: when creating linked topics make sure they belong to same category (#11188) 2020-11-11 00:44:27 +05:30
mailers FIX: Ensure group SMTP and message builder always uses from address for Reply-To when IMAP is enabled (#11037) 2020-10-28 07:01:58 +10:00
models FIX: Store Reviewable's force_review as a boolean. (#11219) 2020-11-13 08:19:01 -03:00
serializers UI: Blur review queue images. (#11187) 2020-11-11 14:09:42 -03:00
services FEATURE: Implement edit functionality for post notices (#11140) 2020-11-11 14:49:53 +02:00
views FEATURE: Add Google Universal Analytics v4 as an option (#11123) 2020-11-06 14:15:36 -06:00