{"action":"created","comment":{"url":"https://api.github.com/repos/ska-sa/katgui/pulls/comments/28690022","id":28690022,"diff_hunk":"@@ -0,0 +1,36 @@\n+<div flex layout=\"column\" ng-controller=\"CustomHealthCtrl as vm\" style=\"min-width: 1100px; overflow: auto; margin-top: 4px;\">\n+    <div class=\"legend-popup\" style=\"background: transparent; pointer-events: none;\" layout=\"row\" ng-init=\"transparentLegend = true\"\n+         ng-class=\"{'transparent-legend':transparentLegend && !showLegend}\">\n+        <md-button flex style=\"pointer-events: auto; width: 36px; height: 40px;\" md-theme=\"{{themePrimaryButtons}}\" ng-init=\"showLegend = false\" ng-click=\"showLegend = !showLegend\"\n+                   ng-mouseenter=\"transparentLegend = false\" ng-mouseleave=\"transparentLegend = true\"\n+                   aria-label=\"Show Legend\" class=\"md-primary md-raised md-icon-button\">\n+            <md-icon md-theme=\"white\" class=\"fa md-primary\" ng-show=\"!showLegend\" md-font-icon=\"fa-eye\" title=\"Show Legend\"></md-icon>\n+            <md-icon md-theme=\"white\" class=\"fa md-primary\" ng-show=\"showLegend\" md-font-icon=\"fa-eye-slash\" title=\"Hide Legend\"></md-icon>\n+        </md-button>\n+        <div class=\"md-whiteframe-z3\" layout=\"column\" ng-show=\"showLegend\" style=\"background: white; padding: 8px;\">\n+            <div layout=\"row\" layout-align=\"start center\"><div class=\"color-patch unknown-child\" title=\"Grey\"></div><span>Unknown</span></div>\n+            <div layout=\"row\" layout-align=\"start center\"><div class=\"color-patch nominal-child\" title=\"Green\"></div><span>Nominal</span></div>","path":"app/health/custom-health/custom-health.html","position":12,"original_position":12,"commit_id":"c9ab99434cb9e4289148caced75de48f5b5c8ee8","original_commit_id":"257fb7de1cf825c622e5e55edfc2169fb4109199","user":{"login":"fjoubert","id":8371143,"avatar_url":"https://avatars.githubusercontent.com/u/8371143?v=3","gravatar_id":"","url":"https://api.github.com/users/fjoubert","html_url":"https://github.com/fjoubert","followers_url":"https://api.github.com/users/fjoubert/followers","following_url":"https://api.github.com/users/fjoubert/following{/other_user}","gists_url":"https://api.github.com/users/fjoubert/gists{/gist_id}","starred_url":"https://api.github.com/users/fjoubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjoubert/subscriptions","organizations_url":"https://api.github.com/users/fjoubert/orgs","repos_url":"https://api.github.com/users/fjoubert/repos","events_url":"https://api.github.com/users/fjoubert/events{/privacy}","received_events_url":"https://api.github.com/users/fjoubert/received_events","type":"User","site_admin":false},"body":"Would be unreadable if I had to wrap at 80 :P","created_at":"2015-04-20T13:53:46Z","updated_at":"2015-04-20T13:53:46Z","html_url":"https://github.com/ska-sa/katgui/pull/38#discussion_r28690022","pull_request_url":"https://api.github.com/repos/ska-sa/katgui/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/ska-sa/katgui/pulls/comments/28690022"},"html":{"href":"https://github.com/ska-sa/katgui/pull/38#discussion_r28690022"},"pull_request":{"href":"https://api.github.com/repos/ska-sa/katgui/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/ska-sa/katgui/pulls/38","id":33666584,"html_url":"https://github.com/ska-sa/katgui/pull/38","diff_url":"https://github.com/ska-sa/katgui/pull/38.diff","patch_url":"https://github.com/ska-sa/katgui/pull/38.patch","issue_url":"https://api.github.com/repos/ska-sa/katgui/issues/38","number":38,"state":"open","locked":false,"title":"Custom health","user":{"login":"fjoubert","id":8371143,"avatar_url":"https://avatars.githubusercontent.com/u/8371143?v=3","gravatar_id":"","url":"https://api.github.com/users/fjoubert","html_url":"https://github.com/fjoubert","followers_url":"https://api.github.com/users/fjoubert/followers","following_url":"https://api.github.com/users/fjoubert/following{/other_user}","gists_url":"https://api.github.com/users/fjoubert/gists{/gist_id}","starred_url":"https://api.github.com/users/fjoubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjoubert/subscriptions","organizations_url":"https://api.github.com/users/fjoubert/orgs","repos_url":"https://api.github.com/users/fjoubert/repos","events_url":"https://api.github.com/users/fjoubert/events{/privacy}","received_events_url":"https://api.github.com/users/fjoubert/received_events","type":"User","site_admin":false},"body":"@theunsa \r\nInitial commit for the dynamic custom health view, not accessible by the user yet other than typing in the url /#/custom-health\r\nAdded roboto font\r\nSome layout and styling fixes for the upcoming 0.9 material build (rc1 is out now)\r\nInitial commit for accessing sensor graph\r\n","created_at":"2015-04-20T13:46:37Z","updated_at":"2015-04-20T13:53:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ede8c62aebe4bd8ac58b2c6bd2202cb52a1a5c6c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ska-sa/katgui/pulls/38/commits","review_comments_url":"https://api.github.com/repos/ska-sa/katgui/pulls/38/comments","review_comment_url":"https://api.github.com/repos/ska-sa/katgui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ska-sa/katgui/issues/38/comments","statuses_url":"https://api.github.com/repos/ska-sa/katgui/statuses/c9ab99434cb9e4289148caced75de48f5b5c8ee8","head":{"label":"ska-sa:custom-health","ref":"custom-health","sha":"c9ab99434cb9e4289148caced75de48f5b5c8ee8","user":{"login":"ska-sa","id":1210238,"avatar_url":"https://avatars.githubusercontent.com/u/1210238?v=3","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":22711656,"name":"katgui","full_name":"ska-sa/katgui","owner":{"login":"ska-sa","id":1210238,"avatar_url":"https://avatars.githubusercontent.com/u/1210238?v=3","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ska-sa/katgui","description":"katgui web operator interface","fork":false,"url":"https://api.github.com/repos/ska-sa/katgui","forks_url":"https://api.github.com/repos/ska-sa/katgui/forks","keys_url":"https://api.github.com/repos/ska-sa/katgui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ska-sa/katgui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ska-sa/katgui/teams","hooks_url":"https://api.github.com/repos/ska-sa/katgui/hooks","issue_events_url":"https://api.github.com/repos/ska-sa/katgui/issues/events{/number}","events_url":"https://api.github.com/repos/ska-sa/katgui/events","assignees_url":"https://api.github.com/repos/ska-sa/katgui/assignees{/user}","branches_url":"https://api.github.com/repos/ska-sa/katgui/branches{/branch}","tags_url":"https://api.github.com/repos/ska-sa/katgui/tags","blobs_url":"https://api.github.com/repos/ska-sa/katgui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ska-sa/katgui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ska-sa/katgui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ska-sa/katgui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ska-sa/katgui/statuses/{sha}","languages_url":"https://api.github.com/repos/ska-sa/katgui/languages","stargazers_url":"https://api.github.com/repos/ska-sa/katgui/stargazers","contributors_url":"https://api.github.com/repos/ska-sa/katgui/contributors","subscribers_url":"https://api.github.com/repos/ska-sa/katgui/subscribers","subscription_url":"https://api.github.com/repos/ska-sa/katgui/subscription","commits_url":"https://api.github.com/repos/ska-sa/katgui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ska-sa/katgui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ska-sa/katgui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ska-sa/katgui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ska-sa/katgui/contents/{+path}","compare_url":"https://api.github.com/repos/ska-sa/katgui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ska-sa/katgui/merges","archive_url":"https://api.github.com/repos/ska-sa/katgui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ska-sa/katgui/downloads","issues_url":"https://api.github.com/repos/ska-sa/katgui/issues{/number}","pulls_url":"https://api.github.com/repos/ska-sa/katgui/pulls{/number}","milestones_url":"https://api.github.com/repos/ska-sa/katgui/milestones{/number}","notifications_url":"https://api.github.com/repos/ska-sa/katgui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ska-sa/katgui/labels{/name}","releases_url":"https://api.github.com/repos/ska-sa/katgui/releases{/id}","created_at":"2014-08-07T06:56:37Z","updated_at":"2015-04-13T07:28:36Z","pushed_at":"2015-04-20T13:52:53Z","git_url":"git://github.com/ska-sa/katgui.git","ssh_url":"git@github.com:ska-sa/katgui.git","clone_url":"https://github.com/ska-sa/katgui.git","svn_url":"https://github.com/ska-sa/katgui","homepage":"","size":3320,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"ska-sa:master","ref":"master","sha":"136b1b9ce4ac8eaa1ca9d4807514ac311ae92c27","user":{"login":"ska-sa","id":1210238,"avatar_url":"https://avatars.githubusercontent.com/u/1210238?v=3","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"repo":{"id":22711656,"name":"katgui","full_name":"ska-sa/katgui","owner":{"login":"ska-sa","id":1210238,"avatar_url":"https://avatars.githubusercontent.com/u/1210238?v=3","gravatar_id":"","url":"https://api.github.com/users/ska-sa","html_url":"https://github.com/ska-sa","followers_url":"https://api.github.com/users/ska-sa/followers","following_url":"https://api.github.com/users/ska-sa/following{/other_user}","gists_url":"https://api.github.com/users/ska-sa/gists{/gist_id}","starred_url":"https://api.github.com/users/ska-sa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ska-sa/subscriptions","organizations_url":"https://api.github.com/users/ska-sa/orgs","repos_url":"https://api.github.com/users/ska-sa/repos","events_url":"https://api.github.com/users/ska-sa/events{/privacy}","received_events_url":"https://api.github.com/users/ska-sa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ska-sa/katgui","description":"katgui web operator interface","fork":false,"url":"https://api.github.com/repos/ska-sa/katgui","forks_url":"https://api.github.com/repos/ska-sa/katgui/forks","keys_url":"https://api.github.com/repos/ska-sa/katgui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ska-sa/katgui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ska-sa/katgui/teams","hooks_url":"https://api.github.com/repos/ska-sa/katgui/hooks","issue_events_url":"https://api.github.com/repos/ska-sa/katgui/issues/events{/number}","events_url":"https://api.github.com/repos/ska-sa/katgui/events","assignees_url":"https://api.github.com/repos/ska-sa/katgui/assignees{/user}","branches_url":"https://api.github.com/repos/ska-sa/katgui/branches{/branch}","tags_url":"https://api.github.com/repos/ska-sa/katgui/tags","blobs_url":"https://api.github.com/repos/ska-sa/katgui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ska-sa/katgui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ska-sa/katgui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ska-sa/katgui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ska-sa/katgui/statuses/{sha}","languages_url":"https://api.github.com/repos/ska-sa/katgui/languages","stargazers_url":"https://api.github.com/repos/ska-sa/katgui/stargazers","contributors_url":"https://api.github.com/repos/ska-sa/katgui/contributors","subscribers_url":"https://api.github.com/repos/ska-sa/katgui/subscribers","subscription_url":"https://api.github.com/repos/ska-sa/katgui/subscription","commits_url":"https://api.github.com/repos/ska-sa/katgui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ska-sa/katgui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ska-sa/katgui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ska-sa/katgui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ska-sa/katgui/contents/{+path}","compare_url":"https://api.github.com/repos/ska-sa/katgui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ska-sa/katgui/merges","archive_url":"https://api.github.com/repos/ska-sa/katgui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ska-sa/katgui/downloads","issues_url":"https://api.github.com/repos/ska-sa/katgui/issues{/number}","pulls_url":"https://api.github.com/repos/ska-sa/katgui/pulls{/number}","milestones_url":"https://api.github.com/repos/ska-sa/katgui/milestones{/number}","notifications_url":"https://api.github.com/repos/ska-sa/katgui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ska-sa/katgui/labels{/name}","releases_url":"https://api.github.com/repos/ska-sa/katgui/releases{/id}","created_at":"2014-08-07T06:56:37Z","updated_at":"2015-04-13T07:28:36Z","pushed_at":"2015-04-20T13:52:53Z","git_url":"git://github.com/ska-sa/katgui.git","ssh_url":"git@github.com:ska-sa/katgui.git","clone_url":"https://github.com/ska-sa/katgui.git","svn_url":"https://github.com/ska-sa/katgui","homepage":"","size":3320,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ska-sa/katgui/pulls/38"},"html":{"href":"https://github.com/ska-sa/katgui/pull/38"},"issue":{"href":"https://api.github.com/repos/ska-sa/katgui/issues/38"},"comments":{"href":"https://api.github.com/repos/ska-sa/katgui/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/ska-sa/katgui/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/ska-sa/katgui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ska-sa/katgui/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/ska-sa/katgui/statuses/c9ab99434cb9e4289148caced75de48f5b5c8ee8"}}}}