Commit Graph

22212 Commits

Author SHA1 Message Date
Jan Jakes
6e66bf1f4b Add tier to MailPoet object
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
9de62db7df Add number of required automation steps to templates
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
575ce3cc5c Move purchased templates to the free plugin
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
3a5f108e42 Change free-only templates to default
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Mike Jolley
21441ecc4a Update tests to match new template markup 2024-05-01 11:15:27 +01:00
Rostislav Wolny
f6c9308adc Fix mocks in FlexLayoutRendererTest
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
dd93d92a8e Fix issues caused by posts not being saved and CSS inliner change
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
0bbe31b005 Fix RendeterTest
Post is save to DB and asserts are updated for the new css inliner
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
1b13d041f1 Add a helper for creating posts in integration tests
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
143e1f9e30 Fix empty columns margin render 2024-05-01 11:15:27 +01:00
Rostislav Wolny
e6aef6f0a5 Update ContentRenderer:testItInlinesContentStyles test
This new inliner library adds a space between the rule and value
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
76c60aa5e0 Update BlocksRegistryTest
- testItAllowsToReplaceRendererViaFilter is no longer needed as we removed the filter
- testItRemovesAllBlockRenderers this responsibility was moved to ContentRenderer
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
3f3787ac4b Empty block does not appear in blank content—update test. 2024-05-01 11:15:27 +01:00
Mike Jolley
655302006e Fix union type for php7 2024-05-01 11:15:27 +01:00
Rostislav Wolny
d0f75213fe Slightly polished templates for the demo
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
064c9ae160 Disable send button in template mode or when there are unsaved changes
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
86498e6478 Nicer formatting of experimental templates panel
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
20d3fb2995 Move the save panel to the dropdown under the save button
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
ac78e63db6 Fix alignment is not applied in the template preview
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
3896365aac Fix canvas height and scrolling
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
91c19d3f55 Use correct template titles in template select modal
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
a3575638b1 Make email-general template blank
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
e284fa8710 Change header based on template edit context 2024-05-01 11:15:27 +01:00
Mike Jolley
f0a743a8e0 Correct the template name in the templates panel 2024-05-01 11:15:27 +01:00
Mike Jolley
1db80991c1 Add "revert template" function 2024-05-01 11:15:27 +01:00
Rostislav Wolny
d9859fe19f Add select template modal appearance
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
c2c14b96d8 Fix scrolling in canvas when editing email content
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
769cf307d2 Save email styles to template theme to template's post meta
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
923db5f598 Fix error with template editing state 2024-05-01 11:15:27 +01:00
Mike Jolley
1bd7c8dae0 Remove <PostLockedModal /> 2024-05-01 11:15:27 +01:00
Mike Jolley
b4cc170f5a Show global snackbars 2024-05-01 11:15:27 +01:00
Mike Jolley
e2f99d8795 Full height editor 2024-05-01 11:15:27 +01:00
Mike Jolley
a13997cede Hide editor with null template 2024-05-01 11:15:27 +01:00
Mike Jolley
7e24ac02ad Await template load before rendering editor 2024-05-01 11:15:27 +01:00
Rostislav Wolny
32a1cdacaa Load and apply styles from a template in the editor
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
53d65aace8 Reuse DefaultContent in save controller 2024-05-01 11:15:27 +01:00
Mike Jolley
d39e946e82 Consistent gaps for header/content 2024-05-01 11:15:27 +01:00
Mike Jolley
49c6ed084c Make template editor fill canvas 2024-05-01 11:15:27 +01:00
Rostislav Wolny
275ad1cb7a Add support for color.text in styles
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
c321eb282e Refactor renderers to use template JSON 2024-05-01 11:15:27 +01:00
Rostislav Wolny
73ba5923ef Allow saving background.coloro to mailpoet_email_theme
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
e8352d3dc8 Save template styles to mailpoet_email_theme
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
f2333cddf5 Fix fetching styles for template previews
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
ccad08822d Use mailpoet content pattern in template previews
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
7ba921018a Use the main background in the preview components in styles
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
3f68881478 Fix type issues after rebase
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
abc9e58c68 Pass template style settings to the client in the template response
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
7590576c09 Hide sidebar when clicking canvas 2024-05-01 11:15:27 +01:00
Mike Jolley
118c0edb72 Create pattern for default content 2024-05-01 11:15:27 +01:00
Rostislav Wolny
f2a2709582 Refactor templates fetching to a hook
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00