Ghost/ghost/admin/app/utils
Kevin Ansfield 99f05e14b2 🐛 Fixed default publish type being "Publish and email" when default recipients set to "Usually nobody"
no issue

The default recipients setting "Usually nobody" was being respected with the email recipient list defaulting to no members selected. However the UI for that state was confusing because the default publish options ended up being "Publish and email" and "Not sent as a newsletter" but it was expected to be "Publish" with the newsletter option being disabled.

- updated the `PublishOptions` setup to reflect the desired outcome for "Usually nobody"
  - default publish type is set to "Publish"
  - default email recipients are set to match post visibility - this means there are fewer clicks required when switching from "Publish" to "Publish and send"
- updated mirage data setup so any members created are automatically assigned to any newsletter instance with `subscribeOnSignup` set
  - ensures we get proper member counts in the publish flow
2022-05-30 20:04:04 +01:00
..
bound-one-way.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
caja-sanitizers.js Fixed multiple no-shadow linting errors 2020-06-17 09:35:46 +01:00
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 Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
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 Switch from embor-browserify to ember-auto-import 2019-01-22 13:09:38 +00:00
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 Update code to match eslint rules 2016-11-14 13:26:00 +00:00
link-component.js Refactored usage of .get('property') with es5 getters 2019-03-06 13:54:14 +00:00
password-generator.js Fix linting errors 2019-07-22 11:21:24 +01:00
publish-options.js 🐛 Fixed default publish type being "Publish and email" when default recipients set to "Usually nobody" 2022-05-30 20:04:04 +01: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 use windowProxy to avoid mangling URL during team acceptance tests 2017-11-10 14:27:47 +00:00