Ghost/ghost/admin/app/routes
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 [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
member Updated members routes/controllers with Octane idioms 2020-05-20 16:39:31 +01:00
members Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
offer Added initial wiring for offer screens 2021-10-06 20:01:25 +05:30
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
tag Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
admin.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
application.js Resolved ember-simple-auth deprecations 2022-01-22 00:30:56 +00:00
authenticated.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
dashboard.js Updated default redirect for contributors 2022-02-02 10:12:16 +01:00
designsandbox.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
editor.js Dropped ember-useragent dependency 2022-03-07 10:06:35 +00:00
error404.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
home.js Renamed Finishing Touches onboarding step to Done with other changes and styling tweaks 2022-03-02 12:46:15 +00:00
launch.js Renamed isAdmin/isOwner/isAdminOrOwner to reduce confusion 2021-07-12 14:55:56 +02:00
member.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
members-activity.js Cleaned up membersActivityFeed labs flag (#2309) 2022-03-30 12:43:52 +01:00
members.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
offer.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
offers.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
pages.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
posts.js Contributors updates (#2235) 2022-02-01 18:59:20 +01:00
pro.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
reset.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
settings.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
setup.js 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
signin.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
signout.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
signup.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
site.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
tag.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
tags.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
unauthenticated.js Removed usage of deprecated EmberSimpleAuth mixins (#1910) 2021-04-12 13:21:57 +01:00
whatsnew.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00