Commit Graph

13 Commits

Author SHA1 Message Date
d832925107 Remove temporary static property for the plugin main page
The property was added so that we were able to set the main page
dynamically based on the feature switch value. This is no longer needed and
we can use the hardcoded constant as we did before.
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
1de328abaa Use settings store instead of local component state for sender data
In [MAILPOET-4818], we started using the settings Redux store to handle
adding the MSS key in the last step of the Welcome Wizard. This
introduced a bug in the previous steps as the same Redux store is not
used. Those steps rely on the component state to track changes to their
fields. This meant that once the user completed the last step, the
changes made in the previous steps were ignored and the default values
for the settings was saved to the database.

This commit fixes this bug for the first step of the wizard by using the
same settings Redux store to track changes to the sender name and
address.

[MAILPOET-5059]
2023-02-14 12:46:04 +01:00
dd2f100acd Implement MSS key verification in the MSS step of the welcome wizard
[MAILPOET-4818]
2023-02-08 12:56:32 +01:00
8a4f5c13da Add tracking for users arriving to the wizard from WooCommerce
MailPoet adds a link to the WooCommerce task list pointing to its own
welcome wizard. We want to track users that arrive to the MP wizard from
WooCommerce but at this point tracking is not enabled. So we store the
information in a setting, and send the tracking event to Mixpanel, if it
is enabled, after the user completes the wizard.

[MAILPOET-4814]
2023-01-30 15:01:42 +01:00
3c3ce37720 Temporarily add static property for MAIN_PAGE_SLUG
We need to be able to change it when homepage feature is active.
When we remove the feature flag will switch back to using constant.
Note I also kept the constant in case a third party plugin uses it.
[MAILPOET-4824]
2022-11-30 11:42:41 +01:00
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
bbdbf6a52d Fix WooCommerce setup in the welcome wizard
The component that requires the global mailpoet_show_customers_import
variable is used also on the wizard page.
This commit ensures that it is set on the page.
[MAILPOET-4652]
2022-10-24 15:16:04 +02:00
5547613f31 Remove full settings from the MailPoet JS object
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
6342402e41 Move subscribers count to layout
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
5c08d22736 Move all premium & plan upgrade info to root layout, remove duplicities
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
fdbc6ea603 Remove MP2 migration code from the welcome wizard
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
96ef192287 Change link in onboarding wizard
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00