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
2e795f09df
Disable shadow for all blocks
...
The shadow is currently not opt-in and can't be disabled in theme.json
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
ab35ac7925
Fix sidebar tabs appearance for WP 6.5
...
I explored using the private Tabs component and it worked, but it
doesn't work with WP 6.4 so I went with adding CSS.
We can switch to Tabs later. Hopefully they won't be private.
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
6fe8bc5432
Fix desktop email content view
...
The condition stopped working because useResizeCanvas started returning
some styles also for Desktop
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
06ae808295
Fix the left header toolbar appearance
...
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
4d4be7b9d0
Remove unnecessary className
...
The class name is added automatically. Adding it explicitly causes a duplicity.
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
9a75b7d92d
Add test
...
[MAILPOET-5939]
2024-03-15 13:18:01 +01:00
bb84e1fc03
Add GA params only when tracking is set
...
[MAILPOET-5939]
2024-03-15 13:18:01 +01:00
39aa76d4d0
Improve typehints and use typed properties in ContentRenderer and test
...
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
4071175178
Move ContentRenderer to the Renderer/ContentRenderer namespace
...
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
da87807330
Split CSS for inlining to a file for content and for the HTML template
...
This is a continuation of the idea of separating content rendering
and adding content to the HTML template.
I assume that in the future, we may move more parts from the renderer
to the content render (e.g. we may introduce a block for layout wrap).
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
8f20b4bfa9
Simplify code in RendererTest using WP_HTML_Tag_Processor
...
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
8b09fd6183
Add basic integration test for ContentRenderer
...
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
2c5857e89b
Split renderer into content renderer and renderer
...
Content renderer - renders the content of the email post
Renderer - places the content into the email HTML template and generates text version
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00