discourse/app/assets/javascripts
Penar Musaraj 1f45215537 FEATURE: Drafts view in user profile
* add drafts.json endpoint, user profile tab with drafts stream

* improve drafts stream display in user profile

* truncate excerpts in drafts list, better handling for resume draft action

* improve draft stream SQL query, add rspec tests

* if composer is open, quietly close it when user opens another draft from drafts stream; load PM draft only when user is in /u/username/messages (instead of /u/username)

* cleanup

* linting fixes

* apply prettier styling to modified files

* add client tests for drafts, includes a fixture for drafts.json

* improvements to code following review

* refresh drafts route when user deletes a draft open in the composer while being in the drafts route; minor prettier scss fix

* added more spec tests, deleted an acceptance test for removing drafts that was too finicky, formatting and code style fixes, added appEvent for draft:destroyed

* prettier, eslint fixes

* use "username_lower" from users table, added error handling for rejected promises

* adds guardian spec for can_see_drafts, adds improvements following code review

* move DraftsController spec to its own file

* fix failing drafts qunit test, use getOwner instead of deprecated this.container

* limit test fixture for draft.json testing to new_topic request only
2018-08-01 16:34:54 +10:00
..
admin FIX: makes dashboard more resilient to errors (#6217) 2018-07-31 21:23:28 -04:00
discourse FEATURE: Drafts view in user profile 2018-08-01 16:34:54 +10:00
discourse-common DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
locales Add Swahili language 2018-07-16 18:11:38 +02:00
pretty-text FIX: display tables in posts history diff (#6032) 2018-07-12 14:13:52 +10:00
select-kit fix eslint 2018-07-30 13:10:20 -04:00
wizard fix 1.14.0 prettier offenses 2018-07-30 11:56:48 -04:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
application.js DEV: adds Object.entries and Object.assign polyfills (#6173) 2018-07-25 11:45:29 -04:00
deprecated.js REFACTOR: Remove requirejs calls 2017-07-05 17:24:27 -04:00
discourse-loader.js Upgrade to Babel 6 2017-07-05 15:25:23 -04:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
discourse.js.es6 Revert "Rename s3 vars, change condition when displaying s3 uploads" 2018-07-06 15:53:57 +08:00
ember_include.js.erb move template compiler into vendor for now 2015-11-25 15:54:54 +11:00
ember_jquery.js Use the same jQuery in prod and dev, avoid minimizing twice 2017-03-22 15:48:37 -04:00
ember-shim.js Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
env.js Reapply Ember 2.10 for good this time! 2016-12-19 11:19:10 -05:00
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
markdown-it-bundle.js UX: Improve editor and preview scroll syncing. 2017-11-23 17:02:02 +08:00
plugin-third-party.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
plugin.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
polyfills.js DEV: adds Object.entries and Object.assign polyfills (#6173) 2018-07-25 11:45:29 -04:00
preload-store.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
pretty-text-bundle.js FEATURE: image uploads now have short urls 2017-08-22 16:40:08 -04:00
service-worker.js.erb Prefer throwing a new Error object instead of just a string expression 2018-06-12 12:56:22 +10:00
template_include.js.erb PERF: stop loading handlebars and ember compilers in prod 2015-11-27 11:59:01 +11:00
vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00
wizard-application.js Introduces select-kit 2017-11-21 11:53:09 +01:00
wizard-vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00