Ghost/ghost/admin/app/services
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
..
ajax.js Fixed the name of the version header 2022-03-08 11:36:46 +08:00
billing.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
clock.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
config.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
custom-theme-settings.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
custom-views.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00
dashboard-mocks.js Implemented loadSiteStatus in dashboard 5.0 stats service 2022-04-01 10:51:15 +02:00
dashboard-stats.js Dashboard consolidated graph (#2323) 2022-04-01 14:53:55 +01:00
data-cache.js Added data-cache service for managing limited-lifetime cached data 2022-01-21 18:15:06 +00:00
dropdown.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
event-bus.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
feature.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
frontend.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
ghost-paths.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
lazy-loader.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
limit.js Added upgrade moal when unsuspending staff user 2021-04-28 18:07:18 +04:00
media-queries.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
media.js [chore] Ran native classes codemod for app/services (#2240) 2022-02-02 22:11:11 +00:00
member-import-validator.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
members-count-cache.js Replaced custom member counting queries with MembersCountCacheService 2022-03-31 16:09:41 +02:00
members-stats.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
members-utils.js Changed default offer display title 2022-03-15 12:31:27 +01:00
modals.js 🐛 Fixed non-functioning "Leave" button on unsaved-changes confirmation modals 2022-04-01 12:47:08 +01:00
navigation.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
notifications.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
resize-detector.js Migrated <GhUnsplash> to glimmer component 2022-02-07 16:53:12 +00:00
session.js Improved authentication timing in setup flow 2022-03-10 11:53:37 +00:00
settings.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
slug-generator.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
tenor.js Dropped ember-concurrency-decorators dependency 2022-02-09 10:49:38 +00:00
theme-management.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
ui.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
unsplash.js Fixed multiple no-shadow linting errors 2020-06-17 09:35:46 +01:00
upgrade-status.js Collapsed @service injection definitions to single-line style 2022-02-03 19:04:43 +00:00
utils.js Added utils service with downloadFile() method 2021-10-05 14:21:19 +01:00
whats-new.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00