Ghost/ghost/admin/app/utils
Simon Backx 3a11faf0b6 Updated publishing with renamed newsletter and email_segment options (#2380)
refs https://github.com/TryGhost/Team/issues/1596

This commit updates admin to align with the changes in the backend in https://github.com/TryGhost/Ghost/pull/14798

- `post.email_recipient_filter` option and property is renamed to `email_segment`
- `newsletter_id` option is renamed to `newsletter` (and now uses slug instead of id)
- Sending a post via email, means you need to set the `newsletter` option. The `email_segment` option is optional now and defaults to `all`. Not setting `newsletter` means not sending an email, setting `email_segment` is ignored if `newsletter` is missing.
- We can no longer use `email_recipient_filter` (now renamed to `email_segment`) to know whether a post is published/scheduled to be sent as an email. We need to rely on the newsletter relation now. The `email_segment` `none` value has been dropped and will be `all` even if no email will be sent (newsletter will be null). 
- `sendEmailWhenPublished` option is no longer supported in the backend.
2022-05-16 10:18:46 +02:00
..
bound-one-way.js
caja-sanitizers.js
copy-text-to-clipboard.js 🐛 Fixed copy-to-clipboard buttons in Chrome + Firefox 2021-10-05 15:32:23 +01:00
ctrl-or-cmd.js
currency.js Added new free tier card with custom description/benefits (#2203) 2022-01-18 00:23:43 +05:30
flatten-grouped-options.js Brought checkboxes back to publish menu recipient selection (#1972) 2021-05-21 18:22:01 +01:00
format-markdown.js
get-scroll-parent.js Updated About/What's new? page (#1872) 2021-09-08 14:00:24 +02:00
ghost-paths.js Moved default Admin API address to versionless 2022-03-04 20:22:03 +07:00
isNumber.js
link-component.js
password-generator.js
publish-options.js Updated publishing with renamed newsletter and email_segment options (#2380) 2022-05-16 10:18:46 +02:00
route.js Fixed transitions redirect to BMA loop 2021-10-28 12:10:24 +02:00
slug-url.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
window-proxy.js