Commit Graph

20858 Commits

Author SHA1 Message Date
Jan Jakes
ede135c2b4 Update pnpm to the latest version
[MAILPOET-5016]
2023-01-24 15:51:21 +02:00
Jan Lysý
8ba6739356 Remove forgotten console.log
[MAILPOET-4686]
2023-01-23 17:01:13 +01:00
Jan Lysý
cef5959fff Add small code improvements
I added small code style fixes based on the code review.
[MAILPOET-4686]
2023-01-23 17:01:13 +01:00
Jan Lysý
9f81b2c787 Hide modal with poll in test
[MAILPOET-4686]
2023-01-23 17:01:13 +01:00
Jan Lysý
5885bd7f84 Add deactivation poll initialization
[MAILPOET-4686]
2023-01-23 17:01:13 +01:00
Jan Lysý
f1d8ba51df Add deactivation poll config wrapper
[MAILPOET-4686]
2023-01-23 17:01:13 +01:00
Rostislav Wolny
39a9bf8e4c Add semantic markup for homepage section component
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
8dfb36cc3c Remove unused classname from product discovery list
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
fdbd25c513 Refactor always use camel case within homepage data passed to JS
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
ef5ec6367e Extend homepage acceptance test to check also product discovery section
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
c5b181949b Make complete tasks in product discovery non clickable
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
03d7306611 Add check from automation flows with welcome emails
This commit improves the check that a user has set a welcome email campaign (a task in product discovery task list)
by checking also for automation flows that are triggered by new subscriber or user and contain
send email action.
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
fd5e8b6855 Add tracking of homepage discovery tasks clicks
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
47e46aeebe Improve mixpanel track wrapper to support options and callback params
When tracking links we need to use callback parameter to ensure the event is tracked
before the page is redirected to the link.
See https://developer.mixpanel.com/docs/javascript-full-api-reference#mixpaneltrack
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
56aae5cc99 Add dismiss product discovery CTA when all tasks are done
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
84df282c0a Add css for small screens for product discovery
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
a95c5bd1e9 Style product discovery section
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
c1b552b5ff Display proper product discovery tasks if Woo is active
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
18c2e53af8 Display different message when discovery task is done
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
e3808f7a61 Display product discovery tasks status in UI
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
68187a0fb6 Add product discovery status detection to homepage data service
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
f50dcd3bd1 Fetch task list status only when task list is displayed
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
ce8191ad6c Add test for HomepageDataController
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
5fe02fcc3e Refactor homepage data fetching to a new service
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
f31086f790 Refactor section hiding from specific homepage sections to parent component
This was done so that we can safely skip loading data for hidden sections.
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
be20537587 Refactor homepage contents to an extra component
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
708813c6cb Display illustrations in product discovery tasks
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
3b3cd055df Add illustration assets for product discovery tasks
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
4b438242ab Add simple product discovery tasks
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
722e6f9d27 Add functionality for hiding the product discovery section
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
7b431d9291 Add basic product discovery component
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Sam Najian
30c6e6f769 Set reasonable default values until validation is built
[MAILPOET-4678]
2023-01-23 16:37:55 +01:00
Oluwaseun Olorunsola
8b2b8c3d48 Reduce standalone wait time from 10s to 2s.
We plan to increase this wait time if the test gets flakier

MAILPOET-4881
2023-01-23 16:23:30 +01:00
Oluwaseun Olorunsola
0b5c65d568 Fix ManageSegmentsCest:deleteExistingSegment
MAILPOET-4881
2023-01-23 16:23:30 +01:00
Brezo Cordero
49b2f5528f Remove Migration class
Remove from container, test factory and PHPStan baselines.

[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Brezo Cordero
6bc58e23c9 Remove Migration worker
[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Brezo Cordero
7e66adcc0b Remove check for active migration
[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Brezo Cordero
24b906a738 Use Bounce instead of Migration in test
[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Brezo Cordero
ddbce0d636 Remove migration test cases
Remove also the function to enable the migration.

[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Brezo Cordero
277f870178 Remove migration test
[MAILPOET-4478]
2023-01-23 15:35:50 +01:00
Oluwaseun Olorunsola
4be7f37bbc Remove the feature flag from Landing page
MAILPOET-4803
2023-01-23 15:13:38 +01:00
Oluwaseun Olorunsola
9ac18ab69e Update styling and use semantic HTML
MAILPOET-4799
2023-01-23 14:09:16 +01:00
Oluwaseun Olorunsola
1bec3b4637 Remove image assets from plugin directory
MAILPOET-4799
2023-01-23 14:09:16 +01:00
Oluwaseun Olorunsola
33e74bb0dd Fix mobile issues for FAQ section
MAILPOET-4799
2023-01-23 14:09:16 +01:00
Oluwaseun Olorunsola
89d5f108e4 Design the landing page
Add the content and images for the landing page

MAILPOET-4799
2023-01-23 14:09:16 +01:00
Sam Najian
e4d00171b4 Fix issue in test where string was set to newsletter body
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
9f070f1914 Check blockDefaults.coupon when trying to delete its props
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
94b5803337 Cleanup coupon data from template on save
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
9a2d4e83b2 Change NewsletterCoupon::cleanupSensitiveData signature
This change allows passing body array and retuning body array
so that NewsletterEntity instance doesn't need to get passed
around

[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
59d91ff7ef Fix failing unit test
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00