{"action":"created","comment":{"url":"https://api.github.com/repos/CATcher-org/CATcher/pulls/comments/288895618","pull_request_review_id":243672753,"id":288895618,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4ODg5NTYxOA==","diff_hunk":"@@ -52,6 +57,24 @@ export class NewTeamResponseComponent implements OnInit {\n       this.duplicateOf.updateValueAndValidity();\n       this.responseTag.updateValueAndValidity();\n     });\n+\n+    if (this.issue.severity === '') {\n+      this.selectedSeverityColor = 'ffffff';\n+    } else {\n+      this.selectedSeverityColor = this.issue.severityColor;\n+    }\n+\n+    if (this.issue.type === '') {\n+      this.selectedTypeColor = 'ffffff';\n+    } else {\n+      this.selectedTypeColor = this.issue.typeColor;\n+    }\n+\n+    if (this.issue.responseTag === '') {\n+      this.selectedResponseColor = 'ffffff';\n+    } else {\n+      this.selectedResponseColor = this.issue.responseColor;\n+    }","path":"src/app/phase2/new-team-respond/new-team-response.component.ts","position":null,"original_position":55,"commit_id":"b5bccedcea4b81ea47b03f77f8c4d2b652edfc0c","original_commit_id":"001abd23bce7049f69295bcf115914ed8ff8897e","user":{"login":"KevinCJH","id":6972112,"node_id":"MDQ6VXNlcjY5NzIxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6972112?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinCJH","html_url":"https://github.com/KevinCJH","followers_url":"https://api.github.com/users/KevinCJH/followers","following_url":"https://api.github.com/users/KevinCJH/following{/other_user}","gists_url":"https://api.github.com/users/KevinCJH/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinCJH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinCJH/subscriptions","organizations_url":"https://api.github.com/users/KevinCJH/orgs","repos_url":"https://api.github.com/users/KevinCJH/repos","events_url":"https://api.github.com/users/KevinCJH/events{/privacy}","received_events_url":"https://api.github.com/users/KevinCJH/received_events","type":"User","site_admin":false},"body":"I have made changes to the code, all label will now refer to the label map in the label service to get the color","created_at":"2019-05-30T08:03:32Z","updated_at":"2019-05-30T08:03:32Z","html_url":"https://github.com/CATcher-org/CATcher/pull/62#discussion_r288895618","pull_request_url":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/CATcher-org/CATcher/pulls/comments/288895618"},"html":{"href":"https://github.com/CATcher-org/CATcher/pull/62#discussion_r288895618"},"pull_request":{"href":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62"}},"in_reply_to_id":288449903},"pull_request":{"url":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62","id":279402644,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc5NDAyNjQ0","html_url":"https://github.com/CATcher-org/CATcher/pull/62","diff_url":"https://github.com/CATcher-org/CATcher/pull/62.diff","patch_url":"https://github.com/CATcher-org/CATcher/pull/62.patch","issue_url":"https://api.github.com/repos/CATcher-org/CATcher/issues/62","number":62,"state":"open","locked":false,"title":"Add label colors to labels","user":{"login":"KevinCJH","id":6972112,"node_id":"MDQ6VXNlcjY5NzIxMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6972112?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinCJH","html_url":"https://github.com/KevinCJH","followers_url":"https://api.github.com/users/KevinCJH/followers","following_url":"https://api.github.com/users/KevinCJH/following{/other_user}","gists_url":"https://api.github.com/users/KevinCJH/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinCJH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinCJH/subscriptions","organizations_url":"https://api.github.com/users/KevinCJH/orgs","repos_url":"https://api.github.com/users/KevinCJH/repos","events_url":"https://api.github.com/users/KevinCJH/events{/privacy}","received_events_url":"https://api.github.com/users/KevinCJH/received_events","type":"User","site_admin":false},"body":"Fixes #43 \r\n\r\n![image](https://user-images.githubusercontent.com/6972112/58156270-4d9d1180-7ca8-11e9-874c-de334b979703.png)\r\n\r\n![image](https://user-images.githubusercontent.com/6972112/58156309-63aad200-7ca8-11e9-89cc-c53571e940dc.png) ![image](https://user-images.githubusercontent.com/6972112/58156321-6c030d00-7ca8-11e9-9022-b5c9eb303288.png)\r\n\r\n![image](https://user-images.githubusercontent.com/6972112/58156400-8f2dbc80-7ca8-11e9-9840-fd40b7465d20.png)\r\n![image](https://user-images.githubusercontent.com/6972112/58156410-98b72480-7ca8-11e9-97db-19504ff8bd9c.png)\r\n","created_at":"2019-05-16T08:39:56Z","updated_at":"2019-05-30T08:03:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4436ff8550d23240fb4424cf920440ebba4515ab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62/commits","review_comments_url":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62/comments","review_comment_url":"https://api.github.com/repos/CATcher-org/CATcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CATcher-org/CATcher/issues/62/comments","statuses_url":"https://api.github.com/repos/CATcher-org/CATcher/statuses/b5bccedcea4b81ea47b03f77f8c4d2b652edfc0c","head":{"label":"CATcher-org:add-color-to-label","ref":"add-color-to-label","sha":"b5bccedcea4b81ea47b03f77f8c4d2b652edfc0c","user":{"login":"CATcher-org","id":46449017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NDQ5MDE3","avatar_url":"https://avatars0.githubusercontent.com/u/46449017?v=4","gravatar_id":"","url":"https://api.github.com/users/CATcher-org","html_url":"https://github.com/CATcher-org","followers_url":"https://api.github.com/users/CATcher-org/followers","following_url":"https://api.github.com/users/CATcher-org/following{/other_user}","gists_url":"https://api.github.com/users/CATcher-org/gists{/gist_id}","starred_url":"https://api.github.com/users/CATcher-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CATcher-org/subscriptions","organizations_url":"https://api.github.com/users/CATcher-org/orgs","repos_url":"https://api.github.com/users/CATcher-org/repos","events_url":"https://api.github.com/users/CATcher-org/events{/privacy}","received_events_url":"https://api.github.com/users/CATcher-org/received_events","type":"Organization","site_admin":false},"repo":{"id":164441072,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQ0NDEwNzI=","name":"CATcher","full_name":"CATcher-org/CATcher","private":false,"owner":{"login":"CATcher-org","id":46449017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NDQ5MDE3","avatar_url":"https://avatars0.githubusercontent.com/u/46449017?v=4","gravatar_id":"","url":"https://api.github.com/users/CATcher-org","html_url":"https://github.com/CATcher-org","followers_url":"https://api.github.com/users/CATcher-org/followers","following_url":"https://api.github.com/users/CATcher-org/following{/other_user}","gists_url":"https://api.github.com/users/CATcher-org/gists{/gist_id}","starred_url":"https://api.github.com/users/CATcher-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CATcher-org/subscriptions","organizations_url":"https://api.github.com/users/CATcher-org/orgs","repos_url":"https://api.github.com/users/CATcher-org/repos","events_url":"https://api.github.com/users/CATcher-org/events{/privacy}","received_events_url":"https://api.github.com/users/CATcher-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CATcher-org/CATcher","description":"CATcher is a desktop application for peer-testing of software projects.","fork":false,"url":"https://api.github.com/repos/CATcher-org/CATcher","forks_url":"https://api.github.com/repos/CATcher-org/CATcher/forks","keys_url":"https://api.github.com/repos/CATcher-org/CATcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CATcher-org/CATcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CATcher-org/CATcher/teams","hooks_url":"https://api.github.com/repos/CATcher-org/CATcher/hooks","issue_events_url":"https://api.github.com/repos/CATcher-org/CATcher/issues/events{/number}","events_url":"https://api.github.com/repos/CATcher-org/CATcher/events","assignees_url":"https://api.github.com/repos/CATcher-org/CATcher/assignees{/user}","branches_url":"https://api.github.com/repos/CATcher-org/CATcher/branches{/branch}","tags_url":"https://api.github.com/repos/CATcher-org/CATcher/tags","blobs_url":"https://api.github.com/repos/CATcher-org/CATcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CATcher-org/CATcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CATcher-org/CATcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/CATcher-org/CATcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CATcher-org/CATcher/statuses/{sha}","languages_url":"https://api.github.com/repos/CATcher-org/CATcher/languages","stargazers_url":"https://api.github.com/repos/CATcher-org/CATcher/stargazers","contributors_url":"https://api.github.com/repos/CATcher-org/CATcher/contributors","subscribers_url":"https://api.github.com/repos/CATcher-org/CATcher/subscribers","subscription_url":"https://api.github.com/repos/CATcher-org/CATcher/subscription","commits_url":"https://api.github.com/repos/CATcher-org/CATcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/CATcher-org/CATcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/CATcher-org/CATcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/CATcher-org/CATcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/CATcher-org/CATcher/contents/{+path}","compare_url":"https://api.github.com/repos/CATcher-org/CATcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CATcher-org/CATcher/merges","archive_url":"https://api.github.com/repos/CATcher-org/CATcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CATcher-org/CATcher/downloads","issues_url":"https://api.github.com/repos/CATcher-org/CATcher/issues{/number}","pulls_url":"https://api.github.com/repos/CATcher-org/CATcher/pulls{/number}","milestones_url":"https://api.github.com/repos/CATcher-org/CATcher/milestones{/number}","notifications_url":"https://api.github.com/repos/CATcher-org/CATcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CATcher-org/CATcher/labels{/name}","releases_url":"https://api.github.com/repos/CATcher-org/CATcher/releases{/id}","deployments_url":"https://api.github.com/repos/CATcher-org/CATcher/deployments","created_at":"2019-01-07T14:03:12Z","updated_at":"2019-05-29T10:01:29Z","pushed_at":"2019-05-30T07:57:47Z","git_url":"git://github.com/CATcher-org/CATcher.git","ssh_url":"git@github.com:CATcher-org/CATcher.git","clone_url":"https://github.com/CATcher-org/CATcher.git","svn_url":"https://github.com/CATcher-org/CATcher","homepage":"","size":533,"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":4,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":12,"license":null,"forks":4,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"CATcher-org:master","ref":"master","sha":"329c3f9060221e827f33924d78f57112de5657f9","user":{"login":"CATcher-org","id":46449017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NDQ5MDE3","avatar_url":"https://avatars0.githubusercontent.com/u/46449017?v=4","gravatar_id":"","url":"https://api.github.com/users/CATcher-org","html_url":"https://github.com/CATcher-org","followers_url":"https://api.github.com/users/CATcher-org/followers","following_url":"https://api.github.com/users/CATcher-org/following{/other_user}","gists_url":"https://api.github.com/users/CATcher-org/gists{/gist_id}","starred_url":"https://api.github.com/users/CATcher-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CATcher-org/subscriptions","organizations_url":"https://api.github.com/users/CATcher-org/orgs","repos_url":"https://api.github.com/users/CATcher-org/repos","events_url":"https://api.github.com/users/CATcher-org/events{/privacy}","received_events_url":"https://api.github.com/users/CATcher-org/received_events","type":"Organization","site_admin":false},"repo":{"id":164441072,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQ0NDEwNzI=","name":"CATcher","full_name":"CATcher-org/CATcher","private":false,"owner":{"login":"CATcher-org","id":46449017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ2NDQ5MDE3","avatar_url":"https://avatars0.githubusercontent.com/u/46449017?v=4","gravatar_id":"","url":"https://api.github.com/users/CATcher-org","html_url":"https://github.com/CATcher-org","followers_url":"https://api.github.com/users/CATcher-org/followers","following_url":"https://api.github.com/users/CATcher-org/following{/other_user}","gists_url":"https://api.github.com/users/CATcher-org/gists{/gist_id}","starred_url":"https://api.github.com/users/CATcher-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CATcher-org/subscriptions","organizations_url":"https://api.github.com/users/CATcher-org/orgs","repos_url":"https://api.github.com/users/CATcher-org/repos","events_url":"https://api.github.com/users/CATcher-org/events{/privacy}","received_events_url":"https://api.github.com/users/CATcher-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CATcher-org/CATcher","description":"CATcher is a desktop application for peer-testing of software projects.","fork":false,"url":"https://api.github.com/repos/CATcher-org/CATcher","forks_url":"https://api.github.com/repos/CATcher-org/CATcher/forks","keys_url":"https://api.github.com/repos/CATcher-org/CATcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CATcher-org/CATcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CATcher-org/CATcher/teams","hooks_url":"https://api.github.com/repos/CATcher-org/CATcher/hooks","issue_events_url":"https://api.github.com/repos/CATcher-org/CATcher/issues/events{/number}","events_url":"https://api.github.com/repos/CATcher-org/CATcher/events","assignees_url":"https://api.github.com/repos/CATcher-org/CATcher/assignees{/user}","branches_url":"https://api.github.com/repos/CATcher-org/CATcher/branches{/branch}","tags_url":"https://api.github.com/repos/CATcher-org/CATcher/tags","blobs_url":"https://api.github.com/repos/CATcher-org/CATcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CATcher-org/CATcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CATcher-org/CATcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/CATcher-org/CATcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CATcher-org/CATcher/statuses/{sha}","languages_url":"https://api.github.com/repos/CATcher-org/CATcher/languages","stargazers_url":"https://api.github.com/repos/CATcher-org/CATcher/stargazers","contributors_url":"https://api.github.com/repos/CATcher-org/CATcher/contributors","subscribers_url":"https://api.github.com/repos/CATcher-org/CATcher/subscribers","subscription_url":"https://api.github.com/repos/CATcher-org/CATcher/subscription","commits_url":"https://api.github.com/repos/CATcher-org/CATcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/CATcher-org/CATcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/CATcher-org/CATcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/CATcher-org/CATcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/CATcher-org/CATcher/contents/{+path}","compare_url":"https://api.github.com/repos/CATcher-org/CATcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CATcher-org/CATcher/merges","archive_url":"https://api.github.com/repos/CATcher-org/CATcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CATcher-org/CATcher/downloads","issues_url":"https://api.github.com/repos/CATcher-org/CATcher/issues{/number}","pulls_url":"https://api.github.com/repos/CATcher-org/CATcher/pulls{/number}","milestones_url":"https://api.github.com/repos/CATcher-org/CATcher/milestones{/number}","notifications_url":"https://api.github.com/repos/CATcher-org/CATcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CATcher-org/CATcher/labels{/name}","releases_url":"https://api.github.com/repos/CATcher-org/CATcher/releases{/id}","deployments_url":"https://api.github.com/repos/CATcher-org/CATcher/deployments","created_at":"2019-01-07T14:03:12Z","updated_at":"2019-05-29T10:01:29Z","pushed_at":"2019-05-30T07:57:47Z","git_url":"git://github.com/CATcher-org/CATcher.git","ssh_url":"git@github.com:CATcher-org/CATcher.git","clone_url":"https://github.com/CATcher-org/CATcher.git","svn_url":"https://github.com/CATcher-org/CATcher","homepage":"","size":533,"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":4,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":12,"license":null,"forks":4,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62"},"html":{"href":"https://github.com/CATcher-org/CATcher/pull/62"},"issue":{"href":"https://api.github.com/repos/CATcher-org/CATcher/issues/62"},"comments":{"href":"https://api.github.com/repos/CATcher-org/CATcher/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/CATcher-org/CATcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CATcher-org/CATcher/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/CATcher-org/CATcher/statuses/b5bccedcea4b81ea47b03f77f8c4d2b652edfc0c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"KevinCJH"}}