Commit Graph

21439 Commits

Author SHA1 Message Date
Rostislav Wolny
9217f197f9 Add subscribers section description
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
16beb8d0f3 Add empty subscribers stats section to homepage
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Jan Lysý
673f6db39a Fix spacing in block settings
After the initial change for the new coupon block was necessary to fix overlooked issues.
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
f28687be74 Remove redundant classes
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
71415e73c0 Create common types for callbacks
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
7930f04b22 Add default values
Because React components throw errors when the initial value is null or undefined before the change.
I added default values for all inputs.
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
12456828fe Fix mapping products and categories for new coupon
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
bd95f9caaf Remove settings coupon block test
Because the new settings panel was refactored to React. It is not possible to use this test anymore.
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
767e6f4fbf Fix renamed coupon block attributes
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
59ab4d742e Add validation improvements to coupon settings
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
92eb91001a Unify design with other blocks
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
3938c40023 Make display options hideable
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
8beb423a43 Add reseting code when tab is changed
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
847132b433 Create new component for existing coupons
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
64c2ab5f9f Create component for usage limits
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
45d4af878b Add validation for email restrictions
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
ac9eddc239 Move email restrictions to React component
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
57ca1bf864 Move category selections to React component
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
7b93f0e61e Move products selections to React component
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
9a7c14076a Create usage restriction component
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
436e4e01e1 Rename component
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
25430762e8 Make general panel switchable
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
6449505696 Add coupon settings component
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
d25e6cf4ff Use React for coupon general settings
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
456b99fa02 Use React for coupon source switch
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
6fdb1247a7 Move margin to lower level
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Jan Lysý
e4b3717012 Use merge_method parameter for automated merging
[MAILPOET-3987]
2023-02-21 15:58:19 +01:00
Jan Lysý
506f07ce36 Use merge command in release:publish
[MAILPOET-3987]
2023-02-21 15:58:19 +01:00
Jan Lysý
f4d8c7acd8 Add command for merge pull request
[MAILPOET-3987]
2023-02-21 15:58:19 +01:00
Jan Lysý
5e5a165a41 Add method for merge pull request by branch
[MAILPOET-3987]
2023-02-21 15:58:19 +01:00
Oluwaseun Olorunsola
8889a3f63d Release 4.7.0 2023-02-21 14:25:14 +01:00
Sam Najian
67455a0752 Bump WC requires at least to L - 2
[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
7ca607f49f Update WC tested up to version
[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
b3aff28335 Acceptance: wait for page elements to load before asserting
[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
489fa9552b Acceptance: prioritize assertion with delay over immediate one
First checking for the delayed assertion and then running the
immediate one reduces the chance of flakiness

[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
d49040a11e Accept: verify form is not loading when checking for select2
[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
64f008e106 Acceptance: increase timeout for ever failing test
The increased timeout helped to get the test green on local

[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
2f0d7137db Acceptance: wait for element to appear then try to clear it
[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Sam Najian
68bd3314d9 Make automation acceptance test css selectors more specific
Less specific css selectors + css grid orders were making the
acceptance tests flaky

[MAILPOET-4783]
2023-02-20 12:26:20 +01:00
Rostislav Wolny
2083adc3d2 Make sure we call initializeMixpanelWhenLoaded when window.MailPoet is defined
The initializeMixpanelWhenLoaded expects window.MailPoet to be defined.
Instead of calling initializeMixpanelWhenLoaded as a side-effect of the import
we can export the function and make sure it is called after window.MailPoet is defined.
[MAILPOET-5065]
2023-02-20 11:34:09 +01:00
Oluwaseun Olorunsola
a4e8bf9a9c Update tests and add test for ab test button
MAILPOET-4972
2023-02-20 11:10:46 +01:00
Oluwaseun Olorunsola
7daa0c9dff Prevent redirecting on Experimental Page
MAILPOET-4972
2023-02-20 11:10:46 +01:00
Oluwaseun Olorunsola
027f3fbefe Setup ab test experiment debugger
MAILPOET-4972
2023-02-20 11:10:46 +01:00
Oluwaseun Olorunsola
e3c4728529 Save event data in storage pending when analytics permission is available.
We are reusing the `MailPoetTrackEvent` method because we overwrite the `MailPoet.trackEvent` method when mixpanel is loaded.

Unfortunately, mixpanel being available does not mean MailPoet has permission to track user events. We are saving the tracking data for when the permission becomes available.

MAILPOET-4972
2023-02-20 11:10:46 +01:00
Oluwaseun Olorunsola
06f231f4b1 Add an A/B test button component and setup basic events.
We are using the `@marvelapp/react-ab-test` package because the original `react-ab-test` package hasn't received an update in a while

MAILPOET-4972
2023-02-20 11:10:46 +01:00
Rodrigo Primo
4966d45d5e Update copy of the MailPoet link added to the WooCommerce task list
[MAILPOET-5063]
2023-02-19 11:24:52 +01:00
Jan Lysý
ae38774f85 Remove checking closed panel
For some reason, the click doesn't work properly when the mouse moves too fast away.
Because we don't check closing of the panel in another test I decided to remove it from this test too.
[MAILPOET-5060]
2023-02-17 07:36:42 +02:00
Jan Jakes
b907ca491b Fix TinyMCE prefixing
[MAILPOET-5052]
2023-02-16 10:50:47 +01:00
John Oleksowicz
abfc33002c Make form close buttons focusable/usable with keyboard
[MAILPOET-4877]
2023-02-16 10:17:50 +01:00
Rodrigo Primo
94954c1601 Update Docker image for oldest acceptance tests to use WP 5.9
[MAILPOET-4893]
2023-02-15 13:21:45 +01:00