1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/validators
Naz Gargol 3ec3671aee
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
..
mixins Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
base.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
integration.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
invite-user.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
member.js Added member "add" screen (#1411) 2019-11-28 18:30:21 +07:00
nav-item.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
new-user.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
post.js Added email settings to post settings menu (#1398) 2019-11-04 13:15:13 +07:00
reset.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
setting.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
setup.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
signin.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
signup.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
slack-integration.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
subscriber.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
tag-settings.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
user.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
webhook.js Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00