{"action":"created","comment":{"url":"https://api.github.com/repos/working-minds/realizejs/pulls/comments/125482526","pull_request_review_id":47875659,"id":125482526,"diff_hunk":"@@ -57,6 +57,16 @@ export default class InputGridFormFields extends Component {\n     this.props.onSubmit(event, fieldsData);\n   }\n \n+  @autobind\n+  handleKeyPressSubmit(event) {\n+    const { keyCode } = event;\n+\n+    if (keyCode === 13) {","path":"src/js/components/input/grid_form/input_grid_form_fields.js","position":8,"original_position":8,"commit_id":"2113dd36dcd48278d524035c5b84f678660446b5","original_commit_id":"5ccfdee4e1955c254c3a99c45cb20b6204eea8d5","user":{"login":"leonardovillela","id":8650543,"avatar_url":"https://avatars0.githubusercontent.com/u/8650543?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardovillela","html_url":"https://github.com/leonardovillela","followers_url":"https://api.github.com/users/leonardovillela/followers","following_url":"https://api.github.com/users/leonardovillela/following{/other_user}","gists_url":"https://api.github.com/users/leonardovillela/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardovillela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardovillela/subscriptions","organizations_url":"https://api.github.com/users/leonardovillela/orgs","repos_url":"https://api.github.com/users/leonardovillela/repos","events_url":"https://api.github.com/users/leonardovillela/events{/privacy}","received_events_url":"https://api.github.com/users/leonardovillela/received_events","type":"User","site_admin":false},"body":"Talvez utilizar uma lib para mapear os KeysCodes, e utilizar uma expressão do tipo `keyCode === KeyCodeMapper.ENTER'","created_at":"2017-07-04T14:13:34Z","updated_at":"2017-07-04T14:13:34Z","html_url":"https://github.com/working-minds/realizejs/pull/4#discussion_r125482526","pull_request_url":"https://api.github.com/repos/working-minds/realizejs/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/working-minds/realizejs/pulls/comments/125482526"},"html":{"href":"https://github.com/working-minds/realizejs/pull/4#discussion_r125482526"},"pull_request":{"href":"https://api.github.com/repos/working-minds/realizejs/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/working-minds/realizejs/pulls/4","id":128156892,"html_url":"https://github.com/working-minds/realizejs/pull/4","diff_url":"https://github.com/working-minds/realizejs/pull/4.diff","patch_url":"https://github.com/working-minds/realizejs/pull/4.patch","issue_url":"https://api.github.com/repos/working-minds/realizejs/issues/4","number":4,"state":"open","locked":false,"title":"Release/0.9.12","user":{"login":"pedro108","id":440117,"avatar_url":"https://avatars3.githubusercontent.com/u/440117?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro108","html_url":"https://github.com/pedro108","followers_url":"https://api.github.com/users/pedro108/followers","following_url":"https://api.github.com/users/pedro108/following{/other_user}","gists_url":"https://api.github.com/users/pedro108/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro108/subscriptions","organizations_url":"https://api.github.com/users/pedro108/orgs","repos_url":"https://api.github.com/users/pedro108/repos","events_url":"https://api.github.com/users/pedro108/events{/privacy}","received_events_url":"https://api.github.com/users/pedro108/received_events","type":"User","site_admin":false},"body":"Alterações:\r\n\r\n* Ajuste no componente \\<InputCheckbox />: tratamento da prop readOnly.\r\n* Refactor para correção de bugs e melhoria de código dos componentes \\<InputRadioGroup /> e \\<InputCheckboxGroup />.\r\n* Criado novos componentes:\r\n  * \\<Card />, para encapsular o estilo do card do Materialize\r\n  * \\<InputRadio />, para encapsular a renderização de um radio-button para o componente \\<InputRadioGroup />.\r\n* Ajuste na renderização do componente \\<InputFile />, para ficar com o estilo do Materialize.\r\n* Ajuste no componente \\<TableRow />: adicionar className ‘selected’ no TableRow que possui a prop selected=true, para fim de estilização das linhas da tabela selecionadas.\r\n* Isolada função utilitária ensureIsArray na camada de utils.\r\n* Adicionado tratamento para que o enter do teclado em \\<InputGridFormFields /> realize o submit do mesmo para o \\<InputGridForm />, originalmente esta ação estava submetendo o Form ao qual esse Input estava relacionado.\r\n* Adicionada prop onEdit ao componente \\<GridForm />, que representa um event listener que é disparado quando o usuário edita uma linha do GridForm.\r\n* Adicionado o valor default para a prop url do componente \\<Grid />","created_at":"2017-06-29T13:52:17Z","updated_at":"2017-07-04T14:13:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7b94c5685ece0050910973d2bf214ebda2256b1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ariel-lindgren","id":259974,"avatar_url":"https://avatars2.githubusercontent.com/u/259974?v=3","gravatar_id":"","url":"https://api.github.com/users/ariel-lindgren","html_url":"https://github.com/ariel-lindgren","followers_url":"https://api.github.com/users/ariel-lindgren/followers","following_url":"https://api.github.com/users/ariel-lindgren/following{/other_user}","gists_url":"https://api.github.com/users/ariel-lindgren/gists{/gist_id}","starred_url":"https://api.github.com/users/ariel-lindgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariel-lindgren/subscriptions","organizations_url":"https://api.github.com/users/ariel-lindgren/orgs","repos_url":"https://api.github.com/users/ariel-lindgren/repos","events_url":"https://api.github.com/users/ariel-lindgren/events{/privacy}","received_events_url":"https://api.github.com/users/ariel-lindgren/received_events","type":"User","site_admin":false},{"login":"rafaelfbs","id":1766018,"avatar_url":"https://avatars0.githubusercontent.com/u/1766018?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfbs","html_url":"https://github.com/rafaelfbs","followers_url":"https://api.github.com/users/rafaelfbs/followers","following_url":"https://api.github.com/users/rafaelfbs/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfbs/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfbs/subscriptions","organizations_url":"https://api.github.com/users/rafaelfbs/orgs","repos_url":"https://api.github.com/users/rafaelfbs/repos","events_url":"https://api.github.com/users/rafaelfbs/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfbs/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/working-minds/realizejs/pulls/4/commits","review_comments_url":"https://api.github.com/repos/working-minds/realizejs/pulls/4/comments","review_comment_url":"https://api.github.com/repos/working-minds/realizejs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/working-minds/realizejs/issues/4/comments","statuses_url":"https://api.github.com/repos/working-minds/realizejs/statuses/2113dd36dcd48278d524035c5b84f678660446b5","head":{"label":"working-minds:release/0.9.12","ref":"release/0.9.12","sha":"2113dd36dcd48278d524035c5b84f678660446b5","user":{"login":"working-minds","id":425409,"avatar_url":"https://avatars2.githubusercontent.com/u/425409?v=3","gravatar_id":"","url":"https://api.github.com/users/working-minds","html_url":"https://github.com/working-minds","followers_url":"https://api.github.com/users/working-minds/followers","following_url":"https://api.github.com/users/working-minds/following{/other_user}","gists_url":"https://api.github.com/users/working-minds/gists{/gist_id}","starred_url":"https://api.github.com/users/working-minds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/working-minds/subscriptions","organizations_url":"https://api.github.com/users/working-minds/orgs","repos_url":"https://api.github.com/users/working-minds/repos","events_url":"https://api.github.com/users/working-minds/events{/privacy}","received_events_url":"https://api.github.com/users/working-minds/received_events","type":"Organization","site_admin":false},"repo":{"id":59871291,"name":"realizejs","full_name":"working-minds/realizejs","owner":{"login":"working-minds","id":425409,"avatar_url":"https://avatars2.githubusercontent.com/u/425409?v=3","gravatar_id":"","url":"https://api.github.com/users/working-minds","html_url":"https://github.com/working-minds","followers_url":"https://api.github.com/users/working-minds/followers","following_url":"https://api.github.com/users/working-minds/following{/other_user}","gists_url":"https://api.github.com/users/working-minds/gists{/gist_id}","starred_url":"https://api.github.com/users/working-minds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/working-minds/subscriptions","organizations_url":"https://api.github.com/users/working-minds/orgs","repos_url":"https://api.github.com/users/working-minds/repos","events_url":"https://api.github.com/users/working-minds/events{/privacy}","received_events_url":"https://api.github.com/users/working-minds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/working-minds/realizejs","description":"A rich set of UI components based on Material Design using React.js","fork":false,"url":"https://api.github.com/repos/working-minds/realizejs","forks_url":"https://api.github.com/repos/working-minds/realizejs/forks","keys_url":"https://api.github.com/repos/working-minds/realizejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/working-minds/realizejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/working-minds/realizejs/teams","hooks_url":"https://api.github.com/repos/working-minds/realizejs/hooks","issue_events_url":"https://api.github.com/repos/working-minds/realizejs/issues/events{/number}","events_url":"https://api.github.com/repos/working-minds/realizejs/events","assignees_url":"https://api.github.com/repos/working-minds/realizejs/assignees{/user}","branches_url":"https://api.github.com/repos/working-minds/realizejs/branches{/branch}","tags_url":"https://api.github.com/repos/working-minds/realizejs/tags","blobs_url":"https://api.github.com/repos/working-minds/realizejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/working-minds/realizejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/working-minds/realizejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/working-minds/realizejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/working-minds/realizejs/statuses/{sha}","languages_url":"https://api.github.com/repos/working-minds/realizejs/languages","stargazers_url":"https://api.github.com/repos/working-minds/realizejs/stargazers","contributors_url":"https://api.github.com/repos/working-minds/realizejs/contributors","subscribers_url":"https://api.github.com/repos/working-minds/realizejs/subscribers","subscription_url":"https://api.github.com/repos/working-minds/realizejs/subscription","commits_url":"https://api.github.com/repos/working-minds/realizejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/working-minds/realizejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/working-minds/realizejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/working-minds/realizejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/working-minds/realizejs/contents/{+path}","compare_url":"https://api.github.com/repos/working-minds/realizejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/working-minds/realizejs/merges","archive_url":"https://api.github.com/repos/working-minds/realizejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/working-minds/realizejs/downloads","issues_url":"https://api.github.com/repos/working-minds/realizejs/issues{/number}","pulls_url":"https://api.github.com/repos/working-minds/realizejs/pulls{/number}","milestones_url":"https://api.github.com/repos/working-minds/realizejs/milestones{/number}","notifications_url":"https://api.github.com/repos/working-minds/realizejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/working-minds/realizejs/labels{/name}","releases_url":"https://api.github.com/repos/working-minds/realizejs/releases{/id}","deployments_url":"https://api.github.com/repos/working-minds/realizejs/deployments","created_at":"2016-05-28T01:13:55Z","updated_at":"2017-06-02T18:44:44Z","pushed_at":"2017-06-29T14:27:24Z","git_url":"git://github.com/working-minds/realizejs.git","ssh_url":"git@github.com:working-minds/realizejs.git","clone_url":"https://github.com/working-minds/realizejs.git","svn_url":"https://github.com/working-minds/realizejs","homepage":"http://working-minds.github.io/realizejs/","size":10312,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":40,"default_branch":"master"}},"base":{"label":"working-minds:master","ref":"master","sha":"e803479c8d60013713a2c40cf66c97d2a707cf74","user":{"login":"working-minds","id":425409,"avatar_url":"https://avatars2.githubusercontent.com/u/425409?v=3","gravatar_id":"","url":"https://api.github.com/users/working-minds","html_url":"https://github.com/working-minds","followers_url":"https://api.github.com/users/working-minds/followers","following_url":"https://api.github.com/users/working-minds/following{/other_user}","gists_url":"https://api.github.com/users/working-minds/gists{/gist_id}","starred_url":"https://api.github.com/users/working-minds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/working-minds/subscriptions","organizations_url":"https://api.github.com/users/working-minds/orgs","repos_url":"https://api.github.com/users/working-minds/repos","events_url":"https://api.github.com/users/working-minds/events{/privacy}","received_events_url":"https://api.github.com/users/working-minds/received_events","type":"Organization","site_admin":false},"repo":{"id":59871291,"name":"realizejs","full_name":"working-minds/realizejs","owner":{"login":"working-minds","id":425409,"avatar_url":"https://avatars2.githubusercontent.com/u/425409?v=3","gravatar_id":"","url":"https://api.github.com/users/working-minds","html_url":"https://github.com/working-minds","followers_url":"https://api.github.com/users/working-minds/followers","following_url":"https://api.github.com/users/working-minds/following{/other_user}","gists_url":"https://api.github.com/users/working-minds/gists{/gist_id}","starred_url":"https://api.github.com/users/working-minds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/working-minds/subscriptions","organizations_url":"https://api.github.com/users/working-minds/orgs","repos_url":"https://api.github.com/users/working-minds/repos","events_url":"https://api.github.com/users/working-minds/events{/privacy}","received_events_url":"https://api.github.com/users/working-minds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/working-minds/realizejs","description":"A rich set of UI components based on Material Design using React.js","fork":false,"url":"https://api.github.com/repos/working-minds/realizejs","forks_url":"https://api.github.com/repos/working-minds/realizejs/forks","keys_url":"https://api.github.com/repos/working-minds/realizejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/working-minds/realizejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/working-minds/realizejs/teams","hooks_url":"https://api.github.com/repos/working-minds/realizejs/hooks","issue_events_url":"https://api.github.com/repos/working-minds/realizejs/issues/events{/number}","events_url":"https://api.github.com/repos/working-minds/realizejs/events","assignees_url":"https://api.github.com/repos/working-minds/realizejs/assignees{/user}","branches_url":"https://api.github.com/repos/working-minds/realizejs/branches{/branch}","tags_url":"https://api.github.com/repos/working-minds/realizejs/tags","blobs_url":"https://api.github.com/repos/working-minds/realizejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/working-minds/realizejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/working-minds/realizejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/working-minds/realizejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/working-minds/realizejs/statuses/{sha}","languages_url":"https://api.github.com/repos/working-minds/realizejs/languages","stargazers_url":"https://api.github.com/repos/working-minds/realizejs/stargazers","contributors_url":"https://api.github.com/repos/working-minds/realizejs/contributors","subscribers_url":"https://api.github.com/repos/working-minds/realizejs/subscribers","subscription_url":"https://api.github.com/repos/working-minds/realizejs/subscription","commits_url":"https://api.github.com/repos/working-minds/realizejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/working-minds/realizejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/working-minds/realizejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/working-minds/realizejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/working-minds/realizejs/contents/{+path}","compare_url":"https://api.github.com/repos/working-minds/realizejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/working-minds/realizejs/merges","archive_url":"https://api.github.com/repos/working-minds/realizejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/working-minds/realizejs/downloads","issues_url":"https://api.github.com/repos/working-minds/realizejs/issues{/number}","pulls_url":"https://api.github.com/repos/working-minds/realizejs/pulls{/number}","milestones_url":"https://api.github.com/repos/working-minds/realizejs/milestones{/number}","notifications_url":"https://api.github.com/repos/working-minds/realizejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/working-minds/realizejs/labels{/name}","releases_url":"https://api.github.com/repos/working-minds/realizejs/releases{/id}","deployments_url":"https://api.github.com/repos/working-minds/realizejs/deployments","created_at":"2016-05-28T01:13:55Z","updated_at":"2017-06-02T18:44:44Z","pushed_at":"2017-06-29T14:27:24Z","git_url":"git://github.com/working-minds/realizejs.git","ssh_url":"git@github.com:working-minds/realizejs.git","clone_url":"https://github.com/working-minds/realizejs.git","svn_url":"https://github.com/working-minds/realizejs","homepage":"http://working-minds.github.io/realizejs/","size":10312,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/working-minds/realizejs/pulls/4"},"html":{"href":"https://github.com/working-minds/realizejs/pull/4"},"issue":{"href":"https://api.github.com/repos/working-minds/realizejs/issues/4"},"comments":{"href":"https://api.github.com/repos/working-minds/realizejs/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/working-minds/realizejs/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/working-minds/realizejs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/working-minds/realizejs/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/working-minds/realizejs/statuses/2113dd36dcd48278d524035c5b84f678660446b5"}}}}
{"actor":{"display_login":"leonardovillela"}}