{"action":"created","comment":{"url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/comments/205611265","pull_request_review_id":140919388,"id":205611265,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTYxMTI2NQ==","diff_hunk":"@@ -150,7 +154,7 @@ class Editor extends React.Component<Partial<IEditorProps>,\n     });\n   }\n \n-  setModalOpen = () => {\n+  handleCloseCommentModal = () => {","path":"src/components/editor/Editor.tsx","position":66,"original_position":44,"commit_id":"f93c5b0e0172068c7785860185d603c2fff29f93","original_commit_id":"cb76bd89060a6aa67e661ace56860725855dcad3","user":{"login":"kaglowka","id":6314663,"node_id":"MDQ6VXNlcjYzMTQ2NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/6314663?v=4","gravatar_id":"","url":"https://api.github.com/users/kaglowka","html_url":"https://github.com/kaglowka","followers_url":"https://api.github.com/users/kaglowka/followers","following_url":"https://api.github.com/users/kaglowka/following{/other_user}","gists_url":"https://api.github.com/users/kaglowka/gists{/gist_id}","starred_url":"https://api.github.com/users/kaglowka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaglowka/subscriptions","organizations_url":"https://api.github.com/users/kaglowka/orgs","repos_url":"https://api.github.com/users/kaglowka/repos","events_url":"https://api.github.com/users/kaglowka/events{/privacy}","received_events_url":"https://api.github.com/users/kaglowka/received_events","type":"User","site_admin":false},"body":"Good name change; I'm consistently using `handle*` now, too.","created_at":"2018-07-26T21:39:46Z","updated_at":"2018-07-26T21:44:39Z","html_url":"https://github.com/PrzypisPowszechny/pp-client/pull/158#discussion_r205611265","pull_request_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/comments/205611265"},"html":{"href":"https://github.com/PrzypisPowszechny/pp-client/pull/158#discussion_r205611265"},"pull_request":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158"}}},"pull_request":{"url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158","id":203358411,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMzU4NDEx","html_url":"https://github.com/PrzypisPowszechny/pp-client/pull/158","diff_url":"https://github.com/PrzypisPowszechny/pp-client/pull/158.diff","patch_url":"https://github.com/PrzypisPowszechny/pp-client/pull/158.patch","issue_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/158","number":158,"state":"open","locked":false,"title":"Editor improvements","user":{"login":"lgodziejewski","id":17706055,"node_id":"MDQ6VXNlcjE3NzA2MDU1","avatar_url":"https://avatars1.githubusercontent.com/u/17706055?v=4","gravatar_id":"","url":"https://api.github.com/users/lgodziejewski","html_url":"https://github.com/lgodziejewski","followers_url":"https://api.github.com/users/lgodziejewski/followers","following_url":"https://api.github.com/users/lgodziejewski/following{/other_user}","gists_url":"https://api.github.com/users/lgodziejewski/gists{/gist_id}","starred_url":"https://api.github.com/users/lgodziejewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgodziejewski/subscriptions","organizations_url":"https://api.github.com/users/lgodziejewski/orgs","repos_url":"https://api.github.com/users/lgodziejewski/repos","events_url":"https://api.github.com/users/lgodziejewski/events{/privacy}","received_events_url":"https://api.github.com/users/lgodziejewski/received_events","type":"User","site_admin":false},"body":"Resolves #79 \r\n\r\nImprove `Editor` readability through:\r\n- extracting validation logic to dedicated function and file (btw. allowing for much easier unit tests)\r\n- extracting parts of JSX to dedicated components\r\n\r\nBottom bar also could be extracted, however I didn't want this PR to \"swell\" too much 😉 ","created_at":"2018-07-23T22:11:37Z","updated_at":"2018-07-26T21:44:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e4711ce94ab76d30ba95f73fcfb581bb04cb25b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158/commits","review_comments_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158/comments","review_comment_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/158/comments","statuses_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/statuses/f93c5b0e0172068c7785860185d603c2fff29f93","head":{"label":"PrzypisPowszechny:editor-improvements","ref":"editor-improvements","sha":"f93c5b0e0172068c7785860185d603c2fff29f93","user":{"login":"PrzypisPowszechny","id":29638054,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjM4MDU0","avatar_url":"https://avatars2.githubusercontent.com/u/29638054?v=4","gravatar_id":"","url":"https://api.github.com/users/PrzypisPowszechny","html_url":"https://github.com/PrzypisPowszechny","followers_url":"https://api.github.com/users/PrzypisPowszechny/followers","following_url":"https://api.github.com/users/PrzypisPowszechny/following{/other_user}","gists_url":"https://api.github.com/users/PrzypisPowszechny/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzypisPowszechny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzypisPowszechny/subscriptions","organizations_url":"https://api.github.com/users/PrzypisPowszechny/orgs","repos_url":"https://api.github.com/users/PrzypisPowszechny/repos","events_url":"https://api.github.com/users/PrzypisPowszechny/events{/privacy}","received_events_url":"https://api.github.com/users/PrzypisPowszechny/received_events","type":"Organization","site_admin":false},"repo":{"id":97049654,"node_id":"MDEwOlJlcG9zaXRvcnk5NzA0OTY1NA==","name":"pp-client","full_name":"PrzypisPowszechny/pp-client","owner":{"login":"PrzypisPowszechny","id":29638054,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjM4MDU0","avatar_url":"https://avatars2.githubusercontent.com/u/29638054?v=4","gravatar_id":"","url":"https://api.github.com/users/PrzypisPowszechny","html_url":"https://github.com/PrzypisPowszechny","followers_url":"https://api.github.com/users/PrzypisPowszechny/followers","following_url":"https://api.github.com/users/PrzypisPowszechny/following{/other_user}","gists_url":"https://api.github.com/users/PrzypisPowszechny/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzypisPowszechny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzypisPowszechny/subscriptions","organizations_url":"https://api.github.com/users/PrzypisPowszechny/orgs","repos_url":"https://api.github.com/users/PrzypisPowszechny/repos","events_url":"https://api.github.com/users/PrzypisPowszechny/events{/privacy}","received_events_url":"https://api.github.com/users/PrzypisPowszechny/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrzypisPowszechny/pp-client","description":null,"fork":false,"url":"https://api.github.com/repos/PrzypisPowszechny/pp-client","forks_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/forks","keys_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/teams","hooks_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/hooks","issue_events_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/events{/number}","events_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/events","assignees_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/assignees{/user}","branches_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/branches{/branch}","tags_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/tags","blobs_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/statuses/{sha}","languages_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/languages","stargazers_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/stargazers","contributors_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/contributors","subscribers_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/subscribers","subscription_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/subscription","commits_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/contents/{+path}","compare_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/merges","archive_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/downloads","issues_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues{/number}","pulls_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls{/number}","milestones_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/milestones{/number}","notifications_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/labels{/name}","releases_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/releases{/id}","deployments_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/deployments","created_at":"2017-07-12T20:33:45Z","updated_at":"2018-07-20T16:59:51Z","pushed_at":"2018-07-23T22:11:38Z","git_url":"git://github.com/PrzypisPowszechny/pp-client.git","ssh_url":"git@github.com:PrzypisPowszechny/pp-client.git","clone_url":"https://github.com/PrzypisPowszechny/pp-client.git","svn_url":"https://github.com/PrzypisPowszechny/pp-client","homepage":null,"size":2698,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":29,"license":null,"forks":2,"open_issues":29,"watchers":6,"default_branch":"master"}},"base":{"label":"PrzypisPowszechny:master","ref":"master","sha":"1953cb3fa15b6387bc04ccf060394c7f6ee53bd1","user":{"login":"PrzypisPowszechny","id":29638054,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjM4MDU0","avatar_url":"https://avatars2.githubusercontent.com/u/29638054?v=4","gravatar_id":"","url":"https://api.github.com/users/PrzypisPowszechny","html_url":"https://github.com/PrzypisPowszechny","followers_url":"https://api.github.com/users/PrzypisPowszechny/followers","following_url":"https://api.github.com/users/PrzypisPowszechny/following{/other_user}","gists_url":"https://api.github.com/users/PrzypisPowszechny/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzypisPowszechny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzypisPowszechny/subscriptions","organizations_url":"https://api.github.com/users/PrzypisPowszechny/orgs","repos_url":"https://api.github.com/users/PrzypisPowszechny/repos","events_url":"https://api.github.com/users/PrzypisPowszechny/events{/privacy}","received_events_url":"https://api.github.com/users/PrzypisPowszechny/received_events","type":"Organization","site_admin":false},"repo":{"id":97049654,"node_id":"MDEwOlJlcG9zaXRvcnk5NzA0OTY1NA==","name":"pp-client","full_name":"PrzypisPowszechny/pp-client","owner":{"login":"PrzypisPowszechny","id":29638054,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NjM4MDU0","avatar_url":"https://avatars2.githubusercontent.com/u/29638054?v=4","gravatar_id":"","url":"https://api.github.com/users/PrzypisPowszechny","html_url":"https://github.com/PrzypisPowszechny","followers_url":"https://api.github.com/users/PrzypisPowszechny/followers","following_url":"https://api.github.com/users/PrzypisPowszechny/following{/other_user}","gists_url":"https://api.github.com/users/PrzypisPowszechny/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzypisPowszechny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzypisPowszechny/subscriptions","organizations_url":"https://api.github.com/users/PrzypisPowszechny/orgs","repos_url":"https://api.github.com/users/PrzypisPowszechny/repos","events_url":"https://api.github.com/users/PrzypisPowszechny/events{/privacy}","received_events_url":"https://api.github.com/users/PrzypisPowszechny/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrzypisPowszechny/pp-client","description":null,"fork":false,"url":"https://api.github.com/repos/PrzypisPowszechny/pp-client","forks_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/forks","keys_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/teams","hooks_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/hooks","issue_events_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/events{/number}","events_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/events","assignees_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/assignees{/user}","branches_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/branches{/branch}","tags_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/tags","blobs_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/statuses/{sha}","languages_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/languages","stargazers_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/stargazers","contributors_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/contributors","subscribers_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/subscribers","subscription_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/subscription","commits_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/contents/{+path}","compare_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/merges","archive_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/downloads","issues_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues{/number}","pulls_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls{/number}","milestones_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/milestones{/number}","notifications_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/labels{/name}","releases_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/releases{/id}","deployments_url":"https://api.github.com/repos/PrzypisPowszechny/pp-client/deployments","created_at":"2017-07-12T20:33:45Z","updated_at":"2018-07-20T16:59:51Z","pushed_at":"2018-07-23T22:11:38Z","git_url":"git://github.com/PrzypisPowszechny/pp-client.git","ssh_url":"git@github.com:PrzypisPowszechny/pp-client.git","clone_url":"https://github.com/PrzypisPowszechny/pp-client.git","svn_url":"https://github.com/PrzypisPowszechny/pp-client","homepage":null,"size":2698,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":29,"license":null,"forks":2,"open_issues":29,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158"},"html":{"href":"https://github.com/PrzypisPowszechny/pp-client/pull/158"},"issue":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/158"},"comments":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/PrzypisPowszechny/pp-client/statuses/f93c5b0e0172068c7785860185d603c2fff29f93"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kaglowka"}}