On the Emails listing page, if the newsletter is scheduled to send
either today or tomorrow, the status column will now display "Today" or
"Tomorrow" respectively.
A user may still see the full date if desired by hovering their mouse
over the text, which will show the full date as a tooltip.
[MAILPOET-3560]
Because globals backup in PHPUnit 8 is slower due to
the checking if global is serializable. We used
our custom solution inspired by WC.
[MAILPOET-4053]
PHPStan reported an error in PHP8.1. When we use
the annotation ReturnTypeWillChange it caused another error
for PHPStan in combination in PHP7.2. The new annotations
are solving those issues.
[MAILPOET-4053]
Due to some CSS changes our custom h3 labels started to look differently.
This commit replaces the h3 labels with label components used internally in @wordpress/components controls.
It also removes ColorIndicator frol out custom ColorSettings component as it is no longer needed due design change of ColorPicker.
[MAILPOET-4029]
The new feature "highlight" added to the paragraph and heading allows setting
color and background color. When a user picks from the default color set it inlines
an HTML class attribute. This commit adds color definitions for the default set of
colors that we use in the editor.
[MAILPOET-4029]
When running acceptance tests on a seleniarm image I noticed that Chromium (used in seleniarm)
formats a value in a style attribute in some cases differently than Chrome.
From observations it seems that Chromium doesn't format it but Chrome always adds spaces between property name and value.
This causes that some assertions e.g. stringContains('border-width: 10px;') may pass in Chrome but fail in Chromium.
This commit adds new method assertCssProperty which checks exact value of applied CSS and fixes test EditorTextInputStylesCest.
[MAILPOET-4029]
New color selection UI causes that the sidebar scrolls down and the toggle is not clickable.
This commit fixes the issue by clicking the toggle before expanding additional settings.
[MAILPOET-4029]
We rendered correct html in the editor but it was still escaped on front end.
This commit allows rendering some basic html in image captions.
[MAILPOET-4029]
Prefilled attributes.style.color.text even with undefined was causing that
the color selected as slug in textColor attribure was not rendered in the editor.
[MAILPOET-4029]
Deliverability is not important in any of these tests, so it should be
safer and more reliable to use blackhole@mailpoet.com instead of the old
mailinator address, which was used before the blackhole@mailpoet.com
address existed.
[MAILPOET-4064]
Previously this test was using random email addresses in the form of
`bin2hex(random_bytes(7)) . '@example.com'`, the default address
generated by `\MailPoet\Test\DataFactories\Subscriber`. This was causing
the staff@mailpoet.com account to get banned by the MSS due to
`bad-domain-discard`s. Using the mailinator email address instead, like
the other sending tests, should prevent this from occurring.
[MAILPOET-4064]