Commit Graph

20455 Commits

Author SHA1 Message Date
John Oleksowicz
79c778a889 Update forms listing to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
9a3cf61a7f Update form editor to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
9f6d832682 Update experimental features to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
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
Jan Lysý
103fd665d2 Get allowed blocks for core/column from editor config
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
ec83cad532 Refactor blocks initialization
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
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
Jan Lysý
6e1a08d60b Fix typo in a method name
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
37c22fe9bc Fix WordPress hooks usage in editor.tsx
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
3cb9891235 Add integration Paragraph test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
6cadd1273a Add integration Column test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
180f06f1a8 Update integration Columns test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
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
Jan Lysý
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
Jan Lysý
2ce6fd8688 Remove BlocksRenderer and fix tests
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
2b0d1ea5c1 Update unit test after updating codeception/verify
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
c2cb18ef37 Use render_block_* hooks for rendering changed blocks
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
4f9e3723c9 Implement rendering column, columns and paragraph
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
c75cc5e286 Fix mobile preview for columns
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
91094fad7c Use layoutStyles in email editor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
0ac72d43e6 Merge StylesController to SettingsController
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
1626cf2ad9 Add TypographyPreprocessor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
5946884cb2 Refactor email content styles from string to array
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
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
Jan Lysý
ac075c197e Add filter for disabling nested columns
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
41c0f1e9d8 Fix Renderer integration test
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
2b69acf0d5 Add preprocessor for calculating block width
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
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
Jan Lysý
fe5eabfe49 Add Preprocessor for removing unwanted blocks
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
c1768fd0b2 Refactor Preprocessor to more classes
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
125b0dfe82 Add email layout padding
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
David Remer
b204787646 Use plural in keyword
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
4b2a63e8d6 Use - instead of _ in field keys
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
4ae2353fa8 Add 'Clicked a link in an email'-trigger stub
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
042daf934e Add NewsletterLinkSubject
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
df16cc717b Add action when subscriber follows link
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
Rodrigo Primo
f5c7e71850 Release 4.35.1 2023-11-07 10:23:47 -06:00
David Remer
5d525de247 Filter taxonomies for only \WP_Taxonomy types
[MAILPOET-5704]
2023-11-07 11:40:17 +01:00
David Remer
5f92e70442 Add cancelled, created and completed to order trigger keywords
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
4a15751d7a Add comment to explain why we just return true
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
ae0e952159 Use the correct WordPress wrapper
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
1d885ea238 Add order created|cancelled|completed triggers
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
d4ea49d09a Move OrderStatusChangeTrigger into own namespace
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
dependabot[bot]
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
John Oleksowicz
d0e6904d68 Restore <br/> to getCanNotSendError message
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
9f3cdab725 Update tests
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
e6365e2cde Add rel="noreferrer" for consistency
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
ace7d600e5 Update pending approval message on send page
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
8bb8e291eb Extract pending approval components
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
c775a3abd2 Update pending approval message in email preview
MAILPOET-5631
2023-11-02 18:15:55 +01:00