{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/comments/84566664","pull_request_review_id":5340201,"id":84566664,"diff_hunk":"@@ -0,0 +1,64 @@\n+/**\n+ * @license\n+ * Copyright 2016 Google Inc. All rights reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+'use strict';\n+\n+const log = require('./lib/log.js');\n+\n+class Progress {\n+  /**\n+   * @param {function(string, string)} callback\n+   */\n+  constructor(callback) {\n+    this._callback = callback;\n+    this._isCanceled = false;\n+  }\n+\n+  cancel() {\n+    this._isCanceled = true;\n+  }\n+\n+  /**\n+   * @param {string} title\n+   * @param {string} subtitle\n+   * @param {boolean} verbose\n+   */\n+  updateStatus(title, subtitle, verbose) {\n+    log[verbose ? 'verbose' : 'log']('status', title, subtitle);","path":"lighthouse-core/progress.js","position":41,"original_position":41,"commit_id":"0dd547228de62890b7a4cb70f90710b90a5de9bd","original_commit_id":"0dd547228de62890b7a4cb70f90710b90a5de9bd","user":{"login":"paulirish","id":39191,"avatar_url":"https://avatars.githubusercontent.com/u/39191?v=3","gravatar_id":"","url":"https://api.github.com/users/paulirish","html_url":"https://github.com/paulirish","followers_url":"https://api.github.com/users/paulirish/followers","following_url":"https://api.github.com/users/paulirish/following{/other_user}","gists_url":"https://api.github.com/users/paulirish/gists{/gist_id}","starred_url":"https://api.github.com/users/paulirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulirish/subscriptions","organizations_url":"https://api.github.com/users/paulirish/orgs","repos_url":"https://api.github.com/users/paulirish/repos","events_url":"https://api.github.com/users/paulirish/events{/privacy}","received_events_url":"https://api.github.com/users/paulirish/received_events","type":"User","site_admin":false},"body":"need to handle subtitle if undefined:\r\n![image](https://cloud.githubusercontent.com/assets/39191/19615802/42ebeb2e-97ba-11e6-9188-9ddb733b4683.png)\r\n","created_at":"2016-10-22T01:14:53Z","updated_at":"2016-10-22T01:14:53Z","html_url":"https://github.com/GoogleChrome/lighthouse/pull/815#discussion_r84566664","pull_request_url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815","_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/comments/84566664"},"html":{"href":"https://github.com/GoogleChrome/lighthouse/pull/815#discussion_r84566664"},"pull_request":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815","id":90463670,"html_url":"https://github.com/GoogleChrome/lighthouse/pull/815","diff_url":"https://github.com/GoogleChrome/lighthouse/pull/815.diff","patch_url":"https://github.com/GoogleChrome/lighthouse/pull/815.patch","issue_url":"https://api.github.com/repos/GoogleChrome/lighthouse/issues/815","number":815,"state":"open","locked":false,"title":"Introduce progress monitor","user":{"login":"pavelfeldman","id":883973,"avatar_url":"https://avatars.githubusercontent.com/u/883973?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelfeldman","html_url":"https://github.com/pavelfeldman","followers_url":"https://api.github.com/users/pavelfeldman/followers","following_url":"https://api.github.com/users/pavelfeldman/following{/other_user}","gists_url":"https://api.github.com/users/pavelfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelfeldman/subscriptions","organizations_url":"https://api.github.com/users/pavelfeldman/orgs","repos_url":"https://api.github.com/users/pavelfeldman/repos","events_url":"https://api.github.com/users/pavelfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/pavelfeldman/received_events","type":"User","site_admin":false},"body":"This is a strawman proposal for the issue #797.","created_at":"2016-10-22T00:42:14Z","updated_at":"2016-10-22T01:14:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86c73f871cd9e1a5e866e3698107ebfbe466b36a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815/commits","review_comments_url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815/comments","review_comment_url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleChrome/lighthouse/issues/815/comments","statuses_url":"https://api.github.com/repos/GoogleChrome/lighthouse/statuses/0dd547228de62890b7a4cb70f90710b90a5de9bd","head":{"label":"pavelfeldman:progress_2","ref":"progress_2","sha":"0dd547228de62890b7a4cb70f90710b90a5de9bd","user":{"login":"pavelfeldman","id":883973,"avatar_url":"https://avatars.githubusercontent.com/u/883973?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelfeldman","html_url":"https://github.com/pavelfeldman","followers_url":"https://api.github.com/users/pavelfeldman/followers","following_url":"https://api.github.com/users/pavelfeldman/following{/other_user}","gists_url":"https://api.github.com/users/pavelfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelfeldman/subscriptions","organizations_url":"https://api.github.com/users/pavelfeldman/orgs","repos_url":"https://api.github.com/users/pavelfeldman/repos","events_url":"https://api.github.com/users/pavelfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/pavelfeldman/received_events","type":"User","site_admin":false},"repo":{"id":71307253,"name":"lighthouse","full_name":"pavelfeldman/lighthouse","owner":{"login":"pavelfeldman","id":883973,"avatar_url":"https://avatars.githubusercontent.com/u/883973?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelfeldman","html_url":"https://github.com/pavelfeldman","followers_url":"https://api.github.com/users/pavelfeldman/followers","following_url":"https://api.github.com/users/pavelfeldman/following{/other_user}","gists_url":"https://api.github.com/users/pavelfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelfeldman/subscriptions","organizations_url":"https://api.github.com/users/pavelfeldman/orgs","repos_url":"https://api.github.com/users/pavelfeldman/repos","events_url":"https://api.github.com/users/pavelfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/pavelfeldman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pavelfeldman/lighthouse","description":"auditing and performance metrics for Progressive Web Apps","fork":true,"url":"https://api.github.com/repos/pavelfeldman/lighthouse","forks_url":"https://api.github.com/repos/pavelfeldman/lighthouse/forks","keys_url":"https://api.github.com/repos/pavelfeldman/lighthouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pavelfeldman/lighthouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pavelfeldman/lighthouse/teams","hooks_url":"https://api.github.com/repos/pavelfeldman/lighthouse/hooks","issue_events_url":"https://api.github.com/repos/pavelfeldman/lighthouse/issues/events{/number}","events_url":"https://api.github.com/repos/pavelfeldman/lighthouse/events","assignees_url":"https://api.github.com/repos/pavelfeldman/lighthouse/assignees{/user}","branches_url":"https://api.github.com/repos/pavelfeldman/lighthouse/branches{/branch}","tags_url":"https://api.github.com/repos/pavelfeldman/lighthouse/tags","blobs_url":"https://api.github.com/repos/pavelfeldman/lighthouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pavelfeldman/lighthouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pavelfeldman/lighthouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/pavelfeldman/lighthouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pavelfeldman/lighthouse/statuses/{sha}","languages_url":"https://api.github.com/repos/pavelfeldman/lighthouse/languages","stargazers_url":"https://api.github.com/repos/pavelfeldman/lighthouse/stargazers","contributors_url":"https://api.github.com/repos/pavelfeldman/lighthouse/contributors","subscribers_url":"https://api.github.com/repos/pavelfeldman/lighthouse/subscribers","subscription_url":"https://api.github.com/repos/pavelfeldman/lighthouse/subscription","commits_url":"https://api.github.com/repos/pavelfeldman/lighthouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/pavelfeldman/lighthouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/pavelfeldman/lighthouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/pavelfeldman/lighthouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/pavelfeldman/lighthouse/contents/{+path}","compare_url":"https://api.github.com/repos/pavelfeldman/lighthouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pavelfeldman/lighthouse/merges","archive_url":"https://api.github.com/repos/pavelfeldman/lighthouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pavelfeldman/lighthouse/downloads","issues_url":"https://api.github.com/repos/pavelfeldman/lighthouse/issues{/number}","pulls_url":"https://api.github.com/repos/pavelfeldman/lighthouse/pulls{/number}","milestones_url":"https://api.github.com/repos/pavelfeldman/lighthouse/milestones{/number}","notifications_url":"https://api.github.com/repos/pavelfeldman/lighthouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pavelfeldman/lighthouse/labels{/name}","releases_url":"https://api.github.com/repos/pavelfeldman/lighthouse/releases{/id}","deployments_url":"https://api.github.com/repos/pavelfeldman/lighthouse/deployments","created_at":"2016-10-19T01:36:09Z","updated_at":"2016-10-19T01:36:11Z","pushed_at":"2016-10-22T00:58:12Z","git_url":"git://github.com/pavelfeldman/lighthouse.git","ssh_url":"git@github.com:pavelfeldman/lighthouse.git","clone_url":"https://github.com/pavelfeldman/lighthouse.git","svn_url":"https://github.com/pavelfeldman/lighthouse","homepage":"","size":8144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleChrome:master","ref":"master","sha":"1cce0ab7a627063f7d6bd0e930f46c9d83570b42","user":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"repo":{"id":53370988,"name":"lighthouse","full_name":"GoogleChrome/lighthouse","owner":{"login":"GoogleChrome","id":1778935,"avatar_url":"https://avatars.githubusercontent.com/u/1778935?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleChrome","html_url":"https://github.com/GoogleChrome","followers_url":"https://api.github.com/users/GoogleChrome/followers","following_url":"https://api.github.com/users/GoogleChrome/following{/other_user}","gists_url":"https://api.github.com/users/GoogleChrome/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleChrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleChrome/subscriptions","organizations_url":"https://api.github.com/users/GoogleChrome/orgs","repos_url":"https://api.github.com/users/GoogleChrome/repos","events_url":"https://api.github.com/users/GoogleChrome/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleChrome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleChrome/lighthouse","description":"auditing and performance metrics for Progressive Web Apps","fork":false,"url":"https://api.github.com/repos/GoogleChrome/lighthouse","forks_url":"https://api.github.com/repos/GoogleChrome/lighthouse/forks","keys_url":"https://api.github.com/repos/GoogleChrome/lighthouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleChrome/lighthouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleChrome/lighthouse/teams","hooks_url":"https://api.github.com/repos/GoogleChrome/lighthouse/hooks","issue_events_url":"https://api.github.com/repos/GoogleChrome/lighthouse/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleChrome/lighthouse/events","assignees_url":"https://api.github.com/repos/GoogleChrome/lighthouse/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleChrome/lighthouse/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleChrome/lighthouse/tags","blobs_url":"https://api.github.com/repos/GoogleChrome/lighthouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleChrome/lighthouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleChrome/lighthouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleChrome/lighthouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleChrome/lighthouse/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleChrome/lighthouse/languages","stargazers_url":"https://api.github.com/repos/GoogleChrome/lighthouse/stargazers","contributors_url":"https://api.github.com/repos/GoogleChrome/lighthouse/contributors","subscribers_url":"https://api.github.com/repos/GoogleChrome/lighthouse/subscribers","subscription_url":"https://api.github.com/repos/GoogleChrome/lighthouse/subscription","commits_url":"https://api.github.com/repos/GoogleChrome/lighthouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleChrome/lighthouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleChrome/lighthouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleChrome/lighthouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleChrome/lighthouse/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleChrome/lighthouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleChrome/lighthouse/merges","archive_url":"https://api.github.com/repos/GoogleChrome/lighthouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleChrome/lighthouse/downloads","issues_url":"https://api.github.com/repos/GoogleChrome/lighthouse/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleChrome/lighthouse/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleChrome/lighthouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleChrome/lighthouse/labels{/name}","releases_url":"https://api.github.com/repos/GoogleChrome/lighthouse/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleChrome/lighthouse/deployments","created_at":"2016-03-08T01:03:11Z","updated_at":"2016-10-21T23:01:06Z","pushed_at":"2016-10-22T01:00:53Z","git_url":"git://github.com/GoogleChrome/lighthouse.git","ssh_url":"git@github.com:GoogleChrome/lighthouse.git","clone_url":"https://github.com/GoogleChrome/lighthouse.git","svn_url":"https://github.com/GoogleChrome/lighthouse","homepage":"","size":10273,"stargazers_count":2771,"watchers_count":2771,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":97,"forks":114,"open_issues":97,"watchers":2771,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815"},"html":{"href":"https://github.com/GoogleChrome/lighthouse/pull/815"},"issue":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/issues/815"},"comments":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/issues/815/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/pulls/815/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleChrome/lighthouse/statuses/0dd547228de62890b7a4cb70f90710b90a5de9bd"}}}}
{"actor":{"display_login":"paulirish"}}