John Oleksowicz
d248a7197e
Improve display of stat summaries
...
MAILPOET-5508
2023-08-31 13:17:34 +02:00
John Oleksowicz
3b7c23262f
Display subscriber stats for different time periods
...
MAILPOET-5508
2023-08-31 13:17:34 +02:00
John Oleksowicz
06df45bb55
Refactor subscriber stats to accept startTime param
...
MAILPOET-5508
2023-08-31 13:17:34 +02:00
David Remer
fad0880436
Dynamically add user name and email when not yet populated
...
[MAILPOET-5550]
2023-08-30 12:53:11 +02:00
Veljko
04a47f6106
Uncomment the test
2023-08-30 09:09:44 +02:00
Veljko
a87e4a0954
Fix flakiness in test when emptying segment
...
[MAILPOET-5556]
2023-08-30 09:09:44 +02:00
Rodrigo Primo
f099a42dc2
Release 4.26.0
2023-08-29 09:34:22 -03:00
Veljko
20f50de09a
Update test with more checks
...
[MAILPOET-2687]
2023-08-29 09:43:46 +02:00
Veljko
04bd4b6fd1
Update selector for writing inside page editor
2023-08-29 09:43:46 +02:00
Veljko
6c11743d2a
Change type to fillField leftover issue
2023-08-29 09:43:46 +02:00
Veljko
310e659916
Update method name and update test
...
[MAILPOET-2687]
2023-08-29 09:43:46 +02:00
Veljko
68e194d794
Add new test adding Gutenberg MP form
...
[MAILPOET-2687]
2023-08-29 09:43:46 +02:00
Jan Jakes
c8ee4d5532
Use WP filter default rather than explicitly checking for "isPremiumActive"
...
The issue is explained here: https://mailpoet.atlassian.net/browse/MAILPOET-5545
[MAILPOET-5545]
2023-08-28 11:55:13 +02:00
Jan Jakes
3bbd2d1c85
Select latest non-deleted schedule tasks when rescheduling
...
[MAILPOET-5543]
2023-08-28 11:41:17 +02:00
Rostislav Wolny
dcdd1c8cdb
Fix checking hooks registered using a class name in assets cleaner
...
The code was not expecting that the filter callback could be defined with a class name as a string.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
6b0b8f3b98
Add README.md for email editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
19d1bb4146
Add description to EmailEditor::registerEmailPostTypes
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
68e833f80c
Refactor email editor PHP and JS code to follow automations namespacing
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
d8eb1a44b2
Adjust Gutenberg email editor test for iframed editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
ce6a5a6a66
Do not save newsletter templates when for Gutenberg emails
...
This will be disabled to prevent saving empty templates.
We will decide how/if we support templates in the future.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
d24377fa15
Fix issue with saving session in acceptance tests for newer chrome versions
...
Using /dev/shm:/dev/shm as volume was not working when using a newer chrome
version on MAC.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
0585dd97ea
Prevent displaying post editor welcome guide
...
This is rather an edge case when users open the email editor
before they have opened the post editor.
It also happens in acceptance tests.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
ffb644a936
Add acceptance test for sending newsletter created in Gutenberg editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
5abc308f40
Highlight correct submenu item when editing email
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
589b18823f
Hardcode email width in the editor
...
This commit sets editor are width to 660px (based on the old editor).
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
ca8ff6fa49
Add loading animation to the next button
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
faf8ab6def
Refactor Next button in email editor into a component
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
5dd0fb71ae
Introduce core directory in the email editor assets
...
The directory will be used for components and other JS assets that are meant for
the code that is intended to be part of possible future email editor package
that could be used in different projects.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
b88ce3fb1d
Save email draft on click to next
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
3f166ac3a4
Refactor assets cleanup to an extra class
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
cb4c904cda
Temporarily disable patterns
...
We will reintroduce block patterns post MVP.
We may want to filter or add patterns.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
2739c53e56
Add hook for modifying editor settings
...
We will need to disable/change various editor settings.
This will be done in this method or via filter in the integration code.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
3003e7594f
Temporarily skip validation of email created via Gutenberg
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
e260fb71e8
Add cleanup for registered block editor assets
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
4f713ab38a
Add modal for selecting email editor for standard newsletter
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
c7bbcb0424
Rename send button to next button
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
fc2bbda9a2
Add dummy email body renderer for new editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
ba23b5f224
Refactor email body rendering into a separate class
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
72f2498c32
Update go back to design page link on send page for new editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
03cf24de41
Disable email content validation on send page for new editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
d845414e4c
Open standard emails created in the new editor in the new editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
d9cce538a0
Add CSS for hiding publish button and enqueue CSS file for loading
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
3089fdeb30
Update WebPack config for email editor to be based on @wordpress/scripts config
...
This brings us closer to how Gutenberg packages are build
and we can start writing CSS the same way as they are used in Gutenberg.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
fea40076e6
Fetch MailPoet email data in editor and use id for redirect to send page
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
fabdf6f4c5
Add EmailApiController that adds MailPoet specific data to post api
...
When loading an email post in the editor we need to attach MailPoet
specific data like associated newsletter entity id, email type etc.
This is done using register_rest_field function.
So far we only send the associated entity ID but there is also a method `saveEmailData` that will
be used to save MailPoet specific email data.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
db7010ab6f
Add custom send button next to publish button
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
b0d5083718
Setup JS assets entry point and build for the email editor
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
61d6e41fc7
Duplicate associated post when duplicating newsletter
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
3ff4ba0c86
Delete WP Posts when deleting Newsletter Entities
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
e6e20e3159
Save association to WP post with newsletter
...
This commit adds a simple implementation of ensuring the mailpoet_email post type
has associated NewsletterEntity.
In the future we will need to add support also for saving additional data for
newsletters (subject, sending settings).
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00