{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/341913574","pull_request_review_id":310891960,"id":341913574,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0MTkxMzU3NA==","diff_hunk":"@@ -16,149 +16,159 @@\n  * @fileoverview Factory for handling warnings and info messages.\n  */\n \n-angular.module('oppia').factory('AlertsService', ['$log', function($log) {\n-  var AlertsService = {\n-    /**\n-     * Each element in each of the arrays here is an object with two keys:\n-     *   - type:  a string specifying the type of message or warning.\n-     *            Possible types - \"warning\", \"info\" or \"success\".\n-     *   - content: a string containing the warning or message.\n-     */\n-\n-    /**\n-     * Array of \"warning\" messages.\n-     */\n-    warnings: [],\n-    /**\n-     * Array of \"success\" or \"info\" messages.\n-     */\n-    messages: [],\n-\n-    addWarning: null,\n-    fatalWarning: null,\n-    deleteWarning: null,\n-    clearWarnings: null,\n-    addMessage: null,\n-    deleteMessage: null,\n-    addInfoMessage: null,\n-    addSuccessMessage: null,\n-    clearMessages: null\n-  };\n+import { Injectable } from '@angular/core';\n+import { downgradeInjectable } from '@angular/upgrade/static';\n+\n+import { LoggerService } from 'services/contextual/LoggerService';\n+\n+export interface Warning {\n+  type: string;\n+  content: string;\n+}\n+\n+export interface Message {\n+    type:string;\n+    content:string;\n+    timeout:number;\n+}\n+\n+@Injectable({\n+  providedIn: 'root'\n+})\n+export class AlertsService {\n+  /**\n+   * Each element in each of the arrays here is an object with two keys:\n+   *   - type:  a string specifying the type of message or warning.\n+   *            Possible types - \"warning\", \"info\" or \"success\".\n+   *   - content: a string containing the warning or message.\n+   */\n+\n+  /**\n+   * Array of \"warning\" messages.\n+   */\n+  warnings: Warning[] = new Array<Warning>();\n+  /**\n+   * Array of \"success\" or \"info\" messages.\n+   */\n+  messages: Message[] = new Array<Message>();\n \n   // This is to prevent infinite loops.\n-  var MAX_TOTAL_WARNINGS = 10;\n-  var MAX_TOTAL_MESSAGES = 10;\n+  MAX_TOTAL_WARNINGS: number = 10;\n+  MAX_TOTAL_MESSAGES: number = 10;\n+\n+  constructor(private log: LoggerService) {}\n \n   /**\n    * Adds a warning message.\n    * @param {string} warning - The warning message to display.\n    */\n-  AlertsService.addWarning = function(warning) {\n-    $log.error(warning);\n-    if (AlertsService.warnings.length >= MAX_TOTAL_WARNINGS) {\n+  addWarning(warning: string): void {\n+    this.log.error(warning);\n+    if (this.warnings.length >= this.MAX_TOTAL_WARNINGS) {\n       return;\n     }\n-    AlertsService.warnings.push({\n+    this.warnings.push({\n       type: 'warning',\n       content: warning\n     });\n-  };\n+  }\n \n   /**\n    * Adds a warning in the same way as addWarning(), except it also throws an\n    * exception to cause a hard failure in the frontend.\n    * @param {string} warning - The warning message to display.\n    */\n-  AlertsService.fatalWarning = function(warning) {\n-    AlertsService.addWarning(warning);\n+  fatalWarning(warning: string): Error {\n+    this.addWarning(warning);\n     throw new Error(warning);\n-  };\n+  }\n \n   /**\n    * Deletes the warning from the warnings list.\n    * @param {Object} warningObject - The warning message to be deleted.\n    */\n-  AlertsService.deleteWarning = function(warningObject) {\n-    var warnings = AlertsService.warnings;\n+  deleteWarning(warningObject: Warning): void {\n+    var warnings = this.warnings;\n     var newWarnings = [];\n     for (var i = 0; i < warnings.length; i++) {\n       if (warnings[i].content !== warningObject.content) {\n         newWarnings.push(warnings[i]);\n       }\n     }\n-    AlertsService.warnings = newWarnings;\n-  };\n+    this.warnings = newWarnings;\n+  }\n \n   /**\n    * Clears all warnings.\n    */\n-  AlertsService.clearWarnings = function() {\n-    AlertsService.warnings = [];\n-  };\n+  clearWarnings() {","path":"core/templates/dev/head/services/AlertsService.ts","position":null,"original_position":134,"commit_id":"63421926c511512a45398eaef5f38e28dd95b58c","original_commit_id":"121264ba9fa8700068a05f7bb2c15e4119b29a48","user":{"login":"bansalnitish","id":22434689,"node_id":"MDQ6VXNlcjIyNDM0Njg5","avatar_url":"https://avatars1.githubusercontent.com/u/22434689?v=4","gravatar_id":"","url":"https://api.github.com/users/bansalnitish","html_url":"https://github.com/bansalnitish","followers_url":"https://api.github.com/users/bansalnitish/followers","following_url":"https://api.github.com/users/bansalnitish/following{/other_user}","gists_url":"https://api.github.com/users/bansalnitish/gists{/gist_id}","starred_url":"https://api.github.com/users/bansalnitish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansalnitish/subscriptions","organizations_url":"https://api.github.com/users/bansalnitish/orgs","repos_url":"https://api.github.com/users/bansalnitish/repos","events_url":"https://api.github.com/users/bansalnitish/events{/privacy}","received_events_url":"https://api.github.com/users/bansalnitish/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2019-11-04T06:27:40Z","updated_at":"2019-11-04T06:27:40Z","html_url":"https://github.com/oppia/oppia/pull/7777#discussion_r341913574","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/7777","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/341913574"},"html":{"href":"https://github.com/oppia/oppia/pull/7777#discussion_r341913574"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/7777"}},"in_reply_to_id":341866414},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/7777","id":327931675,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI3OTMxNjc1","html_url":"https://github.com/oppia/oppia/pull/7777","diff_url":"https://github.com/oppia/oppia/pull/7777.diff","patch_url":"https://github.com/oppia/oppia/pull/7777.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/7777","number":7777,"state":"open","locked":false,"title":"Upgrades AlertsService and NormalizeWhiteSpaceFilter to Angular","user":{"login":"bansalnitish","id":22434689,"node_id":"MDQ6VXNlcjIyNDM0Njg5","avatar_url":"https://avatars1.githubusercontent.com/u/22434689?v=4","gravatar_id":"","url":"https://api.github.com/users/bansalnitish","html_url":"https://github.com/bansalnitish","followers_url":"https://api.github.com/users/bansalnitish/followers","following_url":"https://api.github.com/users/bansalnitish/following{/other_user}","gists_url":"https://api.github.com/users/bansalnitish/gists{/gist_id}","starred_url":"https://api.github.com/users/bansalnitish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansalnitish/subscriptions","organizations_url":"https://api.github.com/users/bansalnitish/orgs","repos_url":"https://api.github.com/users/bansalnitish/repos","events_url":"https://api.github.com/users/bansalnitish/events{/privacy}","received_events_url":"https://api.github.com/users/bansalnitish/received_events","type":"User","site_admin":false},"body":"This changes the output of our frontend tests by logging out the warnings in the console which isn't the case with the develop.\r\n\r\n![image](https://user-images.githubusercontent.com/22434689/66775559-f8290180-eee1-11e9-9fbd-9dc09ca4d8a6.png)\r\n\r\nThis happens because I've replaced `$log.error(warning);` with `this.log.warn(warning)` using loggerService which prints the warning using console.log. I've two questions:\r\n1. Do we want this change? -- I'm not sure where and how $log(was built in AngularJS) was logging.\r\n2. We want the output to show as warning right? Since its present in addWarning function. I'm skeptical because we have $log.error in develop and here I'm adding log.warn.\r\n\r\n@kevinlee12 thoughts please?","created_at":"2019-10-14T18:59:15Z","updated_at":"2019-11-04T06:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c3970dd8ada1698beca51b54b45499d8014aed5","assignee":{"login":"DubeySandeep","id":16653571,"node_id":"MDQ6VXNlcjE2NjUzNTcx","avatar_url":"https://avatars0.githubusercontent.com/u/16653571?v=4","gravatar_id":"","url":"https://api.github.com/users/DubeySandeep","html_url":"https://github.com/DubeySandeep","followers_url":"https://api.github.com/users/DubeySandeep/followers","following_url":"https://api.github.com/users/DubeySandeep/following{/other_user}","gists_url":"https://api.github.com/users/DubeySandeep/gists{/gist_id}","starred_url":"https://api.github.com/users/DubeySandeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DubeySandeep/subscriptions","organizations_url":"https://api.github.com/users/DubeySandeep/orgs","repos_url":"https://api.github.com/users/DubeySandeep/repos","events_url":"https://api.github.com/users/DubeySandeep/events{/privacy}","received_events_url":"https://api.github.com/users/DubeySandeep/received_events","type":"User","site_admin":false},"assignees":[{"login":"DubeySandeep","id":16653571,"node_id":"MDQ6VXNlcjE2NjUzNTcx","avatar_url":"https://avatars0.githubusercontent.com/u/16653571?v=4","gravatar_id":"","url":"https://api.github.com/users/DubeySandeep","html_url":"https://github.com/DubeySandeep","followers_url":"https://api.github.com/users/DubeySandeep/followers","following_url":"https://api.github.com/users/DubeySandeep/following{/other_user}","gists_url":"https://api.github.com/users/DubeySandeep/gists{/gist_id}","starred_url":"https://api.github.com/users/DubeySandeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DubeySandeep/subscriptions","organizations_url":"https://api.github.com/users/DubeySandeep/orgs","repos_url":"https://api.github.com/users/DubeySandeep/repos","events_url":"https://api.github.com/users/DubeySandeep/events{/privacy}","received_events_url":"https://api.github.com/users/DubeySandeep/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1227723564,"node_id":"MDU6TGFiZWwxMjI3NzIzNTY0","url":"https://api.github.com/repos/oppia/oppia/labels/CHANGELOG:%20Development%20workflow","name":"CHANGELOG: Development workflow","color":"1fe2e2","default":false},{"id":1606672500,"node_id":"MDU6TGFiZWwxNjA2NjcyNTAw","url":"https://api.github.com/repos/oppia/oppia/labels/PROJECT:%20Angular%20Migration%20--%20@bansalnitish","name":"PROJECT: Angular Migration -- @bansalnitish","color":"854ace","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/7777/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/7777/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/7777/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/63421926c511512a45398eaef5f38e28dd95b58c","head":{"label":"bansalnitish:alert","ref":"alert","sha":"63421926c511512a45398eaef5f38e28dd95b58c","user":{"login":"bansalnitish","id":22434689,"node_id":"MDQ6VXNlcjIyNDM0Njg5","avatar_url":"https://avatars1.githubusercontent.com/u/22434689?v=4","gravatar_id":"","url":"https://api.github.com/users/bansalnitish","html_url":"https://github.com/bansalnitish","followers_url":"https://api.github.com/users/bansalnitish/followers","following_url":"https://api.github.com/users/bansalnitish/following{/other_user}","gists_url":"https://api.github.com/users/bansalnitish/gists{/gist_id}","starred_url":"https://api.github.com/users/bansalnitish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansalnitish/subscriptions","organizations_url":"https://api.github.com/users/bansalnitish/orgs","repos_url":"https://api.github.com/users/bansalnitish/repos","events_url":"https://api.github.com/users/bansalnitish/events{/privacy}","received_events_url":"https://api.github.com/users/bansalnitish/received_events","type":"User","site_admin":false},"repo":{"id":118839208,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg4MzkyMDg=","name":"oppia","full_name":"bansalnitish/oppia","private":false,"owner":{"login":"bansalnitish","id":22434689,"node_id":"MDQ6VXNlcjIyNDM0Njg5","avatar_url":"https://avatars1.githubusercontent.com/u/22434689?v=4","gravatar_id":"","url":"https://api.github.com/users/bansalnitish","html_url":"https://github.com/bansalnitish","followers_url":"https://api.github.com/users/bansalnitish/followers","following_url":"https://api.github.com/users/bansalnitish/following{/other_user}","gists_url":"https://api.github.com/users/bansalnitish/gists{/gist_id}","starred_url":"https://api.github.com/users/bansalnitish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bansalnitish/subscriptions","organizations_url":"https://api.github.com/users/bansalnitish/orgs","repos_url":"https://api.github.com/users/bansalnitish/repos","events_url":"https://api.github.com/users/bansalnitish/events{/privacy}","received_events_url":"https://api.github.com/users/bansalnitish/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bansalnitish/oppia","description":"Tool for collaboratively building interactive lessons.","fork":true,"url":"https://api.github.com/repos/bansalnitish/oppia","forks_url":"https://api.github.com/repos/bansalnitish/oppia/forks","keys_url":"https://api.github.com/repos/bansalnitish/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bansalnitish/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bansalnitish/oppia/teams","hooks_url":"https://api.github.com/repos/bansalnitish/oppia/hooks","issue_events_url":"https://api.github.com/repos/bansalnitish/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/bansalnitish/oppia/events","assignees_url":"https://api.github.com/repos/bansalnitish/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/bansalnitish/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/bansalnitish/oppia/tags","blobs_url":"https://api.github.com/repos/bansalnitish/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bansalnitish/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bansalnitish/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/bansalnitish/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bansalnitish/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/bansalnitish/oppia/languages","stargazers_url":"https://api.github.com/repos/bansalnitish/oppia/stargazers","contributors_url":"https://api.github.com/repos/bansalnitish/oppia/contributors","subscribers_url":"https://api.github.com/repos/bansalnitish/oppia/subscribers","subscription_url":"https://api.github.com/repos/bansalnitish/oppia/subscription","commits_url":"https://api.github.com/repos/bansalnitish/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/bansalnitish/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/bansalnitish/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/bansalnitish/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/bansalnitish/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/bansalnitish/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bansalnitish/oppia/merges","archive_url":"https://api.github.com/repos/bansalnitish/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bansalnitish/oppia/downloads","issues_url":"https://api.github.com/repos/bansalnitish/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/bansalnitish/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/bansalnitish/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/bansalnitish/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bansalnitish/oppia/labels{/name}","releases_url":"https://api.github.com/repos/bansalnitish/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/bansalnitish/oppia/deployments","created_at":"2018-01-25T00:19:07Z","updated_at":"2019-11-04T06:09:32Z","pushed_at":"2019-11-04T06:26:34Z","git_url":"git://github.com/bansalnitish/oppia.git","ssh_url":"git@github.com:bansalnitish/oppia.git","clone_url":"https://github.com/bansalnitish/oppia.git","svn_url":"https://github.com/bansalnitish/oppia","homepage":"https://www.oppia.org","size":126014,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"351d8405b2473a680d72b2267221238a877abeba","user":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"node_id":"MDEwOlJlcG9zaXRvcnk0MDY4NzU2Mw==","name":"oppia","full_name":"oppia/oppia","private":false,"owner":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2019-11-04T05:24:43Z","pushed_at":"2019-11-04T06:26:37Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":127147,"stargazers_count":1146,"watchers_count":1146,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1149,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":588,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1149,"open_issues":588,"watchers":1146,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/7777"},"html":{"href":"https://github.com/oppia/oppia/pull/7777"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/7777"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/7777/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/7777/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/7777/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/63421926c511512a45398eaef5f38e28dd95b58c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bansalnitish"}}