mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
e5c26aac89
closes https://github.com/TryGhost/Team/issues/1479 - updated post adapter to append `?newsletter_id=xyz` when passed a `newsletterId` adapterOption - updated editor save task to pass `options.newsletterId` through as `adapterOptions.newsletterId` - set up `post.newsletter` relationship ready for handling embedded newsletter association from the API - explicitly deleted when serializing back to the API as it doesn't yet ignore the attribute - updated `<GhPublishmenu>` for newsletter support - fetches newsletters on first render so they are available in the dropdown - sets "default" (first in the ordered list) newsletter as the initially selected newsletter - adds newsletter dropdown to draft publish menu - passes `newsletterId` option to editor save task when it's set This is a minimal implementation for testing. Not included: - correct free/paid member counts based on selected newsletter - correct member count in confirmation modal - indication of selected newsletter for scheduled post |
||
---|---|---|
.. | ||
action.js | ||
api-key.js | ||
base.js | ||
custom-theme-setting-list.js | ||
custom-theme-setting.js | ||
email-recipient.js | ||
email.js | ||
integration.js | ||
invite.js | ||
label.js | ||
member-product.js | ||
member-subscription.js | ||
member.js | ||
navigation-item.js | ||
newsletter.js | ||
notification.js | ||
offer.js | ||
page.js | ||
post.js | ||
product-benefit-item.js | ||
product.js | ||
role.js | ||
setting.js | ||
slack-integration.js | ||
snippet.js | ||
stripe-price.js | ||
tag.js | ||
theme.js | ||
user.js | ||
webhook.js |