{"action":"created","comment":{"url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments/218173090","pull_request_review_id":156053208,"id":218173090,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODE3MzA5MA==","diff_hunk":"@@ -0,0 +1,51 @@\n+import React, { Component } from 'react';\n+import { connect } from 'react-redux';\n+import { Link, BrowserRouter } from 'react-router-dom';\n+import PropTypes from 'prop-types';\n+import getProfile from '../../actions/getProfile';\n+import Profile from '../../components/Profile.jsx';\n+\n+export class ProfilePage extends Component {\n+  componentWillMount() {\n+    const token = this.props.token;\n+    const headers = {};\n+    const username = this.props.match.params.username;\n+    headers.Authorization = token;\n+    this.props.getProfile(`/profiles/${username}`, headers);\n+  }\n+\n+  render() {\n+    console.log(this.props.isLoading, this.props.errors, 'AAAAAAA')\n+    const username = this.props.match.params.username;\n+    const profile = this.props.profile;\n+\n+    return (\n+        <div id=\"profile-page\">\n+        <Profile\n+          profile={profile}\n+          username={username}\n+          owner={this.props.user.username}\n+          errors={this.props.errors}\n+        />\n+        <Link to=\"/\">Back</Link>\n+      </div>","path":"src/views/user/ProfilePage.jsx","position":31,"original_position":31,"commit_id":"eb38556cfd12be5d40e19e9777610c76581f20c3","original_commit_id":"eb38556cfd12be5d40e19e9777610c76581f20c3","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected closing tag to match indentation of opening                                               react/jsx-closing-tag-location<br>Expected indentation of 8 space characters but found 6                                             react/jsx-indent","created_at":"2018-09-17T18:14:10Z","updated_at":"2018-09-17T18:14:12Z","html_url":"https://github.com/andela/rivendell-ah-client/pull/12#discussion_r218173090","pull_request_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments/218173090"},"html":{"href":"https://github.com/andela/rivendell-ah-client/pull/12#discussion_r218173090"},"pull_request":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12","id":214744647,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NzQ0NjQ3","html_url":"https://github.com/andela/rivendell-ah-client/pull/12","diff_url":"https://github.com/andela/rivendell-ah-client/pull/12.diff","patch_url":"https://github.com/andela/rivendell-ah-client/pull/12.patch","issue_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/12","number":12,"state":"open","locked":false,"title":"#160056376 view edit and profile","user":{"login":"tutugodfrey","id":30448913,"node_id":"MDQ6VXNlcjMwNDQ4OTEz","avatar_url":"https://avatars1.githubusercontent.com/u/30448913?v=4","gravatar_id":"","url":"https://api.github.com/users/tutugodfrey","html_url":"https://github.com/tutugodfrey","followers_url":"https://api.github.com/users/tutugodfrey/followers","following_url":"https://api.github.com/users/tutugodfrey/following{/other_user}","gists_url":"https://api.github.com/users/tutugodfrey/gists{/gist_id}","starred_url":"https://api.github.com/users/tutugodfrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tutugodfrey/subscriptions","organizations_url":"https://api.github.com/users/tutugodfrey/orgs","repos_url":"https://api.github.com/users/tutugodfrey/repos","events_url":"https://api.github.com/users/tutugodfrey/events{/privacy}","received_events_url":"https://api.github.com/users/tutugodfrey/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- Add functionality to get and update profiles\r\n\r\n#### Description of Task to be completed?\r\n- Create Profile component\r\n- Modify view Profile conponent\r\n- Add function to get profile and save to redux store\r\n- Add function for log-in to update their profile\r\n\r\n#### How should this be manually tested?\r\nN/A\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#160056376","created_at":"2018-09-11T19:44:22Z","updated_at":"2018-09-17T18:14:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e67de2646e37e91dcd951aa6a074dc5dced1f86","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12/commits","review_comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12/comments","review_comment_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/12/comments","statuses_url":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/eb38556cfd12be5d40e19e9777610c76581f20c3","head":{"label":"andela:feature/160056376/view-edit-profile","ref":"feature/160056376/view-edit-profile","sha":"eb38556cfd12be5d40e19e9777610c76581f20c3","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":146319768,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYzMTk3Njg=","name":"rivendell-ah-client","full_name":"andela/rivendell-ah-client","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/rivendell-ah-client","description":null,"fork":false,"url":"https://api.github.com/repos/andela/rivendell-ah-client","forks_url":"https://api.github.com/repos/andela/rivendell-ah-client/forks","keys_url":"https://api.github.com/repos/andela/rivendell-ah-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/rivendell-ah-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/rivendell-ah-client/teams","hooks_url":"https://api.github.com/repos/andela/rivendell-ah-client/hooks","issue_events_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/events{/number}","events_url":"https://api.github.com/repos/andela/rivendell-ah-client/events","assignees_url":"https://api.github.com/repos/andela/rivendell-ah-client/assignees{/user}","branches_url":"https://api.github.com/repos/andela/rivendell-ah-client/branches{/branch}","tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/tags","blobs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/rivendell-ah-client/languages","stargazers_url":"https://api.github.com/repos/andela/rivendell-ah-client/stargazers","contributors_url":"https://api.github.com/repos/andela/rivendell-ah-client/contributors","subscribers_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscribers","subscription_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscription","commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/rivendell-ah-client/contents/{+path}","compare_url":"https://api.github.com/repos/andela/rivendell-ah-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/rivendell-ah-client/merges","archive_url":"https://api.github.com/repos/andela/rivendell-ah-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/rivendell-ah-client/downloads","issues_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues{/number}","pulls_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/rivendell-ah-client/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/rivendell-ah-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/rivendell-ah-client/labels{/name}","releases_url":"https://api.github.com/repos/andela/rivendell-ah-client/releases{/id}","deployments_url":"https://api.github.com/repos/andela/rivendell-ah-client/deployments","created_at":"2018-08-27T15:49:06Z","updated_at":"2018-09-14T11:27:29Z","pushed_at":"2018-09-17T18:13:07Z","git_url":"git://github.com/andela/rivendell-ah-client.git","ssh_url":"git@github.com:andela/rivendell-ah-client.git","clone_url":"https://github.com/andela/rivendell-ah-client.git","svn_url":"https://github.com/andela/rivendell-ah-client","homepage":null,"size":4490,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":1,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"74598ce3722ca15754ad22660653d020c4b3ade6","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":146319768,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYzMTk3Njg=","name":"rivendell-ah-client","full_name":"andela/rivendell-ah-client","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/rivendell-ah-client","description":null,"fork":false,"url":"https://api.github.com/repos/andela/rivendell-ah-client","forks_url":"https://api.github.com/repos/andela/rivendell-ah-client/forks","keys_url":"https://api.github.com/repos/andela/rivendell-ah-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/rivendell-ah-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/rivendell-ah-client/teams","hooks_url":"https://api.github.com/repos/andela/rivendell-ah-client/hooks","issue_events_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/events{/number}","events_url":"https://api.github.com/repos/andela/rivendell-ah-client/events","assignees_url":"https://api.github.com/repos/andela/rivendell-ah-client/assignees{/user}","branches_url":"https://api.github.com/repos/andela/rivendell-ah-client/branches{/branch}","tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/tags","blobs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/rivendell-ah-client/languages","stargazers_url":"https://api.github.com/repos/andela/rivendell-ah-client/stargazers","contributors_url":"https://api.github.com/repos/andela/rivendell-ah-client/contributors","subscribers_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscribers","subscription_url":"https://api.github.com/repos/andela/rivendell-ah-client/subscription","commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/rivendell-ah-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/rivendell-ah-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/rivendell-ah-client/contents/{+path}","compare_url":"https://api.github.com/repos/andela/rivendell-ah-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/rivendell-ah-client/merges","archive_url":"https://api.github.com/repos/andela/rivendell-ah-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/rivendell-ah-client/downloads","issues_url":"https://api.github.com/repos/andela/rivendell-ah-client/issues{/number}","pulls_url":"https://api.github.com/repos/andela/rivendell-ah-client/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/rivendell-ah-client/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/rivendell-ah-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/rivendell-ah-client/labels{/name}","releases_url":"https://api.github.com/repos/andela/rivendell-ah-client/releases{/id}","deployments_url":"https://api.github.com/repos/andela/rivendell-ah-client/deployments","created_at":"2018-08-27T15:49:06Z","updated_at":"2018-09-14T11:27:29Z","pushed_at":"2018-09-17T18:13:07Z","git_url":"git://github.com/andela/rivendell-ah-client.git","ssh_url":"git@github.com:andela/rivendell-ah-client.git","clone_url":"https://github.com/andela/rivendell-ah-client.git","svn_url":"https://github.com/andela/rivendell-ah-client","homepage":null,"size":4490,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":1,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12"},"html":{"href":"https://github.com/andela/rivendell-ah-client/pull/12"},"issue":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/issues/12"},"comments":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/andela/rivendell-ah-client/statuses/eb38556cfd12be5d40e19e9777610c76581f20c3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}