{"action":"created","comment":{"url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/comments/205346537","pull_request_review_id":140596494,"id":205346537,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTM0NjUzNw==","diff_hunk":"@@ -0,0 +1,67 @@\n+import * as React from 'react';\n+import InputNumber from '../InputNumber/InputNumber';\n+import './bodyspacing.css';\n+\n+interface IProps {\n+  top: number;\n+  bottom: number;\n+  left: number;\n+  right: number;\n+  handleChange: (\n+    { value, position }: { value: number; position: string }\n+  ) => void;\n+}\n+export default class BodySpacing extends React.Component<IProps> {\n+  public render() {\n+    const { left, right, bottom, top } = this.props;\n+    return (\n+      <div className=\"body-padding-box\">\n+        <p className=\"small-title\">Body spacing (padding)</p>\n+        <div className=\"setting-row\">\n+          <div className=\"setting-col\">\n+            <label className=\"small-label\">Left</label>\n+            <div className=\"plus-minus-box\">\n+              <InputNumber\n+                value={left}\n+                onValueChanged={this.onInputValueChanged}\n+              />\n+            </div>\n+          </div>\n+          <div className=\"setting-col\">\n+            <label className=\"small-label\">Right</label>\n+            <div className=\"plus-minus-box\">\n+              <InputNumber\n+                value={right}\n+                onValueChanged={this.onInputValueChanged}\n+              />\n+            </div>\n+          </div>\n+        </div>\n+        <div className=\"setting-row\">\n+          <div className=\"setting-col\">\n+            <label className=\"small-label\">Top</label>\n+            <div className=\"plus-minus-box\">\n+              <InputNumber\n+                value={top}\n+                onValueChanged={this.onInputValueChanged}\n+              />\n+            </div>\n+          </div>\n+          <div className=\"setting-col\">\n+            <label className=\"small-label\">Bottom</label>\n+            <div className=\"plus-minus-box\">\n+              <InputNumber\n+                value={bottom}\n+                onValueChanged={this.onInputValueChanged}\n+              />\n+            </div>\n+          </div>\n+        </div>\n+      </div>\n+    );\n+  }\n+\n+  private onInputValueChanged = (newValue: number) => {\n+    this.props.handleChange({ value: newValue, position: 'left' });","path":"src/components/UI/BodySpacing/BodySpacing.tsx","position":65,"original_position":65,"commit_id":"77dfa19cdc00045454cebb9eca6e321572c29882","original_commit_id":"77dfa19cdc00045454cebb9eca6e321572c29882","user":{"login":"melihkorkmaz","id":15940533,"node_id":"MDQ6VXNlcjE1OTQwNTMz","avatar_url":"https://avatars2.githubusercontent.com/u/15940533?v=4","gravatar_id":"","url":"https://api.github.com/users/melihkorkmaz","html_url":"https://github.com/melihkorkmaz","followers_url":"https://api.github.com/users/melihkorkmaz/followers","following_url":"https://api.github.com/users/melihkorkmaz/following{/other_user}","gists_url":"https://api.github.com/users/melihkorkmaz/gists{/gist_id}","starred_url":"https://api.github.com/users/melihkorkmaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melihkorkmaz/subscriptions","organizations_url":"https://api.github.com/users/melihkorkmaz/orgs","repos_url":"https://api.github.com/users/melihkorkmaz/repos","events_url":"https://api.github.com/users/melihkorkmaz/events{/privacy}","received_events_url":"https://api.github.com/users/melihkorkmaz/received_events","type":"User","site_admin":false},"body":"Position default left kalmış galiba.","created_at":"2018-07-26T06:46:42Z","updated_at":"2018-07-26T06:50:58Z","html_url":"https://github.com/tds-maker/tm-frontend/pull/10#discussion_r205346537","pull_request_url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/comments/205346537"},"html":{"href":"https://github.com/tds-maker/tm-frontend/pull/10#discussion_r205346537"},"pull_request":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10","id":204042886,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MDQyODg2","html_url":"https://github.com/tds-maker/tm-frontend/pull/10","diff_url":"https://github.com/tds-maker/tm-frontend/pull/10.diff","patch_url":"https://github.com/tds-maker/tm-frontend/pull/10.patch","issue_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues/10","number":10,"state":"open","locked":false,"title":"BodySpacing component","user":{"login":"mksglu","id":6067714,"node_id":"MDQ6VXNlcjYwNjc3MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6067714?v=4","gravatar_id":"","url":"https://api.github.com/users/mksglu","html_url":"https://github.com/mksglu","followers_url":"https://api.github.com/users/mksglu/followers","following_url":"https://api.github.com/users/mksglu/following{/other_user}","gists_url":"https://api.github.com/users/mksglu/gists{/gist_id}","starred_url":"https://api.github.com/users/mksglu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mksglu/subscriptions","organizations_url":"https://api.github.com/users/mksglu/orgs","repos_url":"https://api.github.com/users/mksglu/repos","events_url":"https://api.github.com/users/mksglu/events{/privacy}","received_events_url":"https://api.github.com/users/mksglu/received_events","type":"User","site_admin":false},"body":null,"created_at":"2018-07-26T06:44:53Z","updated_at":"2018-07-26T06:50:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"084e1cfc58d2044e8887c63627499c8b53d53ced","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10/commits","review_comments_url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10/comments","review_comment_url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues/10/comments","statuses_url":"https://api.github.com/repos/tds-maker/tm-frontend/statuses/77dfa19cdc00045454cebb9eca6e321572c29882","head":{"label":"tds-maker:body-spacing","ref":"body-spacing","sha":"77dfa19cdc00045454cebb9eca6e321572c29882","user":{"login":"tds-maker","id":40733756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNzMzNzU2","avatar_url":"https://avatars1.githubusercontent.com/u/40733756?v=4","gravatar_id":"","url":"https://api.github.com/users/tds-maker","html_url":"https://github.com/tds-maker","followers_url":"https://api.github.com/users/tds-maker/followers","following_url":"https://api.github.com/users/tds-maker/following{/other_user}","gists_url":"https://api.github.com/users/tds-maker/gists{/gist_id}","starred_url":"https://api.github.com/users/tds-maker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tds-maker/subscriptions","organizations_url":"https://api.github.com/users/tds-maker/orgs","repos_url":"https://api.github.com/users/tds-maker/repos","events_url":"https://api.github.com/users/tds-maker/events{/privacy}","received_events_url":"https://api.github.com/users/tds-maker/received_events","type":"Organization","site_admin":false},"repo":{"id":139320572,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkzMjA1NzI=","name":"tm-frontend","full_name":"tds-maker/tm-frontend","owner":{"login":"tds-maker","id":40733756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNzMzNzU2","avatar_url":"https://avatars1.githubusercontent.com/u/40733756?v=4","gravatar_id":"","url":"https://api.github.com/users/tds-maker","html_url":"https://github.com/tds-maker","followers_url":"https://api.github.com/users/tds-maker/followers","following_url":"https://api.github.com/users/tds-maker/following{/other_user}","gists_url":"https://api.github.com/users/tds-maker/gists{/gist_id}","starred_url":"https://api.github.com/users/tds-maker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tds-maker/subscriptions","organizations_url":"https://api.github.com/users/tds-maker/orgs","repos_url":"https://api.github.com/users/tds-maker/repos","events_url":"https://api.github.com/users/tds-maker/events{/privacy}","received_events_url":"https://api.github.com/users/tds-maker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tds-maker/tm-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/tds-maker/tm-frontend","forks_url":"https://api.github.com/repos/tds-maker/tm-frontend/forks","keys_url":"https://api.github.com/repos/tds-maker/tm-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tds-maker/tm-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tds-maker/tm-frontend/teams","hooks_url":"https://api.github.com/repos/tds-maker/tm-frontend/hooks","issue_events_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/tds-maker/tm-frontend/events","assignees_url":"https://api.github.com/repos/tds-maker/tm-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/tds-maker/tm-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/tds-maker/tm-frontend/tags","blobs_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tds-maker/tm-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/tds-maker/tm-frontend/languages","stargazers_url":"https://api.github.com/repos/tds-maker/tm-frontend/stargazers","contributors_url":"https://api.github.com/repos/tds-maker/tm-frontend/contributors","subscribers_url":"https://api.github.com/repos/tds-maker/tm-frontend/subscribers","subscription_url":"https://api.github.com/repos/tds-maker/tm-frontend/subscription","commits_url":"https://api.github.com/repos/tds-maker/tm-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/tds-maker/tm-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/tds-maker/tm-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/tds-maker/tm-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tds-maker/tm-frontend/merges","archive_url":"https://api.github.com/repos/tds-maker/tm-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tds-maker/tm-frontend/downloads","issues_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/tds-maker/tm-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/tds-maker/tm-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tds-maker/tm-frontend/labels{/name}","releases_url":"https://api.github.com/repos/tds-maker/tm-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/tds-maker/tm-frontend/deployments","created_at":"2018-07-01T10:42:50Z","updated_at":"2018-07-24T10:21:15Z","pushed_at":"2018-07-26T06:47:06Z","git_url":"git://github.com/tds-maker/tm-frontend.git","ssh_url":"git@github.com:tds-maker/tm-frontend.git","clone_url":"https://github.com/tds-maker/tm-frontend.git","svn_url":"https://github.com/tds-maker/tm-frontend","homepage":null,"size":3731,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tds-maker:master","ref":"master","sha":"f5bddf0704110059f2a13ea9c7659160ea5b7aa5","user":{"login":"tds-maker","id":40733756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNzMzNzU2","avatar_url":"https://avatars1.githubusercontent.com/u/40733756?v=4","gravatar_id":"","url":"https://api.github.com/users/tds-maker","html_url":"https://github.com/tds-maker","followers_url":"https://api.github.com/users/tds-maker/followers","following_url":"https://api.github.com/users/tds-maker/following{/other_user}","gists_url":"https://api.github.com/users/tds-maker/gists{/gist_id}","starred_url":"https://api.github.com/users/tds-maker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tds-maker/subscriptions","organizations_url":"https://api.github.com/users/tds-maker/orgs","repos_url":"https://api.github.com/users/tds-maker/repos","events_url":"https://api.github.com/users/tds-maker/events{/privacy}","received_events_url":"https://api.github.com/users/tds-maker/received_events","type":"Organization","site_admin":false},"repo":{"id":139320572,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkzMjA1NzI=","name":"tm-frontend","full_name":"tds-maker/tm-frontend","owner":{"login":"tds-maker","id":40733756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNzMzNzU2","avatar_url":"https://avatars1.githubusercontent.com/u/40733756?v=4","gravatar_id":"","url":"https://api.github.com/users/tds-maker","html_url":"https://github.com/tds-maker","followers_url":"https://api.github.com/users/tds-maker/followers","following_url":"https://api.github.com/users/tds-maker/following{/other_user}","gists_url":"https://api.github.com/users/tds-maker/gists{/gist_id}","starred_url":"https://api.github.com/users/tds-maker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tds-maker/subscriptions","organizations_url":"https://api.github.com/users/tds-maker/orgs","repos_url":"https://api.github.com/users/tds-maker/repos","events_url":"https://api.github.com/users/tds-maker/events{/privacy}","received_events_url":"https://api.github.com/users/tds-maker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tds-maker/tm-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/tds-maker/tm-frontend","forks_url":"https://api.github.com/repos/tds-maker/tm-frontend/forks","keys_url":"https://api.github.com/repos/tds-maker/tm-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tds-maker/tm-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tds-maker/tm-frontend/teams","hooks_url":"https://api.github.com/repos/tds-maker/tm-frontend/hooks","issue_events_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/tds-maker/tm-frontend/events","assignees_url":"https://api.github.com/repos/tds-maker/tm-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/tds-maker/tm-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/tds-maker/tm-frontend/tags","blobs_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tds-maker/tm-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/tds-maker/tm-frontend/languages","stargazers_url":"https://api.github.com/repos/tds-maker/tm-frontend/stargazers","contributors_url":"https://api.github.com/repos/tds-maker/tm-frontend/contributors","subscribers_url":"https://api.github.com/repos/tds-maker/tm-frontend/subscribers","subscription_url":"https://api.github.com/repos/tds-maker/tm-frontend/subscription","commits_url":"https://api.github.com/repos/tds-maker/tm-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/tds-maker/tm-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/tds-maker/tm-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/tds-maker/tm-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/tds-maker/tm-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tds-maker/tm-frontend/merges","archive_url":"https://api.github.com/repos/tds-maker/tm-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tds-maker/tm-frontend/downloads","issues_url":"https://api.github.com/repos/tds-maker/tm-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/tds-maker/tm-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/tds-maker/tm-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/tds-maker/tm-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tds-maker/tm-frontend/labels{/name}","releases_url":"https://api.github.com/repos/tds-maker/tm-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/tds-maker/tm-frontend/deployments","created_at":"2018-07-01T10:42:50Z","updated_at":"2018-07-24T10:21:15Z","pushed_at":"2018-07-26T06:47:06Z","git_url":"git://github.com/tds-maker/tm-frontend.git","ssh_url":"git@github.com:tds-maker/tm-frontend.git","clone_url":"https://github.com/tds-maker/tm-frontend.git","svn_url":"https://github.com/tds-maker/tm-frontend","homepage":null,"size":3731,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10"},"html":{"href":"https://github.com/tds-maker/tm-frontend/pull/10"},"issue":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/issues/10"},"comments":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/tds-maker/tm-frontend/statuses/77dfa19cdc00045454cebb9eca6e321572c29882"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"melihkorkmaz"}}