Commit Graph

19283 Commits

Author SHA1 Message Date
Jan Jakes
afd0e6ab34 Fix text click failing due to admin bar
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
c9e95c6c66 Add links to analytics page
[MAILPOET-5093]
2023-08-14 10:48:24 +02:00
Jan Jakes
6d6cb98dd6 Do not load site editor styles in analytics
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
dd9474bdd6 Improve subscribers step cell layout
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
b188bfc2b8 Reduce table spacing on smaller screens
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
da2bfdb299 Fix CSS paths to make mixins work
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
7887615711 Make table sort header buttons full width
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
59cff3ab5c Fix header font weights 2023-08-14 10:48:24 +02:00
Jan Jakes
2d2bfea188 Avoid unnecessary premium status checks
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
b5b1c14137 Use upgrade info logic for premium upsell banner
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
7af66364f4 Align filter controls with submit/reset buttons
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
b615c37926 Open premium modal when clicking on links in sample data
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
3a4d3067a7 Add premium modal and store functionality for analytics
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
7c1dd656d3 Remove subscriber controller and endpoint
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
221e0ffc77 Unify step icon size with subscriber icon size
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
687743004e Use retina-friendly avatar sizes
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
6b83a73c76 Simplify status cell
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
f61480a114 Use step types to render step subtitles
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
af12dc3fd3 Add sample data for subscribers section 2023-08-14 10:48:24 +02:00
Jan Jakes
6a50515e77 Load step data with subscriber stats 2023-08-14 10:48:24 +02:00
Jan Jakes
6e47d4ae53 Simplify code
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
c39def9071 Use JS date methods to modify date
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
330d1e2f34 Remove order controller and endpoint
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
57909b80a8 Add sample data for orders section
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
170ff27faa Improve table text wrapping
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
2a981c87dc Override styles withing mailpoet namespace to avoid side-effects
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
5192b7898c Fix view more list text color
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
6e5c69f35b Display view more list inline
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
01c7f42d74 Fix long badge wrapping
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
f7bf01a1c5 Fallback to email when customer has no name
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Rodrigo Primo
0ec59e16a4 Update wp-cli-bundle to version 2.8.1
Doing this update as the previous version that we were using produced
deprecation warnings when running it with PHP 8.2.

[MAILPOET-4876]
2023-08-14 11:30:59 +03:00
John Oleksowicz
efc6e7fef7 Refactor engagement summary
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
021d8774e7 Wrap bulk updates in a transaction
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
4c80949efd Simplify import
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
327f78b902 Remove unused and unhelpful return value
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
ee40743a96 Fix tests
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
5f84d5af1c Add engagement summary to subscriber stats
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
c404188832 Add subheading to subscriber stats page
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
f0f24552f0 Update woo revenue stats to only look at past year
MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
62ac4d5e27 Make stats consistent with engagement score
This makes SubscriberStatisticsRepository the source of truth for
engagement score data instead of having separate queries.

As part of this change, we will now only be displaying the last year's
worth of data when viewing a report for an individual subscriber.

It also updates engagement score calculation to only count human opens,
not machine opens.

MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
99630f85aa Reset engagement score for inactive subscribers
If someone hasn't received at least 3 emails in the last year, we can't
trust that their level of engagement would be the same now as it was
over a year ago.

MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
f8e0ba118c Nullify engagement score updated at after sends
This will cause the cron job that recalculates engagement score to pick
up these users the next time it runs. This ensures scores don't get
stale.

MAILPOET-5410
2023-08-11 16:39:57 +02:00
John Oleksowicz
3ec4505445 Add bulk update engagement score updated at method
MAILPOET-5410
2023-08-11 16:39:57 +02:00
David Remer
b15065f2a6 Fix flaky test
'StaleElementReferenceException' seems to happen because the selector gets destroyed and created again.
While the placeholder is visible the querySelector finds an element. This commit waits now until the
placeholder DOM structure is removed before trying to access the values using the selecors.

[MAILPOET-5526]
2023-08-11 08:33:01 +01:00
David Remer
1096921da7 Release 4.23.0 2023-08-08 14:34:31 +03:00
alex-mpoet
a5a7966663 Fix filterData reference in DynamicSegmentFilterData
[MAILPOET-5505]
2023-08-07 10:21:33 -05:00
Brezo Cordero
ee882b99e9 Use admin_email as default sender.
[MAILPOET-5498]
2023-08-07 13:22:53 +02:00
John Oleksowicz
d7e283dea9 Handle empty strings as blank in custom fields
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
f96a1d4892 Add operator to checkbox custom field
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
117080b0da Add correct operator select to date month
MAILPOET-4996
2023-08-07 12:03:49 +02:00