{"action":"created","comment":{"url":"https://api.github.com/repos/HazyResearch/mindbender/pulls/comments/30299889","id":30299889,"diff_hunk":"@@ -161,6 +161,7 @@ angular.module \"mindbenderApp.dashboard\", [\n     $scope.title = \"Snapshot \" + $routeParams.snapshotId\n     $scope.loading = false\n     $scope.hideLoader = true\n+    $scope.tableTab = { active: false }","path":"gui/frontend/src/dashboard/dashboard.coffee","position":4,"original_position":4,"commit_id":"5b403e94f169008c3545c24b57fca0043044f70e","original_commit_id":"5b403e94f169008c3545c24b57fca0043044f70e","user":{"login":"mfitz3","id":11778232,"avatar_url":"https://avatars.githubusercontent.com/u/11778232?v=3","gravatar_id":"","url":"https://api.github.com/users/mfitz3","html_url":"https://github.com/mfitz3","followers_url":"https://api.github.com/users/mfitz3/followers","following_url":"https://api.github.com/users/mfitz3/following{/other_user}","gists_url":"https://api.github.com/users/mfitz3/gists{/gist_id}","starred_url":"https://api.github.com/users/mfitz3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfitz3/subscriptions","organizations_url":"https://api.github.com/users/mfitz3/orgs","repos_url":"https://api.github.com/users/mfitz3/repos","events_url":"https://api.github.com/users/mfitz3/events{/privacy}","received_events_url":"https://api.github.com/users/mfitz3/received_events","type":"User","site_admin":false},"body":"Using a simple boolean variable doesn't work here. I believe this is because Bootstrap UI places the tabs directive in an isolated scope (https://github.com/angular-ui/bootstrap/blob/master/src/tabs/tabs.js#L93), and therefore using prototypal inheritance from an object is the only simple way to get around this to access the $scope set by the controller (see https://github.com/angular/angular.js/wiki/Understanding-Scopes). ","created_at":"2015-05-14T06:07:01Z","updated_at":"2015-05-14T06:07:01Z","html_url":"https://github.com/HazyResearch/mindbender/pull/8#discussion_r30299889","pull_request_url":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/HazyResearch/mindbender/pulls/comments/30299889"},"html":{"href":"https://github.com/HazyResearch/mindbender/pull/8#discussion_r30299889"},"pull_request":{"href":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8","id":35292282,"html_url":"https://github.com/HazyResearch/mindbender/pull/8","diff_url":"https://github.com/HazyResearch/mindbender/pull/8.diff","patch_url":"https://github.com/HazyResearch/mindbender/pull/8.patch","issue_url":"https://api.github.com/repos/HazyResearch/mindbender/issues/8","number":8,"state":"open","locked":false,"title":"Only show active chart tabs","user":{"login":"mfitz3","id":11778232,"avatar_url":"https://avatars.githubusercontent.com/u/11778232?v=3","gravatar_id":"","url":"https://api.github.com/users/mfitz3","html_url":"https://github.com/mfitz3","followers_url":"https://api.github.com/users/mfitz3/followers","following_url":"https://api.github.com/users/mfitz3/following{/other_user}","gists_url":"https://api.github.com/users/mfitz3/gists{/gist_id}","starred_url":"https://api.github.com/users/mfitz3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfitz3/subscriptions","organizations_url":"https://api.github.com/users/mfitz3/orgs","repos_url":"https://api.github.com/users/mfitz3/repos","events_url":"https://api.github.com/users/mfitz3/events{/privacy}","received_events_url":"https://api.github.com/users/mfitz3/received_events","type":"User","site_admin":false},"body":"Fixes bug where chart tabs should not show.","created_at":"2015-05-13T03:51:14Z","updated_at":"2015-05-14T06:07:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"020bfcc62546ab364afa5cabcc3c625f78fc1957","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8/commits","review_comments_url":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8/comments","review_comment_url":"https://api.github.com/repos/HazyResearch/mindbender/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HazyResearch/mindbender/issues/8/comments","statuses_url":"https://api.github.com/repos/HazyResearch/mindbender/statuses/5b403e94f169008c3545c24b57fca0043044f70e","head":{"label":"HazyResearch:hide_unavailable_chart_tabs","ref":"hide_unavailable_chart_tabs","sha":"5b403e94f169008c3545c24b57fca0043044f70e","user":{"login":"HazyResearch","id":2165246,"avatar_url":"https://avatars.githubusercontent.com/u/2165246?v=3","gravatar_id":"","url":"https://api.github.com/users/HazyResearch","html_url":"https://github.com/HazyResearch","followers_url":"https://api.github.com/users/HazyResearch/followers","following_url":"https://api.github.com/users/HazyResearch/following{/other_user}","gists_url":"https://api.github.com/users/HazyResearch/gists{/gist_id}","starred_url":"https://api.github.com/users/HazyResearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazyResearch/subscriptions","organizations_url":"https://api.github.com/users/HazyResearch/orgs","repos_url":"https://api.github.com/users/HazyResearch/repos","events_url":"https://api.github.com/users/HazyResearch/events{/privacy}","received_events_url":"https://api.github.com/users/HazyResearch/received_events","type":"Organization","site_admin":false},"repo":{"id":24610850,"name":"mindbender","full_name":"HazyResearch/mindbender","owner":{"login":"HazyResearch","id":2165246,"avatar_url":"https://avatars.githubusercontent.com/u/2165246?v=3","gravatar_id":"","url":"https://api.github.com/users/HazyResearch","html_url":"https://github.com/HazyResearch","followers_url":"https://api.github.com/users/HazyResearch/followers","following_url":"https://api.github.com/users/HazyResearch/following{/other_user}","gists_url":"https://api.github.com/users/HazyResearch/gists{/gist_id}","starred_url":"https://api.github.com/users/HazyResearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazyResearch/subscriptions","organizations_url":"https://api.github.com/users/HazyResearch/orgs","repos_url":"https://api.github.com/users/HazyResearch/repos","events_url":"https://api.github.com/users/HazyResearch/events{/privacy}","received_events_url":"https://api.github.com/users/HazyResearch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HazyResearch/mindbender","description":"Tools for iterative knowledge base development with DeepDive","fork":false,"url":"https://api.github.com/repos/HazyResearch/mindbender","forks_url":"https://api.github.com/repos/HazyResearch/mindbender/forks","keys_url":"https://api.github.com/repos/HazyResearch/mindbender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HazyResearch/mindbender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HazyResearch/mindbender/teams","hooks_url":"https://api.github.com/repos/HazyResearch/mindbender/hooks","issue_events_url":"https://api.github.com/repos/HazyResearch/mindbender/issues/events{/number}","events_url":"https://api.github.com/repos/HazyResearch/mindbender/events","assignees_url":"https://api.github.com/repos/HazyResearch/mindbender/assignees{/user}","branches_url":"https://api.github.com/repos/HazyResearch/mindbender/branches{/branch}","tags_url":"https://api.github.com/repos/HazyResearch/mindbender/tags","blobs_url":"https://api.github.com/repos/HazyResearch/mindbender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HazyResearch/mindbender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HazyResearch/mindbender/git/refs{/sha}","trees_url":"https://api.github.com/repos/HazyResearch/mindbender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HazyResearch/mindbender/statuses/{sha}","languages_url":"https://api.github.com/repos/HazyResearch/mindbender/languages","stargazers_url":"https://api.github.com/repos/HazyResearch/mindbender/stargazers","contributors_url":"https://api.github.com/repos/HazyResearch/mindbender/contributors","subscribers_url":"https://api.github.com/repos/HazyResearch/mindbender/subscribers","subscription_url":"https://api.github.com/repos/HazyResearch/mindbender/subscription","commits_url":"https://api.github.com/repos/HazyResearch/mindbender/commits{/sha}","git_commits_url":"https://api.github.com/repos/HazyResearch/mindbender/git/commits{/sha}","comments_url":"https://api.github.com/repos/HazyResearch/mindbender/comments{/number}","issue_comment_url":"https://api.github.com/repos/HazyResearch/mindbender/issues/comments{/number}","contents_url":"https://api.github.com/repos/HazyResearch/mindbender/contents/{+path}","compare_url":"https://api.github.com/repos/HazyResearch/mindbender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HazyResearch/mindbender/merges","archive_url":"https://api.github.com/repos/HazyResearch/mindbender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HazyResearch/mindbender/downloads","issues_url":"https://api.github.com/repos/HazyResearch/mindbender/issues{/number}","pulls_url":"https://api.github.com/repos/HazyResearch/mindbender/pulls{/number}","milestones_url":"https://api.github.com/repos/HazyResearch/mindbender/milestones{/number}","notifications_url":"https://api.github.com/repos/HazyResearch/mindbender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HazyResearch/mindbender/labels{/name}","releases_url":"https://api.github.com/repos/HazyResearch/mindbender/releases{/id}","created_at":"2014-09-29T20:05:15Z","updated_at":"2015-05-13T00:13:44Z","pushed_at":"2015-05-14T05:39:46Z","git_url":"git://github.com/HazyResearch/mindbender.git","ssh_url":"git@github.com:HazyResearch/mindbender.git","clone_url":"https://github.com/HazyResearch/mindbender.git","svn_url":"https://github.com/HazyResearch/mindbender","homepage":"","size":2339,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":7,"default_branch":"master"}},"base":{"label":"HazyResearch:master","ref":"master","sha":"4e6faacde0b71179e60e8dee409fcef41b52dbf4","user":{"login":"HazyResearch","id":2165246,"avatar_url":"https://avatars.githubusercontent.com/u/2165246?v=3","gravatar_id":"","url":"https://api.github.com/users/HazyResearch","html_url":"https://github.com/HazyResearch","followers_url":"https://api.github.com/users/HazyResearch/followers","following_url":"https://api.github.com/users/HazyResearch/following{/other_user}","gists_url":"https://api.github.com/users/HazyResearch/gists{/gist_id}","starred_url":"https://api.github.com/users/HazyResearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazyResearch/subscriptions","organizations_url":"https://api.github.com/users/HazyResearch/orgs","repos_url":"https://api.github.com/users/HazyResearch/repos","events_url":"https://api.github.com/users/HazyResearch/events{/privacy}","received_events_url":"https://api.github.com/users/HazyResearch/received_events","type":"Organization","site_admin":false},"repo":{"id":24610850,"name":"mindbender","full_name":"HazyResearch/mindbender","owner":{"login":"HazyResearch","id":2165246,"avatar_url":"https://avatars.githubusercontent.com/u/2165246?v=3","gravatar_id":"","url":"https://api.github.com/users/HazyResearch","html_url":"https://github.com/HazyResearch","followers_url":"https://api.github.com/users/HazyResearch/followers","following_url":"https://api.github.com/users/HazyResearch/following{/other_user}","gists_url":"https://api.github.com/users/HazyResearch/gists{/gist_id}","starred_url":"https://api.github.com/users/HazyResearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazyResearch/subscriptions","organizations_url":"https://api.github.com/users/HazyResearch/orgs","repos_url":"https://api.github.com/users/HazyResearch/repos","events_url":"https://api.github.com/users/HazyResearch/events{/privacy}","received_events_url":"https://api.github.com/users/HazyResearch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HazyResearch/mindbender","description":"Tools for iterative knowledge base development with DeepDive","fork":false,"url":"https://api.github.com/repos/HazyResearch/mindbender","forks_url":"https://api.github.com/repos/HazyResearch/mindbender/forks","keys_url":"https://api.github.com/repos/HazyResearch/mindbender/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HazyResearch/mindbender/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HazyResearch/mindbender/teams","hooks_url":"https://api.github.com/repos/HazyResearch/mindbender/hooks","issue_events_url":"https://api.github.com/repos/HazyResearch/mindbender/issues/events{/number}","events_url":"https://api.github.com/repos/HazyResearch/mindbender/events","assignees_url":"https://api.github.com/repos/HazyResearch/mindbender/assignees{/user}","branches_url":"https://api.github.com/repos/HazyResearch/mindbender/branches{/branch}","tags_url":"https://api.github.com/repos/HazyResearch/mindbender/tags","blobs_url":"https://api.github.com/repos/HazyResearch/mindbender/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HazyResearch/mindbender/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HazyResearch/mindbender/git/refs{/sha}","trees_url":"https://api.github.com/repos/HazyResearch/mindbender/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HazyResearch/mindbender/statuses/{sha}","languages_url":"https://api.github.com/repos/HazyResearch/mindbender/languages","stargazers_url":"https://api.github.com/repos/HazyResearch/mindbender/stargazers","contributors_url":"https://api.github.com/repos/HazyResearch/mindbender/contributors","subscribers_url":"https://api.github.com/repos/HazyResearch/mindbender/subscribers","subscription_url":"https://api.github.com/repos/HazyResearch/mindbender/subscription","commits_url":"https://api.github.com/repos/HazyResearch/mindbender/commits{/sha}","git_commits_url":"https://api.github.com/repos/HazyResearch/mindbender/git/commits{/sha}","comments_url":"https://api.github.com/repos/HazyResearch/mindbender/comments{/number}","issue_comment_url":"https://api.github.com/repos/HazyResearch/mindbender/issues/comments{/number}","contents_url":"https://api.github.com/repos/HazyResearch/mindbender/contents/{+path}","compare_url":"https://api.github.com/repos/HazyResearch/mindbender/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HazyResearch/mindbender/merges","archive_url":"https://api.github.com/repos/HazyResearch/mindbender/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HazyResearch/mindbender/downloads","issues_url":"https://api.github.com/repos/HazyResearch/mindbender/issues{/number}","pulls_url":"https://api.github.com/repos/HazyResearch/mindbender/pulls{/number}","milestones_url":"https://api.github.com/repos/HazyResearch/mindbender/milestones{/number}","notifications_url":"https://api.github.com/repos/HazyResearch/mindbender/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HazyResearch/mindbender/labels{/name}","releases_url":"https://api.github.com/repos/HazyResearch/mindbender/releases{/id}","created_at":"2014-09-29T20:05:15Z","updated_at":"2015-05-13T00:13:44Z","pushed_at":"2015-05-14T05:39:46Z","git_url":"git://github.com/HazyResearch/mindbender.git","ssh_url":"git@github.com:HazyResearch/mindbender.git","clone_url":"https://github.com/HazyResearch/mindbender.git","svn_url":"https://github.com/HazyResearch/mindbender","homepage":"","size":2339,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8"},"html":{"href":"https://github.com/HazyResearch/mindbender/pull/8"},"issue":{"href":"https://api.github.com/repos/HazyResearch/mindbender/issues/8"},"comments":{"href":"https://api.github.com/repos/HazyResearch/mindbender/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/HazyResearch/mindbender/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HazyResearch/mindbender/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/HazyResearch/mindbender/statuses/5b403e94f169008c3545c24b57fca0043044f70e"}}}}