Commit Graph

21402 Commits

Author SHA1 Message Date
Rostislav Wolny
8a34588bbe Use proper types for Color and FontSize
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
4d5705243f Remove custom type definitions that were added in packages
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
8069ba320c Fix types for Notices
There is a mismatch between the WPNotice type and the WordPress/notice store
and Notice defined in the components package.

[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
027e234b64 Remove unused WordPress module declarations
These were needed for the types for stores used in the email editor
when it was based on the post editor. We switched to the custom editor
so we can remove those.
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
5754f2be68 Update deprecated Button props
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
666b0ff9e6 Refactor multiple useSelect calls into one in BasicSettingsPanel
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
2d42b7945c Fix 'useSelect' issue causing multiple renders of basic settings
This commit fixes a warning:
"The 'useSelect' hook returns different values when called with the same state and parameters. This can lead to unnecessary rerenders."
The warning was coming from the BasicSettingsPanel component and was caused
by getAllAvailablePages selector, which returned a new array every time.

[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
37cd1b01f8 Fix types issues in font selection format
The new version of @wordpress/rich-text comes with build types,
but the RichTextFormat is missing attribute values.
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
2acd815127 Update @types/wordpress_xxx packages
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
dee0823098 Remove @types/wordpress__ for packages that have build-types
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
f12be521cc Update WordPress packages to tag wp-6.4
This commit sets all wordpress/* packages we list in package.json
to use tag wp-6.4, which should install the version used in WordPress 6.4
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Jan Lysý
1338554c41 Change property name to better fit to new classname
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
dc96fa2b1c Add postprocessor for replacing mark tag to span
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
9b54217049 Rename PreprocessManager class to ProcessManager
As we want to add rendering postprocessing, it's better to use a different name for this class.
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
9106d38aee Add text highlighting support for buttons
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
a671a88956 Remove replacing space in image URL
This fix should not be used anymore.
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
b6538cd1c6 Set default line-height for the rendered email
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
7fac0e019f Remove line-height CSS styles
Because the line height setting makes the rendered email not look good sometimes.
For now we decided to remove it.
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
b71e68d8da Add loading format library styles in email editor
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
901d1a1721 Activate text highlighting in email editor
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Veljko
aeabbb05b2 Update circle config 2024-02-18 09:27:48 +01:00
veljko
305db25376 Update k6 to latest and improve running tests 2024-02-18 09:27:48 +01:00
veljko
19cf611061 Try to fix filling from address 2024-02-18 09:27:48 +01:00
veljko
6fe3d1cd09 Update helper 2024-02-18 09:27:48 +01:00
Veljko
937c885b21 Fix code formatting 2024-02-18 09:27:48 +01:00
Veljko
cf3c221ebd Add closing tutorial video if prompted 2024-02-18 09:27:48 +01:00
Veljko
ec3ddbb6cf Include screenshot in the helper 2024-02-18 09:27:48 +01:00
Veljko
577e7c70e2 Add wait for selector visible in helper 2024-02-18 09:27:48 +01:00
Veljko
d6eba050e0 Fix code formatting 2024-02-18 09:27:48 +01:00
Veljko
0c2fabed6c Update tests again 2024-02-18 09:27:48 +01:00
Veljko
3f95c1f2fb Update tests 2024-02-18 09:27:48 +01:00
Veljko
42f484742a Finalize performance tests and update helper 2024-02-18 09:27:48 +01:00
Veljko
cb12c45135 Add new performance test automation welcome email 2024-02-18 09:27:48 +01:00
veljko
e1fbb8b996 Add performance test for custom automation 2024-02-18 09:27:48 +01:00
Veljko
627212f8a9 Save the existing test structure 2024-02-18 09:27:48 +01:00
Jan Jakes
dab719454a Fix invalid email address causing failed validation on subsequent flush
[MAILPOET-5910]
2024-02-16 12:24:35 -06:00
Jan Lysý
d1899090bc Create DomDocumentHelper to work with DOMDocument
[MAILPOET-5831]
2024-02-16 14:18:47 +01:00
Jan Lysý
9ab347080b Create customers to avoid failing tests
[MAILPOET-5909]
2024-02-16 08:29:27 +01:00
Pavel Dohnal
13e065fb70 Remove pull request stats
https://mailpoetdev.wordpress.com/2023/10/23/haiku-bi-weekly-meeting-october-10-2022/
2024-02-15 14:38:11 +01:00
Rostislav Wolny
3e3b50a037 Fix emoji encoding fallback for MySQL 8.0.28+
As of MySQL 8.0.28, there is no longer charset utf8, which was an alias for utf8mb3.
It is show as utf8mb3 so we need to check for both utf8 for older versions and utf8mb3 to cover newer versions.
See https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-utf8.html
[MAILPOET-5888]
2024-02-15 13:45:35 +01:00
Jan Jakes
7d6e0c2ad5 Run nightly acceptance and integration latest test on MySQL 8
[MAILPOET-5888]
2024-02-15 13:45:35 +01:00
Pavel Dohnal
9cf2eef721 Register send status
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Pavel Dohnal
e9d8610cda Remove unused method
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Pavel Dohnal
31cb9e10c8 Use type property instead of comment
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Pavel Dohnal
35d7dfc150 Use warning instead of error
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Pavel Dohnal
063e87499e Display a notice when opening a sent email
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Pavel Dohnal
05a7f1c9dd Disable send button if the email was sent
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Pavel Dohnal
7a0cad8abf Update post status when email is sent
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Brezo Cordero
ad6199d915 Update composer.phar
[MAILPOET-5902]
2024-02-14 15:53:39 +01:00
Jan Lysý
851a9626c9 Enable typography appearance
[MAILPOET-5840]
2024-02-14 14:43:10 +01:00