diff --git a/ghost/admin/app/components/member/activity-feed.js b/ghost/admin/app/components/member/activity-feed.js
index d9f5654a5a2..ec9e34e1483 100644
--- a/ghost/admin/app/components/member/activity-feed.js
+++ b/ghost/admin/app/components/member/activity-feed.js
@@ -3,6 +3,7 @@ import {action} from '@ember/object';
export default class ActivityFeed extends Component {
linkScrollerTimeout = null; // needs to be global so can be cleared when needed across functions
+ excludedEventTypes = ['email_sent_event'];
@action
enterLinkURL(event) {
@@ -29,4 +30,4 @@ export default class ActivityFeed extends Component {
child.style.transform = 'translateX(0)';
parent.classList.remove('scroller');
}
-}
\ No newline at end of file
+}
diff --git a/ghost/admin/app/components/posts/post-activity-feed.js b/ghost/admin/app/components/posts/post-activity-feed.js
index a42551abfb8..0f44846cf87 100644
--- a/ghost/admin/app/components/posts/post-activity-feed.js
+++ b/ghost/admin/app/components/posts/post-activity-feed.js
@@ -6,6 +6,7 @@ const allEvents = [
'click_event',
'signup_event',
'subscription_event',
+ 'email_sent_event',
'email_delivered_event',
'email_opened_event',
'email_failed_event',
@@ -13,7 +14,7 @@ const allEvents = [
];
const eventTypes = {
- sent: ['email_delivered_event'],
+ sent: ['email_sent_event'],
opened: ['email_opened_event'],
clicked: ['click_event'],
feedback: ['feedback_event'],
diff --git a/ghost/admin/app/controllers/members-activity.js b/ghost/admin/app/controllers/members-activity.js
index ed22f6671af..07b9004a9a4 100644
--- a/ghost/admin/app/controllers/members-activity.js
+++ b/ghost/admin/app/controllers/members-activity.js
@@ -26,6 +26,9 @@ export default class MembersActivityController extends Controller {
if (!this.member) {
hiddenEvents.push(...EMAIL_EVENTS);
+ } else {
+ // Always hide sent event
+ hiddenEvents.push('email_sent_event');
}
if (this.settings.editorDefaultEmailRecipients === 'disabled') {
diff --git a/ghost/admin/app/helpers/members-event-filter.js b/ghost/admin/app/helpers/members-event-filter.js
index 489468a50c7..a19f8b36559 100644
--- a/ghost/admin/app/helpers/members-event-filter.js
+++ b/ghost/admin/app/helpers/members-event-filter.js
@@ -3,7 +3,7 @@ import classic from 'ember-classic-decorator';
import {isBlank} from '@ember/utils';
import {inject as service} from '@ember/service';
-export const EMAIL_EVENTS = ['email_delivered_event','email_opened_event','email_failed_event'];
+export const EMAIL_EVENTS = ['email_sent_event', 'email_delivered_event', 'email_opened_event','email_failed_event'];
export const NEWSLETTER_EVENTS = ['newsletter_event'];
@classic
diff --git a/ghost/admin/app/helpers/parse-member-event.js b/ghost/admin/app/helpers/parse-member-event.js
index 164230a8c0a..a0a904b54a3 100644
--- a/ghost/admin/app/helpers/parse-member-event.js
+++ b/ghost/admin/app/helpers/parse-member-event.js
@@ -72,7 +72,7 @@ export default class ParseMemberEventHelper extends Helper {
icon = 'opened-email';
}
- if (event.type === 'email_delivered_event') {
+ if (event.type === 'email_delivered_event' || event.type === 'email_sent_event') {
icon = 'received-email';
}
@@ -149,7 +149,7 @@ export default class ParseMemberEventHelper extends Helper {
return 'opened email';
}
- if (event.type === 'email_delivered_event') {
+ if (event.type === 'email_delivered_event' || event.type === 'email_sent_event') {
return 'received email';
}
diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/activity-feed.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/activity-feed.test.js.snap
index e0e4be36181..7d1bf8e8cab 100644
--- a/ghost/core/test/e2e-api/admin/__snapshots__/activity-feed.test.js.snap
+++ b/ghost/core/test/e2e-api/admin/__snapshots__/activity-feed.test.js.snap
@@ -43,15 +43,35 @@ Object {
"data": Any