discourse/test/javascripts/fixtures
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
..
about.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
badges_fixture.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
category-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
daily-engaged-users.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
dashboard-next-general.js.es6 FIX: don’t break browser history on dashboard visit (#6186) 2018-07-26 14:59:28 -04:00
dashboard-next.js.es6 FIX: don’t break browser history on dashboard visit (#6186) 2018-07-26 14:59:28 -04:00
dau-by-mau.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
directory-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
discovery_fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
draft.js.es6 FEATURE: Drafts view in user profile 2018-08-01 16:34:54 +10:00
drafts.js.es6 FEATURE: Drafts view in user profile 2018-08-01 16:34:54 +10:00
group-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
groups-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
new-contributors.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
notification_fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
post.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
posts.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
problems.js.es6 UX: reworks dashboard problems section to be in line with new style 2018-06-12 12:47:03 +02:00
reports.js.es6 FEATURE: adds a /admin/reports route to list all reports 2018-06-18 12:31:56 +02:00
search-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
session-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
signups_exception.js.es6 FIX: makes dashboard more resilient to errors (#6217) 2018-07-31 21:23:28 -04:00
signups_timeout.js.es6 FIX: makes dashboard more resilient to errors (#6217) 2018-07-31 21:23:28 -04:00
signups.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
site-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
static_fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
top_fixture.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
top_referred_topics.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
topic.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
topics.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
trending-search.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
user_fixtures.js.es6 FEATURE: List, revoke and reconnect associated accounts. Phase 1 (#6099) 2018-07-23 16:51:57 +01:00
user-badges.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
users-by-trust-level.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
users-by-type.js.es6 FEATURE: part 2 of dashboard improvements 2018-07-19 14:33:11 -04:00
watched-words-fixtures.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00