From daa6ce60ab713ff8efe013bf4cb2343be164de78 Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Tue, 28 Mar 2017 15:41:27 -0600 Subject: [PATCH 1/3] show the total comment count instead of the parent count --- client/coral-embed-stream/src/Embed.js | 2 +- client/coral-framework/graphql/queries/streamQuery.graphql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/coral-embed-stream/src/Embed.js b/client/coral-embed-stream/src/Embed.js index a3d2a24a9..962eb1030 100644 --- a/client/coral-embed-stream/src/Embed.js +++ b/client/coral-embed-stream/src/Embed.js @@ -120,7 +120,7 @@ class Embed extends Component {
- + {lang.t('MY_COMMENTS')} Configure Stream diff --git a/client/coral-framework/graphql/queries/streamQuery.graphql b/client/coral-framework/graphql/queries/streamQuery.graphql index e9f4c827c..03af1de4c 100644 --- a/client/coral-framework/graphql/queries/streamQuery.graphql +++ b/client/coral-framework/graphql/queries/streamQuery.graphql @@ -29,6 +29,7 @@ query AssetQuery($asset_id: ID, $asset_url: String!, $comment_id: ID!, $has_comm requireEmailConfirmation } commentCount + totalCommentCount comments(limit: 10) { ...commentView replyCount From d80ed467f125a02cb96fbd59baa04fc418613760 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Wed, 29 Mar 2017 21:41:22 +0700 Subject: [PATCH 2/3] Remove duplicate material.css --- client/coral-admin/src/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/client/coral-admin/src/index.js b/client/coral-admin/src/index.js index 00190847a..9a532856e 100644 --- a/client/coral-admin/src/index.js +++ b/client/coral-admin/src/index.js @@ -7,7 +7,6 @@ import store from './services/store'; import App from './components/App'; -import 'react-mdl/extra/material.css'; import 'react-mdl/extra/material.js'; render( From 00a74f05cb03a425a877d44dd30fc5c0df09282d Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 30 Mar 2017 00:44:26 +0700 Subject: [PATCH 3/3] Use standard mdl theme --- views/admin.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/admin.ejs b/views/admin.ejs index 36e3d15c8..947f15425 100644 --- a/views/admin.ejs +++ b/views/admin.ejs @@ -21,7 +21,7 @@ - +