{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/199287616","pull_request_review_id":133386886,"id":199287616,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTI4NzYxNg==","diff_hunk":"@@ -0,0 +1,40 @@\n+// Copyright 2018 The Oppia Authors. 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+ * @fileoverview Directive for the state translation status graph.\n+ */\n+\n+oppia.directive('stateTranslationStatusGraph', [\n+  'UrlInterpolationService', function(UrlInterpolationService) {\n+    return {\n+      restrict: 'E',\n+      scope: {},\n+      templateUrl: UrlInterpolationService.getDirectiveTemplateUrl(\n+        '/pages/exploration_editor/translation_tab/' +\n+        'state_translation_status_graph_directive.html'),\n+      controller: [\n+        '$scope', 'GraphDataService', 'EditorStateService', function(\n+            $scope, GraphDataService, EditorStateService) {\n+          $scope.getGraphData = GraphDataService.getGraphData;\n+          $scope.getActiveStateName = function() {\n+            return EditorStateService.getActiveStateName();\n+          };\n+          $scope.onClickStateInMap = function() {\n+            EditorStateService.setActiveStateName(newStateName);","path":"core/templates/dev/head/pages/exploration_editor/translation_tab/StateTranslationStatusGraphDirective.js","position":null,"original_position":35,"commit_id":"afb5aa4f6b313ab3c996690071d06cf20913fbca","original_commit_id":"bc32237681f1d41aa08bb1815ee9e7b306842dcb","user":{"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},"body":"Done!","created_at":"2018-06-29T21:45:59Z","updated_at":"2018-06-29T21:45:59Z","html_url":"https://github.com/oppia/oppia/pull/5163#discussion_r199287616","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/5163","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/199287616"},"html":{"href":"https://github.com/oppia/oppia/pull/5163#discussion_r199287616"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5163"}},"in_reply_to_id":199284841},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/5163","id":197985834,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3OTg1ODM0","html_url":"https://github.com/oppia/oppia/pull/5163","diff_url":"https://github.com/oppia/oppia/pull/5163.diff","patch_url":"https://github.com/oppia/oppia/pull/5163.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/5163","number":5163,"state":"open","locked":false,"title":"Milestone 2.3: Lesson translation dashboard.","user":{"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},"body":"<!--\r\n  - Thanks for submitting code to Oppia! Please fill out the following as part of\r\n  - your pull request so we can review your code more easily.\r\n  -->\r\n\r\n## Explanation\r\n- [x] Adds graph to translation tab.","created_at":"2018-06-28T10:30:50Z","updated_at":"2018-06-29T21:45:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f42512bbb1d2080728414c47c33cfa2c13b398f","assignee":{"login":"tjiang11","id":11807091,"node_id":"MDQ6VXNlcjExODA3MDkx","avatar_url":"https://avatars2.githubusercontent.com/u/11807091?v=4","gravatar_id":"","url":"https://api.github.com/users/tjiang11","html_url":"https://github.com/tjiang11","followers_url":"https://api.github.com/users/tjiang11/followers","following_url":"https://api.github.com/users/tjiang11/following{/other_user}","gists_url":"https://api.github.com/users/tjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/tjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjiang11/subscriptions","organizations_url":"https://api.github.com/users/tjiang11/orgs","repos_url":"https://api.github.com/users/tjiang11/repos","events_url":"https://api.github.com/users/tjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/tjiang11/received_events","type":"User","site_admin":false},"assignees":[{"login":"tjiang11","id":11807091,"node_id":"MDQ6VXNlcjExODA3MDkx","avatar_url":"https://avatars2.githubusercontent.com/u/11807091?v=4","gravatar_id":"","url":"https://api.github.com/users/tjiang11","html_url":"https://github.com/tjiang11","followers_url":"https://api.github.com/users/tjiang11/followers","following_url":"https://api.github.com/users/tjiang11/following{/other_user}","gists_url":"https://api.github.com/users/tjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/tjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjiang11/subscriptions","organizations_url":"https://api.github.com/users/tjiang11/orgs","repos_url":"https://api.github.com/users/tjiang11/repos","events_url":"https://api.github.com/users/tjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/tjiang11/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/5163/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/5163/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/5163/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/afb5aa4f6b313ab3c996690071d06cf20913fbca","head":{"label":"DubeySandeep:Milestone2.3","ref":"Milestone2.3","sha":"afb5aa4f6b313ab3c996690071d06cf20913fbca","user":{"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},"repo":{"id":78669827,"node_id":"MDEwOlJlcG9zaXRvcnk3ODY2OTgyNw==","name":"oppia","full_name":"DubeySandeep/oppia","owner":{"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},"private":false,"html_url":"https://github.com/DubeySandeep/oppia","description":"Tool for collaboratively building interactive lessons.","fork":true,"url":"https://api.github.com/repos/DubeySandeep/oppia","forks_url":"https://api.github.com/repos/DubeySandeep/oppia/forks","keys_url":"https://api.github.com/repos/DubeySandeep/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DubeySandeep/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DubeySandeep/oppia/teams","hooks_url":"https://api.github.com/repos/DubeySandeep/oppia/hooks","issue_events_url":"https://api.github.com/repos/DubeySandeep/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/DubeySandeep/oppia/events","assignees_url":"https://api.github.com/repos/DubeySandeep/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/DubeySandeep/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/DubeySandeep/oppia/tags","blobs_url":"https://api.github.com/repos/DubeySandeep/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DubeySandeep/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DubeySandeep/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/DubeySandeep/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DubeySandeep/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/DubeySandeep/oppia/languages","stargazers_url":"https://api.github.com/repos/DubeySandeep/oppia/stargazers","contributors_url":"https://api.github.com/repos/DubeySandeep/oppia/contributors","subscribers_url":"https://api.github.com/repos/DubeySandeep/oppia/subscribers","subscription_url":"https://api.github.com/repos/DubeySandeep/oppia/subscription","commits_url":"https://api.github.com/repos/DubeySandeep/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/DubeySandeep/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/DubeySandeep/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/DubeySandeep/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/DubeySandeep/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/DubeySandeep/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DubeySandeep/oppia/merges","archive_url":"https://api.github.com/repos/DubeySandeep/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DubeySandeep/oppia/downloads","issues_url":"https://api.github.com/repos/DubeySandeep/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/DubeySandeep/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/DubeySandeep/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/DubeySandeep/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DubeySandeep/oppia/labels{/name}","releases_url":"https://api.github.com/repos/DubeySandeep/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/DubeySandeep/oppia/deployments","created_at":"2017-01-11T19:02:04Z","updated_at":"2018-04-20T22:08:45Z","pushed_at":"2018-06-29T21:45:17Z","git_url":"git://github.com/DubeySandeep/oppia.git","ssh_url":"git@github.com:DubeySandeep/oppia.git","clone_url":"https://github.com/DubeySandeep/oppia.git","svn_url":"https://github.com/DubeySandeep/oppia","homepage":"https://www.oppia.org","size":104175,"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":0,"mirror_url":null,"archived":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":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"140687f35cfe7e7e60275c609c2515c195776eec","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","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},"private":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":"2018-06-29T11:59:21Z","pushed_at":"2018-06-29T21:45:19Z","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":104674,"stargazers_count":681,"watchers_count":681,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":652,"mirror_url":null,"archived":false,"open_issues_count":331,"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":652,"open_issues":331,"watchers":681,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5163"},"html":{"href":"https://github.com/oppia/oppia/pull/5163"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/5163"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/5163/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5163/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5163/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/afb5aa4f6b313ab3c996690071d06cf20913fbca"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"DubeySandeep"}}