{"action":"created","comment":{"url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments/36155898","id":36155898,"diff_hunk":"@@ -1952,6 +2043,24 @@ function graphClicked(graphView, graphIndex, element, evt) {\n              }\n   });\n \n+  //create new row\n+  buttons.push({\n+      xtype: 'button',\n+      text: 'Add Target',\n+      width: buttonWidth,\n+      handler: function() {\n+                 // Hide the other menus\n+                 operationsMenu.hide();\n+                 optionsMenu.doHide(); // private method... yuck\n+                 functionsMenu.hide();\n+\n+                 targetStore.add([ new targetStore.recordType({target: 'Edit to save'}) ]);\n+                 targets.push('Edit to save');\n+                 targetGrid.setHeight((rowHeight * Math.min(targets.length, maxRows)) + frameHeight);","path":"webapp/content/js/dashboard.js","position":199,"original_position":199,"commit_id":"13f7f669cefb1d96a86b8676ef3b63e67a512ae0","original_commit_id":"13f7f669cefb1d96a86b8676ef3b63e67a512ae0","user":{"login":"obfuscurity","id":494338,"avatar_url":"https://avatars.githubusercontent.com/u/494338?v=3","gravatar_id":"","url":"https://api.github.com/users/obfuscurity","html_url":"https://github.com/obfuscurity","followers_url":"https://api.github.com/users/obfuscurity/followers","following_url":"https://api.github.com/users/obfuscurity/following{/other_user}","gists_url":"https://api.github.com/users/obfuscurity/gists{/gist_id}","starred_url":"https://api.github.com/users/obfuscurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obfuscurity/subscriptions","organizations_url":"https://api.github.com/users/obfuscurity/orgs","repos_url":"https://api.github.com/users/obfuscurity/repos","events_url":"https://api.github.com/users/obfuscurity/events{/privacy}","received_events_url":"https://api.github.com/users/obfuscurity/received_events","type":"User","site_admin":false},"body":"Does the indention look off here or is it my imagination?","created_at":"2015-08-04T04:04:19Z","updated_at":"2015-08-04T04:04:19Z","html_url":"https://github.com/graphite-project/graphite-web/pull/424#discussion_r36155898","pull_request_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424","_links":{"self":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments/36155898"},"html":{"href":"https://github.com/graphite-project/graphite-web/pull/424#discussion_r36155898"},"pull_request":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424"}}},"pull_request":{"url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424","id":8136953,"html_url":"https://github.com/graphite-project/graphite-web/pull/424","diff_url":"https://github.com/graphite-project/graphite-web/pull/424.diff","patch_url":"https://github.com/graphite-project/graphite-web/pull/424.patch","issue_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/424","number":424,"state":"open","locked":false,"title":"Manipulate graph targets and implement New Graph -> New Empty Graph","user":{"login":"cbowman0","id":1764481,"avatar_url":"https://avatars.githubusercontent.com/u/1764481?v=3","gravatar_id":"","url":"https://api.github.com/users/cbowman0","html_url":"https://github.com/cbowman0","followers_url":"https://api.github.com/users/cbowman0/followers","following_url":"https://api.github.com/users/cbowman0/following{/other_user}","gists_url":"https://api.github.com/users/cbowman0/gists{/gist_id}","starred_url":"https://api.github.com/users/cbowman0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbowman0/subscriptions","organizations_url":"https://api.github.com/users/cbowman0/orgs","repos_url":"https://api.github.com/users/cbowman0/repos","events_url":"https://api.github.com/users/cbowman0/events{/privacy}","received_events_url":"https://api.github.com/users/cbowman0/received_events","type":"User","site_admin":false},"body":"Buttons to re-order and remove graph targets on the Graph Target grid.\r\n\r\nAdd a new target to a graph.\r\n\r\nUp and Down buttons are from http://tango.freedesktop.org/.  Delete button already existed in the source.\r\n\r\nAdd New Graph -> Empty Graph.","created_at":"2013-09-06T13:36:30Z","updated_at":"2015-08-04T04:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53afe0dbced0e0ccaeae3a47791a7c3828b054a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424/commits","review_comments_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424/comments","review_comment_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/424/comments","statuses_url":"https://api.github.com/repos/graphite-project/graphite-web/statuses/13f7f669cefb1d96a86b8676ef3b63e67a512ae0","head":{"label":"cbowman0:rfc/dashboard_manip-targets","ref":"rfc/dashboard_manip-targets","sha":"13f7f669cefb1d96a86b8676ef3b63e67a512ae0","user":{"login":"cbowman0","id":1764481,"avatar_url":"https://avatars.githubusercontent.com/u/1764481?v=3","gravatar_id":"","url":"https://api.github.com/users/cbowman0","html_url":"https://github.com/cbowman0","followers_url":"https://api.github.com/users/cbowman0/followers","following_url":"https://api.github.com/users/cbowman0/following{/other_user}","gists_url":"https://api.github.com/users/cbowman0/gists{/gist_id}","starred_url":"https://api.github.com/users/cbowman0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbowman0/subscriptions","organizations_url":"https://api.github.com/users/cbowman0/orgs","repos_url":"https://api.github.com/users/cbowman0/repos","events_url":"https://api.github.com/users/cbowman0/events{/privacy}","received_events_url":"https://api.github.com/users/cbowman0/received_events","type":"User","site_admin":false},"repo":{"id":4406220,"name":"graphite-web","full_name":"cbowman0/graphite-web","owner":{"login":"cbowman0","id":1764481,"avatar_url":"https://avatars.githubusercontent.com/u/1764481?v=3","gravatar_id":"","url":"https://api.github.com/users/cbowman0","html_url":"https://github.com/cbowman0","followers_url":"https://api.github.com/users/cbowman0/followers","following_url":"https://api.github.com/users/cbowman0/following{/other_user}","gists_url":"https://api.github.com/users/cbowman0/gists{/gist_id}","starred_url":"https://api.github.com/users/cbowman0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbowman0/subscriptions","organizations_url":"https://api.github.com/users/cbowman0/orgs","repos_url":"https://api.github.com/users/cbowman0/repos","events_url":"https://api.github.com/users/cbowman0/events{/privacy}","received_events_url":"https://api.github.com/users/cbowman0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbowman0/graphite-web","description":"","fork":true,"url":"https://api.github.com/repos/cbowman0/graphite-web","forks_url":"https://api.github.com/repos/cbowman0/graphite-web/forks","keys_url":"https://api.github.com/repos/cbowman0/graphite-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbowman0/graphite-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbowman0/graphite-web/teams","hooks_url":"https://api.github.com/repos/cbowman0/graphite-web/hooks","issue_events_url":"https://api.github.com/repos/cbowman0/graphite-web/issues/events{/number}","events_url":"https://api.github.com/repos/cbowman0/graphite-web/events","assignees_url":"https://api.github.com/repos/cbowman0/graphite-web/assignees{/user}","branches_url":"https://api.github.com/repos/cbowman0/graphite-web/branches{/branch}","tags_url":"https://api.github.com/repos/cbowman0/graphite-web/tags","blobs_url":"https://api.github.com/repos/cbowman0/graphite-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbowman0/graphite-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbowman0/graphite-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbowman0/graphite-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbowman0/graphite-web/statuses/{sha}","languages_url":"https://api.github.com/repos/cbowman0/graphite-web/languages","stargazers_url":"https://api.github.com/repos/cbowman0/graphite-web/stargazers","contributors_url":"https://api.github.com/repos/cbowman0/graphite-web/contributors","subscribers_url":"https://api.github.com/repos/cbowman0/graphite-web/subscribers","subscription_url":"https://api.github.com/repos/cbowman0/graphite-web/subscription","commits_url":"https://api.github.com/repos/cbowman0/graphite-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbowman0/graphite-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbowman0/graphite-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbowman0/graphite-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbowman0/graphite-web/contents/{+path}","compare_url":"https://api.github.com/repos/cbowman0/graphite-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbowman0/graphite-web/merges","archive_url":"https://api.github.com/repos/cbowman0/graphite-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbowman0/graphite-web/downloads","issues_url":"https://api.github.com/repos/cbowman0/graphite-web/issues{/number}","pulls_url":"https://api.github.com/repos/cbowman0/graphite-web/pulls{/number}","milestones_url":"https://api.github.com/repos/cbowman0/graphite-web/milestones{/number}","notifications_url":"https://api.github.com/repos/cbowman0/graphite-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbowman0/graphite-web/labels{/name}","releases_url":"https://api.github.com/repos/cbowman0/graphite-web/releases{/id}","created_at":"2012-05-22T12:10:13Z","updated_at":"2015-02-16T14:23:23Z","pushed_at":"2015-08-03T17:20:48Z","git_url":"git://github.com/cbowman0/graphite-web.git","ssh_url":"git@github.com:cbowman0/graphite-web.git","clone_url":"https://github.com/cbowman0/graphite-web.git","svn_url":"https://github.com/cbowman0/graphite-web","homepage":null,"size":46063,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","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":2,"default_branch":"master"}},"base":{"label":"graphite-project:master","ref":"master","sha":"a1fe2d9d4fc975f9afa6a17203161ca553a86ac1","user":{"login":"graphite-project","id":1714806,"avatar_url":"https://avatars.githubusercontent.com/u/1714806?v=3","gravatar_id":"","url":"https://api.github.com/users/graphite-project","html_url":"https://github.com/graphite-project","followers_url":"https://api.github.com/users/graphite-project/followers","following_url":"https://api.github.com/users/graphite-project/following{/other_user}","gists_url":"https://api.github.com/users/graphite-project/gists{/gist_id}","starred_url":"https://api.github.com/users/graphite-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphite-project/subscriptions","organizations_url":"https://api.github.com/users/graphite-project/orgs","repos_url":"https://api.github.com/users/graphite-project/repos","events_url":"https://api.github.com/users/graphite-project/events{/privacy}","received_events_url":"https://api.github.com/users/graphite-project/received_events","type":"Organization","site_admin":false},"repo":{"id":4254338,"name":"graphite-web","full_name":"graphite-project/graphite-web","owner":{"login":"graphite-project","id":1714806,"avatar_url":"https://avatars.githubusercontent.com/u/1714806?v=3","gravatar_id":"","url":"https://api.github.com/users/graphite-project","html_url":"https://github.com/graphite-project","followers_url":"https://api.github.com/users/graphite-project/followers","following_url":"https://api.github.com/users/graphite-project/following{/other_user}","gists_url":"https://api.github.com/users/graphite-project/gists{/gist_id}","starred_url":"https://api.github.com/users/graphite-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphite-project/subscriptions","organizations_url":"https://api.github.com/users/graphite-project/orgs","repos_url":"https://api.github.com/users/graphite-project/repos","events_url":"https://api.github.com/users/graphite-project/events{/privacy}","received_events_url":"https://api.github.com/users/graphite-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphite-project/graphite-web","description":"A highly scalable real-time graphing system","fork":false,"url":"https://api.github.com/repos/graphite-project/graphite-web","forks_url":"https://api.github.com/repos/graphite-project/graphite-web/forks","keys_url":"https://api.github.com/repos/graphite-project/graphite-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphite-project/graphite-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphite-project/graphite-web/teams","hooks_url":"https://api.github.com/repos/graphite-project/graphite-web/hooks","issue_events_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/events{/number}","events_url":"https://api.github.com/repos/graphite-project/graphite-web/events","assignees_url":"https://api.github.com/repos/graphite-project/graphite-web/assignees{/user}","branches_url":"https://api.github.com/repos/graphite-project/graphite-web/branches{/branch}","tags_url":"https://api.github.com/repos/graphite-project/graphite-web/tags","blobs_url":"https://api.github.com/repos/graphite-project/graphite-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphite-project/graphite-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphite-project/graphite-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphite-project/graphite-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphite-project/graphite-web/statuses/{sha}","languages_url":"https://api.github.com/repos/graphite-project/graphite-web/languages","stargazers_url":"https://api.github.com/repos/graphite-project/graphite-web/stargazers","contributors_url":"https://api.github.com/repos/graphite-project/graphite-web/contributors","subscribers_url":"https://api.github.com/repos/graphite-project/graphite-web/subscribers","subscription_url":"https://api.github.com/repos/graphite-project/graphite-web/subscription","commits_url":"https://api.github.com/repos/graphite-project/graphite-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphite-project/graphite-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/graphite-project/graphite-web/contents/{+path}","compare_url":"https://api.github.com/repos/graphite-project/graphite-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphite-project/graphite-web/merges","archive_url":"https://api.github.com/repos/graphite-project/graphite-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphite-project/graphite-web/downloads","issues_url":"https://api.github.com/repos/graphite-project/graphite-web/issues{/number}","pulls_url":"https://api.github.com/repos/graphite-project/graphite-web/pulls{/number}","milestones_url":"https://api.github.com/repos/graphite-project/graphite-web/milestones{/number}","notifications_url":"https://api.github.com/repos/graphite-project/graphite-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphite-project/graphite-web/labels{/name}","releases_url":"https://api.github.com/repos/graphite-project/graphite-web/releases{/id}","created_at":"2012-05-07T21:30:55Z","updated_at":"2015-08-03T06:16:24Z","pushed_at":"2015-08-04T02:31:29Z","git_url":"git://github.com/graphite-project/graphite-web.git","ssh_url":"git@github.com:graphite-project/graphite-web.git","clone_url":"https://github.com/graphite-project/graphite-web.git","svn_url":"https://github.com/graphite-project/graphite-web","homepage":"http://graphite.readthedocs.org/","size":27814,"stargazers_count":2337,"watchers_count":2337,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":755,"mirror_url":null,"open_issues_count":348,"forks":755,"open_issues":348,"watchers":2337,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424"},"html":{"href":"https://github.com/graphite-project/graphite-web/pull/424"},"issue":{"href":"https://api.github.com/repos/graphite-project/graphite-web/issues/424"},"comments":{"href":"https://api.github.com/repos/graphite-project/graphite-web/issues/424/comments"},"review_comments":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424/comments"},"review_comment":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/graphite-project/graphite-web/pulls/424/commits"},"statuses":{"href":"https://api.github.com/repos/graphite-project/graphite-web/statuses/13f7f669cefb1d96a86b8676ef3b63e67a512ae0"}}}}