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/serializers
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
..
action.js Display "sent" info in publish menu 2019-11-04 16:13:18 +07:00
api-key.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
application.js Fixed serialisation of belongsTo relationships 2018-10-18 18:23:19 +01:00
email.js Display basic info in PSM once an email has been sent 2019-11-08 17:07:47 +07:00
integration.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00
invite.js Fixed missing invite role name on team screen 2019-01-14 17:01:30 +00:00
member.js Added member "add" screen (#1411) 2019-11-28 18:30:21 +07:00
notification.js 🐛 fix duplicate server alerts + default alert bg color (#242) 2016-09-01 11:01:54 -05:00
page.js Added confirmation modal and use email model in place of action 2019-11-07 15:56:41 +07:00
post.js Updated handling of send_email_when_published 2019-11-14 17:33:35 +00:00
role.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
setting.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
tag.js Don't send created_by and updated_by attrs in API requests 2018-04-05 11:54:36 +01:00
theme.js fetch themes from /themes endpoint (#542) 2017-02-21 18:28:44 +00:00
user.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
webhook.js Added initial custom integrations UI (#1051) 2018-10-18 00:18:29 +01:00