mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
99f05e14b2
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
11 lines
208 B
JavaScript
11 lines
208 B
JavaScript
/* eslint-disable camelcase */
|
|
export default [
|
|
{
|
|
id: 1,
|
|
name: 'Default newsletter',
|
|
slug: 'default-newsletter',
|
|
status: 'active',
|
|
subscribeOnSignup: true
|
|
}
|
|
];
|