{"action":"created","comment":{"url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/comments/233196195","pull_request_review_id":174553073,"id":233196195,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzE5NjE5NQ==","diff_hunk":"@@ -40,9 +65,15 @@ export default class CardScreen extends React.Component {\n           checked={this.state.done}\n           onPress={() => this.setState({ done: !this.state.done })}\n         />\n-        <Button title=\"Edit\" onPress={this.editCard} />\n-        <Button title=\"Delete\" onPress={this.deleteCard} />\n \n+        {this.state.editForm ? (\n+          <Button title=\"Edit\" onPress={this.editCard} />\n+        ) : (\n+          <Button title=\"Create\" onPress={this.newCard} />\n+        )}\n+        {this.state.editForm ? (\n+          <Button title=\"Delete\" onPress={this.deleteCard} />\n+        ) : null}","path":"ProjectTodo/src/containers/CardScreen.js","position":62,"original_position":62,"commit_id":"da967641b12df20237aee2c4fc1af79a8828a9bc","original_commit_id":"da967641b12df20237aee2c4fc1af79a8828a9bc","user":{"login":"AlexSensei","id":20355336,"node_id":"MDQ6VXNlcjIwMzU1MzM2","avatar_url":"https://avatars0.githubusercontent.com/u/20355336?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexSensei","html_url":"https://github.com/AlexSensei","followers_url":"https://api.github.com/users/AlexSensei/followers","following_url":"https://api.github.com/users/AlexSensei/following{/other_user}","gists_url":"https://api.github.com/users/AlexSensei/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexSensei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexSensei/subscriptions","organizations_url":"https://api.github.com/users/AlexSensei/orgs","repos_url":"https://api.github.com/users/AlexSensei/repos","events_url":"https://api.github.com/users/AlexSensei/events{/privacy}","received_events_url":"https://api.github.com/users/AlexSensei/received_events","type":"User","site_admin":false},"body":"mozes this.state.editing form && <Button> onda ne moras kao ternarni da stavljas : null","created_at":"2018-11-13T19:45:03Z","updated_at":"2018-11-13T19:45:50Z","html_url":"https://github.com/dovlaper/todo_react_native/pull/5#discussion_r233196195","pull_request_url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/comments/233196195"},"html":{"href":"https://github.com/dovlaper/todo_react_native/pull/5#discussion_r233196195"},"pull_request":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5","id":230471465,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNDcxNDY1","html_url":"https://github.com/dovlaper/todo_react_native/pull/5","diff_url":"https://github.com/dovlaper/todo_react_native/pull/5.diff","patch_url":"https://github.com/dovlaper/todo_react_native/pull/5.patch","issue_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues/5","number":5,"state":"open","locked":false,"title":"#LVAI-16 Creating new card implemented","user":{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-13T13:18:04Z","updated_at":"2018-11-13T19:45:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82a3b42a7ef66d29cecb218ef5b12599e84e8762","assignee":{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false},"assignees":[{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5/commits","review_comments_url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5/comments","review_comment_url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues/5/comments","statuses_url":"https://api.github.com/repos/dovlaper/todo_react_native/statuses/da967641b12df20237aee2c4fc1af79a8828a9bc","head":{"label":"dovlaper:feature/card_manager","ref":"feature/card_manager","sha":"da967641b12df20237aee2c4fc1af79a8828a9bc","user":{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false},"repo":{"id":156990438,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY5OTA0Mzg=","name":"todo_react_native","full_name":"dovlaper/todo_react_native","private":false,"owner":{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dovlaper/todo_react_native","description":null,"fork":false,"url":"https://api.github.com/repos/dovlaper/todo_react_native","forks_url":"https://api.github.com/repos/dovlaper/todo_react_native/forks","keys_url":"https://api.github.com/repos/dovlaper/todo_react_native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dovlaper/todo_react_native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dovlaper/todo_react_native/teams","hooks_url":"https://api.github.com/repos/dovlaper/todo_react_native/hooks","issue_events_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues/events{/number}","events_url":"https://api.github.com/repos/dovlaper/todo_react_native/events","assignees_url":"https://api.github.com/repos/dovlaper/todo_react_native/assignees{/user}","branches_url":"https://api.github.com/repos/dovlaper/todo_react_native/branches{/branch}","tags_url":"https://api.github.com/repos/dovlaper/todo_react_native/tags","blobs_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/refs{/sha}","trees_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dovlaper/todo_react_native/statuses/{sha}","languages_url":"https://api.github.com/repos/dovlaper/todo_react_native/languages","stargazers_url":"https://api.github.com/repos/dovlaper/todo_react_native/stargazers","contributors_url":"https://api.github.com/repos/dovlaper/todo_react_native/contributors","subscribers_url":"https://api.github.com/repos/dovlaper/todo_react_native/subscribers","subscription_url":"https://api.github.com/repos/dovlaper/todo_react_native/subscription","commits_url":"https://api.github.com/repos/dovlaper/todo_react_native/commits{/sha}","git_commits_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/commits{/sha}","comments_url":"https://api.github.com/repos/dovlaper/todo_react_native/comments{/number}","issue_comment_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues/comments{/number}","contents_url":"https://api.github.com/repos/dovlaper/todo_react_native/contents/{+path}","compare_url":"https://api.github.com/repos/dovlaper/todo_react_native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dovlaper/todo_react_native/merges","archive_url":"https://api.github.com/repos/dovlaper/todo_react_native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dovlaper/todo_react_native/downloads","issues_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues{/number}","pulls_url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls{/number}","milestones_url":"https://api.github.com/repos/dovlaper/todo_react_native/milestones{/number}","notifications_url":"https://api.github.com/repos/dovlaper/todo_react_native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dovlaper/todo_react_native/labels{/name}","releases_url":"https://api.github.com/repos/dovlaper/todo_react_native/releases{/id}","deployments_url":"https://api.github.com/repos/dovlaper/todo_react_native/deployments","created_at":"2018-11-10T14:48:13Z","updated_at":"2018-11-13T11:32:19Z","pushed_at":"2018-11-13T15:17:02Z","git_url":"git://github.com/dovlaper/todo_react_native.git","ssh_url":"git@github.com:dovlaper/todo_react_native.git","clone_url":"https://github.com/dovlaper/todo_react_native.git","svn_url":"https://github.com/dovlaper/todo_react_native","homepage":null,"size":197,"stargazers_count":0,"watchers_count":0,"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,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dovlaper:master","ref":"master","sha":"a726cc3bfe0019978efcd85e180ce3f2a02f66bb","user":{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false},"repo":{"id":156990438,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY5OTA0Mzg=","name":"todo_react_native","full_name":"dovlaper/todo_react_native","private":false,"owner":{"login":"dovlaper","id":44614677,"node_id":"MDQ6VXNlcjQ0NjE0Njc3","avatar_url":"https://avatars1.githubusercontent.com/u/44614677?v=4","gravatar_id":"","url":"https://api.github.com/users/dovlaper","html_url":"https://github.com/dovlaper","followers_url":"https://api.github.com/users/dovlaper/followers","following_url":"https://api.github.com/users/dovlaper/following{/other_user}","gists_url":"https://api.github.com/users/dovlaper/gists{/gist_id}","starred_url":"https://api.github.com/users/dovlaper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovlaper/subscriptions","organizations_url":"https://api.github.com/users/dovlaper/orgs","repos_url":"https://api.github.com/users/dovlaper/repos","events_url":"https://api.github.com/users/dovlaper/events{/privacy}","received_events_url":"https://api.github.com/users/dovlaper/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dovlaper/todo_react_native","description":null,"fork":false,"url":"https://api.github.com/repos/dovlaper/todo_react_native","forks_url":"https://api.github.com/repos/dovlaper/todo_react_native/forks","keys_url":"https://api.github.com/repos/dovlaper/todo_react_native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dovlaper/todo_react_native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dovlaper/todo_react_native/teams","hooks_url":"https://api.github.com/repos/dovlaper/todo_react_native/hooks","issue_events_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues/events{/number}","events_url":"https://api.github.com/repos/dovlaper/todo_react_native/events","assignees_url":"https://api.github.com/repos/dovlaper/todo_react_native/assignees{/user}","branches_url":"https://api.github.com/repos/dovlaper/todo_react_native/branches{/branch}","tags_url":"https://api.github.com/repos/dovlaper/todo_react_native/tags","blobs_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/refs{/sha}","trees_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dovlaper/todo_react_native/statuses/{sha}","languages_url":"https://api.github.com/repos/dovlaper/todo_react_native/languages","stargazers_url":"https://api.github.com/repos/dovlaper/todo_react_native/stargazers","contributors_url":"https://api.github.com/repos/dovlaper/todo_react_native/contributors","subscribers_url":"https://api.github.com/repos/dovlaper/todo_react_native/subscribers","subscription_url":"https://api.github.com/repos/dovlaper/todo_react_native/subscription","commits_url":"https://api.github.com/repos/dovlaper/todo_react_native/commits{/sha}","git_commits_url":"https://api.github.com/repos/dovlaper/todo_react_native/git/commits{/sha}","comments_url":"https://api.github.com/repos/dovlaper/todo_react_native/comments{/number}","issue_comment_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues/comments{/number}","contents_url":"https://api.github.com/repos/dovlaper/todo_react_native/contents/{+path}","compare_url":"https://api.github.com/repos/dovlaper/todo_react_native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dovlaper/todo_react_native/merges","archive_url":"https://api.github.com/repos/dovlaper/todo_react_native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dovlaper/todo_react_native/downloads","issues_url":"https://api.github.com/repos/dovlaper/todo_react_native/issues{/number}","pulls_url":"https://api.github.com/repos/dovlaper/todo_react_native/pulls{/number}","milestones_url":"https://api.github.com/repos/dovlaper/todo_react_native/milestones{/number}","notifications_url":"https://api.github.com/repos/dovlaper/todo_react_native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dovlaper/todo_react_native/labels{/name}","releases_url":"https://api.github.com/repos/dovlaper/todo_react_native/releases{/id}","deployments_url":"https://api.github.com/repos/dovlaper/todo_react_native/deployments","created_at":"2018-11-10T14:48:13Z","updated_at":"2018-11-13T11:32:19Z","pushed_at":"2018-11-13T15:17:02Z","git_url":"git://github.com/dovlaper/todo_react_native.git","ssh_url":"git@github.com:dovlaper/todo_react_native.git","clone_url":"https://github.com/dovlaper/todo_react_native.git","svn_url":"https://github.com/dovlaper/todo_react_native","homepage":null,"size":197,"stargazers_count":0,"watchers_count":0,"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,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5"},"html":{"href":"https://github.com/dovlaper/todo_react_native/pull/5"},"issue":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/issues/5"},"comments":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/dovlaper/todo_react_native/statuses/da967641b12df20237aee2c4fc1af79a8828a9bc"}},"author_association":"OWNER"}}
{"actor":{"display_login":"AlexSensei"}}