Commit Graph

19873 Commits

Author SHA1 Message Date
7af66364f4 Align filter controls with submit/reset buttons
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
b615c37926 Open premium modal when clicking on links in sample data
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
3a4d3067a7 Add premium modal and store functionality for analytics
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
7c1dd656d3 Remove subscriber controller and endpoint
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
221e0ffc77 Unify step icon size with subscriber icon size
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
687743004e Use retina-friendly avatar sizes
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
6b83a73c76 Simplify status cell
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
f61480a114 Use step types to render step subtitles
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
af12dc3fd3 Add sample data for subscribers section 2023-08-14 10:48:24 +02:00
6a50515e77 Load step data with subscriber stats 2023-08-14 10:48:24 +02:00
6e47d4ae53 Simplify code
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
c39def9071 Use JS date methods to modify date
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
330d1e2f34 Remove order controller and endpoint
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
57909b80a8 Add sample data for orders section
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
170ff27faa Improve table text wrapping
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
2a981c87dc Override styles withing mailpoet namespace to avoid side-effects
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
5192b7898c Fix view more list text color
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
6e5c69f35b Display view more list inline
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
01c7f42d74 Fix long badge wrapping
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
f7bf01a1c5 Fallback to email when customer has no name
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
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
efc6e7fef7 Refactor engagement summary
MAILPOET-5410
2023-08-11 16:39:57 +02:00
021d8774e7 Wrap bulk updates in a transaction
MAILPOET-5410
2023-08-11 16:39:57 +02:00
4c80949efd Simplify import
MAILPOET-5410
2023-08-11 16:39:57 +02:00
327f78b902 Remove unused and unhelpful return value
MAILPOET-5410
2023-08-11 16:39:57 +02:00
ee40743a96 Fix tests
MAILPOET-5410
2023-08-11 16:39:57 +02:00
5f84d5af1c Add engagement summary to subscriber stats
MAILPOET-5410
2023-08-11 16:39:57 +02:00
c404188832 Add subheading to subscriber stats page
MAILPOET-5410
2023-08-11 16:39:57 +02:00
f0f24552f0 Update woo revenue stats to only look at past year
MAILPOET-5410
2023-08-11 16:39:57 +02:00
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
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
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
3ec4505445 Add bulk update engagement score updated at method
MAILPOET-5410
2023-08-11 16:39:57 +02:00
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
1096921da7 Release 4.23.0 2023-08-08 14:34:31 +03:00
a5a7966663 Fix filterData reference in DynamicSegmentFilterData
[MAILPOET-5505]
2023-08-07 10:21:33 -05:00
ee882b99e9 Use admin_email as default sender.
[MAILPOET-5498]
2023-08-07 13:22:53 +02:00
d7e283dea9 Handle empty strings as blank in custom fields
MAILPOET-4996
2023-08-07 12:03:49 +02:00
f96a1d4892 Add operator to checkbox custom field
MAILPOET-4996
2023-08-07 12:03:49 +02:00
117080b0da Add correct operator select to date month
MAILPOET-4996
2023-08-07 12:03:49 +02:00
83703eadfa Fix incorrect validation check
MAILPOET-4996
2023-08-07 12:03:49 +02:00
a7d260ac2e Refactor strings to constants/enums
MAILPOET-4996
2023-08-07 12:03:49 +02:00
fe318f5a30 Add 'not contains' option for text custom fields
MAILPOET-4996
2023-08-07 12:03:49 +02:00
aece1b60a9 Frontend updates for blank/not blank custom field filters
MAILPOET-4996
2023-08-07 12:03:49 +02:00
a1b51aecf0 Update backend logic to support (not)blank
MAILPOET-4996
2023-08-07 12:03:49 +02:00
f522c0786c Rename Timeframes enum to be singular
MAILPOET-5413
2023-08-07 11:06:27 +02:00
f15d2f1cda Fix JS warning and default rating, use enums
MAILPOET-5413
2023-08-07 11:06:27 +02:00
725012ae56 Use constants instead of strings for timeframe
MAILPOET-5413
2023-08-07 11:06:27 +02:00
aab3801aee Fix validateDaysPeriod helper
We should only ignore the formItems.days if the timeframe is one that
doesn't require any days.

MAILPOET-5413
2023-08-07 11:06:27 +02:00
ce9cbdc45d Add backend logic for number of reviews filter
MAILPOET-5413
2023-08-07 11:06:27 +02:00