Ghost/ghost/admin/app/validators
Kevin Ansfield 6e0be9e175 Wired up newsletter management with real newsletter model and API
refs https://github.com/TryGhost/Team/issues/1441

- switched "leave settings" confirmation modal on members email settings screen over to modern modal pattern
- removed unused `showEmailDesignSettings` property and `closeEmailDesignSettings()` action on `<Settings::MembersEmailLabs>` component
  - the used property and action live on the controller, looks like it was a copy/paste hangover when functionality was moved to a component
- added newsletter model
  - includes design-related attributes which are not yet supported by the API but are due to be added
  - includes `default` attribute but there is no setting for it, due to be removed from the API but it's needed for save not to error for now
  - set up basic mirage model and endpoints
  - added validation for main settings to match API validation
- added `EditNewsletter` modal
  - separate tabs for general newsletter settings and design-related settings
  - used for both creating and editing newsletters
- added `/settings/members-email/newsletters/new` and `/settings/members-email/newsletters/:id` routes
  - both display the `EditNewsletter` modal on top of the members-email settings screen with the appropriate newsletter model
- updated `<Settings::MembersEmailLabs::NewsletterManagement>` component to work with real newsletter model instances and the new add/edit routes
- removed now-unused `newsletter` service that was providing mocked data for earlier design iteration
2022-04-04 19:30:52 +01:00
..
mixins Updated error copy on setup page 2022-03-08 20:23:55 +00:00
base.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
custom-view.js Added default and custom post views (filters) to the admin sidebar (#1474) 2020-01-30 15:35:36 +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
label.js Added labels for Members (#1477) 2020-02-14 15:04:01 +05:30
member.js Fixed incorrect validation when member's name is too long 2020-05-11 11:40:38 +01: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
newsletter.js Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
offer.js Updated name validation for offer to restrict to 40 chars 2021-11-24 18:18:22 +05:30
post.js Updated specific tier visibility handling for posts/pages (#2233) 2022-02-01 12:24:06 +05:30
product-benefit-item.js Updated tier modal copy 2021-09-01 10:14:56 +02:00
product.js Added error handling for product details page 2021-05-10 19:18:30 +05:30
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 Updated error copy on setup page 2022-03-08 20:23:55 +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
snippet.js Added max length validation to snippet's name field 2020-10-16 19:22:09 +01: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