Commit Graph

21556 Commits

Author SHA1 Message Date
Mike Jolley
6449b63c8b Refactor into hooks 2024-03-20 11:05:25 +01:00
Mike Jolley
e7bb52833a Debounced content validation 2024-03-20 11:05:25 +01:00
Mike Jolley
e5573e9176 Update messaging when email cannot be saved 2024-03-20 11:05:25 +01:00
Mike Jolley
cbb60d4f81 Initial notice subscription 2024-03-20 11:05:25 +01:00
Mike Jolley
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
Mike Jolley
bbd45a5f32 Remove script tags from wpAddInlineScript 2024-03-20 10:57:26 +01:00
Mike Jolley
fab5ff650d Fix syntax error after rebase 2024-03-20 10:57:26 +01:00
Mike Jolley
36c982a0d1 Correct indenting 2024-03-20 10:57:26 +01:00
Mike Jolley
9cbe58f95f Template no longer needed 2024-03-20 10:57:26 +01:00
Mike Jolley
2a830b9f68 Add globals for the premium modal 2024-03-20 10:57:26 +01:00
Mike Jolley
8f81f4a6b1 Use page renderer 2024-03-20 10:57:26 +01:00
Mike Jolley
a1b146a2ec Remove trailing comma 2024-03-20 10:57:26 +01:00
Mike Jolley
33cb92a779 Conditionally show footer 2024-03-20 10:57:26 +01:00
Mike Jolley
762b050e85 Alternative footer logo 2024-03-20 10:57:26 +01:00
Mike Jolley
30c6bc5ad1 Styling 2024-03-20 10:57:26 +01:00
Mike Jolley
3fdac58cfd Add image to CDN and canvas 2024-03-20 10:57:26 +01:00
David Remer
72543d1971 Fix typo and add text-domain
[MAILPOET-5733]
2024-03-20 07:48:56 +01:00
Rostislav Wolny
4c3e6b8cb1 Release 4.47.0 2024-03-19 14:28:34 +01:00
Veljko
74f239c372 Temporary switch to Woo 8.6.1
[MAILPOET-5955]
2024-03-18 17:12:05 +01:00
Pavel Dohnal
f1459c48cc Document ./do command 2024-03-18 17:00:49 +01:00
Pavel Dohnal
df50d9526b Document feature flags 2024-03-18 17:00:49 +01:00
Jan Lysý
60bf440bff Add check that updatedAt is set
[MAILPOET-5860]
2024-03-18 08:55:44 -05:00
Jan Jakes
7df37c88f6 Apply "in the last X" parameter to fields backfilled from orders for guests
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
29083b1f0f Ensure expected field types in customer payload
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
4e42c39486 Add test for tags & categories backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
c3e4264d4d Add test for order date fields backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
cad1e9e8a1 Add test for order stats fields backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
593d227d8e Add test for billing & shipping info backfilling
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
efb56c7469 Pass order ID to customer subject from order-related triggers
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
e054d455d4 Pass order to customer payload when available
[PREMIUM-253]
2024-03-18 13:36:08 +01:00
Jan Jakes
516d719111 Fallback on order categories/tags in order fields
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
4b1027fcc7 Fallback on order date in first/last order date fields
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
bae1f44378 Use the new getters in field value factories
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
950747a15f Add getters for total spent, average spent, and order count with order fallback
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
b6c81f8ff6 Add getters for billing & shipping customer data with order fallback
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Jan Jakes
adb5d16fab Allow optional WC_Order to customer payload for guest user data
[MAILPOET-5378]
2024-03-18 13:36:08 +01:00
Pavel Dohnal
91ba2dc89d Refactor forms column block to container queries
[MAILPOET-5917]
2024-03-18 12:17:37 +01:00
Jan Jakes
8ba4335dfb Optimize and cache term loading
[MAILPOET-5942]
2024-03-18 11:53:16 +01:00
Jan Lysý
6f87dd6b01 Move layout background colors to theme.json
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
Jan Lysý
2ea6bca7a3 Update renderer integration test
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
Jan Lysý
60204c11cc Update getting values for styles preview
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
Jan Lysý
6181d8a683 Change default values for block gap and padding
[MAILPOET-5640]
2024-03-15 16:57:41 +01:00
Jan Lysý
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
Jan Lysý
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
alex-mpoet
15b0846f34 Leave on-save email validation only in SubscriberSaveController
[MAILPOET-5878]
2024-03-15 15:29:36 +01:00
Jan Jakes
5d781f3f7f Fix popover in automation template modal opening behind the modal
[MAILPOET-5953]
2024-03-15 15:00:13 +01:00
Rostislav Wolny
f640fb58ef Use a smaller bottom margin for the canvas to prevent hidden inserter popup
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
Rostislav Wolny
9f6fa6e47d Disable unwanted focus outline on buttons in sidebar
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
Rostislav Wolny
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
Rostislav Wolny
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