{"action":"created","comment":{"url":"https://api.github.com/repos/ojles/teamnull/pulls/comments/238056039","pull_request_review_id":180516161,"id":238056039,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA1NjAzOQ==","diff_hunk":"@@ -63,10 +63,57 @@ public MainWindow()\n \n         private void NewCanvas(object sender, RoutedEventArgs e)\n         {\n-            ResetCanvas();\n+            if (DrawCanvas.Children.Count > 0)","path":"task2/Pentagon/MainWindow.xaml.cs","position":5,"original_position":5,"commit_id":"d2adb07f5df3fb5deb5323b2f053262bbb45ced6","original_commit_id":"d2adb07f5df3fb5deb5323b2f053262bbb45ced6","user":{"login":"ojles","id":22572543,"node_id":"MDQ6VXNlcjIyNTcyNTQz","avatar_url":"https://avatars3.githubusercontent.com/u/22572543?v=4","gravatar_id":"","url":"https://api.github.com/users/ojles","html_url":"https://github.com/ojles","followers_url":"https://api.github.com/users/ojles/followers","following_url":"https://api.github.com/users/ojles/following{/other_user}","gists_url":"https://api.github.com/users/ojles/gists{/gist_id}","starred_url":"https://api.github.com/users/ojles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojles/subscriptions","organizations_url":"https://api.github.com/users/ojles/orgs","repos_url":"https://api.github.com/users/ojles/repos","events_url":"https://api.github.com/users/ojles/events{/privacy}","received_events_url":"https://api.github.com/users/ojles/received_events","type":"User","site_admin":false},"body":"Create separate function for the warning dialog","created_at":"2018-12-01T07:58:27Z","updated_at":"2018-12-01T07:58:27Z","html_url":"https://github.com/ojles/teamnull/pull/47#discussion_r238056039","pull_request_url":"https://api.github.com/repos/ojles/teamnull/pulls/47","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ojles/teamnull/pulls/comments/238056039"},"html":{"href":"https://github.com/ojles/teamnull/pull/47#discussion_r238056039"},"pull_request":{"href":"https://api.github.com/repos/ojles/teamnull/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/ojles/teamnull/pulls/47","id":235142213,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MTQyMjEz","html_url":"https://github.com/ojles/teamnull/pull/47","diff_url":"https://github.com/ojles/teamnull/pull/47.diff","patch_url":"https://github.com/ojles/teamnull/pull/47.patch","issue_url":"https://api.github.com/repos/ojles/teamnull/issues/47","number":47,"state":"open","locked":false,"title":"Add warning before 'new canvas'/'open'.","user":{"login":"samozvon","id":22178604,"node_id":"MDQ6VXNlcjIyMTc4NjA0","avatar_url":"https://avatars2.githubusercontent.com/u/22178604?v=4","gravatar_id":"","url":"https://api.github.com/users/samozvon","html_url":"https://github.com/samozvon","followers_url":"https://api.github.com/users/samozvon/followers","following_url":"https://api.github.com/users/samozvon/following{/other_user}","gists_url":"https://api.github.com/users/samozvon/gists{/gist_id}","starred_url":"https://api.github.com/users/samozvon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samozvon/subscriptions","organizations_url":"https://api.github.com/users/samozvon/orgs","repos_url":"https://api.github.com/users/samozvon/repos","events_url":"https://api.github.com/users/samozvon/events{/privacy}","received_events_url":"https://api.github.com/users/samozvon/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-30T23:12:46Z","updated_at":"2018-12-01T07:58:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b1bc676800c27715b23a2a31a49a65f739345bd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ojles/teamnull/pulls/47/commits","review_comments_url":"https://api.github.com/repos/ojles/teamnull/pulls/47/comments","review_comment_url":"https://api.github.com/repos/ojles/teamnull/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ojles/teamnull/issues/47/comments","statuses_url":"https://api.github.com/repos/ojles/teamnull/statuses/d2adb07f5df3fb5deb5323b2f053262bbb45ced6","head":{"label":"ojles:ft-save-file-warning","ref":"ft-save-file-warning","sha":"d2adb07f5df3fb5deb5323b2f053262bbb45ced6","user":{"login":"ojles","id":22572543,"node_id":"MDQ6VXNlcjIyNTcyNTQz","avatar_url":"https://avatars3.githubusercontent.com/u/22572543?v=4","gravatar_id":"","url":"https://api.github.com/users/ojles","html_url":"https://github.com/ojles","followers_url":"https://api.github.com/users/ojles/followers","following_url":"https://api.github.com/users/ojles/following{/other_user}","gists_url":"https://api.github.com/users/ojles/gists{/gist_id}","starred_url":"https://api.github.com/users/ojles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojles/subscriptions","organizations_url":"https://api.github.com/users/ojles/orgs","repos_url":"https://api.github.com/users/ojles/repos","events_url":"https://api.github.com/users/ojles/events{/privacy}","received_events_url":"https://api.github.com/users/ojles/received_events","type":"User","site_admin":false},"repo":{"id":149010149,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwMTAxNDk=","name":"teamnull","full_name":"ojles/teamnull","private":false,"owner":{"login":"ojles","id":22572543,"node_id":"MDQ6VXNlcjIyNTcyNTQz","avatar_url":"https://avatars3.githubusercontent.com/u/22572543?v=4","gravatar_id":"","url":"https://api.github.com/users/ojles","html_url":"https://github.com/ojles","followers_url":"https://api.github.com/users/ojles/followers","following_url":"https://api.github.com/users/ojles/following{/other_user}","gists_url":"https://api.github.com/users/ojles/gists{/gist_id}","starred_url":"https://api.github.com/users/ojles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojles/subscriptions","organizations_url":"https://api.github.com/users/ojles/orgs","repos_url":"https://api.github.com/users/ojles/repos","events_url":"https://api.github.com/users/ojles/events{/privacy}","received_events_url":"https://api.github.com/users/ojles/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ojles/teamnull","description":"University project","fork":false,"url":"https://api.github.com/repos/ojles/teamnull","forks_url":"https://api.github.com/repos/ojles/teamnull/forks","keys_url":"https://api.github.com/repos/ojles/teamnull/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojles/teamnull/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojles/teamnull/teams","hooks_url":"https://api.github.com/repos/ojles/teamnull/hooks","issue_events_url":"https://api.github.com/repos/ojles/teamnull/issues/events{/number}","events_url":"https://api.github.com/repos/ojles/teamnull/events","assignees_url":"https://api.github.com/repos/ojles/teamnull/assignees{/user}","branches_url":"https://api.github.com/repos/ojles/teamnull/branches{/branch}","tags_url":"https://api.github.com/repos/ojles/teamnull/tags","blobs_url":"https://api.github.com/repos/ojles/teamnull/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojles/teamnull/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojles/teamnull/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojles/teamnull/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojles/teamnull/statuses/{sha}","languages_url":"https://api.github.com/repos/ojles/teamnull/languages","stargazers_url":"https://api.github.com/repos/ojles/teamnull/stargazers","contributors_url":"https://api.github.com/repos/ojles/teamnull/contributors","subscribers_url":"https://api.github.com/repos/ojles/teamnull/subscribers","subscription_url":"https://api.github.com/repos/ojles/teamnull/subscription","commits_url":"https://api.github.com/repos/ojles/teamnull/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojles/teamnull/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojles/teamnull/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojles/teamnull/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojles/teamnull/contents/{+path}","compare_url":"https://api.github.com/repos/ojles/teamnull/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojles/teamnull/merges","archive_url":"https://api.github.com/repos/ojles/teamnull/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojles/teamnull/downloads","issues_url":"https://api.github.com/repos/ojles/teamnull/issues{/number}","pulls_url":"https://api.github.com/repos/ojles/teamnull/pulls{/number}","milestones_url":"https://api.github.com/repos/ojles/teamnull/milestones{/number}","notifications_url":"https://api.github.com/repos/ojles/teamnull/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojles/teamnull/labels{/name}","releases_url":"https://api.github.com/repos/ojles/teamnull/releases{/id}","deployments_url":"https://api.github.com/repos/ojles/teamnull/deployments","created_at":"2018-09-16T15:43:22Z","updated_at":"2018-10-26T20:45:33Z","pushed_at":"2018-11-30T23:12:47Z","git_url":"git://github.com/ojles/teamnull.git","ssh_url":"git@github.com:ojles/teamnull.git","clone_url":"https://github.com/ojles/teamnull.git","svn_url":"https://github.com/ojles/teamnull","homepage":null,"size":3039,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"ojles:dev","ref":"dev","sha":"451df566dc1a5becf7d564bef55092e693420826","user":{"login":"ojles","id":22572543,"node_id":"MDQ6VXNlcjIyNTcyNTQz","avatar_url":"https://avatars3.githubusercontent.com/u/22572543?v=4","gravatar_id":"","url":"https://api.github.com/users/ojles","html_url":"https://github.com/ojles","followers_url":"https://api.github.com/users/ojles/followers","following_url":"https://api.github.com/users/ojles/following{/other_user}","gists_url":"https://api.github.com/users/ojles/gists{/gist_id}","starred_url":"https://api.github.com/users/ojles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojles/subscriptions","organizations_url":"https://api.github.com/users/ojles/orgs","repos_url":"https://api.github.com/users/ojles/repos","events_url":"https://api.github.com/users/ojles/events{/privacy}","received_events_url":"https://api.github.com/users/ojles/received_events","type":"User","site_admin":false},"repo":{"id":149010149,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwMTAxNDk=","name":"teamnull","full_name":"ojles/teamnull","private":false,"owner":{"login":"ojles","id":22572543,"node_id":"MDQ6VXNlcjIyNTcyNTQz","avatar_url":"https://avatars3.githubusercontent.com/u/22572543?v=4","gravatar_id":"","url":"https://api.github.com/users/ojles","html_url":"https://github.com/ojles","followers_url":"https://api.github.com/users/ojles/followers","following_url":"https://api.github.com/users/ojles/following{/other_user}","gists_url":"https://api.github.com/users/ojles/gists{/gist_id}","starred_url":"https://api.github.com/users/ojles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojles/subscriptions","organizations_url":"https://api.github.com/users/ojles/orgs","repos_url":"https://api.github.com/users/ojles/repos","events_url":"https://api.github.com/users/ojles/events{/privacy}","received_events_url":"https://api.github.com/users/ojles/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ojles/teamnull","description":"University project","fork":false,"url":"https://api.github.com/repos/ojles/teamnull","forks_url":"https://api.github.com/repos/ojles/teamnull/forks","keys_url":"https://api.github.com/repos/ojles/teamnull/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojles/teamnull/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojles/teamnull/teams","hooks_url":"https://api.github.com/repos/ojles/teamnull/hooks","issue_events_url":"https://api.github.com/repos/ojles/teamnull/issues/events{/number}","events_url":"https://api.github.com/repos/ojles/teamnull/events","assignees_url":"https://api.github.com/repos/ojles/teamnull/assignees{/user}","branches_url":"https://api.github.com/repos/ojles/teamnull/branches{/branch}","tags_url":"https://api.github.com/repos/ojles/teamnull/tags","blobs_url":"https://api.github.com/repos/ojles/teamnull/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojles/teamnull/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojles/teamnull/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojles/teamnull/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojles/teamnull/statuses/{sha}","languages_url":"https://api.github.com/repos/ojles/teamnull/languages","stargazers_url":"https://api.github.com/repos/ojles/teamnull/stargazers","contributors_url":"https://api.github.com/repos/ojles/teamnull/contributors","subscribers_url":"https://api.github.com/repos/ojles/teamnull/subscribers","subscription_url":"https://api.github.com/repos/ojles/teamnull/subscription","commits_url":"https://api.github.com/repos/ojles/teamnull/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojles/teamnull/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojles/teamnull/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojles/teamnull/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojles/teamnull/contents/{+path}","compare_url":"https://api.github.com/repos/ojles/teamnull/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojles/teamnull/merges","archive_url":"https://api.github.com/repos/ojles/teamnull/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojles/teamnull/downloads","issues_url":"https://api.github.com/repos/ojles/teamnull/issues{/number}","pulls_url":"https://api.github.com/repos/ojles/teamnull/pulls{/number}","milestones_url":"https://api.github.com/repos/ojles/teamnull/milestones{/number}","notifications_url":"https://api.github.com/repos/ojles/teamnull/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojles/teamnull/labels{/name}","releases_url":"https://api.github.com/repos/ojles/teamnull/releases{/id}","deployments_url":"https://api.github.com/repos/ojles/teamnull/deployments","created_at":"2018-09-16T15:43:22Z","updated_at":"2018-10-26T20:45:33Z","pushed_at":"2018-11-30T23:12:47Z","git_url":"git://github.com/ojles/teamnull.git","ssh_url":"git@github.com:ojles/teamnull.git","clone_url":"https://github.com/ojles/teamnull.git","svn_url":"https://github.com/ojles/teamnull","homepage":null,"size":3039,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ojles/teamnull/pulls/47"},"html":{"href":"https://github.com/ojles/teamnull/pull/47"},"issue":{"href":"https://api.github.com/repos/ojles/teamnull/issues/47"},"comments":{"href":"https://api.github.com/repos/ojles/teamnull/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/ojles/teamnull/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/ojles/teamnull/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ojles/teamnull/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/ojles/teamnull/statuses/d2adb07f5df3fb5deb5323b2f053262bbb45ced6"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ojles"}}