{"action":"created","comment":{"url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/comments/234438883","pull_request_review_id":176084491,"id":234438883,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDQzODg4Mw==","diff_hunk":"@@ -22,26 +22,35 @@ import UserInfo from \"./components/UserInfo\";\n import ProfileConnections from \"./components/ProfileConnections\";\n import ProfileFeed from \"./components/ProfileFeed\";\n import EditPage from \"../EditPage/EditPage\";\n+import { resolve } from \"url\";\n \n const userId = sessionStorage.getItem(\"userId\");\n const adminUser = sessionStorage.getItem(\"adminUser\");\n const admin = sessionStorage.getItem(\"isAdmin\");\n // var editButtonClicked = false;\n \n class ProfilePage extends Component {\n-  componentWillMount() {\n+  constructor(props) {\n+    super(props);\n+    this.state = {\n+      editUserEnable: false,\n+      suspendedState: null\n+    };\n+  };\n+\n+  componentDidMount() {\n     const sender_id = sessionStorage.getItem(\"userId\");\n     const receiver_id = this.props.match.params.id;\n-    const { fetchUserInfo, fetchUserFeeds, fetchUserConnections } = this.props;\n-    this.props.fetchUserInfo(this.props.match.params.id);\n-    this.props.fetchUserFeeds(this.props.match.params.id);\n-    this.props.fetchUserConnections(this.props.match.params.id);\n-    this.props.fetchConnectionStatus({ sender_id, receiver_id });\n-    this.props.fetchNotifications(sender_id);\n+    const { fetchUserInfo, fetchUserFeeds, fetchUserConnections, fetchConnectionStatus, fetchNotifications } = this.props;\n+    fetchUserInfo(this.props.match.params.id);\n+    fetchUserFeeds(this.props.match.params.id);\n+    fetchUserConnections(this.props.match.params.id);\n+    fetchConnectionStatus({ sender_id, receiver_id });\n+    fetchNotifications(sender_id);\n     this.setState(() => {\n       return { suspendedState: this.props.userInfo.suspended };\n     });\n-    this.setState({ editUserEnable: false });\n+    /*this.setState({ editUserEnable: false });*/","path":"src/ProfilesPage/ProfilePage.js","position":40,"original_position":40,"commit_id":"205b0cf7fe2a97fee984132ca2a2e713b9a8bf0d","original_commit_id":"205b0cf7fe2a97fee984132ca2a2e713b9a8bf0d","user":{"login":"dscherer21","id":10226330,"node_id":"MDQ6VXNlcjEwMjI2MzMw","avatar_url":"https://avatars0.githubusercontent.com/u/10226330?v=4","gravatar_id":"","url":"https://api.github.com/users/dscherer21","html_url":"https://github.com/dscherer21","followers_url":"https://api.github.com/users/dscherer21/followers","following_url":"https://api.github.com/users/dscherer21/following{/other_user}","gists_url":"https://api.github.com/users/dscherer21/gists{/gist_id}","starred_url":"https://api.github.com/users/dscherer21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscherer21/subscriptions","organizations_url":"https://api.github.com/users/dscherer21/orgs","repos_url":"https://api.github.com/users/dscherer21/repos","events_url":"https://api.github.com/users/dscherer21/events{/privacy}","received_events_url":"https://api.github.com/users/dscherer21/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-11-18T10:58:44Z","updated_at":"2018-11-18T10:58:45Z","html_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend/pull/77#discussion_r234438883","pull_request_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/comments/234438883"},"html":{"href":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend/pull/77#discussion_r234438883"},"pull_request":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77"}},"in_reply_to_id":228373871},"pull_request":{"url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77","id":223087887,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDg3ODg3","html_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend/pull/77","diff_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend/pull/77.diff","patch_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend/pull/77.patch","issue_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/77","number":77,"state":"open","locked":false,"title":"Card12/normal admin","user":{"login":"dscherer21","id":10226330,"node_id":"MDQ6VXNlcjEwMjI2MzMw","avatar_url":"https://avatars0.githubusercontent.com/u/10226330?v=4","gravatar_id":"","url":"https://api.github.com/users/dscherer21","html_url":"https://github.com/dscherer21","followers_url":"https://api.github.com/users/dscherer21/followers","following_url":"https://api.github.com/users/dscherer21/following{/other_user}","gists_url":"https://api.github.com/users/dscherer21/gists{/gist_id}","starred_url":"https://api.github.com/users/dscherer21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscherer21/subscriptions","organizations_url":"https://api.github.com/users/dscherer21/orgs","repos_url":"https://api.github.com/users/dscherer21/repos","events_url":"https://api.github.com/users/dscherer21/events{/privacy}","received_events_url":"https://api.github.com/users/dscherer21/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-16T01:21:27Z","updated_at":"2018-11-18T10:58:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77/commits","review_comments_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77/comments","review_comment_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/77/comments","statuses_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/statuses/205b0cf7fe2a97fee984132ca2a2e713b9a8bf0d","head":{"label":"the-difference-engine:card12/normalAdmin","ref":"card12/normalAdmin","sha":"205b0cf7fe2a97fee984132ca2a2e713b9a8bf0d","user":{"login":"the-difference-engine","id":18339678,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzM5Njc4","avatar_url":"https://avatars0.githubusercontent.com/u/18339678?v=4","gravatar_id":"","url":"https://api.github.com/users/the-difference-engine","html_url":"https://github.com/the-difference-engine","followers_url":"https://api.github.com/users/the-difference-engine/followers","following_url":"https://api.github.com/users/the-difference-engine/following{/other_user}","gists_url":"https://api.github.com/users/the-difference-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/the-difference-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-difference-engine/subscriptions","organizations_url":"https://api.github.com/users/the-difference-engine/orgs","repos_url":"https://api.github.com/users/the-difference-engine/repos","events_url":"https://api.github.com/users/the-difference-engine/events{/privacy}","received_events_url":"https://api.github.com/users/the-difference-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":97539073,"node_id":"MDEwOlJlcG9zaXRvcnk5NzUzOTA3Mw==","name":"Women-in-Comedy-2.0-Frontend","full_name":"the-difference-engine/Women-in-Comedy-2.0-Frontend","private":false,"owner":{"login":"the-difference-engine","id":18339678,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzM5Njc4","avatar_url":"https://avatars0.githubusercontent.com/u/18339678?v=4","gravatar_id":"","url":"https://api.github.com/users/the-difference-engine","html_url":"https://github.com/the-difference-engine","followers_url":"https://api.github.com/users/the-difference-engine/followers","following_url":"https://api.github.com/users/the-difference-engine/following{/other_user}","gists_url":"https://api.github.com/users/the-difference-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/the-difference-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-difference-engine/subscriptions","organizations_url":"https://api.github.com/users/the-difference-engine/orgs","repos_url":"https://api.github.com/users/the-difference-engine/repos","events_url":"https://api.github.com/users/the-difference-engine/events{/privacy}","received_events_url":"https://api.github.com/users/the-difference-engine/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend","description":"This is with React but no rails","fork":false,"url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend","forks_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/forks","keys_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/teams","hooks_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/hooks","issue_events_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/events{/number}","events_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/events","assignees_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/assignees{/user}","branches_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/branches{/branch}","tags_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/tags","blobs_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/languages","stargazers_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/stargazers","contributors_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/contributors","subscribers_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/subscribers","subscription_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/subscription","commits_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/contents/{+path}","compare_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/merges","archive_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/downloads","issues_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues{/number}","pulls_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/labels{/name}","releases_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/releases{/id}","deployments_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/deployments","created_at":"2017-07-18T01:37:36Z","updated_at":"2018-11-16T03:11:37Z","pushed_at":"2018-11-16T03:11:35Z","git_url":"git://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend.git","ssh_url":"git@github.com:the-difference-engine/Women-in-Comedy-2.0-Frontend.git","clone_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend.git","svn_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend","homepage":null,"size":39200,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":3,"open_issues":5,"watchers":4,"default_branch":"qa"}},"base":{"label":"the-difference-engine:qa","ref":"qa","sha":"33f65c633dbc6f24259dae9b7025bf5c569b4ad0","user":{"login":"the-difference-engine","id":18339678,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzM5Njc4","avatar_url":"https://avatars0.githubusercontent.com/u/18339678?v=4","gravatar_id":"","url":"https://api.github.com/users/the-difference-engine","html_url":"https://github.com/the-difference-engine","followers_url":"https://api.github.com/users/the-difference-engine/followers","following_url":"https://api.github.com/users/the-difference-engine/following{/other_user}","gists_url":"https://api.github.com/users/the-difference-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/the-difference-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-difference-engine/subscriptions","organizations_url":"https://api.github.com/users/the-difference-engine/orgs","repos_url":"https://api.github.com/users/the-difference-engine/repos","events_url":"https://api.github.com/users/the-difference-engine/events{/privacy}","received_events_url":"https://api.github.com/users/the-difference-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":97539073,"node_id":"MDEwOlJlcG9zaXRvcnk5NzUzOTA3Mw==","name":"Women-in-Comedy-2.0-Frontend","full_name":"the-difference-engine/Women-in-Comedy-2.0-Frontend","private":false,"owner":{"login":"the-difference-engine","id":18339678,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MzM5Njc4","avatar_url":"https://avatars0.githubusercontent.com/u/18339678?v=4","gravatar_id":"","url":"https://api.github.com/users/the-difference-engine","html_url":"https://github.com/the-difference-engine","followers_url":"https://api.github.com/users/the-difference-engine/followers","following_url":"https://api.github.com/users/the-difference-engine/following{/other_user}","gists_url":"https://api.github.com/users/the-difference-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/the-difference-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-difference-engine/subscriptions","organizations_url":"https://api.github.com/users/the-difference-engine/orgs","repos_url":"https://api.github.com/users/the-difference-engine/repos","events_url":"https://api.github.com/users/the-difference-engine/events{/privacy}","received_events_url":"https://api.github.com/users/the-difference-engine/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend","description":"This is with React but no rails","fork":false,"url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend","forks_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/forks","keys_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/teams","hooks_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/hooks","issue_events_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/events{/number}","events_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/events","assignees_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/assignees{/user}","branches_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/branches{/branch}","tags_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/tags","blobs_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/languages","stargazers_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/stargazers","contributors_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/contributors","subscribers_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/subscribers","subscription_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/subscription","commits_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/contents/{+path}","compare_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/merges","archive_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/downloads","issues_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues{/number}","pulls_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/labels{/name}","releases_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/releases{/id}","deployments_url":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/deployments","created_at":"2017-07-18T01:37:36Z","updated_at":"2018-11-16T03:11:37Z","pushed_at":"2018-11-16T03:11:35Z","git_url":"git://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend.git","ssh_url":"git@github.com:the-difference-engine/Women-in-Comedy-2.0-Frontend.git","clone_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend.git","svn_url":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend","homepage":null,"size":39200,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":3,"open_issues":5,"watchers":4,"default_branch":"qa"}},"_links":{"self":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77"},"html":{"href":"https://github.com/the-difference-engine/Women-in-Comedy-2.0-Frontend/pull/77"},"issue":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/77"},"comments":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/the-difference-engine/Women-in-Comedy-2.0-Frontend/statuses/205b0cf7fe2a97fee984132ca2a2e713b9a8bf0d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dscherer21"}}