{"action":"created","issue":{"url":"https://api.github.com/repos/code-dot-org/react-color/issues/1","repository_url":"https://api.github.com/repos/code-dot-org/react-color","labels_url":"https://api.github.com/repos/code-dot-org/react-color/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/code-dot-org/react-color/issues/1/comments","events_url":"https://api.github.com/repos/code-dot-org/react-color/issues/1/events","html_url":"https://github.com/code-dot-org/react-color/pull/1","id":152642646,"number":1,"title":"React 15.0.1","user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-02T20:54:24Z","updated_at":"2016-05-02T21:25:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/code-dot-org/react-color/pulls/1","html_url":"https://github.com/code-dot-org/react-color/pull/1","diff_url":"https://github.com/code-dot-org/react-color/pull/1.diff","patch_url":"https://github.com/code-dot-org/react-color/pull/1.patch"},"body":"Adaptation of https://github.com/casesandberg/react-color/pull/132 with fixes for failing tests and warnings."},"comment":{"url":"https://api.github.com/repos/code-dot-org/react-color/issues/comments/216369267","html_url":"https://github.com/code-dot-org/react-color/pull/1#issuecomment-216369267","issue_url":"https://api.github.com/repos/code-dot-org/react-color/issues/1","id":216369267,"user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T21:25:46Z","updated_at":"2016-05-02T21:25:46Z","body":"I haven't manually tested yet.  Let me do some work on that.  Unit tests seem pretty thin to me, but that's just at a glance:\r\n\r\n```\r\n╰○ npm test\r\n\r\n> react-color@2.0.0 test /home/brad/Projects/react-color\r\n> npm run unit-test\r\n\r\n\r\n> react-color@2.0.0 unit-test /home/brad/Projects/react-color\r\n> ./node_modules/mocha/bin/mocha \"test/**/*.test.js\" --compilers js:babel-register\r\n\r\n\r\n\r\n  Chrome\r\n    ✓ should call onChange when handleChange is called (40ms)\r\n\r\n  ChromeFields\r\n    ✓ should change state.view to hex when alpha is 1\r\n    ✓ should return hex when handleChange is fired\r\n    ✓ should return objects that are keyed with the color key when handleChange is fired\r\n    ✓ should shuffle through view value when clicking on toggle\r\n    ✓ should change state.view to rgb if the props change and alpha isn’t 1\r\n\r\n  Compact\r\n    ✓ should be able to take custom swatches\r\n    ✓ should pass up data on change\r\n\r\n  CompactColor\r\n    ✓ should call onClick when a color is clicked on and pass back color\r\n\r\n  Photoshop\r\n    ✓ should fire onAccept when \"OK\" is clicked\r\n    ✓ should fire onCancel when \"Cancel\" is clicked\r\n    ✓ should pass up data onChange\r\n\r\n  PhotoshopFields\r\n    ✓ should pass up hex data onChange\r\n\r\n  Sketch\r\n    ✓ should pass up data onChange (42ms)\r\n\r\n  SketchFields\r\n    ✓ should pass up data onChange\r\n\r\n  SketchPresetColors\r\n    ✓ should pass up data onClick\r\n    ✓ should pass back up a color when clicked\r\n\r\n  Slider\r\n    ✓ should pass up data onChange\r\n\r\n  SliderSwatch\r\n    ✓ should pass up data with handleClick\r\n    ✓ should pass up data when clicked\r\n\r\n  SliderSwatches\r\n    ✓ should pass up data onClick\r\n\r\n  Swatches\r\n    ✓ should pass up data onChange (124ms)\r\n    ✓ should render SwatchesGroup for each top-level array passed to props.colors\r\n\r\n  SwatchesColor\r\n    ✓ should pass the color back up when clicked\r\n\r\n  SwatchesGroup\r\n    ✓ should pass up data onClick\r\n    ✓ should render SwatchesGroup for each top-level array passed to props.colors\r\n\r\n\r\n  26 passing (434ms)\r\n```"}}