-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#164798170 User Should be able to comment on articles #35
Conversation
src/actions/commentActions.js
Outdated
location.reload(); | ||
}) | ||
.catch((error) => { | ||
console.log(error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezrogha remove the console.log`
Because we agreed that, we should not be leaving them anywhere in our code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for that feedback,
@felixkiryowa
@@ -79,6 +80,7 @@ const ArticleDetail = ({ article }) => ( | |||
</button> | |||
</div> | |||
<DeleteArticleComponentModel /> | |||
<Comments comments={comments} showReplies={showReplies} replyDisplayState={replyDisplayState} slug={article.slug} postReplyToComment={postReplyToComment} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezrogha
Can you reduce on the length of this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @felixkiryowa,
Feedback implemented
.commentDate { | ||
font-size: 12px; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezrogha change the px to rem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback @felixkiryowa,
It has been implemented
border-radius: 2px; | ||
} | ||
|
||
.commentReplyButtn { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezrogha change px to rem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback @dannylwe,
It has been implemented
src/pages/Comments/index.jsx
Outdated
|
||
const Comments = ({ comments, showReplies, replyDisplayState, slug, postReplyToComment }) => ( | ||
<div> | ||
<div style={{ marginTop: 70, marginBottom: 15 }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ezrogha put these in css file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that feedback @dannylwe,
It has been implemented
87b3ae9
to
f349f72
Compare
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
f349f72
to
ea6b2f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great but next time avoid change irrelevant files
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
- fetch all comments - fetch all replies to comment - post comment - post reply to comment [Maintains #164798170]
What does this PR do?
Allow authenticated users to comment on articles
Description of Task to be completed?
How should this be manually tested?
ft-comment-article-164798170
ft-comment-article-164798170
/Login
What are the relevant pivotal tracker stories?
#164798170
Screenshots (if appropriate)