This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
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
..
adapters FIX: allows adapters to define a custom primaryKey (#9254) 2020-03-30 15:23:59 +02:00
components DEV: adds a loading property to d-button (#9072) 2020-03-30 23:17:00 +02:00
controllers FIX: do not save draft while it is loading 2020-03-31 11:49:10 +11:00
helpers Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
initializers FEATURE: allows multiple custom emoji groups (#9308) 2020-03-30 20:16:10 +02:00
lib FIX: Quoting a nested quote should preserve original post info. 2020-03-28 22:24:43 +05:30
mixins DEV: prefer Date.now() over new Date().getTime() 2020-03-26 17:36:53 +11:00
models FIX: do not save draft while it is loading 2020-03-31 11:49:10 +11:00
pre-initializers Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
raw-views Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
routes FEATURE: Display "Last Updated At" on user directory 2020-03-30 14:34:48 -04:00
services Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
templates DEV: adds a loading property to d-button (#9072) 2020-03-30 23:17:00 +02:00
widgets FIX: prevents rendering empty timeline-controls (#9304) 2020-03-30 19:17:08 +02:00
mapping-router.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00