Ghost/ghost/admin/mirage
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
..
config Added tests for editing newsletters 2022-05-18 13:14:38 +02:00
factories 🐛 Fixed default publish type being "Publish and email" when default recipients set to "Usually nobody" 2022-05-30 20:04:04 +01:00
fixtures 🐛 Fixed default publish type being "Publish and email" when default recipients set to "Usually nobody" 2022-05-30 20:04:04 +01:00
models Removed unneeded member.emailRecipients relationship setup 2022-05-25 11:18:37 +01:00
scenarios Updated newsletter management for switch to nullable sender_name 2022-04-15 09:43:22 +01:00
serializers Updated usage of the Tiers API (#2388) 2022-05-16 19:51:49 +01:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
config.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
routes-dev.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
routes-test.js Fixed "The routes only function has been deprecated" output in test runs 2022-05-25 11:03:05 +01:00
utils.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00