Commit Graph

17 Commits

Author SHA1 Message Date
4cd1667146 Cache homepage subscribers stats
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
d7fd11387f Use cached subscriber count on homepage
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
ee007e9392 Refactor fetching subscribers stats data
In the original approach we completely ignored subscribers who subscribed and unsubscribed
within the last 30 days.
Based on the feedback from QA this was quite confusing.
This commit changes the logic and instead of looking at current status we fetch the counts
based on logs (the lastSubscribedAt column and statistics_unsubscribes table) and we ignore the current status.
On the list level we don't have any logs so we still need to check the current status on the list level,
but newly we ignore the global status.
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
bcb3bacf89 Add description of what subscriber stats values represent
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
719e0095a7 Add global subscribers stats change info to UI
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
04307ca2a6 Compute change of global subscribed subscribers
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
6e99d5ec9d Add empty states for homepage subscribers stats section
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
1727163640 Add fetching of list level subscriber changes to homepage data service
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
ab35f5c8c1 Add fetching of global subscribers stats to Homepage data controller
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
a9d8a2b164 Add condition for displaying
[MAILPOET-4830]
2023-02-15 12:19:35 +01:00
ab3d27569f Make upsell component closable
[MAILPOET-4830]
2023-02-15 12:19:35 +01:00
fdbd25c513 Refactor always use camel case within homepage data passed to JS
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
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
68187a0fb6 Add product discovery status detection to homepage data service
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
f50dcd3bd1 Fetch task list status only when task list is displayed
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
ce8191ad6c Add test for HomepageDataController
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
5fe02fcc3e Refactor homepage data fetching to a new service
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00