Ghost/ghost/admin/tests/unit
Naz Gargol c41c184762 Added member "add" screen (#1411)
no issue

- We have a need to create a member manually, this changeset solves this problem.
- Added new member button to the member's screen
- Needed to be able to perform add member action
- Fixed inconsistent `createAt` naming. All models use consistent `createdAtUTC`, fixed it up so that members model follows the same pattern. If we want to change this pattern should probably happen for all models at once
- Fixed member avatar when creating a new member. If the values are completely empty the screen ends up being filled with empty space. Added some dummy initials which are recalculated once the member enters the name or an email
- Refactored DS naming for consistency. Nowhere else in the codebase 'DS' name is ever used, made this consistent
- Added missing validations in members form
- Simplified if conditions in the member list template. When using the if/esle statements unnecessary new-line symbols were inserted which made it hard to test. Also by using computed property view is much cleaner
- Updated member's model default value for `subscribed` to "true". It is turned on by default in the model layer  on the backend (ref: https://github.com/TryGhost/Ghost/blob/3.1.0/core/server/data/schema/schema.js#L330), this behavior is intended and should be the same on the frontend
2019-11-28 18:30:21 +07:00
..
authenticators Switched Admin API version from canary to v3 (#1317) 2019-09-03 12:40:27 +05:30
components Update dependency ember-mocha to v0.16.0 2019-06-17 15:32:09 +01:00
controllers Refactored deprecated usage of setupTest* methods 2019-05-13 15:31:32 +01:00
helpers Remove unused files 2019-07-22 11:06:16 +01:00
mixins Refactor new->edit transition to avoid editor re-renders (#949) 2018-01-17 13:27:37 +00:00
models Added member "add" screen (#1411) 2019-11-28 18:30:21 +07:00
serializers Switched Admin API version from canary to v3 (#1317) 2019-09-03 12:40:27 +05:30
services Update ember core 2019-07-22 14:00:52 +01:00
transforms Refactored deprecated usage of setupTest* methods 2019-05-13 15:31:32 +01:00
utils Migrate to latest ember, ember-mocha and modern ember testing (#1044) 2019-01-02 09:58:55 +00:00
validators 🔥 Removed all subscriber feature related code (#1337) 2019-09-26 15:58:01 +02:00
.gitkeep Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00