Ghost/ghost/admin/mirage
Kevin Ansfield 502fcaba3c Added "Opt-in existing subscribers" option to newsletter creation
refs https://github.com/TryGhost/Team/issues/1528

- adds "opt-in existing" toggle to newsletter modal that's only shown when creating a newsletter
  - defaults to true
- updated newsletter save flow to show confirmation before creation
  - alters message to reflect auto-subscribe selection
  - count of existing subscribed members is not implemented as it's not yet supported by the API
- updated newsletter adapter and save flow to use auto opt-in selection
  - when option is checked the save URL is changed to `POST /members/?opt_in_existing=true`
- modified task button component to ignore a task return value of `canceled` so when it's received the buttons returns to the idle state instead of showing a saved or failed state
  - used by save routine when the "Back to edit" button is clicked in the create confirmation modal
2022-04-19 20:01:08 +01:00
..
config Added "Opt-in existing subscribers" option to newsletter creation 2022-04-19 20:01:08 +01:00
factories Added canceled subscriptions in member detail screen (#2287) 2022-03-18 16:15:42 +00:00
fixtures Updated mirage with new tier visibility property 2022-03-08 15:51:40 +05:30
models Added "Opt-in existing subscribers" option to newsletter creation 2022-04-19 20:01:08 +01:00
scenarios Updated newsletter management for switch to nullable sender_name 2022-04-15 09:43:22 +01:00
serializers Added sender email verification flow for newsletters 2022-04-13 19:34:58 +01:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
config.js Wired up newsletter management with real newsletter model and API 2022-04-04 19:30:52 +01:00
utils.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00