{"action":"created","comment":{"url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/comments/94276555","pull_request_review_id":14806791,"id":94276555,"diff_hunk":"@@ -43,6 +44,18 @@ export default class NewsContainer extends React.Component {\n     this.refresh()\n   }\n \n+  findImage = (content: string) => {\n+    let re = '<img.*?src=\"([^\"]*)\"[^>]*>(?:</img>)?'\n+    let imageMatch = content.match(re)\n+\n+    if (imageMatch !== null && imageMatch !== undefined) {","path":"views/news/news-container.js","position":null,"original_position":16,"commit_id":"5f2b93277efa29b4420481bf88d526a626a47a46","original_commit_id":"f86346781cd703543d25493288f126ded739a846","user":{"login":"drewvolz","id":5240843,"avatar_url":"https://avatars.githubusercontent.com/u/5240843?v=3","gravatar_id":"","url":"https://api.github.com/users/drewvolz","html_url":"https://github.com/drewvolz","followers_url":"https://api.github.com/users/drewvolz/followers","following_url":"https://api.github.com/users/drewvolz/following{/other_user}","gists_url":"https://api.github.com/users/drewvolz/gists{/gist_id}","starred_url":"https://api.github.com/users/drewvolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewvolz/subscriptions","organizations_url":"https://api.github.com/users/drewvolz/orgs","repos_url":"https://api.github.com/users/drewvolz/repos","events_url":"https://api.github.com/users/drewvolz/events{/privacy}","received_events_url":"https://api.github.com/users/drewvolz/received_events","type":"User","site_admin":false},"body":"Good point, thanks.","created_at":"2016-12-31T18:39:14Z","updated_at":"2016-12-31T18:39:14Z","html_url":"https://github.com/StoDevX/AAO-React-Native/pull/463#discussion_r94276555","pull_request_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463","_links":{"self":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/comments/94276555"},"html":{"href":"https://github.com/StoDevX/AAO-React-Native/pull/463#discussion_r94276555"},"pull_request":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463"}}},"pull_request":{"url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463","id":99796579,"html_url":"https://github.com/StoDevX/AAO-React-Native/pull/463","diff_url":"https://github.com/StoDevX/AAO-React-Native/pull/463.diff","patch_url":"https://github.com/StoDevX/AAO-React-Native/pull/463.patch","issue_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/463","number":463,"state":"open","locked":false,"title":"Thumbnails on news stories","user":{"login":"drewvolz","id":5240843,"avatar_url":"https://avatars.githubusercontent.com/u/5240843?v=3","gravatar_id":"","url":"https://api.github.com/users/drewvolz","html_url":"https://github.com/drewvolz","followers_url":"https://api.github.com/users/drewvolz/followers","following_url":"https://api.github.com/users/drewvolz/following{/other_user}","gists_url":"https://api.github.com/users/drewvolz/gists{/gist_id}","starred_url":"https://api.github.com/users/drewvolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewvolz/subscriptions","organizations_url":"https://api.github.com/users/drewvolz/orgs","repos_url":"https://api.github.com/users/drewvolz/repos","events_url":"https://api.github.com/users/drewvolz/events{/privacy}","received_events_url":"https://api.github.com/users/drewvolz/received_events","type":"User","site_admin":false},"body":"This adds 50x50 thumbnails to stories with images embedded into their content. It seeks out the first image within the story content and uses it as the image's source. Stories without images will display as they did previously.\r\n\r\nScreenshots:\r\n\r\nThumbnails | No thumbnails\r\n---|---\r\n ![oleville-news](https://cloud.githubusercontent.com/assets/5240843/21575623/91aee2cc-cee0-11e6-95a6-25d972d44e8d.png) |  ![st-olaf-news](https://cloud.githubusercontent.com/assets/5240843/21575622/91aee114-cee0-11e6-83bd-f7dd8cca540a.png)","created_at":"2016-12-31T03:40:33Z","updated_at":"2016-12-31T18:39:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c36fddef504cb547383cffa80bfc6540c41b58f","assignee":{"login":"hawkrives","id":464441,"avatar_url":"https://avatars.githubusercontent.com/u/464441?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkrives","html_url":"https://github.com/hawkrives","followers_url":"https://api.github.com/users/hawkrives/followers","following_url":"https://api.github.com/users/hawkrives/following{/other_user}","gists_url":"https://api.github.com/users/hawkrives/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkrives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkrives/subscriptions","organizations_url":"https://api.github.com/users/hawkrives/orgs","repos_url":"https://api.github.com/users/hawkrives/repos","events_url":"https://api.github.com/users/hawkrives/events{/privacy}","received_events_url":"https://api.github.com/users/hawkrives/received_events","type":"User","site_admin":false},"assignees":[{"login":"hawkrives","id":464441,"avatar_url":"https://avatars.githubusercontent.com/u/464441?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkrives","html_url":"https://github.com/hawkrives","followers_url":"https://api.github.com/users/hawkrives/followers","following_url":"https://api.github.com/users/hawkrives/following{/other_user}","gists_url":"https://api.github.com/users/hawkrives/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkrives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkrives/subscriptions","organizations_url":"https://api.github.com/users/hawkrives/orgs","repos_url":"https://api.github.com/users/hawkrives/repos","events_url":"https://api.github.com/users/hawkrives/events{/privacy}","received_events_url":"https://api.github.com/users/hawkrives/received_events","type":"User","site_admin":false},{"login":"mattk410","id":6880028,"avatar_url":"https://avatars.githubusercontent.com/u/6880028?v=3","gravatar_id":"","url":"https://api.github.com/users/mattk410","html_url":"https://github.com/mattk410","followers_url":"https://api.github.com/users/mattk410/followers","following_url":"https://api.github.com/users/mattk410/following{/other_user}","gists_url":"https://api.github.com/users/mattk410/gists{/gist_id}","starred_url":"https://api.github.com/users/mattk410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattk410/subscriptions","organizations_url":"https://api.github.com/users/mattk410/orgs","repos_url":"https://api.github.com/users/mattk410/repos","events_url":"https://api.github.com/users/mattk410/events{/privacy}","received_events_url":"https://api.github.com/users/mattk410/received_events","type":"User","site_admin":false},{"login":"elijahverdoorn","id":12042702,"avatar_url":"https://avatars.githubusercontent.com/u/12042702?v=3","gravatar_id":"","url":"https://api.github.com/users/elijahverdoorn","html_url":"https://github.com/elijahverdoorn","followers_url":"https://api.github.com/users/elijahverdoorn/followers","following_url":"https://api.github.com/users/elijahverdoorn/following{/other_user}","gists_url":"https://api.github.com/users/elijahverdoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/elijahverdoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elijahverdoorn/subscriptions","organizations_url":"https://api.github.com/users/elijahverdoorn/orgs","repos_url":"https://api.github.com/users/elijahverdoorn/repos","events_url":"https://api.github.com/users/elijahverdoorn/events{/privacy}","received_events_url":"https://api.github.com/users/elijahverdoorn/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463/commits","review_comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463/comments","review_comment_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/463/comments","statuses_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/5f2b93277efa29b4420481bf88d526a626a47a46","head":{"label":"StoDevX:news-image-thumbs","ref":"news-image-thumbs","sha":"5f2b93277efa29b4420481bf88d526a626a47a46","user":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"repo":{"id":48415146,"name":"AAO-React-Native","full_name":"StoDevX/AAO-React-Native","owner":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StoDevX/AAO-React-Native","description":"The St. Olaf community, now in pocket size… rewritten in React Native.","fork":false,"url":"https://api.github.com/repos/StoDevX/AAO-React-Native","forks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/forks","keys_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/teams","hooks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/hooks","issue_events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/events{/number}","events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/events","assignees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/assignees{/user}","branches_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/branches{/branch}","tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/tags","blobs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/refs{/sha}","trees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/{sha}","languages_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/languages","stargazers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/stargazers","contributors_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contributors","subscribers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscribers","subscription_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscription","commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/commits{/sha}","git_commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/commits{/sha}","comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/comments{/number}","issue_comment_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/comments{/number}","contents_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contents/{+path}","compare_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/merges","archive_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/downloads","issues_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues{/number}","pulls_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls{/number}","milestones_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/milestones{/number}","notifications_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/labels{/name}","releases_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/releases{/id}","deployments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/deployments","created_at":"2015-12-22T06:41:01Z","updated_at":"2016-12-05T14:16:04Z","pushed_at":"2016-12-31T12:26:48Z","git_url":"git://github.com/StoDevX/AAO-React-Native.git","ssh_url":"git@github.com:StoDevX/AAO-React-Native.git","clone_url":"https://github.com/StoDevX/AAO-React-Native.git","svn_url":"https://github.com/StoDevX/AAO-React-Native","homepage":"","size":61569,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":13,"default_branch":"master"}},"base":{"label":"StoDevX:master","ref":"master","sha":"98fb32fb8a3dd193c4c1d7a865adea293e583925","user":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"repo":{"id":48415146,"name":"AAO-React-Native","full_name":"StoDevX/AAO-React-Native","owner":{"login":"StoDevX","id":16405322,"avatar_url":"https://avatars.githubusercontent.com/u/16405322?v=3","gravatar_id":"","url":"https://api.github.com/users/StoDevX","html_url":"https://github.com/StoDevX","followers_url":"https://api.github.com/users/StoDevX/followers","following_url":"https://api.github.com/users/StoDevX/following{/other_user}","gists_url":"https://api.github.com/users/StoDevX/gists{/gist_id}","starred_url":"https://api.github.com/users/StoDevX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StoDevX/subscriptions","organizations_url":"https://api.github.com/users/StoDevX/orgs","repos_url":"https://api.github.com/users/StoDevX/repos","events_url":"https://api.github.com/users/StoDevX/events{/privacy}","received_events_url":"https://api.github.com/users/StoDevX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StoDevX/AAO-React-Native","description":"The St. Olaf community, now in pocket size… rewritten in React Native.","fork":false,"url":"https://api.github.com/repos/StoDevX/AAO-React-Native","forks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/forks","keys_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/teams","hooks_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/hooks","issue_events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/events{/number}","events_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/events","assignees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/assignees{/user}","branches_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/branches{/branch}","tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/tags","blobs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/refs{/sha}","trees_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/{sha}","languages_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/languages","stargazers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/stargazers","contributors_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contributors","subscribers_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscribers","subscription_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/subscription","commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/commits{/sha}","git_commits_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/git/commits{/sha}","comments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/comments{/number}","issue_comment_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/comments{/number}","contents_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/contents/{+path}","compare_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/merges","archive_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/downloads","issues_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues{/number}","pulls_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls{/number}","milestones_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/milestones{/number}","notifications_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/labels{/name}","releases_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/releases{/id}","deployments_url":"https://api.github.com/repos/StoDevX/AAO-React-Native/deployments","created_at":"2015-12-22T06:41:01Z","updated_at":"2016-12-05T14:16:04Z","pushed_at":"2016-12-31T12:26:48Z","git_url":"git://github.com/StoDevX/AAO-React-Native.git","ssh_url":"git@github.com:StoDevX/AAO-React-Native.git","clone_url":"https://github.com/StoDevX/AAO-React-Native.git","svn_url":"https://github.com/StoDevX/AAO-React-Native","homepage":"","size":61569,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463"},"html":{"href":"https://github.com/StoDevX/AAO-React-Native/pull/463"},"issue":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/463"},"comments":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/issues/463/comments"},"review_comments":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463/comments"},"review_comment":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/pulls/463/commits"},"statuses":{"href":"https://api.github.com/repos/StoDevX/AAO-React-Native/statuses/5f2b93277efa29b4420481bf88d526a626a47a46"}}}}
{"actor":{"display_login":"drewvolz"}}