ef42cf39f1
Reorder props & getters and polish automation run log
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
dd881d8b33
Extract logging logic to a service, make logs mutable
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
43c396220b
Move all of step handler args checks to top-level handler, improve readability
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
9cd871c32e
Remove unused step runner interface
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
d8afb42d89
Fix inconsistency between automation run and run log statuses
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
d7addd8e55
Add migration to fix and add more automation log data
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
d730083d22
Fix unintended "ON UPDATE current_timestamp()" on some timestamp columns
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
fb63b40475
Fix namespaces of generated migrations
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
e2cf884b98
Add missing ContainerWrapper return type, fix reported errors
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
e343c9201a
Use step run controller in delay action
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
e5550ffead
Add the possibility to schedule another run of the same step (progress)
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
eeb4d64e8b
Pass step run controller to automation actions
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
9d4f55b399
Add step run controller to allow actions control their flow
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
5f088d2c35
Add step run number to step run args
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
e3da509f70
Move automation completion to step scheduler
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
b7ef250511
Refactor next step scheduling to a StepScheduler service
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
32121e57ee
Release 4.28.0
2023-09-19 11:39:55 +01:00
00b33c2825
Change the length of the random string appended to segments
...
This commit changes the length of the random string appended to segments
created from a template when a segment with the same name already
exists. Before the length was 12 and now it is 5. We don't need a very
long random string in this case, and the shorter the string the less
ugly it is.
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
81aeb16ae2
Back button in the segment editor returns to the previous page
...
This commit changes the "Back" button in the segment editor to return
the browser to the previous page (either the segment listing or the
segment templates page). Before, the button always returned to the
listing page.
If there is not previous page set (the user opened the editor directly),
the button returns the browser to the listing page.
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
91613a7355
Fix issue with the border of the template cards
...
The border of the template cards was "jumping" 1px with the hover state.
This was happening because I failed to noticed that the <Card> component
uses `box-shadow: 0 0 0 1px rgba(0, 0, 0, .1)` for the border instead of
using the `border` CSS property. So the `border` that I had added to
.mailpoet-templates-card and .mailpoet-templates-card:hover was creating
this "jumping" effect.
To fix this problem, I opted to use `box-shadow` to create the border
when with the hover state.
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
a66744e0ee
Simplify logic to create segments from templates
...
Based on feedback during PR review: https://github.com/mailpoet/mailpoet/pull/5145#discussion_r1319964298
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
813f5e6d33
Create store outside the rendering body of a component
...
Doing this to avoid calling createStore() multiple times.
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
cc587fcb69
Add basic acceptance test covering creating segment from template
...
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
aecc3440cf
Update acceptance tests to consider new segment templates page
...
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
2e8cc6a7ef
"New segment" link points to templates page
...
This commit changes the "New segment" link in the segments listing page
to point to the segment templates page instead of the form to create a
new segment.
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
f806b3362c
Add a random string when creating a segment if the name already exists
...
This ensures that it is possible to create multiple segments from the
same template.
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
dba4ba4dfc
Add code to create segment from template
...
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
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
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
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
c1cc6c0c53
Display the name of the categories instead of the slug
...
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
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
f99e23543d
Make the tabs work on the segment templates page
...
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
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
806961208b
Add list of segment templates
...
[MAILPOET-5394]
2023-09-18 14:43:49 +02:00
5a9d8f3372
Add creating lang directories if are missing
...
[MAILPOET-4891]
2023-09-14 21:03:08 +02:00
5ee1cc6696
Add test for recovering newsletter from invalid sending state
...
[MAILPOET-4891]
2023-09-14 21:03:08 +02:00
998a1ef1f0
Add method for sending recovery from an invalid state
...
[MAILPOET-4891]
2023-09-14 21:03:08 +02:00
12ce837961
Fix excessive spacing introduced in #6fdb124
...
[MAILPOET-5297]
2023-09-14 00:01:42 +02:00
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
c271a1f11a
Remove outdated todo comment
...
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
330d747f36
Add test for AbandonedCartTrigger
...
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
ff78c0907d
Add AbandonedCart trigger
...
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
3908f58a42
update automatewoo and fix wc version
2023-09-13 13:02:33 +02:00
31924cf35c
Release 4.27.0
2023-09-12 09:13:55 -05:00
ec7a675c7a
Add tooltip to 'in the last days' input
...
MAILPOET-5574
2023-09-11 13:49:57 +02:00
2b3096bb60
Use reusable copy button for system info
...
MAILPOET-5574
2023-09-11 13:49:57 +02:00
9943028c07
Add copy to clipboard buttons for shortcode generators
...
MAILPOET-5574
2023-09-11 13:49:57 +02:00
c72724a8ae
Add reusable CopyToClipboardButton component
...
MAILPOET-5574
2023-09-11 13:49:57 +02:00
c91dfbfea8
Extract copy to clipboard into util
...
MAILPOET-5574
2023-09-11 13:49:57 +02:00