Commit Graph

20446 Commits

Author SHA1 Message Date
Rodrigo Primo
9a218a706b Refactor single order value and total spent to use DaysPeriodField
This commit refactors the React components SingleOrderValueFields and
TotalSpentFields to use the new DaysPeriodField component instead of
its own code to generate the days period selector.

[MAILPOET-4991]
2023-07-19 15:24:46 +02:00
Rodrigo Primo
8a2c435b9c Refactor average spent and # of orders to use DaysPeriodField
This commit refactors the React components AverageSpentFields and
NumberOfOrdersFields to use the new DaysPeriodField component instead of
a its own code to generate the days period selector.

[MAILPOET-4991]
2023-07-19 15:24:46 +02:00
Rodrigo Primo
c0df921998 Extract the days period selector into its own component
This commit extracts the days period selector from the
EmailOpensAbsoluteCountFields component into its own component called
DaysPeriodField. In the next commit, I will change other field
components to use DaysPeriodField its of duplicating the code to
generate the days period selector.

[MAILPOET-4991]
2023-07-19 15:24:46 +02:00
David Remer
408f0e35dd fix linting error
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
fd2e0f8500 Add filter and search to Query entities
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
9afe3655b0 Remove permission check and fall back to default
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
29e471a8d6 Add filters
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
730944e2fc Add filter and search to CustomQuery
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
1f68c8d02c Add lock and grey out subscribers tab
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
e05e62035e Add subscriber table
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
e95b8dcc49 Add subscriber data to store
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
700d21445a Add subscriber types
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
a33422123a Add subscriber backend
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
5841c09a31 Add data to SendEmail step
[MAILPOET-5091]
2023-07-19 14:57:26 +02:00
David Remer
8242fbcbbb Ensure we do not divide by zero
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
a9084d5326 email property can be undefined in Badge
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
e194a4d04b Add indicies to automation_runs and automation_run_logs table
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
b566959c4a Use new <Badge /> element in email statistic panel
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
0490a2b9a8 Extract new <Badge /> element from <Cell />
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
36df49836c Extract calculatePercentage method
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
7be598c40f Add individual items for step more control
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
07b6d61c28 Move hooks
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
4895e9eefd Link into subscribers tab
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
fc68729ff6 Show notice when tree is inconsistent
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
cfd53cc495 Add data to SendEmail step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
768ed43f9e Create new tab navigation helper
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
a5e00a08ef Add a hook to allow for individual content in the step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
00d7d7c7bb Reorder sections
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
fb057af6f8 Fix ordering of next_step
We are actually waiting for the next_step to be executed and therefore we do not need to map the step to the previous one.

[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
ad5ee0bebe Show completed values in seperator step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
4199822aff Return flow data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
2a6af4a77b Transform log data for response
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8d8fcf3164 Query log statistics for automation in a timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
dca7a0d974 Add StepFooter for analytics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
790385a0c7 Adjust type of flow data 2023-07-18 13:03:16 +02:00
David Remer
7f3de49baa Filter step footer
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
74657f990d Use context information in filter
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
c160c04819 Add context to filters
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
fd04d005d0 Return Step data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8d9133b79e Add StepStatisticController to map step data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
d2fce2014a Query statistic how many runs in a timeframe are at which step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
ae57f81c14 Query short statistics for automation
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
b80875d268 Enable querying statistics in a given timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
99f5d64d61 Allow for adding already generated statistics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
4c0bd1815b Query Automation in correct timespan
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8b81016814 Add getAutomationsInTimespan method to controller
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
5e4631ec9d Add AutomationPlaceholder
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
9363e8714a Add AutomationFlow section and allow for custom update callbacks
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
bd17cf98bf Use editorState for information about the automation
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
854f0e5315 Raise priority of StatisticSeparator filter
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00