Commit Graph

21402 Commits

Author SHA1 Message Date
Rostislav Wolny
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
Rostislav Wolny
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
Rostislav Wolny
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
Rostislav Wolny
06ae808295 Fix the left header toolbar appearance
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
Rostislav Wolny
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
David Remer
9a75b7d92d Add test
[MAILPOET-5939]
2024-03-15 13:18:01 +01:00
David Remer
bb84e1fc03 Add GA params only when tracking is set
[MAILPOET-5939]
2024-03-15 13:18:01 +01:00
Rostislav Wolny
39aa76d4d0 Improve typehints and use typed properties in ContentRenderer and test
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
Rostislav Wolny
4071175178 Move ContentRenderer to the Renderer/ContentRenderer namespace
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
Rostislav Wolny
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
Rostislav Wolny
8f20b4bfa9 Simplify code in RendererTest using WP_HTML_Tag_Processor
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
Rostislav Wolny
8b09fd6183 Add basic integration test for ContentRenderer
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
Rostislav Wolny
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
Veljko
c7a75a897b Rebase onto trunk and update expector 2024-03-15 08:20:00 +01:00
Veljko
099ea279bd Add new k6 test to cover automation triggering workflow 2024-03-15 08:20:00 +01:00
Brezo Cordero
ef00c8dadf Update mailpoet_shortcode_links type
[MAILPOET-5889]
2024-03-14 19:14:21 +01:00
Brezo Cordero
42f929fba3 Display Premium Banner if key is not valid
and move Products Sold Tab to free plugin for consistency.

[MAILPOET-5889]
2024-03-14 19:14:21 +01:00
Jan Lysý
9bfa20d345 Use ts-expects error instead of ignore and remove domain from common translations
[MAILPOET-5640]
2024-03-14 12:53:32 +01:00
Jan Lysý
0abadb3f92 Add dimension panel for layout styles configuration
At this moment, it's only UI component that does not contain any callbacks.
[MAILPOET-5640]
2024-03-14 12:53:32 +01:00
Jan Lysý
5c46bbda30 Add layout screen component
Each section of styles in the sidebar should have its screen component.
[MAILPOET-5640]
2024-03-14 12:53:32 +01:00
Jan Lysý
97d31c0dbf Add screen header component
[MAILPOET-5640]
2024-03-14 12:53:32 +01:00
Jan Jakes
165c3eb6b7 Fix typos, unify casing
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Jan Jakes
1b73d6b143 Unify automation icon sizes
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Jan Jakes
b234fdf55d Fix label style for delay step settings
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Jan Jakes
c8c4d861c7 Add missing label for abandoned cart delay
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Jan Jakes
3972a4d7e7 Remove automations beta badge
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Jan Jakes
c2ed2c1847 Fix if/else branch artifact when scaled or zoomed
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
0c3eee9a57 Fix rendering of if/else conditions in template previews
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
eaee987048 Implement cart total field
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
7560aa495e Unify quotes and apostrophes
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
4674c1443d Use order completed trigger instead of status change
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
261907e93b Add missing translation functions
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
ad1ffea2c0 Enable abandoned cart campaign template
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
9be4e730c0 Add win-back customers template
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
d816e97d31 Enable thank loyal customers template, improve naming
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
888df573e5 Apply filter parameters in templates
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Brezo Cordero
7c4c825d4e Fix preconditions for detailed analytics
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
a4aefbc7e7 Handle individual capabilities when there is no tier
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
f170db9b7d Add css class to conditionally remove the locked icon
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
d6a66c4b89 Remove duplication and fix condition for logo requirement.
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
9c9a85d029 Backward compatibility for automationSteps and segmentFilters
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
727c3ab554 Add capabilities to MailPoet object
They will be used by the premium plugin.

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
0ca2146801 Add capability check on newsletters detailed stats
Moves existing check to the capability manager and implements backward compatibility for products without capabilities.

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
e185df3765 Add capability check on logo display
Moves existing check to the capability manager and implements backward compatibility for products without capabilities.

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
931fae7691 Add basic capabilities manager class
Backwards compatibility will be handled later

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Brezo Cordero
165ff19752 Add basic capabilities class
[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
Veljko
92c35ae98d Update automation analytics test 2024-03-13 11:35:37 +01:00
Veljko
7933a4aaf8 Stabilize test to eliminate flakiness 2024-03-13 11:35:37 +01:00
Veljko
1950db9b6d Add new k6 test automation trash restore 2024-03-13 11:35:37 +01:00
David Remer
4abe0f0564 Remove flaky assesment
[MAILPOET-5941]
2024-03-13 10:51:14 +01:00