-
Notifications
You must be signed in to change notification settings - Fork 833
Forms: Remove MailPoet integration feature flag #44831
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
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 1 file.
|
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.
- Test forms integration dashboard
- Go to Jetpack > Forms > Integrations and confirm the MailPoet section appears.
- Try installing / activating the plugin here and confirm state updates as expected.
- If prompted, complete MailPoet setup.
Didn't get prompted.
- If active and set up is complete, confirm you see the link to the MailPoet dashboard, and it works.
- Test form block in editor:
- Add a form to a page or post. Your form must have an email field with label of "Emai" or id of "email". If you include a name field with 'First Name' label or 'firstname' id, that will be added to your lists. If you include a name field with 'Last Name' label or 'lastname' id, that will be added to your lists.
- Open the integration modal and confirm the MailPoet section appears.
- Enable MailPoet using the toggle on the top.
- Select a desired MailPoet list where you want to add contacts (skip consent for now)
- Test frontend submission:
- Go to frontend, submit, and confirm subscriber was added to MailPoet list.
- Test consent: In the block editor, you can the toggle to add the consent field. Test frontend form submission with different consent stats.
- No consent field: contact will be added to MailPoet
- Consent field with no checkbox: contact will be added to MailPoet
- Consent field with 'checked' checkbox: contact will be added to MailPoet
** THIS DIDN'T WORK **: adding consent field and checking made the subscriber to NOT reach the list. I did get the response on Jetpack > Forms dashboard though.
- Consent field with 'unchecked' checkbox: contact will not be added to MailPoet
** THIS DIDN'T WORK **: same as above, it made no difference checking/unchecking the consent, the subscriber didn't make it to the list but I got the response on Jetpack > Forms.
Non blocking, but I saw this error when I uncollapsed the MailPoet card on integrations modal on the editor (happens only once, reload to see it again), couldn't confirm it also happens on integrations tab:
Also non blocking, one of those warnings about deprecated props on gutenberg:
Fix: |
7bbb71d
to
2abc1e8
Compare
2abc1e8
to
ebd81d0
Compare
Since this PR was originally prepared:
So all known issues are fixed now and the MailPoet_Integration class is fully working based on the new Feedback class and logic. |
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.
Works nicely!
Fixes FORMS-263
Proposed changes:
This removes the feature flag for MailPoet integration. We do not expose this on simple, but it will be fully released to Atomic when deployed there, and will go out with next Jetpack release in early September.
Other information:
Jetpack product discussion
P2: peKye1-1I2-p2
Does this pull request change what data or activity we track or use?
No.
Testing instructions:
SIMPLE TEST INSTRUCTIONS: Just confirm MailPoet section appears without feature flag, and play with MailPoet settings to confirm they appear.
DETAILED TEST INSTRUCTIONS (if you want them):