Ghost/ghost/admin/mirage/factories
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
..
api-key.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
email.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
integration.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
invite.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
label.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
member-activity-event.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
member.js 🐛 Fixed default publish type being "Publish and email" when default recipients set to "Usually nobody" 2022-05-30 20:04:04 +01:00
notification.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
offer.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
post.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
role.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
subscription.js Added canceled subscriptions in member detail screen (#2287) 2022-03-18 16:15:42 +00:00
tag.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
tier.js Updated usage of the Tiers API (#2388) 2022-05-16 19:51:49 +01:00
user.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00
webhook.js Resolved ember-cli-mirage import deprecations 2022-03-08 11:32:01 +00:00