{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/techne/issues/723","repository_url":"https://api.github.com/repos/SAP/techne","labels_url":"https://api.github.com/repos/SAP/techne/issues/723/labels{/name}","comments_url":"https://api.github.com/repos/SAP/techne/issues/723/comments","events_url":"https://api.github.com/repos/SAP/techne/issues/723/events","html_url":"https://github.com/SAP/techne/issues/723","id":235708858,"number":723,"title":"Docs: Build code preview component","user":{"login":"xak","id":424119,"avatar_url":"https://avatars1.githubusercontent.com/u/424119?v=4","gravatar_id":"","url":"https://api.github.com/users/xak","html_url":"https://github.com/xak","followers_url":"https://api.github.com/users/xak/followers","following_url":"https://api.github.com/users/xak/following{/other_user}","gists_url":"https://api.github.com/users/xak/gists{/gist_id}","starred_url":"https://api.github.com/users/xak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xak/subscriptions","organizations_url":"https://api.github.com/users/xak/orgs","repos_url":"https://api.github.com/users/xak/repos","events_url":"https://api.github.com/users/xak/events{/privacy}","received_events_url":"https://api.github.com/users/xak/received_events","type":"User","site_admin":false},"labels":[{"id":573577101,"url":"https://api.github.com/repos/SAP/techne/labels/website","name":"website","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"saadmhybris","id":15215400,"avatar_url":"https://avatars0.githubusercontent.com/u/15215400?v=4","gravatar_id":"","url":"https://api.github.com/users/saadmhybris","html_url":"https://github.com/saadmhybris","followers_url":"https://api.github.com/users/saadmhybris/followers","following_url":"https://api.github.com/users/saadmhybris/following{/other_user}","gists_url":"https://api.github.com/users/saadmhybris/gists{/gist_id}","starred_url":"https://api.github.com/users/saadmhybris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saadmhybris/subscriptions","organizations_url":"https://api.github.com/users/saadmhybris/orgs","repos_url":"https://api.github.com/users/saadmhybris/repos","events_url":"https://api.github.com/users/saadmhybris/events{/privacy}","received_events_url":"https://api.github.com/users/saadmhybris/received_events","type":"User","site_admin":false},"assignees":[{"login":"saadmhybris","id":15215400,"avatar_url":"https://avatars0.githubusercontent.com/u/15215400?v=4","gravatar_id":"","url":"https://api.github.com/users/saadmhybris","html_url":"https://github.com/saadmhybris","followers_url":"https://api.github.com/users/saadmhybris/followers","following_url":"https://api.github.com/users/saadmhybris/following{/other_user}","gists_url":"https://api.github.com/users/saadmhybris/gists{/gist_id}","starred_url":"https://api.github.com/users/saadmhybris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saadmhybris/subscriptions","organizations_url":"https://api.github.com/users/saadmhybris/orgs","repos_url":"https://api.github.com/users/saadmhybris/repos","events_url":"https://api.github.com/users/saadmhybris/events{/privacy}","received_events_url":"https://api.github.com/users/saadmhybris/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2017-06-13T22:15:06Z","updated_at":"2017-07-24T16:48:33Z","closed_at":null,"body":"The site has a very basic implementation of the Code component on the website.\r\n\r\n# Inputs\r\n* There is a [Nunjucks macro](https://github.com/SAP/techne/blob/v2.0/docs/styleguide/macros/format.html) that wraps the code and outputs some markup. You can see it used on the [components pages](https://github.com/SAP/techne/blob/v2.0/docs/styleguide/tables.html#L31). A basic [SASS file](https://github.com/SAP/techne/blob/v2.0/docs/styleguide/styles/_code.scss) already exists.\r\n* The visual design can be see [on Invision](https://sapse.invisionapp.com/share/DTBXJCSJW#/238944317_Docs-ComponentPage) (near the bottom). And that [PSD is on Box](https://app.box.com/folder/27696923061).\r\n\r\n![screen shot 2017-06-13 at 5 11 31 pm](https://user-images.githubusercontent.com/424119/27106988-7705545e-505b-11e7-8626-bbd16c9fe019.png)\r\n\r\n## Notes\r\n* The \"Note\" above the code should be optional\r\n* A JS may be available to do some magic on the markup.\r\n* This is a standalone component (on the website) so it will take the width of it's parent.\r\n\r\n# Outputs\r\nUpdated Code component that matches the visual design.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SAP/techne/issues/comments/317483288","html_url":"https://github.com/SAP/techne/issues/723#issuecomment-317483288","issue_url":"https://api.github.com/repos/SAP/techne/issues/723","id":317483288,"user":{"login":"joseegm","id":22662903,"avatar_url":"https://avatars1.githubusercontent.com/u/22662903?v=4","gravatar_id":"","url":"https://api.github.com/users/joseegm","html_url":"https://github.com/joseegm","followers_url":"https://api.github.com/users/joseegm/followers","following_url":"https://api.github.com/users/joseegm/following{/other_user}","gists_url":"https://api.github.com/users/joseegm/gists{/gist_id}","starred_url":"https://api.github.com/users/joseegm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseegm/subscriptions","organizations_url":"https://api.github.com/users/joseegm/orgs","repos_url":"https://api.github.com/users/joseegm/repos","events_url":"https://api.github.com/users/joseegm/events{/privacy}","received_events_url":"https://api.github.com/users/joseegm/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T16:48:33Z","updated_at":"2017-07-24T16:48:33Z","body":"This will be put in a separate issue to assess and select all uses cases and from there revisit the Component page structure, etc."}}
{"actor":{"display_login":"joseegm"}}