{"action":"created","comment":{"url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/comments/204756575","pull_request_review_id":139883803,"id":204756575,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDc1NjU3NQ==","diff_hunk":"@@ -0,0 +1,22 @@\n+import PropTypes from 'prop-types';\n+import React from 'react';\n+import classnames from 'classnames';\n+\n+const checkTypes = ['checkbox', 'radio'];\n+\n+const Input = ({type, className, ...props}) => {\n+  const classes = checkTypes.hasOwnProperty(type) ? 'pf-c-check' : 'pf-c-form-control';\n+  return (\n+    <input {...props}\n+      type={type}\n+      className={classnames(classes, className)}\n+    />","path":"src/PresentationalComponents/Input/Input.js","position":13,"original_position":13,"commit_id":"af93e5117359c553d3cdbd475260774d1c1e46af","original_commit_id":"af93e5117359c553d3cdbd475260774d1c1e46af","user":{"login":"ryelo","id":12520842,"node_id":"MDQ6VXNlcjEyNTIwODQy","avatar_url":"https://avatars1.githubusercontent.com/u/12520842?v=4","gravatar_id":"","url":"https://api.github.com/users/ryelo","html_url":"https://github.com/ryelo","followers_url":"https://api.github.com/users/ryelo/followers","following_url":"https://api.github.com/users/ryelo/following{/other_user}","gists_url":"https://api.github.com/users/ryelo/gists{/gist_id}","starred_url":"https://api.github.com/users/ryelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryelo/subscriptions","organizations_url":"https://api.github.com/users/ryelo/orgs","repos_url":"https://api.github.com/users/ryelo/repos","events_url":"https://api.github.com/users/ryelo/events{/privacy}","received_events_url":"https://api.github.com/users/ryelo/received_events","type":"User","site_admin":false},"body":"Needs to assign `checked` attribute for any checked elements in radios and checkboxes","created_at":"2018-07-24T13:34:07Z","updated_at":"2018-07-24T13:37:33Z","html_url":"https://github.com/RedHatInsights/insights-frontend-components/pull/26#discussion_r204756575","pull_request_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/comments/204756575"},"html":{"href":"https://github.com/RedHatInsights/insights-frontend-components/pull/26#discussion_r204756575"},"pull_request":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26","id":202844519,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyODQ0NTE5","html_url":"https://github.com/RedHatInsights/insights-frontend-components/pull/26","diff_url":"https://github.com/RedHatInsights/insights-frontend-components/pull/26.diff","patch_url":"https://github.com/RedHatInsights/insights-frontend-components/pull/26.patch","issue_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues/26","number":26,"state":"open","locked":false,"title":"Introduce Input component as wrapper for styling <?.x.?>","user":{"login":"karelhala","id":3439771,"node_id":"MDQ6VXNlcjM0Mzk3NzE=","avatar_url":"https://avatars0.githubusercontent.com/u/3439771?v=4","gravatar_id":"","url":"https://api.github.com/users/karelhala","html_url":"https://github.com/karelhala","followers_url":"https://api.github.com/users/karelhala/followers","following_url":"https://api.github.com/users/karelhala/following{/other_user}","gists_url":"https://api.github.com/users/karelhala/gists{/gist_id}","starred_url":"https://api.github.com/users/karelhala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelhala/subscriptions","organizations_url":"https://api.github.com/users/karelhala/orgs","repos_url":"https://api.github.com/users/karelhala/repos","events_url":"https://api.github.com/users/karelhala/events{/privacy}","received_events_url":"https://api.github.com/users/karelhala/received_events","type":"User","site_admin":false},"body":"This is just a wrapper for input components so we don't have to decide which class to use for which input.","created_at":"2018-07-20T13:09:04Z","updated_at":"2018-07-24T13:37:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0ad359353b3a3388b80854d5c665db9e1924812","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26/commits","review_comments_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26/comments","review_comment_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues/26/comments","statuses_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/statuses/af93e5117359c553d3cdbd475260774d1c1e46af","head":{"label":"karelhala:inputs","ref":"inputs","sha":"af93e5117359c553d3cdbd475260774d1c1e46af","user":{"login":"karelhala","id":3439771,"node_id":"MDQ6VXNlcjM0Mzk3NzE=","avatar_url":"https://avatars0.githubusercontent.com/u/3439771?v=4","gravatar_id":"","url":"https://api.github.com/users/karelhala","html_url":"https://github.com/karelhala","followers_url":"https://api.github.com/users/karelhala/followers","following_url":"https://api.github.com/users/karelhala/following{/other_user}","gists_url":"https://api.github.com/users/karelhala/gists{/gist_id}","starred_url":"https://api.github.com/users/karelhala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelhala/subscriptions","organizations_url":"https://api.github.com/users/karelhala/orgs","repos_url":"https://api.github.com/users/karelhala/repos","events_url":"https://api.github.com/users/karelhala/events{/privacy}","received_events_url":"https://api.github.com/users/karelhala/received_events","type":"User","site_admin":false},"repo":{"id":138895015,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4OTUwMTU=","name":"insights-frontend-components","full_name":"karelhala/insights-frontend-components","owner":{"login":"karelhala","id":3439771,"node_id":"MDQ6VXNlcjM0Mzk3NzE=","avatar_url":"https://avatars0.githubusercontent.com/u/3439771?v=4","gravatar_id":"","url":"https://api.github.com/users/karelhala","html_url":"https://github.com/karelhala","followers_url":"https://api.github.com/users/karelhala/followers","following_url":"https://api.github.com/users/karelhala/following{/other_user}","gists_url":"https://api.github.com/users/karelhala/gists{/gist_id}","starred_url":"https://api.github.com/users/karelhala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelhala/subscriptions","organizations_url":"https://api.github.com/users/karelhala/orgs","repos_url":"https://api.github.com/users/karelhala/repos","events_url":"https://api.github.com/users/karelhala/events{/privacy}","received_events_url":"https://api.github.com/users/karelhala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karelhala/insights-frontend-components","description":null,"fork":true,"url":"https://api.github.com/repos/karelhala/insights-frontend-components","forks_url":"https://api.github.com/repos/karelhala/insights-frontend-components/forks","keys_url":"https://api.github.com/repos/karelhala/insights-frontend-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karelhala/insights-frontend-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karelhala/insights-frontend-components/teams","hooks_url":"https://api.github.com/repos/karelhala/insights-frontend-components/hooks","issue_events_url":"https://api.github.com/repos/karelhala/insights-frontend-components/issues/events{/number}","events_url":"https://api.github.com/repos/karelhala/insights-frontend-components/events","assignees_url":"https://api.github.com/repos/karelhala/insights-frontend-components/assignees{/user}","branches_url":"https://api.github.com/repos/karelhala/insights-frontend-components/branches{/branch}","tags_url":"https://api.github.com/repos/karelhala/insights-frontend-components/tags","blobs_url":"https://api.github.com/repos/karelhala/insights-frontend-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karelhala/insights-frontend-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karelhala/insights-frontend-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/karelhala/insights-frontend-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karelhala/insights-frontend-components/statuses/{sha}","languages_url":"https://api.github.com/repos/karelhala/insights-frontend-components/languages","stargazers_url":"https://api.github.com/repos/karelhala/insights-frontend-components/stargazers","contributors_url":"https://api.github.com/repos/karelhala/insights-frontend-components/contributors","subscribers_url":"https://api.github.com/repos/karelhala/insights-frontend-components/subscribers","subscription_url":"https://api.github.com/repos/karelhala/insights-frontend-components/subscription","commits_url":"https://api.github.com/repos/karelhala/insights-frontend-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/karelhala/insights-frontend-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/karelhala/insights-frontend-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/karelhala/insights-frontend-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/karelhala/insights-frontend-components/contents/{+path}","compare_url":"https://api.github.com/repos/karelhala/insights-frontend-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karelhala/insights-frontend-components/merges","archive_url":"https://api.github.com/repos/karelhala/insights-frontend-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karelhala/insights-frontend-components/downloads","issues_url":"https://api.github.com/repos/karelhala/insights-frontend-components/issues{/number}","pulls_url":"https://api.github.com/repos/karelhala/insights-frontend-components/pulls{/number}","milestones_url":"https://api.github.com/repos/karelhala/insights-frontend-components/milestones{/number}","notifications_url":"https://api.github.com/repos/karelhala/insights-frontend-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karelhala/insights-frontend-components/labels{/name}","releases_url":"https://api.github.com/repos/karelhala/insights-frontend-components/releases{/id}","deployments_url":"https://api.github.com/repos/karelhala/insights-frontend-components/deployments","created_at":"2018-06-27T14:44:50Z","updated_at":"2018-07-14T19:09:41Z","pushed_at":"2018-07-24T11:57:54Z","git_url":"git://github.com/karelhala/insights-frontend-components.git","ssh_url":"git@github.com:karelhala/insights-frontend-components.git","clone_url":"https://github.com/karelhala/insights-frontend-components.git","svn_url":"https://github.com/karelhala/insights-frontend-components","homepage":null,"size":589,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RedHatInsights:master","ref":"master","sha":"9970959918b7da4f10b16d01ede89a501f2831f8","user":{"login":"RedHatInsights","id":24939818,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTM5ODE4","avatar_url":"https://avatars2.githubusercontent.com/u/24939818?v=4","gravatar_id":"","url":"https://api.github.com/users/RedHatInsights","html_url":"https://github.com/RedHatInsights","followers_url":"https://api.github.com/users/RedHatInsights/followers","following_url":"https://api.github.com/users/RedHatInsights/following{/other_user}","gists_url":"https://api.github.com/users/RedHatInsights/gists{/gist_id}","starred_url":"https://api.github.com/users/RedHatInsights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedHatInsights/subscriptions","organizations_url":"https://api.github.com/users/RedHatInsights/orgs","repos_url":"https://api.github.com/users/RedHatInsights/repos","events_url":"https://api.github.com/users/RedHatInsights/events{/privacy}","received_events_url":"https://api.github.com/users/RedHatInsights/received_events","type":"Organization","site_admin":false},"repo":{"id":135330407,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzMzA0MDc=","name":"insights-frontend-components","full_name":"RedHatInsights/insights-frontend-components","owner":{"login":"RedHatInsights","id":24939818,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTM5ODE4","avatar_url":"https://avatars2.githubusercontent.com/u/24939818?v=4","gravatar_id":"","url":"https://api.github.com/users/RedHatInsights","html_url":"https://github.com/RedHatInsights","followers_url":"https://api.github.com/users/RedHatInsights/followers","following_url":"https://api.github.com/users/RedHatInsights/following{/other_user}","gists_url":"https://api.github.com/users/RedHatInsights/gists{/gist_id}","starred_url":"https://api.github.com/users/RedHatInsights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedHatInsights/subscriptions","organizations_url":"https://api.github.com/users/RedHatInsights/orgs","repos_url":"https://api.github.com/users/RedHatInsights/repos","events_url":"https://api.github.com/users/RedHatInsights/events{/privacy}","received_events_url":"https://api.github.com/users/RedHatInsights/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RedHatInsights/insights-frontend-components","description":null,"fork":false,"url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components","forks_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/forks","keys_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/teams","hooks_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/hooks","issue_events_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues/events{/number}","events_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/events","assignees_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/assignees{/user}","branches_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/branches{/branch}","tags_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/tags","blobs_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/statuses/{sha}","languages_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/languages","stargazers_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/stargazers","contributors_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/contributors","subscribers_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/subscribers","subscription_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/subscription","commits_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/contents/{+path}","compare_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/merges","archive_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/downloads","issues_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues{/number}","pulls_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls{/number}","milestones_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/milestones{/number}","notifications_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/labels{/name}","releases_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/releases{/id}","deployments_url":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/deployments","created_at":"2018-05-29T17:27:29Z","updated_at":"2018-07-19T14:39:05Z","pushed_at":"2018-07-24T11:57:55Z","git_url":"git://github.com/RedHatInsights/insights-frontend-components.git","ssh_url":"git@github.com:RedHatInsights/insights-frontend-components.git","clone_url":"https://github.com/RedHatInsights/insights-frontend-components.git","svn_url":"https://github.com/RedHatInsights/insights-frontend-components","homepage":null,"size":584,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26"},"html":{"href":"https://github.com/RedHatInsights/insights-frontend-components/pull/26"},"issue":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues/26"},"comments":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/RedHatInsights/insights-frontend-components/statuses/af93e5117359c553d3cdbd475260774d1c1e46af"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ryelo"}}