Ghost/ghost/admin/app/components/modals
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
..
design Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
edit-newsletter Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
editor Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
limits [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
members Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
offers Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
post-preview Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
tiers Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
confirm-unsaved-changes.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
custom-view-form.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
custom-view-form.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
delete-post.hbs Added "Enter" key handling to refactored delete-post modal 2021-09-13 13:58:13 +01:00
delete-post.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
edit-newsletter.hbs Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
edit-newsletter.js Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
email-preview.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
email-preview.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
new-custom-integration.hbs [chore] adds ember-template-lint and fixes all fixable issues (#2238) 2022-02-02 16:09:43 +00:00
new-custom-integration.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
post-preview.hbs Hid email related ui when subscription access is set to 'Nobody' 2022-02-11 09:29:11 +01:00
post-preview.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
search.hbs Refactored search modal 2022-01-11 17:59:48 +00:00
search.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00