Commit Graph

21722 Commits

Author SHA1 Message Date
John Oleksowicz
ace78b52be Update settings to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
e4a5e25e82 Update static segments (lists) to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
6d58158ea9 Update dynamic segments to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
f75ed162d5 Update newsletters app to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
c53409d5f7 Update listing cron status to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
89136f9a24 Update newsletter editor to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
0e25b96067 Update coupon block to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
a706f3ffd5 Update logs page to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
831047cd43 Update landing page to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
55fc649455 Update form editor templates to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
bd1b45a2b6 Update automations listing to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
8911044808 Update automation templates to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
4af7eab295 Update automation analytics to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
c9e4bf57ae Update automation editor to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
b474833a8c Update homepage to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
6386032e12 Update help page to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
John Oleksowicz
66fc06375a Update sending paused notices to use createRoot
MAILPOET-5120
2023-11-09 14:42:08 +01:00
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