Rostislav Wolny
db562645e8
Register WooCommerce Subscriptions as a segment dependency
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
ac51bc242a
Enable counting subscribers during editing of subscription segment
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
43ab4223af
Add subscription segment support to segment form
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
cccafb1481
Update segments API data mapper to support subscriptions segments
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
0728bc2e12
Load subscription products for segments form
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
6a7cf8677f
Add subscriptions filter into filter handler
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
2f7f4536a2
Add filter class for WooCommerce subscriptions filter
...
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
743a26d8df
Release 3.60.9
2021-04-20 13:07:06 +02:00
Rostislav Wolny
64033254c8
Add spacing to #orders and #opens segment forms
...
[MAILPOET-3574]
2021-04-20 11:51:38 +02:00
Rostislav Wolny
d0935a6fa3
Refactor select for operator in orders count segment to native select
...
[MAILPOET-3574]
2021-04-20 11:51:38 +02:00
Pavel Dohnal
9c13b40fef
Replace id with automation id
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
b207babf8f
Acceptance test to check creating and editing a number of orders segment
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
a983679566
Replace generic assertions with more specific ones in WooCommerceNumberOfOrdersTest
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
5d84f0a0e0
Remove use of multiple ".." when importing 'common/form/input/input'
...
Also changed the order of the imports per a eslint rule
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
637a32ef77
Add integration tests for the WooCommerce number of orders segment
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
68b44e8e21
Add acceptance test for the WooCommerce number of orders segment
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
dd82fba488
i18n of the strings related to the number of orders segment
...
The approach that I'm taking here is not ideal as I'm spliting a single
phrase into multiple translatable strings. I'm doing this because I
couldn't figure out an easy way to interpolate the full sentence with
multiple React components. Pavel suggested an approach that would work
but would not be trivial to implement in this case and would add a lot
of complexity to the code. I believe we need to find a general solution
for internatiolizing strings that we want to interpolate with React
components.
Ideally we would have a single single string that would be "{type}
{count} orders in the last {days} days" and that would be converted to
```
<Grid.CenteredRow>
<Select /> <Input /><div> orders</div>
</Grid.CenteredRow>
<Grid.CenteredRow>
<div>in the last </div><Input /><div> days</div>
</Grid.CenteredRow>
```
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
d410746a8c
Make sure parameters in WooCommerceNumberOfOrders are unique
...
This commit simply makes sure parameters in WooCommerceNumberOfOrders
are unique by prefixing their name with the filter ID. This is to avoid
conflicts when combining segments.
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
a1fe711f60
Remove use of multiple ".." in the path
...
Also changed the order of the imports per a eslint rule
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
224348a55e
Fix code that set a default value for item.number_of_orders_type
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Rodrigo Primo
4f3738b0b1
Implement new WooCommerce dynamic segment based on the number of orders
...
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
0153e63db0
Add invalid paths tests
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
8903b04203
Improve test checks
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
3819f77cd8
Remove redundant check
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
369a04ba95
Add acceptance test for number of opens
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
deb6b9315e
Add new segment to data mapper
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
38f8f1d23f
Add new segment properties to calculator
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
860444c246
Add new segment to filter handler
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c1a51d8be4
Add filter class
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
f6692633df
Add validation
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
0bffa09c40
Add days sentence to component
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
c759193b93
Save number input
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
66ab3e839d
Make component translation friendly
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
5ba5edb668
Add number of opens input
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
6a2bf8dcad
Add operator field
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
40ea2f39af
Add a component for # of opens
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
d9ae9cc647
Refactor emails segments into separate components
...
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Jan Lysý
dbbe0266ec
Calculate batch size for import custom fields
...
[MAILPOET-3570]
2021-04-19 12:44:43 +02:00
Ján Mikláš
022b00b0e3
Use components in segment form rendered
...
MAILPOET-3569
2021-04-19 12:14:17 +02:00
Ján Mikláš
9c17d71173
Remove unnecessary styles
...
MAILPOET-3569
2021-04-19 12:14:17 +02:00
Ján Mikláš
e4ab8375bc
Remove double borders from selects in segment form
...
MAILPOET-3569
2021-04-19 12:14:17 +02:00
Ján Mikláš
a6124b7e71
Add automationId for react select component
...
MAILPOET-3569
2021-04-19 12:14:17 +02:00
Pavel Dohnal
9bca7cc169
Prevent breaking woocommerce in hooks
...
[MAILPOET-3563]
2021-04-19 11:59:19 +02:00
Rostislav Wolny
da42a0e5af
Simplify Woo Segment update name methods
...
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Rostislav Wolny
53cb51b5dd
Update customer names on checkout using order/user data
...
This change replaces slow SQL queries used for updating customer names
with modification of those names using loaded data and subscriber model.
[MAILPOET-3565]
2021-04-19 09:37:26 +02:00
Ján Mikláš
f8b930632d
Bump "Tested up to" version to 5.7
...
[MAILPOET-3567]
2021-04-19 09:23:41 +02:00
Rodrigo Primo
8b8578d2ca
Error messages for product and category segments were inverted
...
Users creating a product based WooCommerce segment without specifying a
product were getting an error message asking them to select a category,
and the inverse was happening for users creating a category based
WooCommerce segment. This commit simply makes sure the proper error
message is displayed.
[MAILPOET-3561]
2021-04-19 09:21:23 +02:00
Pavel Dohnal
65c9bad64c
Fix pre-selecting date value
...
[MAILPOET-3470]
2021-04-15 15:47:57 +02:00
Pavel Dohnal
4a10646814
Trim settings values before saving
...
[MAILPOET-3480]
2021-04-14 17:04:33 +02:00
Jan Lysý
a79ec038d1
Release 3.60.8
2021-04-14 12:49:46 +02:00