Ghost/ghost/admin/app/controllers
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
..
editor Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
members Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
settings Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
application.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
billing.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
dashboard.js Updated member count charts to use the new Stats API 2022-03-31 16:09:41 +02:00
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
error.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
launch.js Updated pricing setup on launch wizard 2021-05-20 17:01:12 +05:30
member.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
members-activity.js Excluded all email related events from feeds when newsletter is disabled 2022-01-27 19:19:15 +00:00
members.js 🐛 Fixed duplicate email open rate column when filtering members by open rate 2022-03-17 09:29:15 +00:00
offer.js Hid archived tiers from offer creation page 2022-03-24 10:26:44 +01:00
offers.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
pages-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
pages.js Switched majority of files from EmberObject to native class syntax using @classic decorator (#2227) 2022-02-01 09:34:03 +00:00
posts-loading.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
posts.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
reset.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
settings.js Collapsed @service injection definitions to single-line style 2022-02-01 17:03:54 +00:00
setup.js Directed selfhosters to 'done' screen after setup 2022-03-11 12:42:06 +00:00
signin.js Fixed linter error 2022-03-09 12:24:36 +00:00
signup.js Fixed linter error 2022-03-09 12:24:36 +00:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tags.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
whatsnew.js Updated database warning wording 2022-01-18 11:10:25 +00:00