diff --git a/services/web/frontend/js/features/ide-settings/hooks/use-project-notification-preferences.ts b/services/web/frontend/js/features/ide-settings/hooks/use-project-notification-preferences.ts index ac72d85532..236355b596 100644 --- a/services/web/frontend/js/features/ide-settings/hooks/use-project-notification-preferences.ts +++ b/services/web/frontend/js/features/ide-settings/hooks/use-project-notification-preferences.ts @@ -26,6 +26,7 @@ function levelToPreferences( commentOnInvitedProject: true, repliesOnAuthoredThread: true, repliesOnParticipatingThread: true, + mentionsInThread: true, commentResolvedOnAuthoredThread: true, commentResolvedOnParticipatingThread: true, commentReopenedOnAuthoredThread: true, @@ -41,6 +42,7 @@ function levelToPreferences( commentOnInvitedProject: false, repliesOnAuthoredThread: true, repliesOnParticipatingThread: true, + mentionsInThread: true, commentResolvedOnAuthoredThread: true, commentResolvedOnParticipatingThread: true, commentReopenedOnAuthoredThread: true, @@ -56,6 +58,7 @@ function levelToPreferences( commentOnInvitedProject: false, repliesOnAuthoredThread: false, repliesOnParticipatingThread: false, + mentionsInThread: false, commentResolvedOnAuthoredThread: false, commentResolvedOnParticipatingThread: false, commentReopenedOnAuthoredThread: false, @@ -93,6 +96,7 @@ function preferencesToLevel( const anyParticipantNotifications = preferences.repliesOnAuthoredThread || preferences.repliesOnParticipatingThread || + preferences.mentionsInThread || preferences.trackChangesAcceptedOnAuthoredChange || preferences.trackChangesRejectedOnAuthoredChange || preferences.commentResolvedOnAuthoredThread || diff --git a/services/web/test/frontend/features/ide-settings/settings/project-notifications-setting.test.tsx b/services/web/test/frontend/features/ide-settings/settings/project-notifications-setting.test.tsx index 3ed3ec7d97..ffbcb377a3 100644 --- a/services/web/test/frontend/features/ide-settings/settings/project-notifications-setting.test.tsx +++ b/services/web/test/frontend/features/ide-settings/settings/project-notifications-setting.test.tsx @@ -13,6 +13,7 @@ const allNotificationsOn = { commentOnInvitedProject: true, repliesOnAuthoredThread: true, repliesOnParticipatingThread: true, + mentionsInThread: true, commentResolvedOnAuthoredThread: true, commentResolvedOnParticipatingThread: true, commentReopenedOnAuthoredThread: true, @@ -28,6 +29,7 @@ const repliesOnlyPreferences = { commentOnInvitedProject: false, repliesOnAuthoredThread: true, repliesOnParticipatingThread: true, + mentionsInThread: true, commentResolvedOnAuthoredThread: true, commentResolvedOnParticipatingThread: true, commentReopenedOnAuthoredThread: true, @@ -59,6 +61,7 @@ const allNotificationsOff = { commentOnInvitedProject: false, repliesOnAuthoredThread: false, repliesOnParticipatingThread: false, + mentionsInThread: false, commentResolvedOnAuthoredThread: false, commentResolvedOnParticipatingThread: false, commentReopenedOnAuthoredThread: false,