Commit Graph

20468 Commits

Author SHA1 Message Date
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
John Oleksowicz
83703eadfa Fix incorrect validation check
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
a7d260ac2e Refactor strings to constants/enums
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
fe318f5a30 Add 'not contains' option for text custom fields
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
aece1b60a9 Frontend updates for blank/not blank custom field filters
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
a1b51aecf0 Update backend logic to support (not)blank
MAILPOET-4996
2023-08-07 12:03:49 +02:00
John Oleksowicz
f522c0786c Rename Timeframes enum to be singular
MAILPOET-5413
2023-08-07 11:06:27 +02:00
John Oleksowicz
f15d2f1cda Fix JS warning and default rating, use enums
MAILPOET-5413
2023-08-07 11:06:27 +02:00
John Oleksowicz
725012ae56 Use constants instead of strings for timeframe
MAILPOET-5413
2023-08-07 11:06:27 +02:00
John Oleksowicz
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
John Oleksowicz
ce9cbdc45d Add backend logic for number of reviews filter
MAILPOET-5413
2023-08-07 11:06:27 +02:00
John Oleksowicz
c3bb4d1433 Add frontend for number of reviews filter
MAILPOET-5413
2023-08-07 11:06:27 +02:00
dependabot[bot]
3ab674d5fa Bump webpack from 5.74.0 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 19:47:14 +03:00
Jan Lysý
161af43f4d Change subscribers limit notice
[MAILPOET-5444]
2023-08-03 12:49:40 +02:00
Jan Lysý
edaefea5b7 Use Subscribers feature instead of Installer
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
d31483db2d Reuse existing component and fixed behavior checking premium accessibility
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00