Commit Graph

20858 Commits

Author SHA1 Message Date
b474833a8c Update homepage to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
6386032e12 Update help page to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
66fc06375a Update sending paused notices to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
79c778a889 Update forms listing to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
9a3cf61a7f Update form editor to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
9f6d832682 Update experimental features to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
265a432de2 Force @wordpress/rich-text to use version 6.5.0
This should address a regression where the paragraph toolbar in the form
 editor (and maybe elsewhere) wasn't showing all of the expected options
  and wasn't working correctly when setting the font family.

The bug was introduced after running pnpm dedupe after updating
dependencies. I believe that changed the dependency of some
packages like woocommerce/components to use @wordpress/rich-text version
 6.16.0 instead of 6.5.0.

MAILPOET-5665
2023-11-09 11:38:32 +01:00
103fd665d2 Get allowed blocks for core/column from editor config
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
ec83cad532 Refactor blocks initialization
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
5644cab9e3 Refactor BlocksRegistry to pass dependencies as an argument
For better extensibility of 3rd party developers, I refactored to pass Settings Controller as an argument.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
6e1a08d60b Fix typo in a method name
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
37c22fe9bc Fix WordPress hooks usage in editor.tsx
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
3cb9891235 Add integration Paragraph test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
6cadd1273a Add integration Column test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
180f06f1a8 Update integration Columns test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
a0b57b3f3f Unify columns height
Because we prefer the identical height of core/column with different content lengths,
I used a wrapper layer that helps to solve it.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
5800830d71 Improve columns width calculation
Because there exist more variants when the column width is not defined, we needed to improve this behavior.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
2ce6fd8688 Remove BlocksRenderer and fix tests
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
2b0d1ea5c1 Update unit test after updating codeception/verify
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
c2cb18ef37 Use render_block_* hooks for rendering changed blocks
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
4f9e3723c9 Implement rendering column, columns and paragraph
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
c75cc5e286 Fix mobile preview for columns
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
91094fad7c Use layoutStyles in email editor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
0ac72d43e6 Merge StylesController to SettingsController
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
1626cf2ad9 Add TypographyPreprocessor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
5946884cb2 Refactor email content styles from string to array
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
1250d81670 Refactor BlocksWidth preprocessor to set string including units
I added pixels to calculated width for easier work with it in block rendering.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
ac075c197e Add filter for disabling nested columns
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
41c0f1e9d8 Fix Renderer integration test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
2b69acf0d5 Add preprocessor for calculating block width
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
62ea18f8be Fix email template header
Missing head tag caused an incorrect rendering in Gmail apps on mobiles.
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
fe5eabfe49 Add Preprocessor for removing unwanted blocks
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
c1768fd0b2 Refactor Preprocessor to more classes
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
125b0dfe82 Add email layout padding
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
b204787646 Use plural in keyword
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
4b2a63e8d6 Use - instead of _ in field keys
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
4ae2353fa8 Add 'Clicked a link in an email'-trigger stub
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
042daf934e Add NewsletterLinkSubject
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
df16cc717b Add action when subscriber follows link
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
f5c7e71850 Release 4.35.1 2023-11-07 10:23:47 -06:00
5d525de247 Filter taxonomies for only \WP_Taxonomy types
[MAILPOET-5704]
2023-11-07 11:40:17 +01:00
5f92e70442 Add cancelled, created and completed to order trigger keywords
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
4a15751d7a Add comment to explain why we just return true
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
ae0e952159 Use the correct WordPress wrapper
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
1d885ea238 Add order created|cancelled|completed triggers
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
d4ea49d09a Move OrderStatusChangeTrigger into own namespace
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
8ccff6e3e6 Bump tinymce from 6.3.1 to 6.7.1
Bumps [tinymce](https://github.com/tinymce/tinymce/tree/HEAD/modules/tinymce) from 6.3.1 to 6.7.1.
- [Changelog](https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/CHANGELOG.md)
- [Commits](https://github.com/tinymce/tinymce/commits/6.7.1/modules/tinymce)

---
updated-dependencies:
- dependency-name: tinymce
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 09:06:40 +01:00
d0e6904d68 Restore <br/> to getCanNotSendError message
MAILPOET-5631
2023-11-02 18:15:55 +01:00
9f3cdab725 Update tests
MAILPOET-5631
2023-11-02 18:15:55 +01:00
e6365e2cde Add rel="noreferrer" for consistency
MAILPOET-5631
2023-11-02 18:15:55 +01:00