{"action":"created","comment":{"url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/comments/81348878","pull_request_review_id":2335942,"id":81348878,"diff_hunk":"@@ -0,0 +1,131 @@\n+/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */\n+/* vim: set ft=javascript ts=2 et sw=2 tw=80: */\n+/* This Source Code Form is subject to the terms of the Mozilla Public\n+ * License, v. 2.0. If a copy of the MPL was not distributed with this\n+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n+\n+\"use strict\";\n+\n+// React & Redux\n+const {\n+  createFactory,\n+  DOM: dom,\n+  PropTypes\n+} = require(\"devtools/client/shared/vendor/react\");\n+const actions = require(\"devtools/client/webconsole/new-console-output/actions/index\");\n+const CollapseButton = createFactory(require(\"devtools/client/webconsole/new-console-output/components/collapse-button\"));\n+const MessageIcon = createFactory(require(\"devtools/client/webconsole/new-console-output/components/message-icon\"));\n+const MessageRepeat = createFactory(require(\"devtools/client/webconsole/new-console-output/components/message-repeat\"));\n+const FrameView = createFactory(require(\"devtools/client/shared/components/frame\"));\n+const StackTrace = createFactory(require(\"devtools/client/shared/components/stack-trace\"));\n+\n+Message.displayName = \"Message\";\n+\n+Message.propTypes = {\n+  open: PropTypes.bool,\n+  source: PropTypes.string.isRequired,\n+  type: PropTypes.string.isRequired,\n+  level: PropTypes.string.isRequired,\n+  topLevelClasses: PropTypes.array,\n+  messageBody: PropTypes.any.isRequired,\n+  repeat: PropTypes.any,\n+  frame: PropTypes.any,\n+  attachment: PropTypes.any,\n+  stacktrace: PropTypes.any,\n+  messageId: PropTypes.string,\n+  onViewSourceInDebugger: PropTypes.func,\n+  sourceMapService: PropTypes.any,\n+};\n+\n+Message.defaultProps = {\n+  topLevelClasses: [],\n+};\n+\n+function Message(props) {\n+  const {\n+    messageId,\n+    open,\n+    source,\n+    type,\n+    level,\n+    topLevelClasses: classes,","path":"devtools/client/webconsole/new-console-output/components/message.js","position":null,"original_position":51,"commit_id":"7c4548e3d5114c2c889ce0077696bd09156e83d1","original_commit_id":"afa89b013fe6e047e94cf5f55480574d2c5f648b","user":{"login":"linclark","id":105464,"avatar_url":"https://avatars.githubusercontent.com/u/105464?v=3","gravatar_id":"","url":"https://api.github.com/users/linclark","html_url":"https://github.com/linclark","followers_url":"https://api.github.com/users/linclark/followers","following_url":"https://api.github.com/users/linclark/following{/other_user}","gists_url":"https://api.github.com/users/linclark/gists{/gist_id}","starred_url":"https://api.github.com/users/linclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linclark/subscriptions","organizations_url":"https://api.github.com/users/linclark/orgs","repos_url":"https://api.github.com/users/linclark/repos","events_url":"https://api.github.com/users/linclark/events{/privacy}","received_events_url":"https://api.github.com/users/linclark/received_events","type":"User","site_admin":false},"body":"You're right, it would make searching easier. CHanged","created_at":"2016-09-30T14:26:22Z","updated_at":"2016-09-30T14:26:22Z","html_url":"https://github.com/devtools-html/gecko-dev/pull/329#discussion_r81348878","pull_request_url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329","_links":{"self":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/comments/81348878"},"html":{"href":"https://github.com/devtools-html/gecko-dev/pull/329#discussion_r81348878"},"pull_request":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329"}}},"pull_request":{"url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329","id":87360387,"html_url":"https://github.com/devtools-html/gecko-dev/pull/329","diff_url":"https://github.com/devtools-html/gecko-dev/pull/329.diff","patch_url":"https://github.com/devtools-html/gecko-dev/pull/329.patch","issue_url":"https://api.github.com/repos/devtools-html/gecko-dev/issues/329","number":329,"state":"closed","locked":false,"title":"Refactor message components to share functionality","user":{"login":"linclark","id":105464,"avatar_url":"https://avatars.githubusercontent.com/u/105464?v=3","gravatar_id":"","url":"https://api.github.com/users/linclark","html_url":"https://github.com/linclark","followers_url":"https://api.github.com/users/linclark/followers","following_url":"https://api.github.com/users/linclark/following{/other_user}","gists_url":"https://api.github.com/users/linclark/gists{/gist_id}","starred_url":"https://api.github.com/users/linclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linclark/subscriptions","organizations_url":"https://api.github.com/users/linclark/orgs","repos_url":"https://api.github.com/users/linclark/repos","events_url":"https://api.github.com/users/linclark/events{/privacy}","received_events_url":"https://api.github.com/users/linclark/received_events","type":"User","site_admin":false},"body":"Fixes #226 \r\n\r\n@bgrins, this is the one I was telling you about. Thank you!!\r\n","created_at":"2016-09-29T17:45:56Z","updated_at":"2016-09-30T14:26:22Z","closed_at":"2016-09-30T14:25:35Z","merged_at":"2016-09-30T14:25:35Z","merge_commit_sha":"198d552aad9fc4d28d9fa656845b1d59547bce9d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329/commits","review_comments_url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329/comments","review_comment_url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devtools-html/gecko-dev/issues/329/comments","statuses_url":"https://api.github.com/repos/devtools-html/gecko-dev/statuses/7c4548e3d5114c2c889ce0077696bd09156e83d1","head":{"label":"linclark:226-message-refactor","ref":"226-message-refactor","sha":"7c4548e3d5114c2c889ce0077696bd09156e83d1","user":{"login":"linclark","id":105464,"avatar_url":"https://avatars.githubusercontent.com/u/105464?v=3","gravatar_id":"","url":"https://api.github.com/users/linclark","html_url":"https://github.com/linclark","followers_url":"https://api.github.com/users/linclark/followers","following_url":"https://api.github.com/users/linclark/following{/other_user}","gists_url":"https://api.github.com/users/linclark/gists{/gist_id}","starred_url":"https://api.github.com/users/linclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linclark/subscriptions","organizations_url":"https://api.github.com/users/linclark/orgs","repos_url":"https://api.github.com/users/linclark/repos","events_url":"https://api.github.com/users/linclark/events{/privacy}","received_events_url":"https://api.github.com/users/linclark/received_events","type":"User","site_admin":false},"repo":{"id":51213778,"name":"gecko-dev","full_name":"linclark/gecko-dev","owner":{"login":"linclark","id":105464,"avatar_url":"https://avatars.githubusercontent.com/u/105464?v=3","gravatar_id":"","url":"https://api.github.com/users/linclark","html_url":"https://github.com/linclark","followers_url":"https://api.github.com/users/linclark/followers","following_url":"https://api.github.com/users/linclark/following{/other_user}","gists_url":"https://api.github.com/users/linclark/gists{/gist_id}","starred_url":"https://api.github.com/users/linclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linclark/subscriptions","organizations_url":"https://api.github.com/users/linclark/orgs","repos_url":"https://api.github.com/users/linclark/repos","events_url":"https://api.github.com/users/linclark/events{/privacy}","received_events_url":"https://api.github.com/users/linclark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/linclark/gecko-dev","description":"Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. Please don't submit PRs, see: https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#I%27m_all_used_to_git.2C_but_how_can_I_provide_Mercurial-ready_patches_.3F","fork":true,"url":"https://api.github.com/repos/linclark/gecko-dev","forks_url":"https://api.github.com/repos/linclark/gecko-dev/forks","keys_url":"https://api.github.com/repos/linclark/gecko-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linclark/gecko-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linclark/gecko-dev/teams","hooks_url":"https://api.github.com/repos/linclark/gecko-dev/hooks","issue_events_url":"https://api.github.com/repos/linclark/gecko-dev/issues/events{/number}","events_url":"https://api.github.com/repos/linclark/gecko-dev/events","assignees_url":"https://api.github.com/repos/linclark/gecko-dev/assignees{/user}","branches_url":"https://api.github.com/repos/linclark/gecko-dev/branches{/branch}","tags_url":"https://api.github.com/repos/linclark/gecko-dev/tags","blobs_url":"https://api.github.com/repos/linclark/gecko-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linclark/gecko-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linclark/gecko-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/linclark/gecko-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linclark/gecko-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/linclark/gecko-dev/languages","stargazers_url":"https://api.github.com/repos/linclark/gecko-dev/stargazers","contributors_url":"https://api.github.com/repos/linclark/gecko-dev/contributors","subscribers_url":"https://api.github.com/repos/linclark/gecko-dev/subscribers","subscription_url":"https://api.github.com/repos/linclark/gecko-dev/subscription","commits_url":"https://api.github.com/repos/linclark/gecko-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/linclark/gecko-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/linclark/gecko-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/linclark/gecko-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/linclark/gecko-dev/contents/{+path}","compare_url":"https://api.github.com/repos/linclark/gecko-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linclark/gecko-dev/merges","archive_url":"https://api.github.com/repos/linclark/gecko-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linclark/gecko-dev/downloads","issues_url":"https://api.github.com/repos/linclark/gecko-dev/issues{/number}","pulls_url":"https://api.github.com/repos/linclark/gecko-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/linclark/gecko-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/linclark/gecko-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linclark/gecko-dev/labels{/name}","releases_url":"https://api.github.com/repos/linclark/gecko-dev/releases{/id}","deployments_url":"https://api.github.com/repos/linclark/gecko-dev/deployments","created_at":"2016-02-06T17:52:32Z","updated_at":"2016-02-05T16:19:07Z","pushed_at":"2016-09-30T14:23:52Z","git_url":"git://github.com/linclark/gecko-dev.git","ssh_url":"git@github.com:linclark/gecko-dev.git","clone_url":"https://github.com/linclark/gecko-dev.git","svn_url":"https://github.com/linclark/gecko-dev","homepage":"https://developer.mozilla.org/docs/Introduction","size":2931802,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"console-frontend"}},"base":{"label":"devtools-html:console-frontend","ref":"console-frontend","sha":"793203259296c1793f42503749ecaeceafcd41ea","user":{"login":"devtools-html","id":19979421,"avatar_url":"https://avatars.githubusercontent.com/u/19979421?v=3","gravatar_id":"","url":"https://api.github.com/users/devtools-html","html_url":"https://github.com/devtools-html","followers_url":"https://api.github.com/users/devtools-html/followers","following_url":"https://api.github.com/users/devtools-html/following{/other_user}","gists_url":"https://api.github.com/users/devtools-html/gists{/gist_id}","starred_url":"https://api.github.com/users/devtools-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devtools-html/subscriptions","organizations_url":"https://api.github.com/users/devtools-html/orgs","repos_url":"https://api.github.com/users/devtools-html/repos","events_url":"https://api.github.com/users/devtools-html/events{/privacy}","received_events_url":"https://api.github.com/users/devtools-html/received_events","type":"Organization","site_admin":false},"repo":{"id":17458538,"name":"gecko-dev","full_name":"devtools-html/gecko-dev","owner":{"login":"devtools-html","id":19979421,"avatar_url":"https://avatars.githubusercontent.com/u/19979421?v=3","gravatar_id":"","url":"https://api.github.com/users/devtools-html","html_url":"https://github.com/devtools-html","followers_url":"https://api.github.com/users/devtools-html/followers","following_url":"https://api.github.com/users/devtools-html/following{/other_user}","gists_url":"https://api.github.com/users/devtools-html/gists{/gist_id}","starred_url":"https://api.github.com/users/devtools-html/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devtools-html/subscriptions","organizations_url":"https://api.github.com/users/devtools-html/orgs","repos_url":"https://api.github.com/users/devtools-html/repos","events_url":"https://api.github.com/users/devtools-html/events{/privacy}","received_events_url":"https://api.github.com/users/devtools-html/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devtools-html/gecko-dev","description":"The console.html team's fork of Firefox","fork":true,"url":"https://api.github.com/repos/devtools-html/gecko-dev","forks_url":"https://api.github.com/repos/devtools-html/gecko-dev/forks","keys_url":"https://api.github.com/repos/devtools-html/gecko-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devtools-html/gecko-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devtools-html/gecko-dev/teams","hooks_url":"https://api.github.com/repos/devtools-html/gecko-dev/hooks","issue_events_url":"https://api.github.com/repos/devtools-html/gecko-dev/issues/events{/number}","events_url":"https://api.github.com/repos/devtools-html/gecko-dev/events","assignees_url":"https://api.github.com/repos/devtools-html/gecko-dev/assignees{/user}","branches_url":"https://api.github.com/repos/devtools-html/gecko-dev/branches{/branch}","tags_url":"https://api.github.com/repos/devtools-html/gecko-dev/tags","blobs_url":"https://api.github.com/repos/devtools-html/gecko-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devtools-html/gecko-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devtools-html/gecko-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/devtools-html/gecko-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devtools-html/gecko-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/devtools-html/gecko-dev/languages","stargazers_url":"https://api.github.com/repos/devtools-html/gecko-dev/stargazers","contributors_url":"https://api.github.com/repos/devtools-html/gecko-dev/contributors","subscribers_url":"https://api.github.com/repos/devtools-html/gecko-dev/subscribers","subscription_url":"https://api.github.com/repos/devtools-html/gecko-dev/subscription","commits_url":"https://api.github.com/repos/devtools-html/gecko-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/devtools-html/gecko-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/devtools-html/gecko-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/devtools-html/gecko-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/devtools-html/gecko-dev/contents/{+path}","compare_url":"https://api.github.com/repos/devtools-html/gecko-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devtools-html/gecko-dev/merges","archive_url":"https://api.github.com/repos/devtools-html/gecko-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devtools-html/gecko-dev/downloads","issues_url":"https://api.github.com/repos/devtools-html/gecko-dev/issues{/number}","pulls_url":"https://api.github.com/repos/devtools-html/gecko-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/devtools-html/gecko-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/devtools-html/gecko-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devtools-html/gecko-dev/labels{/name}","releases_url":"https://api.github.com/repos/devtools-html/gecko-dev/releases{/id}","deployments_url":"https://api.github.com/repos/devtools-html/gecko-dev/deployments","created_at":"2014-03-05T23:04:14Z","updated_at":"2016-09-30T07:50:07Z","pushed_at":"2016-09-30T14:25:35Z","git_url":"git://github.com/devtools-html/gecko-dev.git","ssh_url":"git@github.com:devtools-html/gecko-dev.git","clone_url":"https://github.com/devtools-html/gecko-dev.git","svn_url":"https://github.com/devtools-html/gecko-dev","homepage":"","size":2822833,"stargazers_count":7,"watchers_count":7,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":76,"forks":4,"open_issues":76,"watchers":7,"default_branch":"console-frontend"}},"_links":{"self":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329"},"html":{"href":"https://github.com/devtools-html/gecko-dev/pull/329"},"issue":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/issues/329"},"comments":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/issues/329/comments"},"review_comments":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329/comments"},"review_comment":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/pulls/329/commits"},"statuses":{"href":"https://api.github.com/repos/devtools-html/gecko-dev/statuses/7c4548e3d5114c2c889ce0077696bd09156e83d1"}}}}
{"actor":{"display_login":"linclark"}}