Commit Graph

26 Commits

Author SHA1 Message Date
a49b978050 Remove usage of hardcoded mailpoet_email string from the JS package
MAILPOET-6430
2025-01-30 13:12:33 +01:00
9a2502826f Add hideRecentCategory to useEffect hook dependency array
MAILPOET-6430
2025-01-30 13:12:33 +01:00
1b565bf430 Hide recent email categories when swapping a template
[MAILPOET-6425]
2025-01-23 13:53:42 +01:00
0a02295c1e Show heading by template select mode in the template select modal
[MAILPOET-6425]
2025-01-23 13:53:42 +01:00
92e9642e1f Fix and workaround woocommerce/dependency-group errors
[MAILPOET-6438]
2025-01-17 11:35:49 +01:00
ad83043084 Ensure we send only the required template information
MAILPOET-6365
2025-01-09 19:33:22 +01:00
34a8625318 Add event tracking for template select modal
MAILPOET-6365
2025-01-09 19:33:22 +01:00
09747dd98a Update start from scratch and close to use the first template + pattern
[MAILPOET-6334]
2024-12-31 14:09:12 +01:00
bc10ae7216 Cleanup JS code from styles - template association
[MAILPOET-6335]
2024-12-17 10:36:39 +01:00
08ba9b1da9 Fix acceptance test
MAILPOET-5949
2024-12-09 17:06:48 +01:00
36130c9809 Ensure "Start from scratch" button sticks to the end of the modal
MAILPOET-5949
2024-12-09 17:06:48 +01:00
a80a6bf5c5 Refactor SelectTemplateBody and use memo and useEffect when required to improve render performance
MAILPOET-5949
2024-12-09 17:06:48 +01:00
bc0ce09d61 Add support for email-general and email-simple templates
The previous implementation only checks for email-general templates

MAILPOET-5949
2024-12-09 17:06:48 +01:00
fb5166ab7c Fix an edge case where it might be possible for email content to have similar post-slug
MAILPOET-5949
2024-12-09 17:06:48 +01:00
16e4346d07 Fix using sent email post content as new email editor page template
MAILPOET-5949
2024-12-09 17:06:48 +01:00
651e80b8f0 Fetch emailPosts for use in template selection modal
MAILPOET-5949
2024-12-09 17:06:48 +01:00
fbf4272e0e Update email editor acceptance test
MAILPOET-6331
2024-12-09 10:30:42 +01:00
8b1f7c9a88 Fix lint style errors
MAILPOET-6331
2024-12-09 10:30:42 +01:00
cb091e0dc6 Add support for basic tab navigation when selecting template
MAILPOET-6331
2024-12-09 10:30:42 +01:00
5743ccbc5f Separate SelectTemplateModal into smaller components
MAILPOET-6331
2024-12-09 10:30:42 +01:00
10b2c2b648 Use current email content when previewing templates when swapping
[MAILPOET-6336]
2024-12-06 12:21:19 +01:00
1fdda485d3 Add basic swap template functionality
[MAILPOET-6336]
2024-12-06 12:21:19 +01:00
98bc96b1b8 Add loading state and remove custom button position.
Based on PR feedback https://github.com/mailpoet/mailpoet/pull/5972#issuecomment-2516596159, The Email editor cannot work without a template. So, we currently don't need to set up workflow to support template not loading

MAILPOET-6331
2024-12-04 13:29:00 +01:00
abf03d6cc7 Update "Start from scratch" button styles when no template is registered
MAILPOET-6333
2024-12-04 13:29:00 +01:00
46c8ae94bc Add "Start from scratch" to the template selector
MAILPOET-6333
2024-12-04 13:29:00 +01:00
1c3ea9cd0a Move email editor components out of the engine folder
MAILPOET-6215
2024-11-11 11:53:49 +02:00