{"action":"opened","number":594,"pull_request":{"url":"https://api.github.com/repos/google/blockly/pulls/594","id":82636135,"html_url":"https://github.com/google/blockly/pull/594","diff_url":"https://github.com/google/blockly/pull/594.diff","patch_url":"https://github.com/google/blockly/pull/594.patch","issue_url":"https://api.github.com/repos/google/blockly/issues/594","number":594,"state":"open","locked":false,"title":"Blockly Factory: Alert if Unsaved Changes in Block Factory","user":{"login":"quachtina96","id":10423718,"avatar_url":"https://avatars.githubusercontent.com/u/10423718?v=3","gravatar_id":"","url":"https://api.github.com/users/quachtina96","html_url":"https://github.com/quachtina96","followers_url":"https://api.github.com/users/quachtina96/followers","following_url":"https://api.github.com/users/quachtina96/following{/other_user}","gists_url":"https://api.github.com/users/quachtina96/gists{/gist_id}","starred_url":"https://api.github.com/users/quachtina96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quachtina96/subscriptions","organizations_url":"https://api.github.com/users/quachtina96/orgs","repos_url":"https://api.github.com/users/quachtina96/repos","events_url":"https://api.github.com/users/quachtina96/events{/privacy}","received_events_url":"https://api.github.com/users/quachtina96/received_events","type":"User","site_admin":false},"body":"Alerts users when \r\n\r\n- they want to create a block and they've made changes to the block they are currently on.\r\n<img width=\"1401\" alt=\"screen shot 2016-08-24 at 4 39 30 pm\" src=\"https://cloud.githubusercontent.com/assets/10423718/17951777/b16fdc64-6a19-11e6-88b2-028871356a32.png\">\r\n\r\n- they want to switch from the block factory tab to a different tab, but they have unsaved changes.\r\n<img width=\"1403\" alt=\"screen shot 2016-08-24 at 4 39 44 pm\" src=\"https://cloud.githubusercontent.com/assets/10423718/17951782/b63a1728-6a19-11e6-9680-e4be082802cc.png\">\r\n","created_at":"2016-08-24T23:42:56Z","updated_at":"2016-08-24T23:42:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/blockly/pulls/594/commits","review_comments_url":"https://api.github.com/repos/google/blockly/pulls/594/comments","review_comment_url":"https://api.github.com/repos/google/blockly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/blockly/issues/594/comments","statuses_url":"https://api.github.com/repos/google/blockly/statuses/284df3426664a1acbc95fc2a302db93bfcd2bad0","head":{"label":"quachtina96:alert-save","ref":"alert-save","sha":"284df3426664a1acbc95fc2a302db93bfcd2bad0","user":{"login":"quachtina96","id":10423718,"avatar_url":"https://avatars.githubusercontent.com/u/10423718?v=3","gravatar_id":"","url":"https://api.github.com/users/quachtina96","html_url":"https://github.com/quachtina96","followers_url":"https://api.github.com/users/quachtina96/followers","following_url":"https://api.github.com/users/quachtina96/following{/other_user}","gists_url":"https://api.github.com/users/quachtina96/gists{/gist_id}","starred_url":"https://api.github.com/users/quachtina96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quachtina96/subscriptions","organizations_url":"https://api.github.com/users/quachtina96/orgs","repos_url":"https://api.github.com/users/quachtina96/repos","events_url":"https://api.github.com/users/quachtina96/events{/privacy}","received_events_url":"https://api.github.com/users/quachtina96/received_events","type":"User","site_admin":false},"repo":{"id":61349936,"name":"blockly","full_name":"quachtina96/blockly","owner":{"login":"quachtina96","id":10423718,"avatar_url":"https://avatars.githubusercontent.com/u/10423718?v=3","gravatar_id":"","url":"https://api.github.com/users/quachtina96","html_url":"https://github.com/quachtina96","followers_url":"https://api.github.com/users/quachtina96/followers","following_url":"https://api.github.com/users/quachtina96/following{/other_user}","gists_url":"https://api.github.com/users/quachtina96/gists{/gist_id}","starred_url":"https://api.github.com/users/quachtina96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quachtina96/subscriptions","organizations_url":"https://api.github.com/users/quachtina96/orgs","repos_url":"https://api.github.com/users/quachtina96/repos","events_url":"https://api.github.com/users/quachtina96/events{/privacy}","received_events_url":"https://api.github.com/users/quachtina96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quachtina96/blockly","description":"The web-based visual programming editor.","fork":true,"url":"https://api.github.com/repos/quachtina96/blockly","forks_url":"https://api.github.com/repos/quachtina96/blockly/forks","keys_url":"https://api.github.com/repos/quachtina96/blockly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quachtina96/blockly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quachtina96/blockly/teams","hooks_url":"https://api.github.com/repos/quachtina96/blockly/hooks","issue_events_url":"https://api.github.com/repos/quachtina96/blockly/issues/events{/number}","events_url":"https://api.github.com/repos/quachtina96/blockly/events","assignees_url":"https://api.github.com/repos/quachtina96/blockly/assignees{/user}","branches_url":"https://api.github.com/repos/quachtina96/blockly/branches{/branch}","tags_url":"https://api.github.com/repos/quachtina96/blockly/tags","blobs_url":"https://api.github.com/repos/quachtina96/blockly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quachtina96/blockly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quachtina96/blockly/git/refs{/sha}","trees_url":"https://api.github.com/repos/quachtina96/blockly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quachtina96/blockly/statuses/{sha}","languages_url":"https://api.github.com/repos/quachtina96/blockly/languages","stargazers_url":"https://api.github.com/repos/quachtina96/blockly/stargazers","contributors_url":"https://api.github.com/repos/quachtina96/blockly/contributors","subscribers_url":"https://api.github.com/repos/quachtina96/blockly/subscribers","subscription_url":"https://api.github.com/repos/quachtina96/blockly/subscription","commits_url":"https://api.github.com/repos/quachtina96/blockly/commits{/sha}","git_commits_url":"https://api.github.com/repos/quachtina96/blockly/git/commits{/sha}","comments_url":"https://api.github.com/repos/quachtina96/blockly/comments{/number}","issue_comment_url":"https://api.github.com/repos/quachtina96/blockly/issues/comments{/number}","contents_url":"https://api.github.com/repos/quachtina96/blockly/contents/{+path}","compare_url":"https://api.github.com/repos/quachtina96/blockly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quachtina96/blockly/merges","archive_url":"https://api.github.com/repos/quachtina96/blockly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quachtina96/blockly/downloads","issues_url":"https://api.github.com/repos/quachtina96/blockly/issues{/number}","pulls_url":"https://api.github.com/repos/quachtina96/blockly/pulls{/number}","milestones_url":"https://api.github.com/repos/quachtina96/blockly/milestones{/number}","notifications_url":"https://api.github.com/repos/quachtina96/blockly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quachtina96/blockly/labels{/name}","releases_url":"https://api.github.com/repos/quachtina96/blockly/releases{/id}","deployments_url":"https://api.github.com/repos/quachtina96/blockly/deployments","created_at":"2016-06-17T06:12:22Z","updated_at":"2016-06-17T06:12:25Z","pushed_at":"2016-08-24T23:38:59Z","git_url":"git://github.com/quachtina96/blockly.git","ssh_url":"git@github.com:quachtina96/blockly.git","clone_url":"https://github.com/quachtina96/blockly.git","svn_url":"https://github.com/quachtina96/blockly","homepage":"https://developers.google.com/blockly/","size":73081,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:develop","ref":"develop","sha":"69d75e52140b50d3ed35a224076f4f0a07562e78","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":13872231,"name":"blockly","full_name":"google/blockly","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/blockly","description":"The web-based visual programming editor.","fork":false,"url":"https://api.github.com/repos/google/blockly","forks_url":"https://api.github.com/repos/google/blockly/forks","keys_url":"https://api.github.com/repos/google/blockly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/blockly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/blockly/teams","hooks_url":"https://api.github.com/repos/google/blockly/hooks","issue_events_url":"https://api.github.com/repos/google/blockly/issues/events{/number}","events_url":"https://api.github.com/repos/google/blockly/events","assignees_url":"https://api.github.com/repos/google/blockly/assignees{/user}","branches_url":"https://api.github.com/repos/google/blockly/branches{/branch}","tags_url":"https://api.github.com/repos/google/blockly/tags","blobs_url":"https://api.github.com/repos/google/blockly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/blockly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/blockly/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/blockly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/blockly/statuses/{sha}","languages_url":"https://api.github.com/repos/google/blockly/languages","stargazers_url":"https://api.github.com/repos/google/blockly/stargazers","contributors_url":"https://api.github.com/repos/google/blockly/contributors","subscribers_url":"https://api.github.com/repos/google/blockly/subscribers","subscription_url":"https://api.github.com/repos/google/blockly/subscription","commits_url":"https://api.github.com/repos/google/blockly/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/blockly/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/blockly/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/blockly/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/blockly/contents/{+path}","compare_url":"https://api.github.com/repos/google/blockly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/blockly/merges","archive_url":"https://api.github.com/repos/google/blockly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/blockly/downloads","issues_url":"https://api.github.com/repos/google/blockly/issues{/number}","pulls_url":"https://api.github.com/repos/google/blockly/pulls{/number}","milestones_url":"https://api.github.com/repos/google/blockly/milestones{/number}","notifications_url":"https://api.github.com/repos/google/blockly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/blockly/labels{/name}","releases_url":"https://api.github.com/repos/google/blockly/releases{/id}","deployments_url":"https://api.github.com/repos/google/blockly/deployments","created_at":"2013-10-25T21:13:33Z","updated_at":"2016-08-24T18:22:30Z","pushed_at":"2016-08-24T23:42:56Z","git_url":"git://github.com/google/blockly.git","ssh_url":"git@github.com:google/blockly.git","clone_url":"https://github.com/google/blockly.git","svn_url":"https://github.com/google/blockly","homepage":"https://developers.google.com/blockly/","size":108200,"stargazers_count":2573,"watchers_count":2573,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":868,"mirror_url":null,"open_issues_count":123,"forks":868,"open_issues":123,"watchers":2573,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/blockly/pulls/594"},"html":{"href":"https://github.com/google/blockly/pull/594"},"issue":{"href":"https://api.github.com/repos/google/blockly/issues/594"},"comments":{"href":"https://api.github.com/repos/google/blockly/issues/594/comments"},"review_comments":{"href":"https://api.github.com/repos/google/blockly/pulls/594/comments"},"review_comment":{"href":"https://api.github.com/repos/google/blockly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/blockly/pulls/594/commits"},"statuses":{"href":"https://api.github.com/repos/google/blockly/statuses/284df3426664a1acbc95fc2a302db93bfcd2bad0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":119,"deletions":26,"changed_files":4}}
{"actor":{"display_login":"quachtina96"}}