{"action":"created","comment":{"url":"https://api.github.com/repos/GSG-G7/shrinc/pulls/comments/341841233","pull_request_review_id":310805376,"id":341841233,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MTg0MTIzMw==","diff_hunk":"@@ -1,29 +1,43 @@\n+/* eslint-disable jsx-a11y/no-static-element-interactions */\n import React from 'react';\n-import propTypes from 'prop-types';\n+import PropTypes from 'prop-types';\n import { Avatar } from 'antd';\n \n import './style.css';\n \n-const CardContent = ({ avatar, approach, type }) => (\n-  <div className=\"card__content\">\n-    <Avatar\n-      shape=\"circle\"\n-      src={avatar}\n-      size={100}\n-      icon=\"user\"\n-      className=\"card__photo\"\n-    />\n-    <div>\n-      <h2 className=\"card__approach\">{approach} </h2>\n-      <h3 className=\"card__type\">{type}</h3>\n-    </div>\n-  </div>\n-);\n+export default class CardContent extends React.Component {\n+  handleClick = () => {\n+    const { id } = this.props;\n+    // eslint-disable-next-line react/destructuring-assignment\n+    this.props.props.history.push(`/profile/${id}`);\n+  };\n+\n+  render() {\n+    const { image, approach, type, city } = this.props;\n+    return (\n+      <div className=\"card__content\" onClick={this.handleClick}>","path":"client/src/components/common/Card/cardContent.js","position":34,"original_position":34,"commit_id":"06f388610ca8504be61ebc437d030d36967b9dbe","original_commit_id":"06f388610ca8504be61ebc437d030d36967b9dbe","user":{"login":"MohammadAlhalaq","id":27697589,"node_id":"MDQ6VXNlcjI3Njk3NTg5","avatar_url":"https://avatars2.githubusercontent.com/u/27697589?v=4","gravatar_id":"","url":"https://api.github.com/users/MohammadAlhalaq","html_url":"https://github.com/MohammadAlhalaq","followers_url":"https://api.github.com/users/MohammadAlhalaq/followers","following_url":"https://api.github.com/users/MohammadAlhalaq/following{/other_user}","gists_url":"https://api.github.com/users/MohammadAlhalaq/gists{/gist_id}","starred_url":"https://api.github.com/users/MohammadAlhalaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohammadAlhalaq/subscriptions","organizations_url":"https://api.github.com/users/MohammadAlhalaq/orgs","repos_url":"https://api.github.com/users/MohammadAlhalaq/repos","events_url":"https://api.github.com/users/MohammadAlhalaq/events{/privacy}","received_events_url":"https://api.github.com/users/MohammadAlhalaq/received_events","type":"User","site_admin":false},"body":"To resolve the interaction eslint error above\r\n```suggestion\r\n      <div role=\"button\" tabIndex={0} className=\"card__content\" onClick={this.handleClick}>\r\n```","created_at":"2019-11-03T09:48:30Z","updated_at":"2019-11-03T09:48:31Z","html_url":"https://github.com/GSG-G7/shrinc/pull/82#discussion_r341841233","pull_request_url":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/GSG-G7/shrinc/pulls/comments/341841233"},"html":{"href":"https://github.com/GSG-G7/shrinc/pull/82#discussion_r341841233"},"pull_request":{"href":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82","id":333513454,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMzNTEzNDU0","html_url":"https://github.com/GSG-G7/shrinc/pull/82","diff_url":"https://github.com/GSG-G7/shrinc/pull/82.diff","patch_url":"https://github.com/GSG-G7/shrinc/pull/82.patch","issue_url":"https://api.github.com/repos/GSG-G7/shrinc/issues/82","number":82,"state":"open","locked":false,"title":"results page","user":{"login":"Asmaathabet","id":29041512,"node_id":"MDQ6VXNlcjI5MDQxNTEy","avatar_url":"https://avatars2.githubusercontent.com/u/29041512?v=4","gravatar_id":"","url":"https://api.github.com/users/Asmaathabet","html_url":"https://github.com/Asmaathabet","followers_url":"https://api.github.com/users/Asmaathabet/followers","following_url":"https://api.github.com/users/Asmaathabet/following{/other_user}","gists_url":"https://api.github.com/users/Asmaathabet/gists{/gist_id}","starred_url":"https://api.github.com/users/Asmaathabet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asmaathabet/subscriptions","organizations_url":"https://api.github.com/users/Asmaathabet/orgs","repos_url":"https://api.github.com/users/Asmaathabet/repos","events_url":"https://api.github.com/users/Asmaathabet/events{/privacy}","received_events_url":"https://api.github.com/users/Asmaathabet/received_events","type":"User","site_admin":false},"body":"- create Questionnaire Results page \r\nrelates #41 ","created_at":"2019-10-29T09:30:40Z","updated_at":"2019-11-03T09:48:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e21b3c2f11d6150d981504cbdb035651bdefcb32","assignee":null,"assignees":[],"requested_reviewers":[{"login":"AbdallahAmmar96","id":42452940,"node_id":"MDQ6VXNlcjQyNDUyOTQw","avatar_url":"https://avatars3.githubusercontent.com/u/42452940?v=4","gravatar_id":"","url":"https://api.github.com/users/AbdallahAmmar96","html_url":"https://github.com/AbdallahAmmar96","followers_url":"https://api.github.com/users/AbdallahAmmar96/followers","following_url":"https://api.github.com/users/AbdallahAmmar96/following{/other_user}","gists_url":"https://api.github.com/users/AbdallahAmmar96/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdallahAmmar96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdallahAmmar96/subscriptions","organizations_url":"https://api.github.com/users/AbdallahAmmar96/orgs","repos_url":"https://api.github.com/users/AbdallahAmmar96/repos","events_url":"https://api.github.com/users/AbdallahAmmar96/events{/privacy}","received_events_url":"https://api.github.com/users/AbdallahAmmar96/received_events","type":"User","site_admin":false},{"login":"hashemt","id":46839481,"node_id":"MDQ6VXNlcjQ2ODM5NDgx","avatar_url":"https://avatars0.githubusercontent.com/u/46839481?v=4","gravatar_id":"","url":"https://api.github.com/users/hashemt","html_url":"https://github.com/hashemt","followers_url":"https://api.github.com/users/hashemt/followers","following_url":"https://api.github.com/users/hashemt/following{/other_user}","gists_url":"https://api.github.com/users/hashemt/gists{/gist_id}","starred_url":"https://api.github.com/users/hashemt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashemt/subscriptions","organizations_url":"https://api.github.com/users/hashemt/orgs","repos_url":"https://api.github.com/users/hashemt/repos","events_url":"https://api.github.com/users/hashemt/events{/privacy}","received_events_url":"https://api.github.com/users/hashemt/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1633627545,"node_id":"MDU6TGFiZWwxNjMzNjI3NTQ1","url":"https://api.github.com/repos/GSG-G7/shrinc/labels/Awaiting%20Review","name":"Awaiting Review","color":"2cc9aa","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82/commits","review_comments_url":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82/comments","review_comment_url":"https://api.github.com/repos/GSG-G7/shrinc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GSG-G7/shrinc/issues/82/comments","statuses_url":"https://api.github.com/repos/GSG-G7/shrinc/statuses/06f388610ca8504be61ebc437d030d36967b9dbe","head":{"label":"GSG-G7:41-result-page","ref":"41-result-page","sha":"06f388610ca8504be61ebc437d030d36967b9dbe","user":{"login":"GSG-G7","id":52123464,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyMTIzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/52123464?v=4","gravatar_id":"","url":"https://api.github.com/users/GSG-G7","html_url":"https://github.com/GSG-G7","followers_url":"https://api.github.com/users/GSG-G7/followers","following_url":"https://api.github.com/users/GSG-G7/following{/other_user}","gists_url":"https://api.github.com/users/GSG-G7/gists{/gist_id}","starred_url":"https://api.github.com/users/GSG-G7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSG-G7/subscriptions","organizations_url":"https://api.github.com/users/GSG-G7/orgs","repos_url":"https://api.github.com/users/GSG-G7/repos","events_url":"https://api.github.com/users/GSG-G7/events{/privacy}","received_events_url":"https://api.github.com/users/GSG-G7/received_events","type":"Organization","site_admin":false},"repo":{"id":214429617,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQ0Mjk2MTc=","name":"shrinc","full_name":"GSG-G7/shrinc","private":false,"owner":{"login":"GSG-G7","id":52123464,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyMTIzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/52123464?v=4","gravatar_id":"","url":"https://api.github.com/users/GSG-G7","html_url":"https://github.com/GSG-G7","followers_url":"https://api.github.com/users/GSG-G7/followers","following_url":"https://api.github.com/users/GSG-G7/following{/other_user}","gists_url":"https://api.github.com/users/GSG-G7/gists{/gist_id}","starred_url":"https://api.github.com/users/GSG-G7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSG-G7/subscriptions","organizations_url":"https://api.github.com/users/GSG-G7/orgs","repos_url":"https://api.github.com/users/GSG-G7/repos","events_url":"https://api.github.com/users/GSG-G7/events{/privacy}","received_events_url":"https://api.github.com/users/GSG-G7/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GSG-G7/shrinc","description":null,"fork":false,"url":"https://api.github.com/repos/GSG-G7/shrinc","forks_url":"https://api.github.com/repos/GSG-G7/shrinc/forks","keys_url":"https://api.github.com/repos/GSG-G7/shrinc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GSG-G7/shrinc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GSG-G7/shrinc/teams","hooks_url":"https://api.github.com/repos/GSG-G7/shrinc/hooks","issue_events_url":"https://api.github.com/repos/GSG-G7/shrinc/issues/events{/number}","events_url":"https://api.github.com/repos/GSG-G7/shrinc/events","assignees_url":"https://api.github.com/repos/GSG-G7/shrinc/assignees{/user}","branches_url":"https://api.github.com/repos/GSG-G7/shrinc/branches{/branch}","tags_url":"https://api.github.com/repos/GSG-G7/shrinc/tags","blobs_url":"https://api.github.com/repos/GSG-G7/shrinc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GSG-G7/shrinc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GSG-G7/shrinc/git/refs{/sha}","trees_url":"https://api.github.com/repos/GSG-G7/shrinc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GSG-G7/shrinc/statuses/{sha}","languages_url":"https://api.github.com/repos/GSG-G7/shrinc/languages","stargazers_url":"https://api.github.com/repos/GSG-G7/shrinc/stargazers","contributors_url":"https://api.github.com/repos/GSG-G7/shrinc/contributors","subscribers_url":"https://api.github.com/repos/GSG-G7/shrinc/subscribers","subscription_url":"https://api.github.com/repos/GSG-G7/shrinc/subscription","commits_url":"https://api.github.com/repos/GSG-G7/shrinc/commits{/sha}","git_commits_url":"https://api.github.com/repos/GSG-G7/shrinc/git/commits{/sha}","comments_url":"https://api.github.com/repos/GSG-G7/shrinc/comments{/number}","issue_comment_url":"https://api.github.com/repos/GSG-G7/shrinc/issues/comments{/number}","contents_url":"https://api.github.com/repos/GSG-G7/shrinc/contents/{+path}","compare_url":"https://api.github.com/repos/GSG-G7/shrinc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GSG-G7/shrinc/merges","archive_url":"https://api.github.com/repos/GSG-G7/shrinc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GSG-G7/shrinc/downloads","issues_url":"https://api.github.com/repos/GSG-G7/shrinc/issues{/number}","pulls_url":"https://api.github.com/repos/GSG-G7/shrinc/pulls{/number}","milestones_url":"https://api.github.com/repos/GSG-G7/shrinc/milestones{/number}","notifications_url":"https://api.github.com/repos/GSG-G7/shrinc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GSG-G7/shrinc/labels{/name}","releases_url":"https://api.github.com/repos/GSG-G7/shrinc/releases{/id}","deployments_url":"https://api.github.com/repos/GSG-G7/shrinc/deployments","created_at":"2019-10-11T12:23:03Z","updated_at":"2019-10-31T14:02:29Z","pushed_at":"2019-11-03T09:15:42Z","git_url":"git://github.com/GSG-G7/shrinc.git","ssh_url":"git@github.com:GSG-G7/shrinc.git","clone_url":"https://github.com/GSG-G7/shrinc.git","svn_url":"https://github.com/GSG-G7/shrinc","homepage":null,"size":40132,"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,"disabled":false,"open_issues_count":40,"license":null,"forks":0,"open_issues":40,"watchers":1,"default_branch":"master"}},"base":{"label":"GSG-G7:master","ref":"master","sha":"40be90e857ddfe2b88b40981eba13e8f7636e72f","user":{"login":"GSG-G7","id":52123464,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyMTIzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/52123464?v=4","gravatar_id":"","url":"https://api.github.com/users/GSG-G7","html_url":"https://github.com/GSG-G7","followers_url":"https://api.github.com/users/GSG-G7/followers","following_url":"https://api.github.com/users/GSG-G7/following{/other_user}","gists_url":"https://api.github.com/users/GSG-G7/gists{/gist_id}","starred_url":"https://api.github.com/users/GSG-G7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSG-G7/subscriptions","organizations_url":"https://api.github.com/users/GSG-G7/orgs","repos_url":"https://api.github.com/users/GSG-G7/repos","events_url":"https://api.github.com/users/GSG-G7/events{/privacy}","received_events_url":"https://api.github.com/users/GSG-G7/received_events","type":"Organization","site_admin":false},"repo":{"id":214429617,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQ0Mjk2MTc=","name":"shrinc","full_name":"GSG-G7/shrinc","private":false,"owner":{"login":"GSG-G7","id":52123464,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyMTIzNDY0","avatar_url":"https://avatars0.githubusercontent.com/u/52123464?v=4","gravatar_id":"","url":"https://api.github.com/users/GSG-G7","html_url":"https://github.com/GSG-G7","followers_url":"https://api.github.com/users/GSG-G7/followers","following_url":"https://api.github.com/users/GSG-G7/following{/other_user}","gists_url":"https://api.github.com/users/GSG-G7/gists{/gist_id}","starred_url":"https://api.github.com/users/GSG-G7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GSG-G7/subscriptions","organizations_url":"https://api.github.com/users/GSG-G7/orgs","repos_url":"https://api.github.com/users/GSG-G7/repos","events_url":"https://api.github.com/users/GSG-G7/events{/privacy}","received_events_url":"https://api.github.com/users/GSG-G7/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/GSG-G7/shrinc","description":null,"fork":false,"url":"https://api.github.com/repos/GSG-G7/shrinc","forks_url":"https://api.github.com/repos/GSG-G7/shrinc/forks","keys_url":"https://api.github.com/repos/GSG-G7/shrinc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GSG-G7/shrinc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GSG-G7/shrinc/teams","hooks_url":"https://api.github.com/repos/GSG-G7/shrinc/hooks","issue_events_url":"https://api.github.com/repos/GSG-G7/shrinc/issues/events{/number}","events_url":"https://api.github.com/repos/GSG-G7/shrinc/events","assignees_url":"https://api.github.com/repos/GSG-G7/shrinc/assignees{/user}","branches_url":"https://api.github.com/repos/GSG-G7/shrinc/branches{/branch}","tags_url":"https://api.github.com/repos/GSG-G7/shrinc/tags","blobs_url":"https://api.github.com/repos/GSG-G7/shrinc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GSG-G7/shrinc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GSG-G7/shrinc/git/refs{/sha}","trees_url":"https://api.github.com/repos/GSG-G7/shrinc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GSG-G7/shrinc/statuses/{sha}","languages_url":"https://api.github.com/repos/GSG-G7/shrinc/languages","stargazers_url":"https://api.github.com/repos/GSG-G7/shrinc/stargazers","contributors_url":"https://api.github.com/repos/GSG-G7/shrinc/contributors","subscribers_url":"https://api.github.com/repos/GSG-G7/shrinc/subscribers","subscription_url":"https://api.github.com/repos/GSG-G7/shrinc/subscription","commits_url":"https://api.github.com/repos/GSG-G7/shrinc/commits{/sha}","git_commits_url":"https://api.github.com/repos/GSG-G7/shrinc/git/commits{/sha}","comments_url":"https://api.github.com/repos/GSG-G7/shrinc/comments{/number}","issue_comment_url":"https://api.github.com/repos/GSG-G7/shrinc/issues/comments{/number}","contents_url":"https://api.github.com/repos/GSG-G7/shrinc/contents/{+path}","compare_url":"https://api.github.com/repos/GSG-G7/shrinc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GSG-G7/shrinc/merges","archive_url":"https://api.github.com/repos/GSG-G7/shrinc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GSG-G7/shrinc/downloads","issues_url":"https://api.github.com/repos/GSG-G7/shrinc/issues{/number}","pulls_url":"https://api.github.com/repos/GSG-G7/shrinc/pulls{/number}","milestones_url":"https://api.github.com/repos/GSG-G7/shrinc/milestones{/number}","notifications_url":"https://api.github.com/repos/GSG-G7/shrinc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GSG-G7/shrinc/labels{/name}","releases_url":"https://api.github.com/repos/GSG-G7/shrinc/releases{/id}","deployments_url":"https://api.github.com/repos/GSG-G7/shrinc/deployments","created_at":"2019-10-11T12:23:03Z","updated_at":"2019-10-31T14:02:29Z","pushed_at":"2019-11-03T09:15:42Z","git_url":"git://github.com/GSG-G7/shrinc.git","ssh_url":"git@github.com:GSG-G7/shrinc.git","clone_url":"https://github.com/GSG-G7/shrinc.git","svn_url":"https://github.com/GSG-G7/shrinc","homepage":null,"size":40132,"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,"disabled":false,"open_issues_count":40,"license":null,"forks":0,"open_issues":40,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82"},"html":{"href":"https://github.com/GSG-G7/shrinc/pull/82"},"issue":{"href":"https://api.github.com/repos/GSG-G7/shrinc/issues/82"},"comments":{"href":"https://api.github.com/repos/GSG-G7/shrinc/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/GSG-G7/shrinc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GSG-G7/shrinc/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/GSG-G7/shrinc/statuses/06f388610ca8504be61ebc437d030d36967b9dbe"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"MohammadAlhalaq"}}