From f31e8e09f54418f867f95192a71e67b450340c13 Mon Sep 17 00:00:00 2001 From: samogot Date: Tue, 19 Jul 2016 15:27:23 +0300 Subject: PLT-914 Add mention notifications for replies on a comment thread (#3130) * PLT-914 Add mention notifications for replies on a comment thread * remove useless store method fix highlighting comments posted before th user write something to thread * refactor out isCommentMention function after rebase * change comment bar highlighting to replay icon mention highlighting * settings and always visible highlight * fix unit tests for new settings * change highlight behaviour - if any message in comment thread generates mention - all thread is highlighted - remove always visible highlightion * fix bug about the textarea in the center channel not clearing * fix default settings value notify_props.comments * do not highlight own comments if there is no other user's messages in thread * refactor out ReactDOM.findDOMNode * refactor out using of UserStore from component --- webapp/i18n/en.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'webapp/i18n') diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 27c5b7da4..3a514d0b3 100644 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1610,6 +1610,11 @@ "user.settings.notification.soundConfig": "Please configure notification sounds in your browser settings", "user.settings.notifications.channelWide": "Channel-wide mentions \"@channel\", \"@all\"", "user.settings.notifications.close": "Close", + "user.settings.notifications.comments": "Comment threads notifications", + "user.settings.notifications.commentsAny": "Mention any comments in a thread you participated in (This will include both mentions to your root post and any comments after you commented on a post)", + "user.settings.notifications.commentsInfo": "Mode of triggering notifications on posts in comment threads you participated in.", + "user.settings.notifications.commentsNever": "No mentions for comments", + "user.settings.notifications.commentsRoot": "Mention any comments on your post", "user.settings.notifications.desktop": "Send desktop notifications", "user.settings.notifications.desktopSounds": "Desktop notification sounds", "user.settings.notifications.emailInfo": "Email notifications are sent for mentions and direct messages after you’ve been offline for more than 60 seconds or away from {siteName} for more than 5 minutes.", -- cgit v1.2.3-1-g7c22