-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
newsletter module #2754
newsletter module #2754
Conversation
Cool stuff, really like this approach. Thanks! Could you please check the failing checks and update changelog? |
It seems this issue is also on the divante develop branch and not related to my commit. It seems to be related to using following code parts:
If I remove the once wrapping, the tests work, @patzick : can you have a look? |
@mdesmet we need once() to avoid memory leaks in the ssr there must be some other solution to this failing check |
I belive we just must adjust the unit test: core/modules/cart/test/unit/store/mutations.spec.ts @lukeromanowicz |
@mdesmet I've fixed the failing test from develop branch but there still were some errors coming from yours. To speed things up I've done the following changes:
I hope that you don't mind that. |
I've also updated the Changelog and Braking Changes list because the code of this PR is not backward compatible. |
I approve the code but I'm not really able to fully test it. Maybe @patzick could take a look if it works as expected. Please, remember that there is also API part: vuestorefront/vue-storefront-api#212 Edit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good piece of code, thanks!
Just please resolve conflicts and optionally get rid of the file i listed below
@mdesmet could You please resolve the conflicts in order to merge this feature in? |
…into mdesmet-develop # Conflicts: # core/modules/newsletter/store/index.ts
Related issues
closes #2558
Short description and why it's useful
Newsletter module supporting subscribe/unsubscribe (can be integrated with mailchimp module (in develop branch of vue-storefront-api) but as long as API is respected with any email provider.
Screenshots of visual changes before/after (if there are any)
Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle
develop
branch and want to merge it back todevelop
release
branch and want to merge it back torelease
hotfix
ormaster
branch and want to merge it back tohotfix
Upgrade Notes and Changelog
IMPORTANT NOTICE - Remember to update
CHANGELOG.md
with description of your changeContribution and currently important rules acceptance