[CORL-924/CORL-923] show all comments or staff comments in slack (#2872)

* add allcomments option to slack config

* create separate class for hadnling slack event publishing

* add strings

Co-authored-by: Wyatt Johnson <wyattjoh@gmail.com>
Co-authored-by: Kim Gardner <kgardnr@gmail.com>
This commit is contained in:
Tessa Thornton
2020-03-26 21:21:09 -04:00
committed by GitHub
co-authored by Wyatt Johnson Kim Gardner
parent 3cb5d0ff9f
commit 7fd524cd6a
8 changed files with 334 additions and 213 deletions
+22 -3
View File
@@ -1040,17 +1040,27 @@ type SlackChannelTriggers {
"""
reportedComments is whether this channel will receive reported comments
"""
reportedComments: Boolean!
reportedComments: Boolean
"""
pendingComments is whether this channel will receive pending comments
"""
pendingComments: Boolean!
pendingComments: Boolean
"""
featuredComments is whether this channel will receive featured comments
"""
featuredComments: Boolean!
featuredComments: Boolean
"""
allComents is whether the channel will receive all comments
"""
allComments: Boolean
"""
staffComments is whether the channel will receive staff comments
"""
staffComments: Boolean
}
type SlackChannel {
@@ -3895,6 +3905,15 @@ input SlackTriggersConfigurationInput {
featuredComments is whether this channel will receive featured comments
"""
featuredComments: Boolean
"""
allComents is whether the channel will receive all comments
"""
allComments: Boolean
"""
staffComments is whether the channel will receive staff comments
"""
staffComments: Boolean
}
input SlackChannelConfigurationInput {