{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24474","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24474/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24474/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24474/events","html_url":"https://github.com/Automattic/wp-calypso/pull/24474","id":317731103,"number":24474,"title":"Components: Add <MarkedLines /> component","user":{"login":"dmsnell","id":5431237,"avatar_url":"https://avatars3.githubusercontent.com/u/5431237?v=4","gravatar_id":"","url":"https://api.github.com/users/dmsnell","html_url":"https://github.com/dmsnell","followers_url":"https://api.github.com/users/dmsnell/followers","following_url":"https://api.github.com/users/dmsnell/following{/other_user}","gists_url":"https://api.github.com/users/dmsnell/gists{/gist_id}","starred_url":"https://api.github.com/users/dmsnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmsnell/subscriptions","organizations_url":"https://api.github.com/users/dmsnell/orgs","repos_url":"https://api.github.com/users/dmsnell/repos","events_url":"https://api.github.com/users/dmsnell/events{/privacy}","received_events_url":"https://api.github.com/users/dmsnell/received_events","type":"User","site_admin":false},"labels":[{"id":911535311,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Activity%20Log","name":"Activity Log","color":"83abef","default":false},{"id":285010018,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-25T17:52:27Z","updated_at":"2018-04-26T13:24:58Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/24474","html_url":"https://github.com/Automattic/wp-calypso/pull/24474","diff_url":"https://github.com/Automattic/wp-calypso/pull/24474.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/24474.patch"},"body":"This is part of the Activity Log project to show alerts for\r\npossible malicious threats on sites. This component can be\r\nused to show snippets from a file with line numbers where\r\nsome parts of that file are to be marked up or highlighted.\r\n\r\n<img width=\"639\" alt=\"screen shot 2018-04-26 at 10 12 14 am\" src=\"https://user-images.githubusercontent.com/5431237/39297019-51e21314-493a-11e8-8f76-6101a78f06a4.png\">\r\n\r\n**Todo**\r\n - [x] Make the styling right\r\n - [x] Add a DevDocs example\r\n - [ ] Assess the data structure\r\n\r\n**Testing**\r\n\r\nYou can view this component in the DevDocs example for testing at `/devdocs/design/marked-lines`\r\nIt uses the relatively new playground feature introduced by @scruffian "},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/384639675","html_url":"https://github.com/Automattic/wp-calypso/pull/24474#issuecomment-384639675","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24474","id":384639675,"user":{"login":"dmsnell","id":5431237,"avatar_url":"https://avatars3.githubusercontent.com/u/5431237?v=4","gravatar_id":"","url":"https://api.github.com/users/dmsnell","html_url":"https://github.com/dmsnell","followers_url":"https://api.github.com/users/dmsnell/followers","following_url":"https://api.github.com/users/dmsnell/following{/other_user}","gists_url":"https://api.github.com/users/dmsnell/gists{/gist_id}","starred_url":"https://api.github.com/users/dmsnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmsnell/subscriptions","organizations_url":"https://api.github.com/users/dmsnell/orgs","repos_url":"https://api.github.com/users/dmsnell/repos","events_url":"https://api.github.com/users/dmsnell/events{/privacy}","received_events_url":"https://api.github.com/users/dmsnell/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T13:24:58Z","updated_at":"2018-04-26T13:24:58Z","author_association":"CONTRIBUTOR","body":"> Line numbers with different number of digits break the visual.\r\n\r\nFixed in 45598ad"}}
{"actor":{"display_login":"dmsnell"}}