Improve comment section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-06-15 16:20:58 +02:00
parent d8bdc132e8
commit 47297127a2
19 changed files with 325 additions and 272 deletions

View File

@@ -17,6 +17,7 @@ export const COMMENT_FIELDS_FRAGMENT = gql`
domain
preferredUsername
name
summary
}
totalReplies
updatedAt
@@ -58,11 +59,11 @@ export const COMMENTS_THREADS = gql`
id
uuid
comments {
...CommentRecursive
...CommentFields
}
}
}
${COMMENT_RECURSIVE_FRAGMENT}
${COMMENT_FIELDS_FRAGMENT}
`;
export const CREATE_COMMENT_FROM_EVENT = gql`