{"action":"created","comment":{"url":"https://api.github.com/repos/comicrelief/storybook/pulls/comments/197453543","pull_request_review_id":131204025,"id":197453543,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzQ1MzU0Mw==","diff_hunk":"@@ -76,8 +76,9 @@ class InputField extends Component {\n   }\n   render() {\n     const errorClassName = this.props.showErrorMessage === true ? 'form__field-error-wrapper' : '';\n+    const showBackgroundClassName = this.props.setBackgroundColor === true && this.props.type === 'checkbox' ? 'form__field-wrapper--background' : '';\n     return (\n-      <div id={`field-wrapper--${this.props.id}`} className={`form__fieldset form__field--wrapper form__field-wrapper--${this.props.type} ${errorClassName} ${this.props.extraClass ? this.props.extraClass : ''} `}>\n+      <div id={`field-wrapper--${this.props.id}`} className={`form__fieldset form__field--wrapper form__field-wrapper--${this.props.type} ${errorClassName} ${showBackgroundClassName} ${this.props.extraClass ? this.props.extraClass : ''} `}>","path":"src/components/InputField/InputField.js","position":7,"original_position":7,"commit_id":"53ee73c2ed0634a93b752335b1217f0387cf40ea","original_commit_id":"53ee73c2ed0634a93b752335b1217f0387cf40ea","user":{"login":"deniselashlley","id":2966700,"node_id":"MDQ6VXNlcjI5NjY3MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/2966700?v=4","gravatar_id":"","url":"https://api.github.com/users/deniselashlley","html_url":"https://github.com/deniselashlley","followers_url":"https://api.github.com/users/deniselashlley/followers","following_url":"https://api.github.com/users/deniselashlley/following{/other_user}","gists_url":"https://api.github.com/users/deniselashlley/gists{/gist_id}","starred_url":"https://api.github.com/users/deniselashlley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniselashlley/subscriptions","organizations_url":"https://api.github.com/users/deniselashlley/orgs","repos_url":"https://api.github.com/users/deniselashlley/repos","events_url":"https://api.github.com/users/deniselashlley/events{/privacy}","received_events_url":"https://api.github.com/users/deniselashlley/received_events","type":"User","site_admin":false},"body":"We can do\r\n","created_at":"2018-06-22T13:58:20Z","updated_at":"2018-06-22T13:58:20Z","html_url":"https://github.com/comicrelief/storybook/pull/142#discussion_r197453543","pull_request_url":"https://api.github.com/repos/comicrelief/storybook/pulls/142","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/comicrelief/storybook/pulls/comments/197453543"},"html":{"href":"https://github.com/comicrelief/storybook/pull/142#discussion_r197453543"},"pull_request":{"href":"https://api.github.com/repos/comicrelief/storybook/pulls/142"}},"in_reply_to_id":197452142},"pull_request":{"url":"https://api.github.com/repos/comicrelief/storybook/pulls/142","id":196699827,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2Njk5ODI3","html_url":"https://github.com/comicrelief/storybook/pull/142","diff_url":"https://github.com/comicrelief/storybook/pull/142.diff","patch_url":"https://github.com/comicrelief/storybook/pull/142.patch","issue_url":"https://api.github.com/repos/comicrelief/storybook/issues/142","number":142,"state":"open","locked":false,"title":"Add the ability to set background colour on checkbox elements","user":{"login":"deniselashlley","id":2966700,"node_id":"MDQ6VXNlcjI5NjY3MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/2966700?v=4","gravatar_id":"","url":"https://api.github.com/users/deniselashlley","html_url":"https://github.com/deniselashlley","followers_url":"https://api.github.com/users/deniselashlley/followers","following_url":"https://api.github.com/users/deniselashlley/following{/other_user}","gists_url":"https://api.github.com/users/deniselashlley/gists{/gist_id}","starred_url":"https://api.github.com/users/deniselashlley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniselashlley/subscriptions","organizations_url":"https://api.github.com/users/deniselashlley/orgs","repos_url":"https://api.github.com/users/deniselashlley/repos","events_url":"https://api.github.com/users/deniselashlley/events{/privacy}","received_events_url":"https://api.github.com/users/deniselashlley/received_events","type":"User","site_admin":false},"body":"Add the ability to set background colour on checkbox elements","created_at":"2018-06-22T10:30:20Z","updated_at":"2018-06-22T13:58:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b61037002a1cac9e7d0584cda3f4bec848cb20cb","assignee":null,"assignees":[],"requested_reviewers":[{"login":"adamclark-dev","id":9998404,"node_id":"MDQ6VXNlcjk5OTg0MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9998404?v=4","gravatar_id":"","url":"https://api.github.com/users/adamclark-dev","html_url":"https://github.com/adamclark-dev","followers_url":"https://api.github.com/users/adamclark-dev/followers","following_url":"https://api.github.com/users/adamclark-dev/following{/other_user}","gists_url":"https://api.github.com/users/adamclark-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/adamclark-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamclark-dev/subscriptions","organizations_url":"https://api.github.com/users/adamclark-dev/orgs","repos_url":"https://api.github.com/users/adamclark-dev/repos","events_url":"https://api.github.com/users/adamclark-dev/events{/privacy}","received_events_url":"https://api.github.com/users/adamclark-dev/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/comicrelief/storybook/pulls/142/commits","review_comments_url":"https://api.github.com/repos/comicrelief/storybook/pulls/142/comments","review_comment_url":"https://api.github.com/repos/comicrelief/storybook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/comicrelief/storybook/issues/142/comments","statuses_url":"https://api.github.com/repos/comicrelief/storybook/statuses/53ee73c2ed0634a93b752335b1217f0387cf40ea","head":{"label":"comicrelief:add_ability_set_background_checkbox","ref":"add_ability_set_background_checkbox","sha":"53ee73c2ed0634a93b752335b1217f0387cf40ea","user":{"login":"comicrelief","id":1850368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTAzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1850368?v=4","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"repo":{"id":102015853,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIwMTU4NTM=","name":"storybook","full_name":"comicrelief/storybook","owner":{"login":"comicrelief","id":1850368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTAzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1850368?v=4","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/comicrelief/storybook","description":"Comic Relief Storybook for React components","fork":false,"url":"https://api.github.com/repos/comicrelief/storybook","forks_url":"https://api.github.com/repos/comicrelief/storybook/forks","keys_url":"https://api.github.com/repos/comicrelief/storybook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comicrelief/storybook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comicrelief/storybook/teams","hooks_url":"https://api.github.com/repos/comicrelief/storybook/hooks","issue_events_url":"https://api.github.com/repos/comicrelief/storybook/issues/events{/number}","events_url":"https://api.github.com/repos/comicrelief/storybook/events","assignees_url":"https://api.github.com/repos/comicrelief/storybook/assignees{/user}","branches_url":"https://api.github.com/repos/comicrelief/storybook/branches{/branch}","tags_url":"https://api.github.com/repos/comicrelief/storybook/tags","blobs_url":"https://api.github.com/repos/comicrelief/storybook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comicrelief/storybook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comicrelief/storybook/git/refs{/sha}","trees_url":"https://api.github.com/repos/comicrelief/storybook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comicrelief/storybook/statuses/{sha}","languages_url":"https://api.github.com/repos/comicrelief/storybook/languages","stargazers_url":"https://api.github.com/repos/comicrelief/storybook/stargazers","contributors_url":"https://api.github.com/repos/comicrelief/storybook/contributors","subscribers_url":"https://api.github.com/repos/comicrelief/storybook/subscribers","subscription_url":"https://api.github.com/repos/comicrelief/storybook/subscription","commits_url":"https://api.github.com/repos/comicrelief/storybook/commits{/sha}","git_commits_url":"https://api.github.com/repos/comicrelief/storybook/git/commits{/sha}","comments_url":"https://api.github.com/repos/comicrelief/storybook/comments{/number}","issue_comment_url":"https://api.github.com/repos/comicrelief/storybook/issues/comments{/number}","contents_url":"https://api.github.com/repos/comicrelief/storybook/contents/{+path}","compare_url":"https://api.github.com/repos/comicrelief/storybook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comicrelief/storybook/merges","archive_url":"https://api.github.com/repos/comicrelief/storybook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comicrelief/storybook/downloads","issues_url":"https://api.github.com/repos/comicrelief/storybook/issues{/number}","pulls_url":"https://api.github.com/repos/comicrelief/storybook/pulls{/number}","milestones_url":"https://api.github.com/repos/comicrelief/storybook/milestones{/number}","notifications_url":"https://api.github.com/repos/comicrelief/storybook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comicrelief/storybook/labels{/name}","releases_url":"https://api.github.com/repos/comicrelief/storybook/releases{/id}","deployments_url":"https://api.github.com/repos/comicrelief/storybook/deployments","created_at":"2017-08-31T15:28:26Z","updated_at":"2018-06-21T14:49:42Z","pushed_at":"2018-06-22T10:50:25Z","git_url":"git://github.com/comicrelief/storybook.git","ssh_url":"git@github.com:comicrelief/storybook.git","clone_url":"https://github.com/comicrelief/storybook.git","svn_url":"https://github.com/comicrelief/storybook","homepage":"http://comicrelief-storybook.netlify.com/","size":1844,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":1,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"comicrelief:master","ref":"master","sha":"2df944e84bdf612073fb9d4580627fb477e13870","user":{"login":"comicrelief","id":1850368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTAzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1850368?v=4","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"repo":{"id":102015853,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIwMTU4NTM=","name":"storybook","full_name":"comicrelief/storybook","owner":{"login":"comicrelief","id":1850368,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NTAzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1850368?v=4","gravatar_id":"","url":"https://api.github.com/users/comicrelief","html_url":"https://github.com/comicrelief","followers_url":"https://api.github.com/users/comicrelief/followers","following_url":"https://api.github.com/users/comicrelief/following{/other_user}","gists_url":"https://api.github.com/users/comicrelief/gists{/gist_id}","starred_url":"https://api.github.com/users/comicrelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comicrelief/subscriptions","organizations_url":"https://api.github.com/users/comicrelief/orgs","repos_url":"https://api.github.com/users/comicrelief/repos","events_url":"https://api.github.com/users/comicrelief/events{/privacy}","received_events_url":"https://api.github.com/users/comicrelief/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/comicrelief/storybook","description":"Comic Relief Storybook for React components","fork":false,"url":"https://api.github.com/repos/comicrelief/storybook","forks_url":"https://api.github.com/repos/comicrelief/storybook/forks","keys_url":"https://api.github.com/repos/comicrelief/storybook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comicrelief/storybook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comicrelief/storybook/teams","hooks_url":"https://api.github.com/repos/comicrelief/storybook/hooks","issue_events_url":"https://api.github.com/repos/comicrelief/storybook/issues/events{/number}","events_url":"https://api.github.com/repos/comicrelief/storybook/events","assignees_url":"https://api.github.com/repos/comicrelief/storybook/assignees{/user}","branches_url":"https://api.github.com/repos/comicrelief/storybook/branches{/branch}","tags_url":"https://api.github.com/repos/comicrelief/storybook/tags","blobs_url":"https://api.github.com/repos/comicrelief/storybook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comicrelief/storybook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comicrelief/storybook/git/refs{/sha}","trees_url":"https://api.github.com/repos/comicrelief/storybook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comicrelief/storybook/statuses/{sha}","languages_url":"https://api.github.com/repos/comicrelief/storybook/languages","stargazers_url":"https://api.github.com/repos/comicrelief/storybook/stargazers","contributors_url":"https://api.github.com/repos/comicrelief/storybook/contributors","subscribers_url":"https://api.github.com/repos/comicrelief/storybook/subscribers","subscription_url":"https://api.github.com/repos/comicrelief/storybook/subscription","commits_url":"https://api.github.com/repos/comicrelief/storybook/commits{/sha}","git_commits_url":"https://api.github.com/repos/comicrelief/storybook/git/commits{/sha}","comments_url":"https://api.github.com/repos/comicrelief/storybook/comments{/number}","issue_comment_url":"https://api.github.com/repos/comicrelief/storybook/issues/comments{/number}","contents_url":"https://api.github.com/repos/comicrelief/storybook/contents/{+path}","compare_url":"https://api.github.com/repos/comicrelief/storybook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comicrelief/storybook/merges","archive_url":"https://api.github.com/repos/comicrelief/storybook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comicrelief/storybook/downloads","issues_url":"https://api.github.com/repos/comicrelief/storybook/issues{/number}","pulls_url":"https://api.github.com/repos/comicrelief/storybook/pulls{/number}","milestones_url":"https://api.github.com/repos/comicrelief/storybook/milestones{/number}","notifications_url":"https://api.github.com/repos/comicrelief/storybook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comicrelief/storybook/labels{/name}","releases_url":"https://api.github.com/repos/comicrelief/storybook/releases{/id}","deployments_url":"https://api.github.com/repos/comicrelief/storybook/deployments","created_at":"2017-08-31T15:28:26Z","updated_at":"2018-06-21T14:49:42Z","pushed_at":"2018-06-22T10:50:25Z","git_url":"git://github.com/comicrelief/storybook.git","ssh_url":"git@github.com:comicrelief/storybook.git","clone_url":"https://github.com/comicrelief/storybook.git","svn_url":"https://github.com/comicrelief/storybook","homepage":"http://comicrelief-storybook.netlify.com/","size":1844,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":1,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/comicrelief/storybook/pulls/142"},"html":{"href":"https://github.com/comicrelief/storybook/pull/142"},"issue":{"href":"https://api.github.com/repos/comicrelief/storybook/issues/142"},"comments":{"href":"https://api.github.com/repos/comicrelief/storybook/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/comicrelief/storybook/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/comicrelief/storybook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/comicrelief/storybook/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/comicrelief/storybook/statuses/53ee73c2ed0634a93b752335b1217f0387cf40ea"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"deniselashlley"}}