Commit Graph

3718 Commits

Author SHA1 Message Date
Pavel Dohnal
2ca0ff1a32 Make sure the default value is on when switching between operators
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
a6a38b659c Add days
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
704be5da3d Remove default value
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
8b447e9904 Improve subscriber validation
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
4fee8617d2 Make form disabled until it is valid
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
40d5b2ed96 Add subscribed dates validation
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
84356a2b96 Add subscribed dates fileds
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
dd4895f6df Add component for subscribed date
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
e94aeeb3f8 Make naming better
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
11acc61461 Add subscriber date to selection list
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Pavel Dohnal
88f76c19b9 Refactor file into two seprarate files
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Rostislav Wolny
7ac92173c4 Remove anchor inputs from paragraph and image blocks
[MAILPOET-3527]
2021-05-03 14:04:07 +02:00
Rostislav Wolny
001d72f2d5 Add type check for posts loaded from WP api
[MAILPOET-3527]
2021-05-03 14:04:07 +02:00
Rostislav Wolny
3d6c46576d Fix typography settings and re-enable line height
[MAILPOET-3527]
2021-05-03 14:04:07 +02:00
Rostislav Wolny
c93222da99 Fix form editor proptypes warning on submit button
[MAILPOET-3527]
2021-05-03 14:04:07 +02:00
Rostislav Wolny
be7437ed5c Add clicked any link option into segments form
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Rostislav Wolny
df8f1e73d0 Refactor email segment options to use constants
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Rostislav Wolny
632c225721 Fix flaky ManageSegmentsCest::bulkTrashRestoreAndDeleteSegments
[MAILPOET-3584]
2021-04-28 11:09:24 +02:00
Pavel Dohnal
9eeeb10415 Add a button for recalculating score
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
74f9505772 Add score to stats page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
8e1103465e Add a link to stats
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
93313edaaf Display badges in the subscribers listings
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
3f91c40594 Round score to 1 decimal instead of 0
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
a2c1b4f8bc Display subscribers score on the listings page
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
e421a68a22 Unify translations for a new dynamic segment
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
7e2a5c9935 Use enum instead of hardcoded string
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
d471e19f92 Use the currency symbol from WC instead of string
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Jan Lysý
3f23e3e4ef Add option WC total spent into segment form
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
Pavel Dohnal
2e236d98e0 Add knowledge base ids
[MAILPOET-3526]
2021-04-22 10:31:46 +02:00
Pavel Dohnal
6e1aaa1fa5 Add a suppression list reminder
[MAILPOET-3526]
2021-04-22 10:31:46 +02:00
Pavel Dohnal
cd3d38c9fd Add consent description to existing subscribers
[MAILPOET-3526]
2021-04-22 10:31:46 +02:00
Pavel Dohnal
99fb9f509b Refactor file to typescript
[MAILPOET-3526]
2021-04-22 10:31:46 +02:00
Pavel Dohnal
1361d2ed37 Add consent description
[MAILPOET-3526]
2021-04-22 10:31:46 +02:00
Pavel Dohnal
14368dd1c6 Refactor file to typescript
[MAILPOET-3526]
2021-04-22 10:31:46 +02:00
Rostislav Wolny
cf58a6367d Update Woo Subscribers component to reflect recent changes
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
8fd35a5541 Add WooCommerceSubscriptionFormItem to the FormItem enum
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
2e59a03e06 Add constants to Woo Subscriptions form component
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
01ef570c42 Add Woo Subscriptions segment acceptance test
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
85d0851909 Hide subscriptions segment options when the plugin is not active
[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
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
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
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
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