diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json
index 0a769fb02..f28db9d70 100644
--- a/app/javascript/dashboard/i18n/locale/en/settings.json
+++ b/app/javascript/dashboard/i18n/locale/en/settings.json
@@ -57,13 +57,19 @@
},
"ACCESS_TOKEN": {
"TITLE": "Access Token",
- "NOTE": "This token can be used if you are building an API based integration"
+ "NOTE": "This token can be used if you are building an API based integration",
+ "COPY": "Copy"
},
"AUDIO_NOTIFICATIONS_SECTION": {
"TITLE": "Audio Notifications",
"NOTE": "Enable audio notifications in dashboard for new messages and conversations.",
+ "ALERT_TYPES": {
+ "NONE": "None",
+ "MINE": "Assigned",
+ "ALL": "All"
+ },
"ALERT_TYPE": {
- "TITLE": "Alert events:",
+ "TITLE": "Alert events for conversations:",
"NONE": "None",
"ASSIGNED": "Assigned Conversations",
"ALL_CONVERSATIONS": "All Conversations"
@@ -89,6 +95,22 @@
"SLA_MISSED_NEXT_RESPONSE": "Send email notifications when a conversation misses next response SLA",
"SLA_MISSED_RESOLUTION": "Send email notifications when a conversation misses resolution SLA"
},
+ "NOTIFICATIONS": {
+ "TITLE": "Notification preferences",
+ "TYPE_TITLE": "Notification type",
+ "EMAIL": "Email",
+ "PUSH": "Push notification",
+ "TYPES": {
+ "CONVERSATION_CREATED": "A new conversation is created",
+ "CONVERSATION_ASSIGNED": "A conversation is assigned to you",
+ "CONVERSATION_MENTION": "You are mentioned in a conversation",
+ "ASSIGNED_CONVERSATION_NEW_MESSAGE": "A new message is created in an assigned conversation",
+ "PARTICIPATING_CONVERSATION_NEW_MESSAGE": "A new message is created in a participating conversation",
+ "SLA_MISSED_FIRST_RESPONSE": "A conversation misses first response SLA",
+ "SLA_MISSED_NEXT_RESPONSE": "A conversation misses next response SLA",
+ "SLA_MISSED_RESOLUTION": "A conversation misses resolution SLA"
+ }
+ },
"API": {
"UPDATE_SUCCESS": "Your notification preferences are updated successfully",
"UPDATE_ERROR": "There is an error while updating the preferences, please try again"
diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/AudioAlertCondition.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/AudioAlertCondition.vue
new file mode 100644
index 000000000..ead4b77f2
--- /dev/null
+++ b/app/javascript/dashboard/routes/dashboard/settings/personal/AudioAlertCondition.vue
@@ -0,0 +1,42 @@
+
+