Ghost/ghost/admin/tests/unit/models
Kevin Ansfield 6a3cfc2ca8 Use token input to allow selection of multiple authors in PSM
requires https://github.com/TryGhost/Ghost/pull/9426
- fixed default token component display in {{gh-token-input}}
    - if no `tokenComponent` is passed to `{{gh-token-input}}` then it should default to the ember-drag-drop `draggable-object` component but instead it didn't output anything
    - put `draggable-object` in quotes because `{{component}}` needs a component name rather than an object
    - rename `option` attribute to `content` to match the default `{{draggable-object}}` interface
- add embedded `authors` attr to the Post model
    - ensure authors is populated when starting new post
    - add validation for empty authors list
- swap author dropdown for a token input in PSM
- show all post authors in posts list
- update tests for `authors`
  - always provide through an authors array
  - fix mirage serialisation for paginated responses (embedded records were not being serialised)
- unify tags and author inputs design
  - remove highlight of primary tags
  - highlight internal tags
  - remove unnecessary/redundant title attributes on tags
  - use SVG icon for "remove option" button in token inputs
2018-03-27 18:50:52 +01:00
..
invite-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
navigation-item-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
post-test.js Use token input to allow selection of multiple authors in PSM 2018-03-27 18:50:52 +01:00
role-test.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
setting-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
subscriber-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
tag-test.js deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
user-test.js Contributor Role (#948) 2018-02-07 10:42:46 +01:00