discourse/app/assets
Sam Saffron a34711c23a
FIX: do not save draft while it is loading
When editing a post we were incorrectly saving a draft prior to user typing

This caused a bloat in the amount of drafts saved per user and inconsistency
around behavior of "escape" button.

It also lead to lots of warnings about draft conflicts when copying stuff
between posts.

The code is improved to use promises more appropriately, however further
changes are needed to clean up internals so methods consistently return
promises.

Too many methods in the controller sometimes return a promise and sometimes
an object. Long term the methods will become async and all of this will be
corrected.
2020-03-31 11:49:10 +11:00
..
images FIX: images:compress rake task 2019-03-15 15:23:57 +01:00
javascripts FIX: do not save draft while it is loading 2020-03-31 11:49:10 +11:00
stylesheets DEV: adds a loading property to d-button (#9072) 2020-03-30 23:17:00 +02:00