[CORL-51] show comment revisions (#2590)

* add comment revisions

* reverse history order

* add strings

* update fixtures

* fix fixtures
This commit is contained in:
Tessa Thornton
2019-09-30 09:18:34 -04:00
committed by GitHub
parent e61e62a238
commit 941a385d53
13 changed files with 222 additions and 8 deletions
+10
View File
@@ -501,6 +501,16 @@ export const baseComment = createFixture<GQLComment>({
edges: [],
pageInfo: { endCursor: null, hasNextPage: false },
},
editing: {
edited: false,
},
revisionHistory: [
{
id: "revision",
body: "Comment body",
createdAt: "2018-07-06T18:24:00.000Z",
},
],
revision: {
actionCounts: {
flag: {