{"action":"created","comment":{"url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/comments/210552935","pull_request_review_id":146790661,"id":210552935,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDU1MjkzNQ==","diff_hunk":"@@ -0,0 +1,59 @@\n+import React from 'react';\n+import { Grid, Avatar, Button } from '@material-ui/core';\n+import { Link } from 'react-router-dom';\n+\n+export default class UserDashboard extends React.Component {\n+\n+  render() {\n+    if (this.props.userprofile) {\n+      return (\n+        <Grid className=\"user-dashboard\" container alignItems={\"center\"} justify={\"center\"} direction={\"row\"}>\n+          <Grid item>\n+            <Avatar\n+              alt={\"user avatar\"}\n+              src={this.props.user.avatar}\n+              className=\"user-avatar\"\n+            />\n+          </Grid>\n+          <Grid className=\"left-pdg\" item>\n+            <Grid className=\"nick-btn\">\n+              <div className=\"user-nickname\">\n+                {this.props.userprofile.nickname}\n+              </div>\n+              {this.props.userprofile._id === this.props.user._id ?\n+                  <Button variant=\"outlined\" id=\"dashboard-btn\">\n+                    <Link \n+                      className=\"link\"\n+                      to={`/edit-profile/${this.props.userprofile.nickname}`}\n+                    >\n+                      Edit profile\n+                    </Link>\n+                  </Button>\n+                : ''}\n+            </Grid>\n+            <Grid className=\"all-infa\" container>\n+              <div><span>\n+                {this.props.userprofile.posts ? this.props.userprofile.posts.length: \"0\"}","path":"src/modules/user-page/components/user-dashboard/UserDashboard.jsx","position":36,"original_position":36,"commit_id":"0891afc1436f5a51eed3271feab532b15b51a8e3","original_commit_id":"0891afc1436f5a51eed3271feab532b15b51a8e3","user":{"login":"TamaraKovalchuk","id":34654588,"node_id":"MDQ6VXNlcjM0NjU0NTg4","avatar_url":"https://avatars3.githubusercontent.com/u/34654588?v=4","gravatar_id":"","url":"https://api.github.com/users/TamaraKovalchuk","html_url":"https://github.com/TamaraKovalchuk","followers_url":"https://api.github.com/users/TamaraKovalchuk/followers","following_url":"https://api.github.com/users/TamaraKovalchuk/following{/other_user}","gists_url":"https://api.github.com/users/TamaraKovalchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/TamaraKovalchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TamaraKovalchuk/subscriptions","organizations_url":"https://api.github.com/users/TamaraKovalchuk/orgs","repos_url":"https://api.github.com/users/TamaraKovalchuk/repos","events_url":"https://api.github.com/users/TamaraKovalchuk/events{/privacy}","received_events_url":"https://api.github.com/users/TamaraKovalchuk/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2018-08-16T10:51:36Z","updated_at":"2018-08-16T10:51:37Z","html_url":"https://github.com/Lv330g/pixelistic_fe/pull/18#discussion_r210552935","pull_request_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/comments/210552935"},"html":{"href":"https://github.com/Lv330g/pixelistic_fe/pull/18#discussion_r210552935"},"pull_request":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18"}},"in_reply_to_id":210510377},"pull_request":{"url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18","id":208504470,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NTA0NDcw","html_url":"https://github.com/Lv330g/pixelistic_fe/pull/18","diff_url":"https://github.com/Lv330g/pixelistic_fe/pull/18.diff","patch_url":"https://github.com/Lv330g/pixelistic_fe/pull/18.patch","issue_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/18","number":18,"state":"open","locked":false,"title":"Lv-160","user":{"login":"TamaraKovalchuk","id":34654588,"node_id":"MDQ6VXNlcjM0NjU0NTg4","avatar_url":"https://avatars3.githubusercontent.com/u/34654588?v=4","gravatar_id":"","url":"https://api.github.com/users/TamaraKovalchuk","html_url":"https://github.com/TamaraKovalchuk","followers_url":"https://api.github.com/users/TamaraKovalchuk/followers","following_url":"https://api.github.com/users/TamaraKovalchuk/following{/other_user}","gists_url":"https://api.github.com/users/TamaraKovalchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/TamaraKovalchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TamaraKovalchuk/subscriptions","organizations_url":"https://api.github.com/users/TamaraKovalchuk/orgs","repos_url":"https://api.github.com/users/TamaraKovalchuk/repos","events_url":"https://api.github.com/users/TamaraKovalchuk/events{/privacy}","received_events_url":"https://api.github.com/users/TamaraKovalchuk/received_events","type":"User","site_admin":false},"body":"Fix UserDashboard.js and EditProfile.js. Gave the opportunity to change nickname. Check this. please.","created_at":"2018-08-15T08:41:25Z","updated_at":"2018-08-16T10:51:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0afe354b27e2af3bbace02d8c41850c7d0f9f3c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/18/comments","statuses_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/statuses/0891afc1436f5a51eed3271feab532b15b51a8e3","head":{"label":"Lv330g:lv-160","ref":"lv-160","sha":"0891afc1436f5a51eed3271feab532b15b51a8e3","user":{"login":"Lv330g","id":41663278,"node_id":"MDQ6VXNlcjQxNjYzMjc4","avatar_url":"https://avatars1.githubusercontent.com/u/41663278?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv330g","html_url":"https://github.com/Lv330g","followers_url":"https://api.github.com/users/Lv330g/followers","following_url":"https://api.github.com/users/Lv330g/following{/other_user}","gists_url":"https://api.github.com/users/Lv330g/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv330g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv330g/subscriptions","organizations_url":"https://api.github.com/users/Lv330g/orgs","repos_url":"https://api.github.com/users/Lv330g/repos","events_url":"https://api.github.com/users/Lv330g/events{/privacy}","received_events_url":"https://api.github.com/users/Lv330g/received_events","type":"User","site_admin":false},"repo":{"id":142249639,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIyNDk2Mzk=","name":"pixelistic_fe","full_name":"Lv330g/pixelistic_fe","owner":{"login":"Lv330g","id":41663278,"node_id":"MDQ6VXNlcjQxNjYzMjc4","avatar_url":"https://avatars1.githubusercontent.com/u/41663278?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv330g","html_url":"https://github.com/Lv330g","followers_url":"https://api.github.com/users/Lv330g/followers","following_url":"https://api.github.com/users/Lv330g/following{/other_user}","gists_url":"https://api.github.com/users/Lv330g/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv330g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv330g/subscriptions","organizations_url":"https://api.github.com/users/Lv330g/orgs","repos_url":"https://api.github.com/users/Lv330g/repos","events_url":"https://api.github.com/users/Lv330g/events{/privacy}","received_events_url":"https://api.github.com/users/Lv330g/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lv330g/pixelistic_fe","description":null,"fork":false,"url":"https://api.github.com/repos/Lv330g/pixelistic_fe","forks_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/forks","keys_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/teams","hooks_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/hooks","issue_events_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/events{/number}","events_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/events","assignees_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/assignees{/user}","branches_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/branches{/branch}","tags_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/tags","blobs_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/statuses/{sha}","languages_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/languages","stargazers_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/stargazers","contributors_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/contributors","subscribers_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/subscribers","subscription_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/subscription","commits_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/contents/{+path}","compare_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/merges","archive_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/downloads","issues_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues{/number}","pulls_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls{/number}","milestones_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/milestones{/number}","notifications_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/labels{/name}","releases_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/releases{/id}","deployments_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/deployments","created_at":"2018-07-25T05:00:28Z","updated_at":"2018-08-16T10:20:42Z","pushed_at":"2018-08-16T10:20:40Z","git_url":"git://github.com/Lv330g/pixelistic_fe.git","ssh_url":"git@github.com:Lv330g/pixelistic_fe.git","clone_url":"https://github.com/Lv330g/pixelistic_fe.git","svn_url":"https://github.com/Lv330g/pixelistic_fe","homepage":null,"size":271,"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":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Lv330g:master","ref":"master","sha":"34c9a3aac2f0a2554992020c5c386fd7f75cac34","user":{"login":"Lv330g","id":41663278,"node_id":"MDQ6VXNlcjQxNjYzMjc4","avatar_url":"https://avatars1.githubusercontent.com/u/41663278?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv330g","html_url":"https://github.com/Lv330g","followers_url":"https://api.github.com/users/Lv330g/followers","following_url":"https://api.github.com/users/Lv330g/following{/other_user}","gists_url":"https://api.github.com/users/Lv330g/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv330g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv330g/subscriptions","organizations_url":"https://api.github.com/users/Lv330g/orgs","repos_url":"https://api.github.com/users/Lv330g/repos","events_url":"https://api.github.com/users/Lv330g/events{/privacy}","received_events_url":"https://api.github.com/users/Lv330g/received_events","type":"User","site_admin":false},"repo":{"id":142249639,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIyNDk2Mzk=","name":"pixelistic_fe","full_name":"Lv330g/pixelistic_fe","owner":{"login":"Lv330g","id":41663278,"node_id":"MDQ6VXNlcjQxNjYzMjc4","avatar_url":"https://avatars1.githubusercontent.com/u/41663278?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv330g","html_url":"https://github.com/Lv330g","followers_url":"https://api.github.com/users/Lv330g/followers","following_url":"https://api.github.com/users/Lv330g/following{/other_user}","gists_url":"https://api.github.com/users/Lv330g/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv330g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv330g/subscriptions","organizations_url":"https://api.github.com/users/Lv330g/orgs","repos_url":"https://api.github.com/users/Lv330g/repos","events_url":"https://api.github.com/users/Lv330g/events{/privacy}","received_events_url":"https://api.github.com/users/Lv330g/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lv330g/pixelistic_fe","description":null,"fork":false,"url":"https://api.github.com/repos/Lv330g/pixelistic_fe","forks_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/forks","keys_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/teams","hooks_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/hooks","issue_events_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/events{/number}","events_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/events","assignees_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/assignees{/user}","branches_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/branches{/branch}","tags_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/tags","blobs_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/statuses/{sha}","languages_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/languages","stargazers_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/stargazers","contributors_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/contributors","subscribers_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/subscribers","subscription_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/subscription","commits_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/contents/{+path}","compare_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/merges","archive_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/downloads","issues_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues{/number}","pulls_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls{/number}","milestones_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/milestones{/number}","notifications_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/labels{/name}","releases_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/releases{/id}","deployments_url":"https://api.github.com/repos/Lv330g/pixelistic_fe/deployments","created_at":"2018-07-25T05:00:28Z","updated_at":"2018-08-16T10:20:42Z","pushed_at":"2018-08-16T10:20:40Z","git_url":"git://github.com/Lv330g/pixelistic_fe.git","ssh_url":"git@github.com:Lv330g/pixelistic_fe.git","clone_url":"https://github.com/Lv330g/pixelistic_fe.git","svn_url":"https://github.com/Lv330g/pixelistic_fe","homepage":null,"size":271,"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":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18"},"html":{"href":"https://github.com/Lv330g/pixelistic_fe/pull/18"},"issue":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/18"},"comments":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Lv330g/pixelistic_fe/statuses/0891afc1436f5a51eed3271feab532b15b51a8e3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"TamaraKovalchuk"}}