Ghost/ghost/admin/app/adapters
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
..
api-key.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
application.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
base.js
custom-theme-setting-list.js
email.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
embedded-relation-adapter.js Fixed include transformation in query for embedded relations 2022-02-28 15:44:57 +05:30
label.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
member.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
newsletter.js Added "Opt-in existing subscribers" option to newsletter creation 2022-04-19 20:01:08 +01:00
offer.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
page.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
post.js Added newsletter dropdown to publish menu 2022-04-06 10:22:06 +01:00
product.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
setting.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
tag.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
theme.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
user.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00