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
Add contact segment membership webhook #10511
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.4 #10511 +/- ##
============================================
+ Coverage 48.14% 49.41% +1.26%
- Complexity 35280 35457 +177
============================================
Files 2124 2146 +22
Lines 118559 105675 -12884
============================================
- Hits 57084 52217 -4867
+ Misses 61475 53458 -8017
|
* closes #161 * includes mention of new webhook : mautic/mautic#10511 * add also mention of forgotten webhooks
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.
The changes look good. The only thing I'm missing is a functional test that would ensure this works and continue working.
Unit test added |
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.
Tested with both campaign based and manual segment changes and the webhooks were correctly fired with both.
Thanks for the PR @kuzmany just a PHPSTAN fix needed it looks like! 🚀
@RCheesley done |
1 similar comment
@RCheesley done |
This pull request has been mentioned on Mautic Community Forums. There might be relevant details there: https://forum.mautic.org/t/an-update-on-the-mautic-5-release-schedule/25863/1 |
Thank you for your contribution! We require all contributors to sign our Contributor License Agreement, and we do not have a record of your signature on file. In order for us to review and merge your code, please head over to https://www.mautic.org/contributor-agreement and complete the form. There may be a short delay while the team add you as a contributor - please be patient :). Any problems contact the Product Team on Slack (get an invite at https://mautic.org/slack). CLA has not been signed by @Roensby. |
@cla-bot check |
The CLA Bot has been sent on a mission to check against the latest list and will be back shortly with its findings! |
@kuzmany will need to be rebased to 5.x please, when you're ready! |
This pull request has been mentioned on Mautic Community Forums. There might be relevant details there: https://forum.mautic.org/t/webhook-contact-updated-for-segment-membership-change/27545/3 |
a1d3c75
to
c2c4042
Compare
Close favor to #12186 |
Description:
This PR just add Contact Segment Membership Change Event to Webhooks
Steps to test this PR: