Commit Graph

22617 Commits

Author SHA1 Message Date
Rostislav Wolny
f22976bf32 Update @wordpress/scripts and downgrade dependency-extraction plugin
We can't update to latest @wordpress/dependency-extraction-webpack-plugin
and latest @wordpress/scripts (at the time of committing 28.0.0) because
a BC issue is causing it doesn't work for WP lower than 6.6.

See https://github.com/WordPress/gutenberg/issues/62202#issuecomment-2149165189

[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
c2d782506b Update wordpress/scripts
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
dedd9d52c2 Group multiple useSelect to one in the dynamic segment from
This is just a tiny optimization I did when debugging the acceptance test, and I decided to keep it.
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
bd1cf97085 Hide tabs in inserter panel in form editor
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
ac1cd97819 Remove the commented validate-multiple-use hook from form editor
The code was commented because it was breaking the build after dependencies update.
The functionality is now directly included in the block editor
so we can safely remove the code.
See https://github.com/WordPress/gutenberg/pull/62086
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
9736265341 Fix js lint errors
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
ba3a29881c Limit TS check maximal memory usage
We were hitting the 2GB limit on CircleCI small instance
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
aa80fd8d1c Update acceptance tests
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
9424c720fc Fix form editor sidebar space for support beacon
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
90a8ee4503 Refactor form editor sidebar header to use Tabs instead of custom HTML
Gutenberg switched to tabs and removed CSS used for <ul>.
In this commit, we switched to the Tabs component.
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
a202db3532 Update className for email editor sidebar header
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
0d62d28d82 Refactor automation editor sidebar tabs to use Tabs component
Gutenberg switched to tabs and removed CSS used for <ul>.
In this commit, we switched to the Tabs component.
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
6e5d2654fb Use proper icon in more menu in automation and email editors
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
d083efacd9 Fix header appearance in the automation editor
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
6fa6f723f9 Fix header appearance in the form editor
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
65b72a2b88 Fix dropdown popover props in automation step's more menu
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
3a84ba3352 Remove ts-expect-error where no longer necessary
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
27045081b0 Fix TS errors related to __experimentalConfirmDialog
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
338a81e9c7 Comment out a hook that no longer exists
The file was removed. In this commit, I commented it out to make the build
pass.
This will need further investigation.
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
e5f5814974 Replace MoreMenuDropDown with basic DropdownMenu
The MoreMenuDropDown was removed from @wordpress/interface.
This commit replaces it with a generic DropdownMenu to make the build passing.
It will need further adjustments.
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
Rostislav Wolny
859520e235 Update all wordpress packages to their latest versions
[MAILPOET-6054]
2024-06-17 12:06:53 +02:00
 Ján Mikláš
6e81d3e149 Update readme.txt tags
[MAILPOET-6107]
2024-06-13 14:26:51 -05:00
 Ján Mikláš
f5ae03a5a6 Update import/export tests to account for WP and WC lists
[MAILPOET-3977]
2024-06-12 12:13:37 +02:00
 Ján Mikláš
057f25c119 Don't allow importing to WordPress Users list
[MAILPOET-3977]
2024-06-12 12:13:37 +02:00
 Ján Mikláš
552803bcf9 Add test for screen reader text rendering
[MAILPOET-6098]
2024-06-12 11:59:12 +02:00
 Ján Mikláš
3e6aeb7362 Hide screen reader text in emails, while still accessible by screen readers
[MAILPOET-6098]
2024-06-12 11:59:12 +02:00
alex-mpoet
5f598adee2 Extract ping notices common code to useServiceCheck hook
[MAILPOET-6030]
2024-06-12 11:16:51 +02:00
alex-mpoet
66d96e11be Add bridge ping error notice
[MAILPOET-6030]
2024-06-12 11:16:51 +02:00
alex-mpoet
a6caf0a1e6 Add bridge ping endpoint
[MAILPOET-6030]
2024-06-12 11:16:51 +02:00
 Ján Mikláš
7aa006d9f7 Release 4.51.2 2024-06-12 10:36:54 +02:00
Jan Lysý
80e01be083 Remove unit test with premium oldest
[MAILPOET-6095]
2024-06-12 10:05:48 +02:00
Jan Lysý
50ba99e99b Update used versions of 3rd party plugins in CI job
[MAILPOET-6095]
2024-06-12 10:05:48 +02:00
Jan Lysý
3dc40cf644 Change the time of running nightly builds
When the nightly build ran on Monday at 10 PM, we found the output from the nightly run was too late.
[MAILPOET-6095]
2024-06-12 10:05:48 +02:00
Jan Lysý
28c7d33f8f Differentiate between changing URL and iconType in social block
We prefixed iconType with URL protocol, which caused the changing iconType to stop working. I added a new function that helps make the difference between iconType and URLs.
[MAILPOET-6106]
2024-06-11 15:19:45 +02:00
dependabot[bot]
e670d84b97 Bump composer/composer from 2.7.6 to 2.7.7 in /mailpoet
Bumps [composer/composer](https://github.com/composer/composer) from 2.7.6 to 2.7.7.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/composer/composer/compare/2.7.6...2.7.7)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 13:40:42 +02:00
Oluwaseun Olorunsola
3b190a3a21 Fix acceptance tests
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
f7d28c8999 Ensure page reload is only done for the settings page
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
62c9679804 Ensure the Authorize from address modal is shown on reload
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
25067a5e87 Ensure we fetch the user authorized_emails and domains when MSS is activated
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
e2cd1b315a Reload settings page after key activation
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
fb0f9d086f Update SendingMethodConfirmationModal, add links and fix minor errors
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
6efbd858a2 Fix inconsistent messaging around MailPoet API key state and validity
MAILPOET-6028
2024-06-10 17:26:48 +02:00
Oluwaseun Olorunsola
31d7309345 Add Sending Method Confirmation Modal
MAILPOET-6028
2024-06-10 17:26:48 +02:00
alex-mpoet
8caf7491d8 Change global-notices.jsx to tsx
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
alex-mpoet
00d83d657a Cache successful cron ping result
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
alex-mpoet
827888fed3 Show cron ping eror notice globally
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
alex-mpoet
28d09b8b5e Add cron ping error notice
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
alex-mpoet
c3a55ac1d8 Move some strings to layout view to make them shared
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
alex-mpoet
c59ae2d82c Add cron pinging endpoint
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00
alex-mpoet
07ef513bce Expose cron trigger method setting to JS
[MAILPOET-6029]
2024-06-10 17:07:31 +02:00