{"action":"created","comment":{"url":"https://api.github.com/repos/assembl/assembl/pulls/comments/209941284","pull_request_review_id":146050929,"id":209941284,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTk0MTI4NA==","diff_hunk":"@@ -0,0 +1,48 @@\n+import React, { Component } from 'react';\n+\n+import { Col } from 'react-bootstrap';\n+import activeHtml from 'react-active-html';\n+import ARange from 'annotator_range'; // eslint-disable-line\n+import Embed from '../../common/urlPreview/embed';\n+import URLMetadataLoader from '../../common/urlPreview/urlMetadataLoader';\n+import { isSpecialURL } from '../../../utils/urlPreview';\n+\n+\n+const postBodyReplacementComponents = () => ({\n+  iframe: attributes => (\n+    // the src iframe url is different from the resource url\n+    <Embed url={attributes['data-source-url'] || attributes.src} defaultEmbed={<iframe title=\"post-embed\" {...attributes} />} />\n+  ),\n+  a: (attributes) => {\n+    const embeddedUrl = isSpecialURL(attributes.href);\n+    const origin = (\n+      <a key={`url-link-${attributes.href}`} href={attributes.href} className=\"linkified\" target=\"_blank\">\n+        {attributes.href}\n+      </a>\n+    );\n+    if (embeddedUrl) return origin;\n+    return [origin, <URLMetadataLoader key={`url-preview-${attributes.href}`} url={attributes.href} />];\n+  },\n+});\n+\n+\n+class BrightMirrorInstructionView extends Component<> {","path":"assembl/static2/js/app/components/debate/brightMirror/brightMirrorInstructionView.jsx","position":29,"original_position":29,"commit_id":"706986a19179052f024cca4651eaaf469ca0d319","original_commit_id":"706986a19179052f024cca4651eaaf469ca0d319","user":{"login":"MilanBarande","id":25273007,"node_id":"MDQ6VXNlcjI1MjczMDA3","avatar_url":"https://avatars2.githubusercontent.com/u/25273007?v=4","gravatar_id":"","url":"https://api.github.com/users/MilanBarande","html_url":"https://github.com/MilanBarande","followers_url":"https://api.github.com/users/MilanBarande/followers","following_url":"https://api.github.com/users/MilanBarande/following{/other_user}","gists_url":"https://api.github.com/users/MilanBarande/gists{/gist_id}","starred_url":"https://api.github.com/users/MilanBarande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilanBarande/subscriptions","organizations_url":"https://api.github.com/users/MilanBarande/orgs","repos_url":"https://api.github.com/users/MilanBarande/repos","events_url":"https://api.github.com/users/MilanBarande/events{/privacy}","received_events_url":"https://api.github.com/users/MilanBarande/received_events","type":"User","site_admin":false},"body":"this can be a functional component right ?","created_at":"2018-08-14T13:01:46Z","updated_at":"2018-08-14T13:01:46Z","html_url":"https://github.com/assembl/assembl/pull/492#discussion_r209941284","pull_request_url":"https://api.github.com/repos/assembl/assembl/pulls/492","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/assembl/assembl/pulls/comments/209941284"},"html":{"href":"https://github.com/assembl/assembl/pull/492#discussion_r209941284"},"pull_request":{"href":"https://api.github.com/repos/assembl/assembl/pulls/492"}}},"pull_request":{"url":"https://api.github.com/repos/assembl/assembl/pulls/492","id":208264073,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MjY0MDcz","html_url":"https://github.com/assembl/assembl/pull/492","diff_url":"https://github.com/assembl/assembl/pull/492.diff","patch_url":"https://github.com/assembl/assembl/pull/492.patch","issue_url":"https://api.github.com/repos/assembl/assembl/issues/492","number":492,"state":"open","locked":false,"title":"Devas 1683 administrate bright mirror page","user":{"login":"cedrtang","id":2805644,"node_id":"MDQ6VXNlcjI4MDU2NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2805644?v=4","gravatar_id":"","url":"https://api.github.com/users/cedrtang","html_url":"https://github.com/cedrtang","followers_url":"https://api.github.com/users/cedrtang/followers","following_url":"https://api.github.com/users/cedrtang/following{/other_user}","gists_url":"https://api.github.com/users/cedrtang/gists{/gist_id}","starred_url":"https://api.github.com/users/cedrtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedrtang/subscriptions","organizations_url":"https://api.github.com/users/cedrtang/orgs","repos_url":"https://api.github.com/users/cedrtang/repos","events_url":"https://api.github.com/users/cedrtang/events{/privacy}","received_events_url":"https://api.github.com/users/cedrtang/received_events","type":"User","site_admin":false},"body":"- Add BrightMirror admin page\r\n\r\n- Redirect to the only idea page when click on the brightMirror phase\r\n\r\n- Use Idea component to display BrightMirror instructions","created_at":"2018-08-14T12:26:30Z","updated_at":"2018-08-14T13:01:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7882682eee65f22fd910773979b21f75eb5af78e","assignee":{"login":"cedrtang","id":2805644,"node_id":"MDQ6VXNlcjI4MDU2NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2805644?v=4","gravatar_id":"","url":"https://api.github.com/users/cedrtang","html_url":"https://github.com/cedrtang","followers_url":"https://api.github.com/users/cedrtang/followers","following_url":"https://api.github.com/users/cedrtang/following{/other_user}","gists_url":"https://api.github.com/users/cedrtang/gists{/gist_id}","starred_url":"https://api.github.com/users/cedrtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedrtang/subscriptions","organizations_url":"https://api.github.com/users/cedrtang/orgs","repos_url":"https://api.github.com/users/cedrtang/repos","events_url":"https://api.github.com/users/cedrtang/events{/privacy}","received_events_url":"https://api.github.com/users/cedrtang/received_events","type":"User","site_admin":false},"assignees":[{"login":"cedrtang","id":2805644,"node_id":"MDQ6VXNlcjI4MDU2NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2805644?v=4","gravatar_id":"","url":"https://api.github.com/users/cedrtang","html_url":"https://github.com/cedrtang","followers_url":"https://api.github.com/users/cedrtang/followers","following_url":"https://api.github.com/users/cedrtang/following{/other_user}","gists_url":"https://api.github.com/users/cedrtang/gists{/gist_id}","starred_url":"https://api.github.com/users/cedrtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedrtang/subscriptions","organizations_url":"https://api.github.com/users/cedrtang/orgs","repos_url":"https://api.github.com/users/cedrtang/repos","events_url":"https://api.github.com/users/cedrtang/events{/privacy}","received_events_url":"https://api.github.com/users/cedrtang/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"cedricmessiant","id":405172,"node_id":"MDQ6VXNlcjQwNTE3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/405172?v=4","gravatar_id":"","url":"https://api.github.com/users/cedricmessiant","html_url":"https://github.com/cedricmessiant","followers_url":"https://api.github.com/users/cedricmessiant/followers","following_url":"https://api.github.com/users/cedricmessiant/following{/other_user}","gists_url":"https://api.github.com/users/cedricmessiant/gists{/gist_id}","starred_url":"https://api.github.com/users/cedricmessiant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cedricmessiant/subscriptions","organizations_url":"https://api.github.com/users/cedricmessiant/orgs","repos_url":"https://api.github.com/users/cedricmessiant/repos","events_url":"https://api.github.com/users/cedricmessiant/events{/privacy}","received_events_url":"https://api.github.com/users/cedricmessiant/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/assembl/assembl/pulls/492/commits","review_comments_url":"https://api.github.com/repos/assembl/assembl/pulls/492/comments","review_comment_url":"https://api.github.com/repos/assembl/assembl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/assembl/assembl/issues/492/comments","statuses_url":"https://api.github.com/repos/assembl/assembl/statuses/706986a19179052f024cca4651eaaf469ca0d319","head":{"label":"assembl:DEVAS-1683-administrate-bright-mirror-page","ref":"DEVAS-1683-administrate-bright-mirror-page","sha":"706986a19179052f024cca4651eaaf469ca0d319","user":{"login":"assembl","id":20449542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNDQ5NTQy","avatar_url":"https://avatars3.githubusercontent.com/u/20449542?v=4","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"repo":{"id":18962634,"node_id":"MDEwOlJlcG9zaXRvcnkxODk2MjYzNA==","name":"assembl","full_name":"assembl/assembl","owner":{"login":"assembl","id":20449542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNDQ5NTQy","avatar_url":"https://avatars3.githubusercontent.com/u/20449542?v=4","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assembl/assembl","description":"Assembl is an online debate and synthesis platform","fork":false,"url":"https://api.github.com/repos/assembl/assembl","forks_url":"https://api.github.com/repos/assembl/assembl/forks","keys_url":"https://api.github.com/repos/assembl/assembl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assembl/assembl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assembl/assembl/teams","hooks_url":"https://api.github.com/repos/assembl/assembl/hooks","issue_events_url":"https://api.github.com/repos/assembl/assembl/issues/events{/number}","events_url":"https://api.github.com/repos/assembl/assembl/events","assignees_url":"https://api.github.com/repos/assembl/assembl/assignees{/user}","branches_url":"https://api.github.com/repos/assembl/assembl/branches{/branch}","tags_url":"https://api.github.com/repos/assembl/assembl/tags","blobs_url":"https://api.github.com/repos/assembl/assembl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assembl/assembl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assembl/assembl/git/refs{/sha}","trees_url":"https://api.github.com/repos/assembl/assembl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assembl/assembl/statuses/{sha}","languages_url":"https://api.github.com/repos/assembl/assembl/languages","stargazers_url":"https://api.github.com/repos/assembl/assembl/stargazers","contributors_url":"https://api.github.com/repos/assembl/assembl/contributors","subscribers_url":"https://api.github.com/repos/assembl/assembl/subscribers","subscription_url":"https://api.github.com/repos/assembl/assembl/subscription","commits_url":"https://api.github.com/repos/assembl/assembl/commits{/sha}","git_commits_url":"https://api.github.com/repos/assembl/assembl/git/commits{/sha}","comments_url":"https://api.github.com/repos/assembl/assembl/comments{/number}","issue_comment_url":"https://api.github.com/repos/assembl/assembl/issues/comments{/number}","contents_url":"https://api.github.com/repos/assembl/assembl/contents/{+path}","compare_url":"https://api.github.com/repos/assembl/assembl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assembl/assembl/merges","archive_url":"https://api.github.com/repos/assembl/assembl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assembl/assembl/downloads","issues_url":"https://api.github.com/repos/assembl/assembl/issues{/number}","pulls_url":"https://api.github.com/repos/assembl/assembl/pulls{/number}","milestones_url":"https://api.github.com/repos/assembl/assembl/milestones{/number}","notifications_url":"https://api.github.com/repos/assembl/assembl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assembl/assembl/labels{/name}","releases_url":"https://api.github.com/repos/assembl/assembl/releases{/id}","deployments_url":"https://api.github.com/repos/assembl/assembl/deployments","created_at":"2014-04-20T10:52:11Z","updated_at":"2018-08-14T12:23:55Z","pushed_at":"2018-08-14T12:26:30Z","git_url":"git://github.com/assembl/assembl.git","ssh_url":"git@github.com:assembl/assembl.git","clone_url":"https://github.com/assembl/assembl.git","svn_url":"https://github.com/assembl/assembl","homepage":"http://assembl.bluenove.com","size":76790,"stargazers_count":87,"watchers_count":87,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":29,"open_issues":24,"watchers":87,"default_branch":"develop"}},"base":{"label":"assembl:develop","ref":"develop","sha":"903c59b9169887d6bb3717a7e1c1d31e5e01687f","user":{"login":"assembl","id":20449542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNDQ5NTQy","avatar_url":"https://avatars3.githubusercontent.com/u/20449542?v=4","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"repo":{"id":18962634,"node_id":"MDEwOlJlcG9zaXRvcnkxODk2MjYzNA==","name":"assembl","full_name":"assembl/assembl","owner":{"login":"assembl","id":20449542,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNDQ5NTQy","avatar_url":"https://avatars3.githubusercontent.com/u/20449542?v=4","gravatar_id":"","url":"https://api.github.com/users/assembl","html_url":"https://github.com/assembl","followers_url":"https://api.github.com/users/assembl/followers","following_url":"https://api.github.com/users/assembl/following{/other_user}","gists_url":"https://api.github.com/users/assembl/gists{/gist_id}","starred_url":"https://api.github.com/users/assembl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assembl/subscriptions","organizations_url":"https://api.github.com/users/assembl/orgs","repos_url":"https://api.github.com/users/assembl/repos","events_url":"https://api.github.com/users/assembl/events{/privacy}","received_events_url":"https://api.github.com/users/assembl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assembl/assembl","description":"Assembl is an online debate and synthesis platform","fork":false,"url":"https://api.github.com/repos/assembl/assembl","forks_url":"https://api.github.com/repos/assembl/assembl/forks","keys_url":"https://api.github.com/repos/assembl/assembl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assembl/assembl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assembl/assembl/teams","hooks_url":"https://api.github.com/repos/assembl/assembl/hooks","issue_events_url":"https://api.github.com/repos/assembl/assembl/issues/events{/number}","events_url":"https://api.github.com/repos/assembl/assembl/events","assignees_url":"https://api.github.com/repos/assembl/assembl/assignees{/user}","branches_url":"https://api.github.com/repos/assembl/assembl/branches{/branch}","tags_url":"https://api.github.com/repos/assembl/assembl/tags","blobs_url":"https://api.github.com/repos/assembl/assembl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assembl/assembl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assembl/assembl/git/refs{/sha}","trees_url":"https://api.github.com/repos/assembl/assembl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assembl/assembl/statuses/{sha}","languages_url":"https://api.github.com/repos/assembl/assembl/languages","stargazers_url":"https://api.github.com/repos/assembl/assembl/stargazers","contributors_url":"https://api.github.com/repos/assembl/assembl/contributors","subscribers_url":"https://api.github.com/repos/assembl/assembl/subscribers","subscription_url":"https://api.github.com/repos/assembl/assembl/subscription","commits_url":"https://api.github.com/repos/assembl/assembl/commits{/sha}","git_commits_url":"https://api.github.com/repos/assembl/assembl/git/commits{/sha}","comments_url":"https://api.github.com/repos/assembl/assembl/comments{/number}","issue_comment_url":"https://api.github.com/repos/assembl/assembl/issues/comments{/number}","contents_url":"https://api.github.com/repos/assembl/assembl/contents/{+path}","compare_url":"https://api.github.com/repos/assembl/assembl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assembl/assembl/merges","archive_url":"https://api.github.com/repos/assembl/assembl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assembl/assembl/downloads","issues_url":"https://api.github.com/repos/assembl/assembl/issues{/number}","pulls_url":"https://api.github.com/repos/assembl/assembl/pulls{/number}","milestones_url":"https://api.github.com/repos/assembl/assembl/milestones{/number}","notifications_url":"https://api.github.com/repos/assembl/assembl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assembl/assembl/labels{/name}","releases_url":"https://api.github.com/repos/assembl/assembl/releases{/id}","deployments_url":"https://api.github.com/repos/assembl/assembl/deployments","created_at":"2014-04-20T10:52:11Z","updated_at":"2018-08-14T12:23:55Z","pushed_at":"2018-08-14T12:26:30Z","git_url":"git://github.com/assembl/assembl.git","ssh_url":"git@github.com:assembl/assembl.git","clone_url":"https://github.com/assembl/assembl.git","svn_url":"https://github.com/assembl/assembl","homepage":"http://assembl.bluenove.com","size":76790,"stargazers_count":87,"watchers_count":87,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":29,"open_issues":24,"watchers":87,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/assembl/assembl/pulls/492"},"html":{"href":"https://github.com/assembl/assembl/pull/492"},"issue":{"href":"https://api.github.com/repos/assembl/assembl/issues/492"},"comments":{"href":"https://api.github.com/repos/assembl/assembl/issues/492/comments"},"review_comments":{"href":"https://api.github.com/repos/assembl/assembl/pulls/492/comments"},"review_comment":{"href":"https://api.github.com/repos/assembl/assembl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/assembl/assembl/pulls/492/commits"},"statuses":{"href":"https://api.github.com/repos/assembl/assembl/statuses/706986a19179052f024cca4651eaaf469ca0d319"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"MilanBarande"}}