discourse/app/assets
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
..
images FIX: images:compress rake task 2019-03-15 15:23:57 +01:00
javascripts FIX: save draft when either title or reply is present (#11243) 2020-11-16 16:43:50 +05:30
stylesheets UX: draft delete button was looking odd on user stream (#11232) 2020-11-13 17:21:06 +05:30