Commit Graph

21402 Commits

Author SHA1 Message Date
2c43b23803 Update mailpoet/lib/AdminPages/Pages/EmailEditor.php
Co-authored-by: Jan Lysý <lysyjan@users.noreply.github.com>
2024-03-20 10:57:26 +01:00
bbd45a5f32 Remove script tags from wpAddInlineScript 2024-03-20 10:57:26 +01:00
fab5ff650d Fix syntax error after rebase 2024-03-20 10:57:26 +01:00
36c982a0d1 Correct indenting 2024-03-20 10:57:26 +01:00
9cbe58f95f Template no longer needed 2024-03-20 10:57:26 +01:00
2a830b9f68 Add globals for the premium modal 2024-03-20 10:57:26 +01:00
8f81f4a6b1 Use page renderer 2024-03-20 10:57:26 +01:00
a1b146a2ec Remove trailing comma 2024-03-20 10:57:26 +01:00
33cb92a779 Conditionally show footer 2024-03-20 10:57:26 +01:00
762b050e85 Alternative footer logo 2024-03-20 10:57:26 +01:00
30c6bc5ad1 Styling 2024-03-20 10:57:26 +01:00
3fdac58cfd Add image to CDN and canvas 2024-03-20 10:57:26 +01:00
72543d1971 Fix typo and add text-domain
[MAILPOET-5733]
2024-03-20 07:48:56 +01:00
4c3e6b8cb1 Release 4.47.0 2024-03-19 14:28:34 +01:00
74f239c372 Temporary switch to Woo 8.6.1
[MAILPOET-5955]
2024-03-18 17:12:05 +01:00
f1459c48cc Document ./do command 2024-03-18 17:00:49 +01:00
df50d9526b Document feature flags 2024-03-18 17:00:49 +01:00
60bf440bff Add check that updatedAt is set
[MAILPOET-5860]
2024-03-18 08:55:44 -05:00
7df37c88f6 Apply "in the last X" parameter to fields backfilled from orders for guests
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
29083b1f0f Ensure expected field types in customer payload
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
4e42c39486 Add test for tags & categories backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
c3e4264d4d Add test for order date fields backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
cad1e9e8a1 Add test for order stats fields backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
593d227d8e Add test for billing & shipping info backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
efb56c7469 Pass order ID to customer subject from order-related triggers
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
e054d455d4 Pass order to customer payload when available
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
516d719111 Fallback on order categories/tags in order fields
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
4b1027fcc7 Fallback on order date in first/last order date fields
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
bae1f44378 Use the new getters in field value factories
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
950747a15f Add getters for total spent, average spent, and order count with order fallback
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
b6c81f8ff6 Add getters for billing & shipping customer data with order fallback
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
adb5d16fab Allow optional WC_Order to customer payload for guest user data
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
91ba2dc89d Refactor forms column block to container queries
[MAILPOET-5917]
2024-03-18 12:17:37 +01:00
8ba4335dfb Optimize and cache term loading
[MAILPOET-5942]
2024-03-18 11:53:16 +01:00
6f87dd6b01 Move layout background colors to theme.json
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
2ea6bca7a3 Update renderer integration test
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
60204c11cc Update getting values for styles preview
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
6181d8a683 Change default values for block gap and padding
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
5ceef236bf Use the same format for styles as it is in theme.json
This should be the first step to using theme.json format in DB and merging more style configurations to the final one.
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
c415f1efce Move heading styles from CSS file to theme.json
Because we want to have all editor configurations in theme.json, I moved heading font sized to theme.json and removed redundant filters.
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
15b0846f34 Leave on-save email validation only in SubscriberSaveController
[MAILPOET-5878]
2024-03-15 15:29:36 +01:00
5d781f3f7f Fix popover in automation template modal opening behind the modal
[MAILPOET-5953]
2024-03-15 15:00:13 +01:00
f640fb58ef Use a smaller bottom margin for the canvas to prevent hidden inserter popup
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
9f6fa6e47d Disable unwanted focus outline on buttons in sidebar
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
3bbb7b71a1 Fix border radius issues in the button
When only the radius was defined, we set border solid and it caused
that sometimes it was rendered even when the width was not defined.
Overflow hidden ensures that inner link element doesn't break the border radius.
[MAILPOET-5907
2024-03-15 14:43:01 +01:00
46f94e0901 Ensure correct display when switching mobile/desktop preview
useResizeCanvas hook started to return some values for margin, but only after the switch happened and
they were breaking margins
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
619446051d Fix the padding issue in the preview dropdown menu
The preview in the new tab button had a different padding.
[MALPOET-5907]
2024-03-15 14:43:01 +01:00
b9ef6bb258 Add a workaround for fixed toolbar backward compatibility
In WP 6.4 and below is the fixed toolbar rendered within the same
slot as the floating toolbar but is positioned via CSS.

In WP 6.5, the fixed toolbar needs to be rendered in the Header explicitly.
This commit adds a workaround to backward compatibility with WP 6.4 to prevent rendering
two fixed toolbars.

Inspired by 1abf85fb83
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
055e841c03 Add fixed block toolbar collapse toggle
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
5083ad8342 Add fixed block toolbar support for WP 6.5
The fixed toolbar used to be just an absolutely positioned toolbar.
After the recent changes, we need to render it ourselves.
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00