mirror of
https://github.com/wassname/talk.git
synced 2026-07-24 13:20:47 +08:00
[next] Moderation Queues (#2098)
* fix: edit comment fix for reactions * feat: Comment Queue Counts - Removed "remove flag" - Rearranged moderation services - Rearranged comment counts on stories - Added moderation queue counts to stories - Added comments edge - Improved Cursor/Connection types - Improved count updators for stories * feat: added shared comment counts and queues - Added new AugmentedRedis type - Added more log calls - Update counts in shared counter as well - Return a Query level Moderation Queue * fix: fixed test
This commit is contained in:
@@ -19,6 +19,9 @@ const mutation = graphql`
|
||||
editComment(input: $input) {
|
||||
comment {
|
||||
body
|
||||
revision {
|
||||
id
|
||||
}
|
||||
editing {
|
||||
edited
|
||||
}
|
||||
|
||||
@@ -40,6 +40,9 @@ function createTestRenderer() {
|
||||
editing: {
|
||||
edited: true,
|
||||
},
|
||||
revision: {
|
||||
id: stories[0].comments.edges[0].node.revision.id,
|
||||
},
|
||||
},
|
||||
clientMutationId: "0",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user