{"action":"created","comment":{"url":"https://api.github.com/repos/18F/State-TalentMAP/pulls/comments/128566135","pull_request_review_id":51258887,"id":128566135,"diff_hunk":"@@ -0,0 +1,83 @@\n+import React, { Component } from 'react';\n+import PropTypes from 'prop-types';\n+\n+class ShareButton extends Component {\n+  constructor(props) {\n+    super(props);\n+    this.state = {\n+      recipient: '',\n+      warning: false,\n+      timeout: false,\n+    };\n+  }\n+\n+  changeEmail(e) {\n+    const recipient = e.target.value;\n+    this.setState({ recipient });\n+    const warning = !(/@state.gov\\s*$/.test(recipient));","path":"src/Components/Share/ShareButton/ShareButton.jsx","position":17,"original_position":17,"commit_id":"e28ede037b35ab9d8ea03948598000c5ee120042","original_commit_id":"9c5a57ba520dbe251747b30f4cda71fbc3e36b45","user":{"login":"mjoyce91","id":11576347,"avatar_url":"https://avatars2.githubusercontent.com/u/11576347?v=4","gravatar_id":"","url":"https://api.github.com/users/mjoyce91","html_url":"https://github.com/mjoyce91","followers_url":"https://api.github.com/users/mjoyce91/followers","following_url":"https://api.github.com/users/mjoyce91/following{/other_user}","gists_url":"https://api.github.com/users/mjoyce91/gists{/gist_id}","starred_url":"https://api.github.com/users/mjoyce91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjoyce91/subscriptions","organizations_url":"https://api.github.com/users/mjoyce91/orgs","repos_url":"https://api.github.com/users/mjoyce91/repos","events_url":"https://api.github.com/users/mjoyce91/events{/privacy}","received_events_url":"https://api.github.com/users/mjoyce91/received_events","type":"User","site_admin":false},"body":"Good point, there may be sub domains or alternate domains for valid State employee email addresses.","created_at":"2017-07-20T16:32:10Z","updated_at":"2017-07-20T16:32:10Z","html_url":"https://github.com/18F/State-TalentMAP/pull/223#discussion_r128566135","pull_request_url":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223","_links":{"self":{"href":"https://api.github.com/repos/18F/State-TalentMAP/pulls/comments/128566135"},"html":{"href":"https://github.com/18F/State-TalentMAP/pull/223#discussion_r128566135"},"pull_request":{"href":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223"}}},"pull_request":{"url":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223","id":131568140,"html_url":"https://github.com/18F/State-TalentMAP/pull/223","diff_url":"https://github.com/18F/State-TalentMAP/pull/223.diff","patch_url":"https://github.com/18F/State-TalentMAP/pull/223.patch","issue_url":"https://api.github.com/repos/18F/State-TalentMAP/issues/223","number":223,"state":"open","locked":false,"title":"Share position with external recipient","user":{"login":"mjoyce91","id":11576347,"avatar_url":"https://avatars2.githubusercontent.com/u/11576347?v=4","gravatar_id":"","url":"https://api.github.com/users/mjoyce91","html_url":"https://github.com/mjoyce91","followers_url":"https://api.github.com/users/mjoyce91/followers","following_url":"https://api.github.com/users/mjoyce91/following{/other_user}","gists_url":"https://api.github.com/users/mjoyce91/gists{/gist_id}","starred_url":"https://api.github.com/users/mjoyce91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjoyce91/subscriptions","organizations_url":"https://api.github.com/users/mjoyce91/orgs","repos_url":"https://api.github.com/users/mjoyce91/repos","events_url":"https://api.github.com/users/mjoyce91/events{/privacy}","received_events_url":"https://api.github.com/users/mjoyce91/received_events","type":"User","site_admin":false},"body":"Adds functionality from #120 :\r\n- Integrates with new email API endpoint to send a position by email (note: real emails are not actually sent yet, pending email server)\r\n- Runs a regular expression to check that email ends with \"state.gov\" and alerts the user if their input does not end as such\r\n- Confirmation that email was sent is alerted to user","created_at":"2017-07-20T14:27:04Z","updated_at":"2017-07-20T16:32:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f03679968d25e3b5a1822d1a3a0aab0c3f4b24cd","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223/commits","review_comments_url":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223/comments","review_comment_url":"https://api.github.com/repos/18F/State-TalentMAP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/State-TalentMAP/issues/223/comments","statuses_url":"https://api.github.com/repos/18F/State-TalentMAP/statuses/e28ede037b35ab9d8ea03948598000c5ee120042","head":{"label":"18F:redux-share-position","ref":"redux-share-position","sha":"e28ede037b35ab9d8ea03948598000c5ee120042","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":91723512,"name":"State-TalentMAP","full_name":"18F/State-TalentMAP","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/State-TalentMAP","description":"A comprehensive research, bidding, and matching system to match Foreign Service employees with the right skills to available posts and positions.","fork":false,"url":"https://api.github.com/repos/18F/State-TalentMAP","forks_url":"https://api.github.com/repos/18F/State-TalentMAP/forks","keys_url":"https://api.github.com/repos/18F/State-TalentMAP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/State-TalentMAP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/State-TalentMAP/teams","hooks_url":"https://api.github.com/repos/18F/State-TalentMAP/hooks","issue_events_url":"https://api.github.com/repos/18F/State-TalentMAP/issues/events{/number}","events_url":"https://api.github.com/repos/18F/State-TalentMAP/events","assignees_url":"https://api.github.com/repos/18F/State-TalentMAP/assignees{/user}","branches_url":"https://api.github.com/repos/18F/State-TalentMAP/branches{/branch}","tags_url":"https://api.github.com/repos/18F/State-TalentMAP/tags","blobs_url":"https://api.github.com/repos/18F/State-TalentMAP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/State-TalentMAP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/State-TalentMAP/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/State-TalentMAP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/State-TalentMAP/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/State-TalentMAP/languages","stargazers_url":"https://api.github.com/repos/18F/State-TalentMAP/stargazers","contributors_url":"https://api.github.com/repos/18F/State-TalentMAP/contributors","subscribers_url":"https://api.github.com/repos/18F/State-TalentMAP/subscribers","subscription_url":"https://api.github.com/repos/18F/State-TalentMAP/subscription","commits_url":"https://api.github.com/repos/18F/State-TalentMAP/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/State-TalentMAP/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/State-TalentMAP/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/State-TalentMAP/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/State-TalentMAP/contents/{+path}","compare_url":"https://api.github.com/repos/18F/State-TalentMAP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/State-TalentMAP/merges","archive_url":"https://api.github.com/repos/18F/State-TalentMAP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/State-TalentMAP/downloads","issues_url":"https://api.github.com/repos/18F/State-TalentMAP/issues{/number}","pulls_url":"https://api.github.com/repos/18F/State-TalentMAP/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/State-TalentMAP/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/State-TalentMAP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/State-TalentMAP/labels{/name}","releases_url":"https://api.github.com/repos/18F/State-TalentMAP/releases{/id}","deployments_url":"https://api.github.com/repos/18F/State-TalentMAP/deployments","created_at":"2017-05-18T18:04:17Z","updated_at":"2017-07-07T18:37:02Z","pushed_at":"2017-07-20T16:29:36Z","git_url":"git://github.com/18F/State-TalentMAP.git","ssh_url":"git@github.com:18F/State-TalentMAP.git","clone_url":"https://github.com/18F/State-TalentMAP.git","svn_url":"https://github.com/18F/State-TalentMAP","homepage":null,"size":3846,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":154,"forks":1,"open_issues":154,"watchers":7,"default_branch":"dev"}},"base":{"label":"18F:sprint-3","ref":"sprint-3","sha":"519c95285aad52ab49fb12f36feb97e0fb59534a","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":91723512,"name":"State-TalentMAP","full_name":"18F/State-TalentMAP","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/State-TalentMAP","description":"A comprehensive research, bidding, and matching system to match Foreign Service employees with the right skills to available posts and positions.","fork":false,"url":"https://api.github.com/repos/18F/State-TalentMAP","forks_url":"https://api.github.com/repos/18F/State-TalentMAP/forks","keys_url":"https://api.github.com/repos/18F/State-TalentMAP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/State-TalentMAP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/State-TalentMAP/teams","hooks_url":"https://api.github.com/repos/18F/State-TalentMAP/hooks","issue_events_url":"https://api.github.com/repos/18F/State-TalentMAP/issues/events{/number}","events_url":"https://api.github.com/repos/18F/State-TalentMAP/events","assignees_url":"https://api.github.com/repos/18F/State-TalentMAP/assignees{/user}","branches_url":"https://api.github.com/repos/18F/State-TalentMAP/branches{/branch}","tags_url":"https://api.github.com/repos/18F/State-TalentMAP/tags","blobs_url":"https://api.github.com/repos/18F/State-TalentMAP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/State-TalentMAP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/State-TalentMAP/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/State-TalentMAP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/State-TalentMAP/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/State-TalentMAP/languages","stargazers_url":"https://api.github.com/repos/18F/State-TalentMAP/stargazers","contributors_url":"https://api.github.com/repos/18F/State-TalentMAP/contributors","subscribers_url":"https://api.github.com/repos/18F/State-TalentMAP/subscribers","subscription_url":"https://api.github.com/repos/18F/State-TalentMAP/subscription","commits_url":"https://api.github.com/repos/18F/State-TalentMAP/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/State-TalentMAP/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/State-TalentMAP/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/State-TalentMAP/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/State-TalentMAP/contents/{+path}","compare_url":"https://api.github.com/repos/18F/State-TalentMAP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/State-TalentMAP/merges","archive_url":"https://api.github.com/repos/18F/State-TalentMAP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/State-TalentMAP/downloads","issues_url":"https://api.github.com/repos/18F/State-TalentMAP/issues{/number}","pulls_url":"https://api.github.com/repos/18F/State-TalentMAP/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/State-TalentMAP/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/State-TalentMAP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/State-TalentMAP/labels{/name}","releases_url":"https://api.github.com/repos/18F/State-TalentMAP/releases{/id}","deployments_url":"https://api.github.com/repos/18F/State-TalentMAP/deployments","created_at":"2017-05-18T18:04:17Z","updated_at":"2017-07-07T18:37:02Z","pushed_at":"2017-07-20T16:29:36Z","git_url":"git://github.com/18F/State-TalentMAP.git","ssh_url":"git@github.com:18F/State-TalentMAP.git","clone_url":"https://github.com/18F/State-TalentMAP.git","svn_url":"https://github.com/18F/State-TalentMAP","homepage":null,"size":3846,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":154,"forks":1,"open_issues":154,"watchers":7,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223"},"html":{"href":"https://github.com/18F/State-TalentMAP/pull/223"},"issue":{"href":"https://api.github.com/repos/18F/State-TalentMAP/issues/223"},"comments":{"href":"https://api.github.com/repos/18F/State-TalentMAP/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/State-TalentMAP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/State-TalentMAP/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/18F/State-TalentMAP/statuses/e28ede037b35ab9d8ea03948598000c5ee120042"}}}}
{"actor":{"display_login":"mjoyce91"}}