Commit Graph

20446 Commits

Author SHA1 Message Date
Rodrigo Primo
41bed445e7 Update store name now that it is used for the whole dynamic segments app
Before it was used just for the page to edit dynamic segments.

[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
f6d7459098 Create @wordpress/data store when loading the dynamic segments app
This commit changes the point where we create the @wordpress/data store
for the dynamic segments app. Before, the store was created only when
the segment editor was loaded. Now it is created for the whole dynamic
segments app. We will use the same store for the dynamic segments
template page.

[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
631431479b Implement filters for the templates
Also comment out templates that can't be implemented at the moment due
to missing filters that will be created in the future.

[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
c1cc6c0c53 Display the name of the categories instead of the slug
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
3f880973e6 Hide the search control from the segment template page
Search will be implemented on a separate ticket ([MAILPOET-5399]).

[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
f99e23543d Make the tabs work on the segment templates page
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
2ccf0ca073 Adjust the CSS of the segment template card
This commit makes some adjustments to the segment templates card after
introducing templates with longer descriptions in the previous commit.

[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Rodrigo Primo
806961208b Add list of segment templates
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
Jan Lysý
5a9d8f3372 Add creating lang directories if are missing
[MAILPOET-4891]
2023-09-14 21:03:08 +02:00
Jan Lysý
5ee1cc6696 Add test for recovering newsletter from invalid sending state
[MAILPOET-4891]
2023-09-14 21:03:08 +02:00
Jan Lysý
998a1ef1f0 Add method for sending recovery from an invalid state
[MAILPOET-4891]
2023-09-14 21:03:08 +02:00
 Ján Mikláš
12ce837961 Fix excessive spacing introduced in #6fdb124
[MAILPOET-5297]
2023-09-14 00:01:42 +02:00
 Ján Mikláš
4d60dd12aa Make sure flex columns in form editor occupy the whole width of the row
[MAILPOET-3883]
2023-09-13 23:31:26 +02:00
David Remer
c271a1f11a Remove outdated todo comment
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
David Remer
330d747f36 Add test for AbandonedCartTrigger
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
David Remer
ff78c0907d Add AbandonedCart trigger
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
David Remer
3908f58a42 update automatewoo and fix wc version 2023-09-13 13:02:33 +02:00
Brezo Cordero
31924cf35c Release 4.27.0 2023-09-12 09:13:55 -05:00
John Oleksowicz
ec7a675c7a Add tooltip to 'in the last days' input
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
2b3096bb60 Use reusable copy button for system info
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
9943028c07 Add copy to clipboard buttons for shortcode generators
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
c72724a8ae Add reusable CopyToClipboardButton component
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
c91dfbfea8 Extract copy to clipboard into util
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
0e770ed649 Use CarbonImmutable instead of Carbon
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
000cb5e6d5 Add limit to mailpoet_archive shortcode
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
5797142895 Update shortcode generator to support new options
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
aa480a8c66 Add ability to display last n days of newsletters
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
ec71b44648 Add ability to filter mailpoet_archive by subject
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
a0c1a137d6 Update mailpoet_archive to accept date params
MAILPOET-5574
2023-09-11 13:49:57 +02:00
David Remer
84faac8257 Apply revenue_status in subscriber stats
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
71453f0c14 Switch double quotes with single quotes
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
c487576e18 Track refunds
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
22fee7a571 Test refunds are tracked
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
ab694414e3 Extract tracking of existing statistic in own method
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
9991ba546a Separate migration app and db logic
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
08877861ef Test event option is added correctly to the tracker
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
05b45173d6 Add event option to tracking
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
2f1885e99b Test tracker only returns revenues from completed orders
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
ad8a1b8a91 Test only real revenue is returned
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
12028056db Add test that revenue status is updated correctly
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
7ac2065b1a Track purchases regardless of status but return revenue status correctly
When we apply this commit every purchase will be tracked. When the shop manager updates an order
the status will be updated. For the statistics it will only return values for purchases with
the 'completed' status

[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
bba7786e7e Store current order status in revenue statistics
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
2e85a5b624 Extract receiving the click from date to private method
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
317fdee2b6 Use getPurchaseStates helper method for past orders
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
7a2ddd0053 Track only completed orders
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
73f669a656 Listen to all status changes
This commit listens to all status changes but does not
alter the business logic as of yet.

[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
30eafb9146 Extract purchase states to helper method
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
Jan Lysý
2ebad5f7fb Add new filter for hidding DocsBot widget
[MAILPOET-5559]
2023-09-11 11:29:55 +02:00
Jan Lysý
b63d6aa336 Update 3rd party description's settings
[MAILPOET-5557]
2023-09-11 10:23:23 +02:00
Jan Lysý
d67d92a14c Add stopping propagation for DocsBot to avoid conclict on WP.com
[MAILPOET-5566]
2023-09-07 15:03:29 +02:00