Jan Lysý
d2d0afa9f5
Add better handling of a failed ajax request
...
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
1333b33d42
Use ajax call for the premium plugin activation in the premium banner
...
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
1053f062e3
Change info notice to success notice
...
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
947b788bb6
Refactor premium banner to tsx
...
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
ed26cb8962
Improve rendering premium banner when premium plugin is downloaded or inactive
...
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
7d6e69e639
Add notice when premium features for key are available
...
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Veljko
1e33574c76
Release 4.22.2
2023-08-03 01:44:39 +03:00
John Oleksowicz
27e346eed0
Fetch action directly from filter data
...
This fixes an issue where pre-existing subscribedDate filters were
causing errors because they didn't have an `action` stored in their
serialized data.
It was never necessary to store the action redundantly in the serialized
filter data in the first place, so we're now fetching the action
directly from the filter data entity itself.
MAILPOET-5500
2023-08-02 22:46:18 +02:00
alex-mailpoet
bf8e1e1b0c
Release 4.22.1
2023-08-01 17:01:48 +03:00
Rostislav Wolny
e2dc6855a8
Fix logCurlInformation causing error when called with one parameter
...
[MAILPOET-5493]
2023-07-31 14:22:03 +02:00
Jan Lysý
20152569dd
Use the Flex component in the form template header
...
For better consistency with automation and clearer design, I replaced the header div element with the Flex component.
[MAILPOET-5376]
2023-07-31 12:28:46 +02:00
Jan Lysý
88e10be66d
Add footer to form template selection
...
[MAILPOET-5376]
2023-07-31 12:28:46 +02:00
Jan Lysý
be1595862c
Use @wordpress/i18n for form template selection
...
[MAILPOET-5376]
2023-07-31 12:28:46 +02:00
Jan Lysý
3a5f2624c8
Unify form template selection header with automation
...
I used WordPress components when it was possible and changed used block from container to content.
[MAILPOET-5376]
2023-07-31 12:28:46 +02:00
Jan Jakes
44d869af70
Simplify automation run data factory
2023-07-31 09:44:56 +02:00
Jan Jakes
7b4e862014
Simplify delta counts
2023-07-31 09:44:56 +02:00
David Remer
f048a43026
Ensure state of model does not spill over
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
7092b5713e
Invent values if no orders found
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
1c56c3d87b
Enable negative growth in WooCommerce delta
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
0aaf0f335e
Return early when no emails found
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
5ead6a5b39
Remove unused variable
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
6d94cf6c16
Add Acceptance test
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
1c370f6136
Allow to alter created at date
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
d4dc3bb301
Show decrease as a negative value
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
963ecdb3b5
Allow for adding multiple queues and created_at alteration
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
f81b75a0a8
Add withSendEmailStep method
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
7cec3233fc
Add AutomationRun factory
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
8bd03b7a10
Add method to delete an automation run
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
ecf4d9cfdb
Make StepSeparator individual selectable
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
635d4d33d5
Load and show order related data only when WooCommerce is active
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
John Oleksowicz
f0fd089b9c
Fix state update during render in DaysPeriodField
...
Moved state update in DaysPeriodField from render phase to useEffect to
adhere to React's rules of Hooks.
This change resolves the warning of a state update in
WordpressRoleFields during the rendering of DaysPeriodField.
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
8ab1df5ffa
Extract timeframe strings to an enum
...
This introduces a new helper to check if some value exists in an enum. I
was running into an issue where I couldn't check for Object.values
(Timeframes).includes(segment.filter) because segments.filter is a
string and isn't assignable to Timeframes. I've run into this issue
before so I thought it would be nice to add a helper function.
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
5eeee574b2
Extract strings to constants
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
feb0297fb9
Implement lifetime option for total spent
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
d04c84d6d4
Implement lifetime option for number of orders
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
64094387eb
Implement lifetime option for average spent filter
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
14a2603ac3
Implement lifetime option for email opens
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
25a4515ebb
Default days to 0 for allTime timeframe
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
0e6c885ad1
Ensure filter mapper always includes timeframe
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
2d4967b64c
Add lifetime option to days period react component
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
Veljko
2d3a8fadf7
Include scenario to cover issue we had in the past
...
[MAILPOET-5334]
2023-07-27 13:34:18 +02:00
Veljko
9f9b2c6dab
Add scenario multiple lists
...
[MAILPOET-5334]
2023-07-27 13:34:18 +02:00
Jan Lysý
872bd80224
Update 3rd party label and note in the welcome wizard
...
[MAILPOET-5375]
2023-07-26 15:44:35 +02:00
Jan Lysý
3607dd9d71
Use @wordpress/i18n in the welcome wizard
...
Welcome Wizard was prepared for using WP translations, so I decided to use them because I am going to change some translations.
[MAILPOET-5375]
2023-07-26 15:44:35 +02:00
Jan Lysý
2d5e93ffb8
Refactor usage tracking step component to tsx
...
[MAILPOET-5375]
2023-07-26 15:44:35 +02:00
Rostislav Wolny
33e7e2d5f1
Fix typos in migration levels related strings
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
acd5846f70
Change migration level constants to lowercase
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
ba728c5612
Use phpstan type alias for migration types
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
871d9fd9f8
Small code and php doc enhancements in MailPoet/Migrator
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
725d81077f
Add check for duplicate migrations names when loading migrations
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00