{"action":"created","issue":{"url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/issues/92","repository_url":"https://api.github.com/repos/HelpAssistHer/help-assist-her","labels_url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/issues/92/comments","events_url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/issues/92/events","html_url":"https://github.com/HelpAssistHer/help-assist-her/pull/92","id":336048094,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NTk1MTg0","number":92,"title":"Toggle","user":{"login":"vzajkov","id":29736643,"node_id":"MDQ6VXNlcjI5NzM2NjQz","avatar_url":"https://avatars1.githubusercontent.com/u/29736643?v=4","gravatar_id":"","url":"https://api.github.com/users/vzajkov","html_url":"https://github.com/vzajkov","followers_url":"https://api.github.com/users/vzajkov/followers","following_url":"https://api.github.com/users/vzajkov/following{/other_user}","gists_url":"https://api.github.com/users/vzajkov/gists{/gist_id}","starred_url":"https://api.github.com/users/vzajkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vzajkov/subscriptions","organizations_url":"https://api.github.com/users/vzajkov/orgs","repos_url":"https://api.github.com/users/vzajkov/repos","events_url":"https://api.github.com/users/vzajkov/events{/privacy}","received_events_url":"https://api.github.com/users/vzajkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-27T01:43:42Z","updated_at":"2018-07-15T21:50:05Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/pulls/92","html_url":"https://github.com/HelpAssistHer/help-assist-her/pull/92","diff_url":"https://github.com/HelpAssistHer/help-assist-her/pull/92.diff","patch_url":"https://github.com/HelpAssistHer/help-assist-her/pull/92.patch"},"body":"## Description\r\n## toggle.js\r\n```import React from 'react';\r\nimport injectSheet from 'react-jss';\r\n\r\nconst Toggle = ({classes, toggle, onClick})=>(   \r\n    <div className={classes.toggle}   \r\n         onClick={onClick}\r\n    >\r\n        <input type=\"checkbox\"\r\n               className={classes.toggleSwitch}\r\n               value={toggle}\r\n        />\r\n        <label className={classes.toggleLabel}>\r\n            <span className={classes.toggleButton}/>\r\n        </label>\r\n    </div>\r\n);\r\n\r\nconst styles = {\r\n    toggle: ({toggle})=>({\r\n        display:'flex',\r\n        flex: '0 0 100%',\r\n        justifyContent: 'center',\r\n        alignItems: 'center',\r\n        color: (toggle) ? '#F48271' : '#D8D8D8',\r\n        transition: 'all .3s'\r\n    }),\r\n    toggleSwitch:{\r\n        height: 0,\r\n        width: 0,\r\n        visibility: 'hidden'\r\n    },\r\n    toggleLabel:{\r\n        cursor: 'pointer',\r\n        display: 'inline-block',\r\n        height: '24px',\r\n        width: '39px',\r\n        backgroundColor: 'currentColor',\r\n        borderRadius: '100px',\r\n        position: 'relative',\r\n    },\r\n    toggleButton: ({toggle})=>({\r\n        position: 'absolute',\r\n        top: '1px',\r\n        left: '1px',\r\n        boxSizing: 'border-box',\r\n        width: '22px',\r\n        height: '22px',\r\n        backgroundColor:'#fff',\r\n        border: '2px solid #fff',\r\n        borderRadius:'100px',\r\n        transition: 'all .3s',\r\n        transform: (toggle) ? 'translateX(70%)' : ''\r\n    })\r\n};\r\n\r\nexport default injectSheet(styles)(Toggle);\r\n```\r\n## Test Plan\r\nButton currently not working\r\n"},"comment":{"url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/issues/comments/405121021","html_url":"https://github.com/HelpAssistHer/help-assist-her/pull/92#issuecomment-405121021","issue_url":"https://api.github.com/repos/HelpAssistHer/help-assist-her/issues/92","id":405121021,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTEyMTAyMQ==","user":{"login":"karenmrose","id":6378435,"node_id":"MDQ6VXNlcjYzNzg0MzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6378435?v=4","gravatar_id":"","url":"https://api.github.com/users/karenmrose","html_url":"https://github.com/karenmrose","followers_url":"https://api.github.com/users/karenmrose/followers","following_url":"https://api.github.com/users/karenmrose/following{/other_user}","gists_url":"https://api.github.com/users/karenmrose/gists{/gist_id}","starred_url":"https://api.github.com/users/karenmrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karenmrose/subscriptions","organizations_url":"https://api.github.com/users/karenmrose/orgs","repos_url":"https://api.github.com/users/karenmrose/repos","events_url":"https://api.github.com/users/karenmrose/events{/privacy}","received_events_url":"https://api.github.com/users/karenmrose/received_events","type":"User","site_admin":false},"created_at":"2018-07-15T21:50:05Z","updated_at":"2018-07-15T21:50:05Z","author_association":"CONTRIBUTOR","body":"@vzajkov Nice job with the style updates! 👏 Just left one minor comment.\r\n\r\nAnd yes, you have the steps correct. You'll also need to merge `master` into this branch though to resolve conflicts. So the steps are:\r\n\r\n1. Merge the `polish-general-info` PR into master (it's been approved so you can do it now)\r\n2. Change the base branch on this PR to master\r\n3. Merge master into this branch (and resolve conflicts)\r\n4. Merge this branch"}}
{"actor":{"display_login":"karenmrose"}}