{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/activity-stream/issues/1907","repository_url":"https://api.github.com/repos/mozilla/activity-stream","labels_url":"https://api.github.com/repos/mozilla/activity-stream/issues/1907/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/activity-stream/issues/1907/comments","events_url":"https://api.github.com/repos/mozilla/activity-stream/issues/1907/events","html_url":"https://github.com/mozilla/activity-stream/pull/1907","id":198067065,"number":1907,"title":"feat(content): #1906 Add Snippet component","user":{"login":"k88hudson","id":1455535,"avatar_url":"https://avatars.githubusercontent.com/u/1455535?v=3","gravatar_id":"","url":"https://api.github.com/users/k88hudson","html_url":"https://github.com/k88hudson","followers_url":"https://api.github.com/users/k88hudson/followers","following_url":"https://api.github.com/users/k88hudson/following{/other_user}","gists_url":"https://api.github.com/users/k88hudson/gists{/gist_id}","starred_url":"https://api.github.com/users/k88hudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k88hudson/subscriptions","organizations_url":"https://api.github.com/users/k88hudson/orgs","repos_url":"https://api.github.com/users/k88hudson/repos","events_url":"https://api.github.com/users/k88hudson/events{/privacy}","received_events_url":"https://api.github.com/users/k88hudson/received_events","type":"User","site_admin":false},"labels":[{"id":334509354,"url":"https://api.github.com/repos/mozilla/activity-stream/labels/PR%20/%20Needs%20review","name":"PR / Needs review","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"dmose","id":425657,"avatar_url":"https://avatars.githubusercontent.com/u/425657?v=3","gravatar_id":"","url":"https://api.github.com/users/dmose","html_url":"https://github.com/dmose","followers_url":"https://api.github.com/users/dmose/followers","following_url":"https://api.github.com/users/dmose/following{/other_user}","gists_url":"https://api.github.com/users/dmose/gists{/gist_id}","starred_url":"https://api.github.com/users/dmose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmose/subscriptions","organizations_url":"https://api.github.com/users/dmose/orgs","repos_url":"https://api.github.com/users/dmose/repos","events_url":"https://api.github.com/users/dmose/events{/privacy}","received_events_url":"https://api.github.com/users/dmose/received_events","type":"User","site_admin":false},"assignees":[{"login":"dmose","id":425657,"avatar_url":"https://avatars.githubusercontent.com/u/425657?v=3","gravatar_id":"","url":"https://api.github.com/users/dmose","html_url":"https://github.com/dmose","followers_url":"https://api.github.com/users/dmose/followers","following_url":"https://api.github.com/users/dmose/following{/other_user}","gists_url":"https://api.github.com/users/dmose/gists{/gist_id}","starred_url":"https://api.github.com/users/dmose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmose/subscriptions","organizations_url":"https://api.github.com/users/dmose/orgs","repos_url":"https://api.github.com/users/dmose/repos","events_url":"https://api.github.com/users/dmose/events{/privacy}","received_events_url":"https://api.github.com/users/dmose/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-12-29T20:53:19Z","updated_at":"2017-01-04T20:49:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/activity-stream/pulls/1907","html_url":"https://github.com/mozilla/activity-stream/pull/1907","diff_url":"https://github.com/mozilla/activity-stream/pull/1907.diff","patch_url":"https://github.com/mozilla/activity-stream/pull/1907.patch"},"body":"This patch adds a `Snippet` component, as well as an example in the `Debug` page, a storybook, and tests. Refer to the trello card for more information: https://trello.com/c/LmsamLox/39-as-mozilla-we-want-to-inform-our-users-about-interesting-things-marketing-initiatives-friendly-tips-other\r\n\r\nTo try it:\r\n- Open the debug page, you should see it in the bottom\r\n- Run `npm run storybooks`\r\n\r\nNotes:\r\n- I had to use `dangerouslySetInnerHTML` for the snippet description, since it sometimes contains links/other HTML. However, because this text is controlled internally, this should be OK. We should keep this in mind whenever we decide how to store/ship snippet content.\r\n- There is no implementation of the snippet yet on the New Tab page, I will do that once we confirm the variants for the experiment in #1904\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/mozilla/activity-stream/1907)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/mozilla/activity-stream/issues/comments/270482517","html_url":"https://github.com/mozilla/activity-stream/pull/1907#issuecomment-270482517","issue_url":"https://api.github.com/repos/mozilla/activity-stream/issues/1907","id":270482517,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-01-04T20:49:19Z","updated_at":"2017-01-04T20:49:19Z","body":"\n[![Coverage Status](https://coveralls.io/builds/9524180/badge)](https://coveralls.io/builds/9524180)\n\nCoverage increased (+0.07%) to 88.864% when pulling **7699d2fb4a25d43cd334a9b57f7c4507ef6e9464 on k88hudson:gh1906** into **a9b100f1b403ae4deb40edda40f2f56ba18560f8 on mozilla:master**.\n"}}
{"actor":{"display_login":"coveralls"}}