Skip to content

Commit ef5c331

Browse files
author
Vikas Agarwal
committed
Updated topics names in settings form as well after latest changes in topic names
1 parent a2c146e commit ef5c331

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

src/routes/settings/routes/notifications/components/NotificationSettingsForm.jsx

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const topics = [
4848
description: 'Receive a notification any time your project scope is updated',
4949
enabledMethods:['web', 'email'],
5050
types: [
51-
'notifications.connect.project.specificationModified'
51+
'connect.action.project.product.update.spec'
5252
]
5353
}, {
5454
title: 'File uploads',
@@ -81,8 +81,8 @@ const topics = [
8181
description: 'Receive a notification when a phase is added to your project plan',
8282
enabledMethods:['web', 'email'],
8383
types: [
84-
'notifications.connect.project.planReady',
85-
'notifications.connect.project.planModified'
84+
'connect.action.project.plan.ready',
85+
'connect.action.project.plan.updated'
8686
]
8787
}, {
8888
title: 'Project phase updates',
@@ -93,24 +93,11 @@ const topics = [
9393
'notifications.connect.project.phase.transition.completed',
9494
'notifications.connect.project.phase.update.payment',
9595
'notifications.connect.project.phase.update.progress',
96-
'notifications.connect.project.phase.update.scope'
97-
]
98-
}, {
99-
title: 'Project progress updates',
100-
enabledMethods:['web', 'email'],
101-
types: [
102-
'notifications.connect.project.phase.update.progress',
103-
'notifications.connect.project.progressModified'
104-
]
105-
}, {
106-
title: 'Project phase timeline changes',
107-
enabledMethods:['web', 'email'],
108-
types: [
109-
'notifications.connect.project.phase.timelineModified',
110-
'notifications.connect.project.phase.milestone.transition.active',
111-
'notifications.connect.project.phase.milestone.transition.completed',
96+
'notifications.connect.project.phase.update.scope',
97+
'connect.action.timeline.milestone.transition.active',
98+
'connect.action.timeline.milestone.transition.completed',
11299
// should we include wait.customer to be controlled via settings?
113-
'notifications.connect.project.phase.milestone.waiting.customer'
100+
'connect.action.timeline.milestone.waiting.customer'
114101
]
115102
}
116103
]

0 commit comments

Comments
 (0)