* 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 |
||
|---|---|---|
| .. | ||
| action-summary.js.es6 | ||
| archetype.js.es6 | ||
| badge-grouping.js.es6 | ||
| badge.js.es6 | ||
| category-list.js.es6 | ||
| category.js.es6 | ||
| composer.js.es6 | ||
| draft.js.es6 | ||
| group-history.js.es6 | ||
| group.js.es6 | ||
| input-validation.js.es6 | ||
| invite.js.es6 | ||
| live-post-counts.es6 | ||
| login-method.js.es6 | ||
| model.js.es6 | ||
| nav-item.js.es6 | ||
| permission-type.js.es6 | ||
| post-action-type.js.es6 | ||
| post-stream.js.es6 | ||
| post.js.es6 | ||
| rest.js.es6 | ||
| result-set.js.es6 | ||
| session.js.es6 | ||
| site.js.es6 | ||
| static-page.js.es6 | ||
| store.js.es6 | ||
| tag-group.js.es6 | ||
| tag.js.es6 | ||
| topic-details.js.es6 | ||
| topic-list.js.es6 | ||
| topic-timer.js.es6 | ||
| topic-tracking-state.js.es6 | ||
| topic.js.es6 | ||
| trust-level.js.es6 | ||
| user-action-group.js.es6 | ||
| user-action-stat.js.es6 | ||
| user-action.js.es6 | ||
| user-badge.js.es6 | ||
| user-draft.js.es6 | ||
| user-drafts-stream.js.es6 | ||
| user-posts-stream.js.es6 | ||
| user-stream.js.es6 | ||
| user.js.es6 | ||