discourse/app/assets/stylesheets/desktop
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
..
components FEATURE: Drafts view in user profile 2018-08-01 16:34:54 +10:00
alert.scss Fix mobile styling 2015-09-01 16:49:45 -07:00
banner.scss FIX: banner topic's max-width & max-height on both mobile & desktop 2014-08-28 16:15:48 +02:00
category-list.scss FIX: mixed texts when mixing rtl/ltr text in topic tile on categories page 2018-07-08 08:37:12 +02:00
compose.scss z-index fix 2018-07-26 12:11:40 -04:00
discourse.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
group.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
groups.scss UX: Tweaks to group pages. 2018-03-29 17:04:48 +08:00
header.scss improve header scaling with font size 2018-07-27 16:49:28 -04:00
history.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
latest-topic-list.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
login.scss Image was too wide on invite acceptance form 2018-07-13 16:13:13 -04:00
modal.scss Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
queued-posts.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
topic-list.scss Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00
topic-post.scss Improving mutli-post select styling 2018-07-20 16:37:43 -04:00
topic.scss UX: Refactor topic metadata's many floats into flexbox (#6018) 2018-06-20 13:06:20 -04:00
upload.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
user-card.scss DEV: adds prettier (#5956) 2018-06-08 11:49:31 +02:00
user.scss Streamlining some breakpoint mixins 2018-07-12 16:39:16 -04:00