Commit Graph

20468 Commits

Author SHA1 Message Date
0655efb686 Implement delete action for legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
a6c3da174c Implement restore action for legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
9a5bad5e78 Implement trash action for legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
94c895d1ac Add link to legacy automatic emails analytics
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
f7f7598591 Add link to edit legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
d427b128f4 Load legacy automatic emails on listing page
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
d315e1a11f Add legacy automatic emails to automation listing store
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
abe7c0e49c Add notice about legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
4e1200e887 Sort email types and mark legacy ones
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
c041eeeb00 Add automations info tooltip
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
4ffc311698 Remove WooCommerce email customizer from new email screen
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
0aa144344e Remove legacy WooCommerce emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
12f7dc2321 Replace welcome email card with automations
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
677e39ad47 Remove welcome and WooCommerce emails from listing
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
6b4cc6236c Release 4.41.1 2024-01-10 13:48:19 +02:00
ab296401b2 Allow verification of partially verified Sender domains
[MAILPOET-5817]
2024-01-10 02:47:40 +05:00
0eb531f675 Fix comment fields test
Adding a WpPostEntity caused a side effect that the cleanup extension
for integration tests started processing also the post table
and removed the post the test was relying on.

This commit fixes the issue by creating the post for the test within the test.

[MAILPOET-5813]
2024-01-08 11:33:18 -06:00
4689e3f25b Update TablePrefixMetadataFactoryTest to work with multisite configuration
[MAILPOET-5813]
2024-01-08 11:33:18 -06:00
9c87ec233f Add comment about numeric values in BlocksWidthPreprocessor
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
b2c17fcdf4 Fix formatting and add return type hints to buttons related tests
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
6368496de1 Render font size on button instead of buttons wrapper
Font size on the wrapper was causing whitespace below the buttons block.
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
7cbc130893 Pass default font-size in email attrs in TypographyPreprocessor
It is convenient to always know font-size in nested blocks so that we don't
have to read it from the settings controller.
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
0e10e6ed24 Use isset instead ?? operator in button renderer
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
9522a55460 Apply font color from the preprocessor in the button block
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
327a23ca81 Improve typography preprocessor to distribute font color from theme.json
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
9b05e46690 Use theme.json defined background in renderer
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
ae170dcd05 Use theme.json defined base colors in editor
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
280ad2e159 Add base text and background color to theme.json
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
16da082c42 Add schema to email editor theme.json
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
70273c626d Add Button renderer test
This commit adds a button renderer test and fixes a couple of issues
found when working on the test
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
8054088852 Unify styles processing in button renderer with other blocks
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
7329826d39 Skip rendering of empty buttons
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
becb5243d5 Remove witdh:100% from columns wrapper
This was causing incorrect width in cases when $layoutPaddingLeft
and $layoutPaddingRight were set. Box-sizing doesn't have proper
support in clients, so I tried to fix it by removing 100% of the width.
According to tests in AcidEmail, this shouldn't break anything.

This was introduced when we added full-width alignment.
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
c5ad2405aa Add Flex Renderer test
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
820af6454b Extract flex layout rendering functionality to an extra class
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
486f497290 Apply text-decoration in the button renderer from preprocessor
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
b626252b39 Add support for text decoration to typography preprocessor 2024-01-08 09:21:16 +01:00
94ede00d8b Override default button border-radius
The default button radius is usually defined in theme.json.
The default from the core is 9999px, which is not convenient for email
renderer.

[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
6fcb706750 Split button and buttons hooks into two files
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
9d35863fd0 Render buttons with borders with the correct width
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
9806225f87 Add width and height to the image, select editor modal
This fixes the issue that the modal resizes after the image is loaded.
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
1b0e256fb8 Add block toolbar controls for flex email layout
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
2032370f03 Add default core editor styles
We accidentally removed them when adding layout styles.
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
d5250cf8b8 Disallow button block being inserted directly to a column
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
499db0034c Remove forgotten bdumps from image block
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
a359c1e392 Improve font styles rendering in button
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
bfa7b509cc Add buttons block rendering
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
4dd273b429 Add reduced flex layout for buttons block
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
9cf624aca0 Remove unnecessary eslint ignore from image and column hooks
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
ca163b77f5 Disable styles selection for button block
As for now, we can't support preset styles for buttons as they
don't update block attributes we read in renderer
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00