{"action":"created","comment":{"url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments/233802743","pull_request_review_id":175299722,"id":233802743,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzgwMjc0Mw==","diff_hunk":"@@ -0,0 +1,98 @@\n+import React from 'react';\n+import { connect } from 'react-redux';\n+import { withRouter } from 'react-router';\n+import PropTypes from 'prop-types';\n+\n+import { addComment } from 'Actions/commentActions';\n+\n+import InputField from 'Atoms/InputField/InputField';\n+import { showModal } from 'Actions/authUser';\n+import Alert from 'Utils/helpers/alert';\n+import './style.scss';\n+\n+export class AddComment extends React.Component {\n+  constructor(props) {","path":"src/components/compounds/AddComment/index.js","position":14,"original_position":14,"commit_id":"5cc314d6940a49d7641e4313e0b99d8ab3648731","original_commit_id":"5cc314d6940a49d7641e4313e0b99d8ab3648731","user":{"login":"joeeasy","id":22319459,"node_id":"MDQ6VXNlcjIyMzE5NDU5","avatar_url":"https://avatars0.githubusercontent.com/u/22319459?v=4","gravatar_id":"","url":"https://api.github.com/users/joeeasy","html_url":"https://github.com/joeeasy","followers_url":"https://api.github.com/users/joeeasy/followers","following_url":"https://api.github.com/users/joeeasy/following{/other_user}","gists_url":"https://api.github.com/users/joeeasy/gists{/gist_id}","starred_url":"https://api.github.com/users/joeeasy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeeasy/subscriptions","organizations_url":"https://api.github.com/users/joeeasy/orgs","repos_url":"https://api.github.com/users/joeeasy/repos","events_url":"https://api.github.com/users/joeeasy/events{/privacy}","received_events_url":"https://api.github.com/users/joeeasy/received_events","type":"User","site_admin":false},"body":"I don't think there's any need for using `constructor` here since we're already making use of `@babel/plugin-proposal-class-properties` on the application.\r\nYou can call the set the initial state like ```\r\nstate = {\r\n    content: ''\r\n}; ```","created_at":"2018-11-15T11:14:56Z","updated_at":"2018-11-15T11:20:06Z","html_url":"https://github.com/andela/metis-ah-frontend/pull/46#discussion_r233802743","pull_request_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments/233802743"},"html":{"href":"https://github.com/andela/metis-ah-frontend/pull/46#discussion_r233802743"},"pull_request":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46","id":231099588,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMDk5NTg4","html_url":"https://github.com/andela/metis-ah-frontend/pull/46","diff_url":"https://github.com/andela/metis-ah-frontend/pull/46.diff","patch_url":"https://github.com/andela/metis-ah-frontend/pull/46.patch","issue_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/46","number":46,"state":"open","locked":false,"title":"#159987368 user should be able to comment on an article","user":{"login":"johngorithm","id":30831276,"node_id":"MDQ6VXNlcjMwODMxMjc2","avatar_url":"https://avatars2.githubusercontent.com/u/30831276?v=4","gravatar_id":"","url":"https://api.github.com/users/johngorithm","html_url":"https://github.com/johngorithm","followers_url":"https://api.github.com/users/johngorithm/followers","following_url":"https://api.github.com/users/johngorithm/following{/other_user}","gists_url":"https://api.github.com/users/johngorithm/gists{/gist_id}","starred_url":"https://api.github.com/users/johngorithm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngorithm/subscriptions","organizations_url":"https://api.github.com/users/johngorithm/orgs","repos_url":"https://api.github.com/users/johngorithm/repos","events_url":"https://api.github.com/users/johngorithm/events{/privacy}","received_events_url":"https://api.github.com/users/johngorithm/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nImplement user should be able to comment and view article\r\n\r\n#### Description of tasks to be completed\r\n- create ui view for creating comments\r\n- create ui view for displaying comments\r\n- add actions and reducers for the feature\r\n- add loading spinners\r\n- validate form and check for authentication\r\n- testing\r\n\r\n#### How should this be manually tested?\r\n- clone the repo\r\n- run `npm install`\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n159987368\r\n\r\n#### Screenshots\r\n<img width=\"1440\" alt=\"screen shot 2018-11-15 at 8 54 22 am\" src=\"https://user-images.githubusercontent.com/30831276/48538201-1d695600-e8b4-11e8-870f-d19c6f19f343.png\">\r\n\r\n\r\n<img width=\"1440\" alt=\"screen shot 2018-11-15 at 8 54 36 am\" src=\"https://user-images.githubusercontent.com/30831276/48538223-2b1edb80-e8b4-11e8-9654-1d6991acafb6.png\">\r\n\r\n\r\n","created_at":"2018-11-15T07:55:45Z","updated_at":"2018-11-15T11:20:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0050bafed26bc3b07bd913b785f814ae937ca18","assignee":null,"assignees":[],"requested_reviewers":[{"login":"VictoriaOffoma","id":27220615,"node_id":"MDQ6VXNlcjI3MjIwNjE1","avatar_url":"https://avatars0.githubusercontent.com/u/27220615?v=4","gravatar_id":"","url":"https://api.github.com/users/VictoriaOffoma","html_url":"https://github.com/VictoriaOffoma","followers_url":"https://api.github.com/users/VictoriaOffoma/followers","following_url":"https://api.github.com/users/VictoriaOffoma/following{/other_user}","gists_url":"https://api.github.com/users/VictoriaOffoma/gists{/gist_id}","starred_url":"https://api.github.com/users/VictoriaOffoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictoriaOffoma/subscriptions","organizations_url":"https://api.github.com/users/VictoriaOffoma/orgs","repos_url":"https://api.github.com/users/VictoriaOffoma/repos","events_url":"https://api.github.com/users/VictoriaOffoma/events{/privacy}","received_events_url":"https://api.github.com/users/VictoriaOffoma/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46/commits","review_comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46/comments","review_comment_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/46/comments","statuses_url":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/5cc314d6940a49d7641e4313e0b99d8ab3648731","head":{"label":"andela:ft-user-should-be-able-to-comment-on-an-article-159987368","ref":"ft-user-should-be-able-to-comment-on-an-article-159987368","sha":"5cc314d6940a49d7641e4313e0b99d8ab3648731","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":151224437,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjQ0Mzc=","name":"metis-ah-frontend","full_name":"andela/metis-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/metis-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/metis-ah-frontend","forks_url":"https://api.github.com/repos/andela/metis-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/metis-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/metis-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/metis-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/metis-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/metis-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/metis-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/metis-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/metis-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/metis-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/metis-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/metis-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/metis-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/metis-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/metis-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/metis-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/metis-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/metis-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/metis-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/metis-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/metis-ah-frontend/deployments","created_at":"2018-10-02T08:35:23Z","updated_at":"2018-11-14T09:35:26Z","pushed_at":"2018-11-15T10:49:19Z","git_url":"git://github.com/andela/metis-ah-frontend.git","ssh_url":"git@github.com:andela/metis-ah-frontend.git","clone_url":"https://github.com/andela/metis-ah-frontend.git","svn_url":"https://github.com/andela/metis-ah-frontend","homepage":null,"size":19909,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"a9ae4d496f3409b76febd21b6d5f68147898b84a","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":151224437,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyMjQ0Mzc=","name":"metis-ah-frontend","full_name":"andela/metis-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/metis-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/metis-ah-frontend","forks_url":"https://api.github.com/repos/andela/metis-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/metis-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/metis-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/metis-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/metis-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/metis-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/metis-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/metis-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/metis-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/metis-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/metis-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/metis-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/metis-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/metis-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/metis-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/metis-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/metis-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/metis-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/metis-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/metis-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/metis-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/metis-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/metis-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/metis-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/metis-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/metis-ah-frontend/deployments","created_at":"2018-10-02T08:35:23Z","updated_at":"2018-11-14T09:35:26Z","pushed_at":"2018-11-15T10:49:19Z","git_url":"git://github.com/andela/metis-ah-frontend.git","ssh_url":"git@github.com:andela/metis-ah-frontend.git","clone_url":"https://github.com/andela/metis-ah-frontend.git","svn_url":"https://github.com/andela/metis-ah-frontend","homepage":null,"size":19909,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46"},"html":{"href":"https://github.com/andela/metis-ah-frontend/pull/46"},"issue":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/issues/46"},"comments":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/andela/metis-ah-frontend/statuses/5cc314d6940a49d7641e4313e0b99d8ab3648731"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"joeeasy"}}