-
+
{
// Hiding bio until moderation can get figured out
@@ -88,4 +88,4 @@ const mapDispatchToProps = () => ({
export default compose(
connect(mapStateToProps, mapDispatchToProps),
myCommentHistory
-)(SettingsContainer);
+)(ProfileContainer);
diff --git a/client/coral-settings/translations.json b/client/coral-settings/translations.json
index c8398bd7b..945d71b87 100644
--- a/client/coral-settings/translations.json
+++ b/client/coral-settings/translations.json
@@ -1,20 +1,22 @@
{
"en":{
+ "profile": "Profile",
"userNoComment": "You've never left a comment. Join the conversation!",
"allComments": "All Comments",
"profileSettings": "Profile Settings",
"myCommentHistory": "My comment History",
"signIn": "Sign in",
- "toAccess": " to access Settings",
- "fromSettingsPage": "From the Settings Page you can see your comment history."
+ "toAccess": " to access Profile",
+ "fromSettingsPage": "From the Profile Page you can see your comment history."
},
"es":{
+ "profile": "Perfil",
"userNoComment": "No has dejado áun ningún comentario. ¡Unete a la conversación!",
"allComments": "Todos los comentarios",
"profileSettings": "Configuración del perfil",
"myCommentHistory": "Mi historial de comentarios",
"signIn": "Entrar",
- "toAccess": "para acceder a la configuración",
+ "toAccess": "para acceder a al perfil",
"fromSettingsPage": "Desde la peagina de configuración puede ver su historia de comentarios."
}
}
diff --git a/client/coral-sign-in/translations.js b/client/coral-sign-in/translations.js
index a2bb60819..08c8bbd3f 100644
--- a/client/coral-sign-in/translations.js
+++ b/client/coral-sign-in/translations.js
@@ -10,7 +10,7 @@ export default {
facebookSignIn: 'Sign in with Facebook',
facebookSignUp: 'Sign up with Facebook',
logout: 'Logout',
- signIn: 'Sign In',
+ signIn: 'Sign in to join the conversation',
or: 'Or',
email: 'E-mail Address',
password: 'Password',
@@ -51,7 +51,7 @@ export default {
facebookSignIn: 'Entrar con Facebook',
facebookSignUp: 'Regístrate con Facebook',
logout: 'Salir',
- signIn: 'Entrar',
+ signIn: 'Entrar para Unirte a la Conversación',
or: 'o',
email: 'E-mail',
password: 'Contraseña',
From 6566505fc1ccbb0ec256381338a4446f351cee99 Mon Sep 17 00:00:00 2001
From: Wyatt Johnson
Date: Fri, 24 Feb 2017 11:15:46 -0700
Subject: [PATCH 31/36] Adjusted route
---
app.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app.json b/app.json
index e498c5168..5faa23bc2 100644
--- a/app.json
+++ b/app.json
@@ -29,5 +29,5 @@
"as": "POSTMARK"
}],
"image": "heroku/nodejs",
- "success_url": "/admin/setup"
+ "success_url": "/admin/install"
}
From 5c441e90e7cf932de9103b13399ea8b65e36a6e5 Mon Sep 17 00:00:00 2001
From: Riley Davis
Date: Fri, 24 Feb 2017 13:08:48 -0700
Subject: [PATCH 32/36] do not update countCache if the CommentBox is in a
reply
---
client/coral-plugin-commentbox/CommentBox.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/client/coral-plugin-commentbox/CommentBox.js b/client/coral-plugin-commentbox/CommentBox.js
index 3d895df07..f7444437e 100644
--- a/client/coral-plugin-commentbox/CommentBox.js
+++ b/client/coral-plugin-commentbox/CommentBox.js
@@ -30,6 +30,7 @@ class CommentBox extends Component {
postItem,
assetId,
updateCountCache,
+ isReply,
countCache,
parentId,
addNotification,
@@ -46,17 +47,17 @@ class CommentBox extends Component {
if (this.props.charCount && this.state.body.length > this.props.charCount) {
return;
}
- updateCountCache(assetId, countCache + 1);
+ !isReply && updateCountCache(assetId, countCache + 1);
postItem(comment, 'comments')
.then(({data}) => {
const postedComment = data.createComment.comment;
if (postedComment.status === 'REJECTED') {
addNotification('error', lang.t('comment-post-banned-word'));
- updateCountCache(assetId, countCache);
+ !isReply && updateCountCache(assetId, countCache);
} else if (postedComment.status === 'PREMOD') {
addNotification('success', lang.t('comment-post-notif-premod'));
- updateCountCache(assetId, countCache);
+ !isReply && updateCountCache(assetId, countCache);
} else {
addNotification('success', 'Your comment has been posted.');
}
From d650779c1a3b83ea035ff9b0705874f15cf96996 Mon Sep 17 00:00:00 2001
From: gaba
Date: Fri, 24 Feb 2017 16:08:25 -0800
Subject: [PATCH 33/36] Removes ;
---
client/coral-sign-in/components/FakeComment.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/coral-sign-in/components/FakeComment.js b/client/coral-sign-in/components/FakeComment.js
index 75d4e51f1..b5af6bf1c 100644
--- a/client/coral-sign-in/components/FakeComment.js
+++ b/client/coral-sign-in/components/FakeComment.js
@@ -35,7 +35,7 @@ class FakeComment extends React.Component {
thumb_up
- ;
+