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-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
application.js DEV: adds Object.entries and Object.assign polyfills (#6173) 2018-07-25 11:45:29 -04:00
deprecated.js
discourse-loader.js
discourse-objects.js
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
ember_jquery.js
ember-shim.js
env.js
main_include_admin.js
markdown-it-bundle.js
plugin-third-party.js.erb
plugin.js.erb
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
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
vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00
wizard-application.js
wizard-vendor.js FEATURE: replaces tag-chooser/tag-group-chooser with select-kit component 2018-02-26 11:42:57 +01:00