{"action":"created","comment":{"url":"https://api.github.com/repos/witty123/gitdash/pulls/comments/76530804","id":76530804,"diff_hunk":"@@ -0,0 +1,200 @@\n+'use strict';\n+\n+// Register `activityGraph` component, along with its associated controller and\n+// template\n+angular.\n+  module('activityGraph').\n+  component('activityGraph', {\n+    templateUrl: 'activity-graph/template.html',\n+    controller: ['$scope', '$http', 'activitiesSearch', \n+    function ActivityGraphController($scope, $http, activitiesSearch) {\n+      $scope.options = {\n+            chart: {\n+                type: 'stackedAreaChart',\n+                height: 450,\n+                margin : {\n+                    top: 20,\n+                    right: 20,\n+                    bottom: 30,\n+                    left: 40\n+                },\n+                x: function(d){return d[0];},\n+                y: function(d){return d[1];},\n+                useVoronoi: false,\n+                clipEdge: true,\n+                duration: 100,\n+                useInteractiveGuideline: true,\n+                xAxis: {\n+                    showMaxMin: false,\n+                    tickFormat: function(d) {\n+                        return d3.time.format('%x')(new Date(d));\n+                    }\n+                },\n+                yAxis: {\n+                    tickFormat: function(d){\n+                        return d3.format(',.2f')(d);\n+                    }\n+                },\n+                zoom: {\n+                    enabled: true,\n+                    scaleExtent: [1, 10],\n+                    useFixedDomain: false,\n+                    useNiceScale: false,\n+                    horizontalOff: false,\n+                    verticalOff: true,\n+                    unzoomEventType: 'dblclick.zoom'\n+                }\n+            }\n+        };\n+\n+        $scope.data = [","path":"app/components/activity-graph/component.js","position":50,"original_position":50,"commit_id":"ec9a8980d30a7e6927b057fd618b598674cad352","original_commit_id":"ec9a8980d30a7e6927b057fd618b598674cad352","user":{"login":"shreedharshetty","id":1021966,"avatar_url":"https://avatars.githubusercontent.com/u/1021966?v=3","gravatar_id":"","url":"https://api.github.com/users/shreedharshetty","html_url":"https://github.com/shreedharshetty","followers_url":"https://api.github.com/users/shreedharshetty/followers","following_url":"https://api.github.com/users/shreedharshetty/following{/other_user}","gists_url":"https://api.github.com/users/shreedharshetty/gists{/gist_id}","starred_url":"https://api.github.com/users/shreedharshetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreedharshetty/subscriptions","organizations_url":"https://api.github.com/users/shreedharshetty/orgs","repos_url":"https://api.github.com/users/shreedharshetty/repos","events_url":"https://api.github.com/users/shreedharshetty/events{/privacy}","received_events_url":"https://api.github.com/users/shreedharshetty/received_events","type":"User","site_admin":false},"body":"What is this? Please move them to constant, if this data is not being updated by someone!","created_at":"2016-08-28T12:08:29Z","updated_at":"2016-08-28T12:08:29Z","html_url":"https://github.com/witty123/gitdash/pull/9#discussion_r76530804","pull_request_url":"https://api.github.com/repos/witty123/gitdash/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/witty123/gitdash/pulls/comments/76530804"},"html":{"href":"https://github.com/witty123/gitdash/pull/9#discussion_r76530804"},"pull_request":{"href":"https://api.github.com/repos/witty123/gitdash/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/witty123/gitdash/pulls/9","id":83010372,"html_url":"https://github.com/witty123/gitdash/pull/9","diff_url":"https://github.com/witty123/gitdash/pull/9.diff","patch_url":"https://github.com/witty123/gitdash/pull/9.patch","issue_url":"https://api.github.com/repos/witty123/gitdash/issues/9","number":9,"state":"open","locked":false,"title":"added extra feature for tracking activities","user":{"login":"witty123","id":7976098,"avatar_url":"https://avatars.githubusercontent.com/u/7976098?v=3","gravatar_id":"","url":"https://api.github.com/users/witty123","html_url":"https://github.com/witty123","followers_url":"https://api.github.com/users/witty123/followers","following_url":"https://api.github.com/users/witty123/following{/other_user}","gists_url":"https://api.github.com/users/witty123/gists{/gist_id}","starred_url":"https://api.github.com/users/witty123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witty123/subscriptions","organizations_url":"https://api.github.com/users/witty123/orgs","repos_url":"https://api.github.com/users/witty123/repos","events_url":"https://api.github.com/users/witty123/events{/privacy}","received_events_url":"https://api.github.com/users/witty123/received_events","type":"User","site_admin":false},"body":"WHAT:\r\nAdded an extra chart for tracking last months activities\r\nWHY:\r\nTo add more feature sets","created_at":"2016-08-28T09:05:12Z","updated_at":"2016-08-28T12:08:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85b8a4135c8f3a0a6e6d58f029320427cb011923","assignee":{"login":"shreedharshetty","id":1021966,"avatar_url":"https://avatars.githubusercontent.com/u/1021966?v=3","gravatar_id":"","url":"https://api.github.com/users/shreedharshetty","html_url":"https://github.com/shreedharshetty","followers_url":"https://api.github.com/users/shreedharshetty/followers","following_url":"https://api.github.com/users/shreedharshetty/following{/other_user}","gists_url":"https://api.github.com/users/shreedharshetty/gists{/gist_id}","starred_url":"https://api.github.com/users/shreedharshetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreedharshetty/subscriptions","organizations_url":"https://api.github.com/users/shreedharshetty/orgs","repos_url":"https://api.github.com/users/shreedharshetty/repos","events_url":"https://api.github.com/users/shreedharshetty/events{/privacy}","received_events_url":"https://api.github.com/users/shreedharshetty/received_events","type":"User","site_admin":false},"assignees":[{"login":"shreedharshetty","id":1021966,"avatar_url":"https://avatars.githubusercontent.com/u/1021966?v=3","gravatar_id":"","url":"https://api.github.com/users/shreedharshetty","html_url":"https://github.com/shreedharshetty","followers_url":"https://api.github.com/users/shreedharshetty/followers","following_url":"https://api.github.com/users/shreedharshetty/following{/other_user}","gists_url":"https://api.github.com/users/shreedharshetty/gists{/gist_id}","starred_url":"https://api.github.com/users/shreedharshetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreedharshetty/subscriptions","organizations_url":"https://api.github.com/users/shreedharshetty/orgs","repos_url":"https://api.github.com/users/shreedharshetty/repos","events_url":"https://api.github.com/users/shreedharshetty/events{/privacy}","received_events_url":"https://api.github.com/users/shreedharshetty/received_events","type":"User","site_admin":false},{"login":"witty123","id":7976098,"avatar_url":"https://avatars.githubusercontent.com/u/7976098?v=3","gravatar_id":"","url":"https://api.github.com/users/witty123","html_url":"https://github.com/witty123","followers_url":"https://api.github.com/users/witty123/followers","following_url":"https://api.github.com/users/witty123/following{/other_user}","gists_url":"https://api.github.com/users/witty123/gists{/gist_id}","starred_url":"https://api.github.com/users/witty123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witty123/subscriptions","organizations_url":"https://api.github.com/users/witty123/orgs","repos_url":"https://api.github.com/users/witty123/repos","events_url":"https://api.github.com/users/witty123/events{/privacy}","received_events_url":"https://api.github.com/users/witty123/received_events","type":"User","site_admin":false},{"login":"gautamvij","id":11849186,"avatar_url":"https://avatars.githubusercontent.com/u/11849186?v=3","gravatar_id":"","url":"https://api.github.com/users/gautamvij","html_url":"https://github.com/gautamvij","followers_url":"https://api.github.com/users/gautamvij/followers","following_url":"https://api.github.com/users/gautamvij/following{/other_user}","gists_url":"https://api.github.com/users/gautamvij/gists{/gist_id}","starred_url":"https://api.github.com/users/gautamvij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautamvij/subscriptions","organizations_url":"https://api.github.com/users/gautamvij/orgs","repos_url":"https://api.github.com/users/gautamvij/repos","events_url":"https://api.github.com/users/gautamvij/events{/privacy}","received_events_url":"https://api.github.com/users/gautamvij/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/witty123/gitdash/pulls/9/commits","review_comments_url":"https://api.github.com/repos/witty123/gitdash/pulls/9/comments","review_comment_url":"https://api.github.com/repos/witty123/gitdash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/witty123/gitdash/issues/9/comments","statuses_url":"https://api.github.com/repos/witty123/gitdash/statuses/ec9a8980d30a7e6927b057fd618b598674cad352","head":{"label":"witty123:stacked_area_chart_feature","ref":"stacked_area_chart_feature","sha":"ec9a8980d30a7e6927b057fd618b598674cad352","user":{"login":"witty123","id":7976098,"avatar_url":"https://avatars.githubusercontent.com/u/7976098?v=3","gravatar_id":"","url":"https://api.github.com/users/witty123","html_url":"https://github.com/witty123","followers_url":"https://api.github.com/users/witty123/followers","following_url":"https://api.github.com/users/witty123/following{/other_user}","gists_url":"https://api.github.com/users/witty123/gists{/gist_id}","starred_url":"https://api.github.com/users/witty123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witty123/subscriptions","organizations_url":"https://api.github.com/users/witty123/orgs","repos_url":"https://api.github.com/users/witty123/repos","events_url":"https://api.github.com/users/witty123/events{/privacy}","received_events_url":"https://api.github.com/users/witty123/received_events","type":"User","site_admin":false},"repo":{"id":65945551,"name":"gitdash","full_name":"witty123/gitdash","owner":{"login":"witty123","id":7976098,"avatar_url":"https://avatars.githubusercontent.com/u/7976098?v=3","gravatar_id":"","url":"https://api.github.com/users/witty123","html_url":"https://github.com/witty123","followers_url":"https://api.github.com/users/witty123/followers","following_url":"https://api.github.com/users/witty123/following{/other_user}","gists_url":"https://api.github.com/users/witty123/gists{/gist_id}","starred_url":"https://api.github.com/users/witty123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witty123/subscriptions","organizations_url":"https://api.github.com/users/witty123/orgs","repos_url":"https://api.github.com/users/witty123/repos","events_url":"https://api.github.com/users/witty123/events{/privacy}","received_events_url":"https://api.github.com/users/witty123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/witty123/gitdash","description":"Dashboard for github","fork":false,"url":"https://api.github.com/repos/witty123/gitdash","forks_url":"https://api.github.com/repos/witty123/gitdash/forks","keys_url":"https://api.github.com/repos/witty123/gitdash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/witty123/gitdash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/witty123/gitdash/teams","hooks_url":"https://api.github.com/repos/witty123/gitdash/hooks","issue_events_url":"https://api.github.com/repos/witty123/gitdash/issues/events{/number}","events_url":"https://api.github.com/repos/witty123/gitdash/events","assignees_url":"https://api.github.com/repos/witty123/gitdash/assignees{/user}","branches_url":"https://api.github.com/repos/witty123/gitdash/branches{/branch}","tags_url":"https://api.github.com/repos/witty123/gitdash/tags","blobs_url":"https://api.github.com/repos/witty123/gitdash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/witty123/gitdash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/witty123/gitdash/git/refs{/sha}","trees_url":"https://api.github.com/repos/witty123/gitdash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/witty123/gitdash/statuses/{sha}","languages_url":"https://api.github.com/repos/witty123/gitdash/languages","stargazers_url":"https://api.github.com/repos/witty123/gitdash/stargazers","contributors_url":"https://api.github.com/repos/witty123/gitdash/contributors","subscribers_url":"https://api.github.com/repos/witty123/gitdash/subscribers","subscription_url":"https://api.github.com/repos/witty123/gitdash/subscription","commits_url":"https://api.github.com/repos/witty123/gitdash/commits{/sha}","git_commits_url":"https://api.github.com/repos/witty123/gitdash/git/commits{/sha}","comments_url":"https://api.github.com/repos/witty123/gitdash/comments{/number}","issue_comment_url":"https://api.github.com/repos/witty123/gitdash/issues/comments{/number}","contents_url":"https://api.github.com/repos/witty123/gitdash/contents/{+path}","compare_url":"https://api.github.com/repos/witty123/gitdash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/witty123/gitdash/merges","archive_url":"https://api.github.com/repos/witty123/gitdash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/witty123/gitdash/downloads","issues_url":"https://api.github.com/repos/witty123/gitdash/issues{/number}","pulls_url":"https://api.github.com/repos/witty123/gitdash/pulls{/number}","milestones_url":"https://api.github.com/repos/witty123/gitdash/milestones{/number}","notifications_url":"https://api.github.com/repos/witty123/gitdash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/witty123/gitdash/labels{/name}","releases_url":"https://api.github.com/repos/witty123/gitdash/releases{/id}","deployments_url":"https://api.github.com/repos/witty123/gitdash/deployments","created_at":"2016-08-17T22:09:18Z","updated_at":"2016-08-17T22:18:15Z","pushed_at":"2016-08-28T10:22:57Z","git_url":"git://github.com/witty123/gitdash.git","ssh_url":"git@github.com:witty123/gitdash.git","clone_url":"https://github.com/witty123/gitdash.git","svn_url":"https://github.com/witty123/gitdash","homepage":null,"size":4482,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"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":"witty123:master","ref":"master","sha":"dce040ab5bc1a9ae5ed51082f9eed1c499f8cdc9","user":{"login":"witty123","id":7976098,"avatar_url":"https://avatars.githubusercontent.com/u/7976098?v=3","gravatar_id":"","url":"https://api.github.com/users/witty123","html_url":"https://github.com/witty123","followers_url":"https://api.github.com/users/witty123/followers","following_url":"https://api.github.com/users/witty123/following{/other_user}","gists_url":"https://api.github.com/users/witty123/gists{/gist_id}","starred_url":"https://api.github.com/users/witty123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witty123/subscriptions","organizations_url":"https://api.github.com/users/witty123/orgs","repos_url":"https://api.github.com/users/witty123/repos","events_url":"https://api.github.com/users/witty123/events{/privacy}","received_events_url":"https://api.github.com/users/witty123/received_events","type":"User","site_admin":false},"repo":{"id":65945551,"name":"gitdash","full_name":"witty123/gitdash","owner":{"login":"witty123","id":7976098,"avatar_url":"https://avatars.githubusercontent.com/u/7976098?v=3","gravatar_id":"","url":"https://api.github.com/users/witty123","html_url":"https://github.com/witty123","followers_url":"https://api.github.com/users/witty123/followers","following_url":"https://api.github.com/users/witty123/following{/other_user}","gists_url":"https://api.github.com/users/witty123/gists{/gist_id}","starred_url":"https://api.github.com/users/witty123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witty123/subscriptions","organizations_url":"https://api.github.com/users/witty123/orgs","repos_url":"https://api.github.com/users/witty123/repos","events_url":"https://api.github.com/users/witty123/events{/privacy}","received_events_url":"https://api.github.com/users/witty123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/witty123/gitdash","description":"Dashboard for github","fork":false,"url":"https://api.github.com/repos/witty123/gitdash","forks_url":"https://api.github.com/repos/witty123/gitdash/forks","keys_url":"https://api.github.com/repos/witty123/gitdash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/witty123/gitdash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/witty123/gitdash/teams","hooks_url":"https://api.github.com/repos/witty123/gitdash/hooks","issue_events_url":"https://api.github.com/repos/witty123/gitdash/issues/events{/number}","events_url":"https://api.github.com/repos/witty123/gitdash/events","assignees_url":"https://api.github.com/repos/witty123/gitdash/assignees{/user}","branches_url":"https://api.github.com/repos/witty123/gitdash/branches{/branch}","tags_url":"https://api.github.com/repos/witty123/gitdash/tags","blobs_url":"https://api.github.com/repos/witty123/gitdash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/witty123/gitdash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/witty123/gitdash/git/refs{/sha}","trees_url":"https://api.github.com/repos/witty123/gitdash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/witty123/gitdash/statuses/{sha}","languages_url":"https://api.github.com/repos/witty123/gitdash/languages","stargazers_url":"https://api.github.com/repos/witty123/gitdash/stargazers","contributors_url":"https://api.github.com/repos/witty123/gitdash/contributors","subscribers_url":"https://api.github.com/repos/witty123/gitdash/subscribers","subscription_url":"https://api.github.com/repos/witty123/gitdash/subscription","commits_url":"https://api.github.com/repos/witty123/gitdash/commits{/sha}","git_commits_url":"https://api.github.com/repos/witty123/gitdash/git/commits{/sha}","comments_url":"https://api.github.com/repos/witty123/gitdash/comments{/number}","issue_comment_url":"https://api.github.com/repos/witty123/gitdash/issues/comments{/number}","contents_url":"https://api.github.com/repos/witty123/gitdash/contents/{+path}","compare_url":"https://api.github.com/repos/witty123/gitdash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/witty123/gitdash/merges","archive_url":"https://api.github.com/repos/witty123/gitdash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/witty123/gitdash/downloads","issues_url":"https://api.github.com/repos/witty123/gitdash/issues{/number}","pulls_url":"https://api.github.com/repos/witty123/gitdash/pulls{/number}","milestones_url":"https://api.github.com/repos/witty123/gitdash/milestones{/number}","notifications_url":"https://api.github.com/repos/witty123/gitdash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/witty123/gitdash/labels{/name}","releases_url":"https://api.github.com/repos/witty123/gitdash/releases{/id}","deployments_url":"https://api.github.com/repos/witty123/gitdash/deployments","created_at":"2016-08-17T22:09:18Z","updated_at":"2016-08-17T22:18:15Z","pushed_at":"2016-08-28T10:22:57Z","git_url":"git://github.com/witty123/gitdash.git","ssh_url":"git@github.com:witty123/gitdash.git","clone_url":"https://github.com/witty123/gitdash.git","svn_url":"https://github.com/witty123/gitdash","homepage":null,"size":4482,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/witty123/gitdash/pulls/9"},"html":{"href":"https://github.com/witty123/gitdash/pull/9"},"issue":{"href":"https://api.github.com/repos/witty123/gitdash/issues/9"},"comments":{"href":"https://api.github.com/repos/witty123/gitdash/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/witty123/gitdash/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/witty123/gitdash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/witty123/gitdash/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/witty123/gitdash/statuses/ec9a8980d30a7e6927b057fd618b598674cad352"}}}}
{"actor":{"display_login":"shreedharshetty"}}