{"action":"created","comment":{"url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/comments/182620952","pull_request_review_id":113452431,"id":182620952,"diff_hunk":"@@ -0,0 +1,154 @@\n+import {Injectable} from '@angular/core';\n+import * as c3 from 'c3';\n+import {ChartAPI} from 'c3';","path":"frontend/src/app/reports/reports-chart.service.ts","position":3,"original_position":3,"commit_id":"80777fc37746d0e6a33271c55a858b06f0bbb80e","original_commit_id":"80777fc37746d0e6a33271c55a858b06f0bbb80e","user":{"login":"benjenkinsv95","id":6377344,"avatar_url":"https://avatars0.githubusercontent.com/u/6377344?v=4","gravatar_id":"","url":"https://api.github.com/users/benjenkinsv95","html_url":"https://github.com/benjenkinsv95","followers_url":"https://api.github.com/users/benjenkinsv95/followers","following_url":"https://api.github.com/users/benjenkinsv95/following{/other_user}","gists_url":"https://api.github.com/users/benjenkinsv95/gists{/gist_id}","starred_url":"https://api.github.com/users/benjenkinsv95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjenkinsv95/subscriptions","organizations_url":"https://api.github.com/users/benjenkinsv95/orgs","repos_url":"https://api.github.com/users/benjenkinsv95/repos","events_url":"https://api.github.com/users/benjenkinsv95/events{/privacy}","received_events_url":"https://api.github.com/users/benjenkinsv95/received_events","type":"User","site_admin":false},"body":"This kind of looks off to me. You've already imported all of c3, but then you re-import the ChartAPI, when it should already be available.","created_at":"2018-04-19T02:41:59Z","updated_at":"2018-04-19T02:41:59Z","html_url":"https://github.com/2018swecapstone/h2ms/pull/93#discussion_r182620952","pull_request_url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/comments/182620952"},"html":{"href":"https://github.com/2018swecapstone/h2ms/pull/93#discussion_r182620952"},"pull_request":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93","id":182368305,"html_url":"https://github.com/2018swecapstone/h2ms/pull/93","diff_url":"https://github.com/2018swecapstone/h2ms/pull/93.diff","patch_url":"https://github.com/2018swecapstone/h2ms/pull/93.patch","issue_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/93","number":93,"state":"open","locked":false,"title":"Frontend reports","user":{"login":"WesleySkillern","id":36180018,"avatar_url":"https://avatars1.githubusercontent.com/u/36180018?v=4","gravatar_id":"","url":"https://api.github.com/users/WesleySkillern","html_url":"https://github.com/WesleySkillern","followers_url":"https://api.github.com/users/WesleySkillern/followers","following_url":"https://api.github.com/users/WesleySkillern/following{/other_user}","gists_url":"https://api.github.com/users/WesleySkillern/gists{/gist_id}","starred_url":"https://api.github.com/users/WesleySkillern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesleySkillern/subscriptions","organizations_url":"https://api.github.com/users/WesleySkillern/orgs","repos_url":"https://api.github.com/users/WesleySkillern/repos","events_url":"https://api.github.com/users/WesleySkillern/events{/privacy}","received_events_url":"https://api.github.com/users/WesleySkillern/received_events","type":"User","site_admin":false},"body":"### Please give a short summary of what's included in this submission\r\nThis rounds out the rest of the Reports for MVP excluding average compliance by employee type, since we don't have a backend api endpoint for this yet. It also adds a title and default chart to Reports as requested by Nico. \r\n\r\nIt also changes the H2MS banner link to route to the Results page. A background image is added as per Michael's request (and credited in About). \r\n\r\n### Checklist\r\n- [x] The Pull Request title describes the changes I've made\r\n- [x] I've reviewed the **Files changed** tab\r\n- [x] The code in the **Files changed** tab meets our style guides\r\n- [x] New classes and public methods in the **Files changed** tab are documented\r\n- [x] I've added two reviewers for this pull request\r\n\r\n\r\n### Frontend Reviewer Checklist\r\n##### I've reviewed the observe page, reports page, and any page directly affected by these changes\r\n- [ ] For Mobile (width: ~320px) [View](http://whatismyscreenresolution.net/multi-screen-test?site-url=http://localhost:4200/login&w=320&h=480)\r\n- [ ] For Tablet landscape (width: ~1024px) [View](http://whatismyscreenresolution.net/multi-screen-test?site-url=http://localhost:4200/login&w=1024&h=768)\r\n- [ ] For Desktop (width: 1920px) [View](http://whatismyscreenresolution.net/multi-screen-test?site-url=http://localhost:4200/login&w=1920&h=1080)\r\n- [ ] I've reviewed the **Files Changed** Tab and left constructive criticism (if applicable)\r\n\r\n###### Optional\r\n- [ ] For Tablet portrait (width: ~768px) [View](http://whatismyscreenresolution.net/multi-screen-test?site-url=http://localhost:4200/login&w=768&h=1024)","created_at":"2018-04-18T05:04:06Z","updated_at":"2018-04-19T02:41:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"016e1fb60f39a10452ee2a9b04acc11f7969467d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"K-Tros","id":13040414,"avatar_url":"https://avatars0.githubusercontent.com/u/13040414?v=4","gravatar_id":"","url":"https://api.github.com/users/K-Tros","html_url":"https://github.com/K-Tros","followers_url":"https://api.github.com/users/K-Tros/followers","following_url":"https://api.github.com/users/K-Tros/following{/other_user}","gists_url":"https://api.github.com/users/K-Tros/gists{/gist_id}","starred_url":"https://api.github.com/users/K-Tros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/K-Tros/subscriptions","organizations_url":"https://api.github.com/users/K-Tros/orgs","repos_url":"https://api.github.com/users/K-Tros/repos","events_url":"https://api.github.com/users/K-Tros/events{/privacy}","received_events_url":"https://api.github.com/users/K-Tros/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":857308390,"url":"https://api.github.com/repos/2018swecapstone/h2ms/labels/Frontend","name":"Frontend","color":"8fed87","default":false},{"id":886810124,"url":"https://api.github.com/repos/2018swecapstone/h2ms/labels/Integration","name":"Integration","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93/commits","review_comments_url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93/comments","review_comment_url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/93/comments","statuses_url":"https://api.github.com/repos/2018swecapstone/h2ms/statuses/80777fc37746d0e6a33271c55a858b06f0bbb80e","head":{"label":"WesleySkillern:frontend-reports","ref":"frontend-reports","sha":"80777fc37746d0e6a33271c55a858b06f0bbb80e","user":{"login":"WesleySkillern","id":36180018,"avatar_url":"https://avatars1.githubusercontent.com/u/36180018?v=4","gravatar_id":"","url":"https://api.github.com/users/WesleySkillern","html_url":"https://github.com/WesleySkillern","followers_url":"https://api.github.com/users/WesleySkillern/followers","following_url":"https://api.github.com/users/WesleySkillern/following{/other_user}","gists_url":"https://api.github.com/users/WesleySkillern/gists{/gist_id}","starred_url":"https://api.github.com/users/WesleySkillern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesleySkillern/subscriptions","organizations_url":"https://api.github.com/users/WesleySkillern/orgs","repos_url":"https://api.github.com/users/WesleySkillern/repos","events_url":"https://api.github.com/users/WesleySkillern/events{/privacy}","received_events_url":"https://api.github.com/users/WesleySkillern/received_events","type":"User","site_admin":false},"repo":{"id":125774728,"name":"h2ms","full_name":"WesleySkillern/h2ms","owner":{"login":"WesleySkillern","id":36180018,"avatar_url":"https://avatars1.githubusercontent.com/u/36180018?v=4","gravatar_id":"","url":"https://api.github.com/users/WesleySkillern","html_url":"https://github.com/WesleySkillern","followers_url":"https://api.github.com/users/WesleySkillern/followers","following_url":"https://api.github.com/users/WesleySkillern/following{/other_user}","gists_url":"https://api.github.com/users/WesleySkillern/gists{/gist_id}","starred_url":"https://api.github.com/users/WesleySkillern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesleySkillern/subscriptions","organizations_url":"https://api.github.com/users/WesleySkillern/orgs","repos_url":"https://api.github.com/users/WesleySkillern/repos","events_url":"https://api.github.com/users/WesleySkillern/events{/privacy}","received_events_url":"https://api.github.com/users/WesleySkillern/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WesleySkillern/h2ms","description":"Hand Hygiene Monitoring System","fork":true,"url":"https://api.github.com/repos/WesleySkillern/h2ms","forks_url":"https://api.github.com/repos/WesleySkillern/h2ms/forks","keys_url":"https://api.github.com/repos/WesleySkillern/h2ms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WesleySkillern/h2ms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WesleySkillern/h2ms/teams","hooks_url":"https://api.github.com/repos/WesleySkillern/h2ms/hooks","issue_events_url":"https://api.github.com/repos/WesleySkillern/h2ms/issues/events{/number}","events_url":"https://api.github.com/repos/WesleySkillern/h2ms/events","assignees_url":"https://api.github.com/repos/WesleySkillern/h2ms/assignees{/user}","branches_url":"https://api.github.com/repos/WesleySkillern/h2ms/branches{/branch}","tags_url":"https://api.github.com/repos/WesleySkillern/h2ms/tags","blobs_url":"https://api.github.com/repos/WesleySkillern/h2ms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WesleySkillern/h2ms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WesleySkillern/h2ms/git/refs{/sha}","trees_url":"https://api.github.com/repos/WesleySkillern/h2ms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WesleySkillern/h2ms/statuses/{sha}","languages_url":"https://api.github.com/repos/WesleySkillern/h2ms/languages","stargazers_url":"https://api.github.com/repos/WesleySkillern/h2ms/stargazers","contributors_url":"https://api.github.com/repos/WesleySkillern/h2ms/contributors","subscribers_url":"https://api.github.com/repos/WesleySkillern/h2ms/subscribers","subscription_url":"https://api.github.com/repos/WesleySkillern/h2ms/subscription","commits_url":"https://api.github.com/repos/WesleySkillern/h2ms/commits{/sha}","git_commits_url":"https://api.github.com/repos/WesleySkillern/h2ms/git/commits{/sha}","comments_url":"https://api.github.com/repos/WesleySkillern/h2ms/comments{/number}","issue_comment_url":"https://api.github.com/repos/WesleySkillern/h2ms/issues/comments{/number}","contents_url":"https://api.github.com/repos/WesleySkillern/h2ms/contents/{+path}","compare_url":"https://api.github.com/repos/WesleySkillern/h2ms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WesleySkillern/h2ms/merges","archive_url":"https://api.github.com/repos/WesleySkillern/h2ms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WesleySkillern/h2ms/downloads","issues_url":"https://api.github.com/repos/WesleySkillern/h2ms/issues{/number}","pulls_url":"https://api.github.com/repos/WesleySkillern/h2ms/pulls{/number}","milestones_url":"https://api.github.com/repos/WesleySkillern/h2ms/milestones{/number}","notifications_url":"https://api.github.com/repos/WesleySkillern/h2ms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WesleySkillern/h2ms/labels{/name}","releases_url":"https://api.github.com/repos/WesleySkillern/h2ms/releases{/id}","deployments_url":"https://api.github.com/repos/WesleySkillern/h2ms/deployments","created_at":"2018-03-18T22:49:00Z","updated_at":"2018-03-18T22:49:02Z","pushed_at":"2018-04-18T22:43:10Z","git_url":"git://github.com/WesleySkillern/h2ms.git","ssh_url":"git@github.com:WesleySkillern/h2ms.git","clone_url":"https://github.com/WesleySkillern/h2ms.git","svn_url":"https://github.com/WesleySkillern/h2ms","homepage":"","size":1648,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"2018swecapstone:master","ref":"master","sha":"33be6a716aa74efc8a6f1783a9edb0c6813a768a","user":{"login":"2018swecapstone","id":36141934,"avatar_url":"https://avatars2.githubusercontent.com/u/36141934?v=4","gravatar_id":"","url":"https://api.github.com/users/2018swecapstone","html_url":"https://github.com/2018swecapstone","followers_url":"https://api.github.com/users/2018swecapstone/followers","following_url":"https://api.github.com/users/2018swecapstone/following{/other_user}","gists_url":"https://api.github.com/users/2018swecapstone/gists{/gist_id}","starred_url":"https://api.github.com/users/2018swecapstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2018swecapstone/subscriptions","organizations_url":"https://api.github.com/users/2018swecapstone/orgs","repos_url":"https://api.github.com/users/2018swecapstone/repos","events_url":"https://api.github.com/users/2018swecapstone/events{/privacy}","received_events_url":"https://api.github.com/users/2018swecapstone/received_events","type":"Organization","site_admin":false},"repo":{"id":121564633,"name":"h2ms","full_name":"2018swecapstone/h2ms","owner":{"login":"2018swecapstone","id":36141934,"avatar_url":"https://avatars2.githubusercontent.com/u/36141934?v=4","gravatar_id":"","url":"https://api.github.com/users/2018swecapstone","html_url":"https://github.com/2018swecapstone","followers_url":"https://api.github.com/users/2018swecapstone/followers","following_url":"https://api.github.com/users/2018swecapstone/following{/other_user}","gists_url":"https://api.github.com/users/2018swecapstone/gists{/gist_id}","starred_url":"https://api.github.com/users/2018swecapstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2018swecapstone/subscriptions","organizations_url":"https://api.github.com/users/2018swecapstone/orgs","repos_url":"https://api.github.com/users/2018swecapstone/repos","events_url":"https://api.github.com/users/2018swecapstone/events{/privacy}","received_events_url":"https://api.github.com/users/2018swecapstone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2018swecapstone/h2ms","description":"Hand Hygiene Monitoring System","fork":false,"url":"https://api.github.com/repos/2018swecapstone/h2ms","forks_url":"https://api.github.com/repos/2018swecapstone/h2ms/forks","keys_url":"https://api.github.com/repos/2018swecapstone/h2ms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2018swecapstone/h2ms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2018swecapstone/h2ms/teams","hooks_url":"https://api.github.com/repos/2018swecapstone/h2ms/hooks","issue_events_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/events{/number}","events_url":"https://api.github.com/repos/2018swecapstone/h2ms/events","assignees_url":"https://api.github.com/repos/2018swecapstone/h2ms/assignees{/user}","branches_url":"https://api.github.com/repos/2018swecapstone/h2ms/branches{/branch}","tags_url":"https://api.github.com/repos/2018swecapstone/h2ms/tags","blobs_url":"https://api.github.com/repos/2018swecapstone/h2ms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2018swecapstone/h2ms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2018swecapstone/h2ms/git/refs{/sha}","trees_url":"https://api.github.com/repos/2018swecapstone/h2ms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2018swecapstone/h2ms/statuses/{sha}","languages_url":"https://api.github.com/repos/2018swecapstone/h2ms/languages","stargazers_url":"https://api.github.com/repos/2018swecapstone/h2ms/stargazers","contributors_url":"https://api.github.com/repos/2018swecapstone/h2ms/contributors","subscribers_url":"https://api.github.com/repos/2018swecapstone/h2ms/subscribers","subscription_url":"https://api.github.com/repos/2018swecapstone/h2ms/subscription","commits_url":"https://api.github.com/repos/2018swecapstone/h2ms/commits{/sha}","git_commits_url":"https://api.github.com/repos/2018swecapstone/h2ms/git/commits{/sha}","comments_url":"https://api.github.com/repos/2018swecapstone/h2ms/comments{/number}","issue_comment_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues/comments{/number}","contents_url":"https://api.github.com/repos/2018swecapstone/h2ms/contents/{+path}","compare_url":"https://api.github.com/repos/2018swecapstone/h2ms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2018swecapstone/h2ms/merges","archive_url":"https://api.github.com/repos/2018swecapstone/h2ms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2018swecapstone/h2ms/downloads","issues_url":"https://api.github.com/repos/2018swecapstone/h2ms/issues{/number}","pulls_url":"https://api.github.com/repos/2018swecapstone/h2ms/pulls{/number}","milestones_url":"https://api.github.com/repos/2018swecapstone/h2ms/milestones{/number}","notifications_url":"https://api.github.com/repos/2018swecapstone/h2ms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2018swecapstone/h2ms/labels{/name}","releases_url":"https://api.github.com/repos/2018swecapstone/h2ms/releases{/id}","deployments_url":"https://api.github.com/repos/2018swecapstone/h2ms/deployments","created_at":"2018-02-14T21:42:02Z","updated_at":"2018-04-18T20:36:01Z","pushed_at":"2018-04-18T22:43:11Z","git_url":"git://github.com/2018swecapstone/h2ms.git","ssh_url":"git@github.com:2018swecapstone/h2ms.git","clone_url":"https://github.com/2018swecapstone/h2ms.git","svn_url":"https://github.com/2018swecapstone/h2ms","homepage":"","size":1624,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":5,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93"},"html":{"href":"https://github.com/2018swecapstone/h2ms/pull/93"},"issue":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/issues/93"},"comments":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/2018swecapstone/h2ms/statuses/80777fc37746d0e6a33271c55a858b06f0bbb80e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"benjenkinsv95"}}