{"action":"created","comment":{"url":"https://api.github.com/repos/vatesfr/xo-web/pulls/comments/78522864","id":78522864,"diff_hunk":"@@ -48,12 +48,16 @@ export default class Tags extends Component {\n                 autoFocus\n                 style={{maxWidth: '4em', margin: '2px'}}\n                 onKeyDown={event => {\n-                  const { target } = event\n+                  const { keyCode, target } = event\n \n-                  if (event.keyCode === 13 && target.value) {\n+                  if (keyCode === 13 || keyCode === 27) {\n+                    event.preventDefault()","path":"src/common/tags.js","position":9,"original_position":9,"commit_id":"aba26c02d4591dc63070a90fb0abc42ff4e1f04b","original_commit_id":"aba26c02d4591dc63070a90fb0abc42ff4e1f04b","user":{"login":"pdonias","id":10992860,"avatar_url":"https://avatars.githubusercontent.com/u/10992860?v=3","gravatar_id":"","url":"https://api.github.com/users/pdonias","html_url":"https://github.com/pdonias","followers_url":"https://api.github.com/users/pdonias/followers","following_url":"https://api.github.com/users/pdonias/following{/other_user}","gists_url":"https://api.github.com/users/pdonias/gists{/gist_id}","starred_url":"https://api.github.com/users/pdonias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdonias/subscriptions","organizations_url":"https://api.github.com/users/pdonias/orgs","repos_url":"https://api.github.com/users/pdonias/repos","events_url":"https://api.github.com/users/pdonias/events{/privacy}","received_events_url":"https://api.github.com/users/pdonias/received_events","type":"User","site_admin":false},"body":"Because otherwise, pressing Enter to add a tag would trigger the VM creation.","created_at":"2016-09-13T09:11:39Z","updated_at":"2016-09-13T09:11:39Z","html_url":"https://github.com/vatesfr/xo-web/pull/1501#discussion_r78522864","pull_request_url":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501","_links":{"self":{"href":"https://api.github.com/repos/vatesfr/xo-web/pulls/comments/78522864"},"html":{"href":"https://github.com/vatesfr/xo-web/pull/1501#discussion_r78522864"},"pull_request":{"href":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501"}}},"pull_request":{"url":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501","id":85010034,"html_url":"https://github.com/vatesfr/xo-web/pull/1501","diff_url":"https://github.com/vatesfr/xo-web/pull/1501.diff","patch_url":"https://github.com/vatesfr/xo-web/pull/1501.patch","issue_url":"https://api.github.com/repos/vatesfr/xo-web/issues/1501","number":1501,"state":"open","locked":false,"title":"feat(new-vm): create tags during VM creation","user":{"login":"pdonias","id":10992860,"avatar_url":"https://avatars.githubusercontent.com/u/10992860?v=3","gravatar_id":"","url":"https://api.github.com/users/pdonias","html_url":"https://github.com/pdonias","followers_url":"https://api.github.com/users/pdonias/followers","following_url":"https://api.github.com/users/pdonias/following{/other_user}","gists_url":"https://api.github.com/users/pdonias/gists{/gist_id}","starred_url":"https://api.github.com/users/pdonias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdonias/subscriptions","organizations_url":"https://api.github.com/users/pdonias/orgs","repos_url":"https://api.github.com/users/pdonias/repos","events_url":"https://api.github.com/users/pdonias/events{/privacy}","received_events_url":"https://api.github.com/users/pdonias/received_events","type":"User","site_admin":false},"body":"See #1431","created_at":"2016-09-13T09:05:26Z","updated_at":"2016-09-13T09:11:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66fba18ecc0c0fabd6f631369ad5e221c3204ee6","assignee":{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false},"assignees":[{"login":"julien-f","id":298721,"avatar_url":"https://avatars.githubusercontent.com/u/298721?v=3","gravatar_id":"","url":"https://api.github.com/users/julien-f","html_url":"https://github.com/julien-f","followers_url":"https://api.github.com/users/julien-f/followers","following_url":"https://api.github.com/users/julien-f/following{/other_user}","gists_url":"https://api.github.com/users/julien-f/gists{/gist_id}","starred_url":"https://api.github.com/users/julien-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julien-f/subscriptions","organizations_url":"https://api.github.com/users/julien-f/orgs","repos_url":"https://api.github.com/users/julien-f/repos","events_url":"https://api.github.com/users/julien-f/events{/privacy}","received_events_url":"https://api.github.com/users/julien-f/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501/commits","review_comments_url":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501/comments","review_comment_url":"https://api.github.com/repos/vatesfr/xo-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vatesfr/xo-web/issues/1501/comments","statuses_url":"https://api.github.com/repos/vatesfr/xo-web/statuses/aba26c02d4591dc63070a90fb0abc42ff4e1f04b","head":{"label":"vatesfr:pierre-new-vm-tags","ref":"pierre-new-vm-tags","sha":"aba26c02d4591dc63070a90fb0abc42ff4e1f04b","user":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"repo":{"id":8077957,"name":"xo-web","full_name":"vatesfr/xo-web","owner":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vatesfr/xo-web","description":"Interface part of Xen Orchestra.","fork":false,"url":"https://api.github.com/repos/vatesfr/xo-web","forks_url":"https://api.github.com/repos/vatesfr/xo-web/forks","keys_url":"https://api.github.com/repos/vatesfr/xo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vatesfr/xo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vatesfr/xo-web/teams","hooks_url":"https://api.github.com/repos/vatesfr/xo-web/hooks","issue_events_url":"https://api.github.com/repos/vatesfr/xo-web/issues/events{/number}","events_url":"https://api.github.com/repos/vatesfr/xo-web/events","assignees_url":"https://api.github.com/repos/vatesfr/xo-web/assignees{/user}","branches_url":"https://api.github.com/repos/vatesfr/xo-web/branches{/branch}","tags_url":"https://api.github.com/repos/vatesfr/xo-web/tags","blobs_url":"https://api.github.com/repos/vatesfr/xo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vatesfr/xo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vatesfr/xo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/vatesfr/xo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vatesfr/xo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/vatesfr/xo-web/languages","stargazers_url":"https://api.github.com/repos/vatesfr/xo-web/stargazers","contributors_url":"https://api.github.com/repos/vatesfr/xo-web/contributors","subscribers_url":"https://api.github.com/repos/vatesfr/xo-web/subscribers","subscription_url":"https://api.github.com/repos/vatesfr/xo-web/subscription","commits_url":"https://api.github.com/repos/vatesfr/xo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/vatesfr/xo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/vatesfr/xo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/vatesfr/xo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/vatesfr/xo-web/contents/{+path}","compare_url":"https://api.github.com/repos/vatesfr/xo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vatesfr/xo-web/merges","archive_url":"https://api.github.com/repos/vatesfr/xo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vatesfr/xo-web/downloads","issues_url":"https://api.github.com/repos/vatesfr/xo-web/issues{/number}","pulls_url":"https://api.github.com/repos/vatesfr/xo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/vatesfr/xo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/vatesfr/xo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vatesfr/xo-web/labels{/name}","releases_url":"https://api.github.com/repos/vatesfr/xo-web/releases{/id}","deployments_url":"https://api.github.com/repos/vatesfr/xo-web/deployments","created_at":"2013-02-07T17:43:01Z","updated_at":"2016-09-07T22:17:37Z","pushed_at":"2016-09-13T09:10:53Z","git_url":"git://github.com/vatesfr/xo-web.git","ssh_url":"git@github.com:vatesfr/xo-web.git","clone_url":"https://github.com/vatesfr/xo-web.git","svn_url":"https://github.com/vatesfr/xo-web","homepage":"","size":9607,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":132,"forks":27,"open_issues":132,"watchers":77,"default_branch":"next-release"}},"base":{"label":"vatesfr:next-release","ref":"next-release","sha":"66262bb20bf31b60d9c2172ae95c2bd1a04aea4f","user":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"repo":{"id":8077957,"name":"xo-web","full_name":"vatesfr/xo-web","owner":{"login":"vatesfr","id":2064170,"avatar_url":"https://avatars.githubusercontent.com/u/2064170?v=3","gravatar_id":"","url":"https://api.github.com/users/vatesfr","html_url":"https://github.com/vatesfr","followers_url":"https://api.github.com/users/vatesfr/followers","following_url":"https://api.github.com/users/vatesfr/following{/other_user}","gists_url":"https://api.github.com/users/vatesfr/gists{/gist_id}","starred_url":"https://api.github.com/users/vatesfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatesfr/subscriptions","organizations_url":"https://api.github.com/users/vatesfr/orgs","repos_url":"https://api.github.com/users/vatesfr/repos","events_url":"https://api.github.com/users/vatesfr/events{/privacy}","received_events_url":"https://api.github.com/users/vatesfr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vatesfr/xo-web","description":"Interface part of Xen Orchestra.","fork":false,"url":"https://api.github.com/repos/vatesfr/xo-web","forks_url":"https://api.github.com/repos/vatesfr/xo-web/forks","keys_url":"https://api.github.com/repos/vatesfr/xo-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vatesfr/xo-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vatesfr/xo-web/teams","hooks_url":"https://api.github.com/repos/vatesfr/xo-web/hooks","issue_events_url":"https://api.github.com/repos/vatesfr/xo-web/issues/events{/number}","events_url":"https://api.github.com/repos/vatesfr/xo-web/events","assignees_url":"https://api.github.com/repos/vatesfr/xo-web/assignees{/user}","branches_url":"https://api.github.com/repos/vatesfr/xo-web/branches{/branch}","tags_url":"https://api.github.com/repos/vatesfr/xo-web/tags","blobs_url":"https://api.github.com/repos/vatesfr/xo-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vatesfr/xo-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vatesfr/xo-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/vatesfr/xo-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vatesfr/xo-web/statuses/{sha}","languages_url":"https://api.github.com/repos/vatesfr/xo-web/languages","stargazers_url":"https://api.github.com/repos/vatesfr/xo-web/stargazers","contributors_url":"https://api.github.com/repos/vatesfr/xo-web/contributors","subscribers_url":"https://api.github.com/repos/vatesfr/xo-web/subscribers","subscription_url":"https://api.github.com/repos/vatesfr/xo-web/subscription","commits_url":"https://api.github.com/repos/vatesfr/xo-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/vatesfr/xo-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/vatesfr/xo-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/vatesfr/xo-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/vatesfr/xo-web/contents/{+path}","compare_url":"https://api.github.com/repos/vatesfr/xo-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vatesfr/xo-web/merges","archive_url":"https://api.github.com/repos/vatesfr/xo-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vatesfr/xo-web/downloads","issues_url":"https://api.github.com/repos/vatesfr/xo-web/issues{/number}","pulls_url":"https://api.github.com/repos/vatesfr/xo-web/pulls{/number}","milestones_url":"https://api.github.com/repos/vatesfr/xo-web/milestones{/number}","notifications_url":"https://api.github.com/repos/vatesfr/xo-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vatesfr/xo-web/labels{/name}","releases_url":"https://api.github.com/repos/vatesfr/xo-web/releases{/id}","deployments_url":"https://api.github.com/repos/vatesfr/xo-web/deployments","created_at":"2013-02-07T17:43:01Z","updated_at":"2016-09-07T22:17:37Z","pushed_at":"2016-09-13T09:10:53Z","git_url":"git://github.com/vatesfr/xo-web.git","ssh_url":"git@github.com:vatesfr/xo-web.git","clone_url":"https://github.com/vatesfr/xo-web.git","svn_url":"https://github.com/vatesfr/xo-web","homepage":"","size":9607,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":132,"forks":27,"open_issues":132,"watchers":77,"default_branch":"next-release"}},"_links":{"self":{"href":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501"},"html":{"href":"https://github.com/vatesfr/xo-web/pull/1501"},"issue":{"href":"https://api.github.com/repos/vatesfr/xo-web/issues/1501"},"comments":{"href":"https://api.github.com/repos/vatesfr/xo-web/issues/1501/comments"},"review_comments":{"href":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501/comments"},"review_comment":{"href":"https://api.github.com/repos/vatesfr/xo-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vatesfr/xo-web/pulls/1501/commits"},"statuses":{"href":"https://api.github.com/repos/vatesfr/xo-web/statuses/aba26c02d4591dc63070a90fb0abc42ff4e1f04b"}}}}
{"actor":{"display_login":"pdonias"}}