{"action":"created","comment":{"url":"https://api.github.com/repos/vmware/harbor/pulls/comments/206070412","pull_request_review_id":141457653,"id":206070412,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjA3MDQxMg==","diff_hunk":"@@ -0,0 +1,55 @@\n+import { RoleMapping } from './../../shared/shared.const';\n+import { ActivatedRoute, Router } from '@angular/router';\n+import { Component, OnInit } from \"@angular/core\";\n+import { Project } from '../project';\n+import { SessionService } from './../../shared/session.service';\n+import { SessionUser } from './../../shared/session-user';\n+\n+@Component({\n+  selector: \"project-chart-detail\",\n+  templateUrl: \"./chart-detail.component.html\",\n+  styleUrls: [\"./chart-detail.component.scss\"]\n+})\n+export class ChartDetailComponent implements OnInit {\n+\n+  projectId: number | string;\n+  project: Project;\n+  chartName: string;\n+  chartVersion: string;\n+  currentUser: SessionUser;\n+  hasProjectAdminRole: boolean;\n+  roleName: string;\n+\n+  constructor(\n+    private route: ActivatedRoute,\n+    private router: Router,\n+    private session: SessionService\n+  ) {}\n+\n+  ngOnInit() {\n+    // Get projectId from route params snapshot.\n+    this.projectId = +this.route.snapshot.params['id'];","path":"src/ui_ng/src/app/project/chart-detail/chart-detail.component.ts","position":31,"original_position":31,"commit_id":"ad58fa6b9238fabd658c5c86ced3370f1377784e","original_commit_id":"ad58fa6b9238fabd658c5c86ced3370f1377784e","user":{"login":"ninjadq","id":1069785,"node_id":"MDQ6VXNlcjEwNjk3ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/1069785?v=4","gravatar_id":"","url":"https://api.github.com/users/ninjadq","html_url":"https://github.com/ninjadq","followers_url":"https://api.github.com/users/ninjadq/followers","following_url":"https://api.github.com/users/ninjadq/following{/other_user}","gists_url":"https://api.github.com/users/ninjadq/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjadq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjadq/subscriptions","organizations_url":"https://api.github.com/users/ninjadq/orgs","repos_url":"https://api.github.com/users/ninjadq/repos","events_url":"https://api.github.com/users/ninjadq/events{/privacy}","received_events_url":"https://api.github.com/users/ninjadq/received_events","type":"User","site_admin":false},"body":"I think using `this.route.snapshot` is a convention, rename it may confuse people.","created_at":"2018-07-30T09:37:00Z","updated_at":"2018-07-30T09:37:00Z","html_url":"https://github.com/vmware/harbor/pull/5423#discussion_r206070412","pull_request_url":"https://api.github.com/repos/vmware/harbor/pulls/5423","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vmware/harbor/pulls/comments/206070412"},"html":{"href":"https://github.com/vmware/harbor/pull/5423#discussion_r206070412"},"pull_request":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5423"}},"in_reply_to_id":206042403},"pull_request":{"url":"https://api.github.com/repos/vmware/harbor/pulls/5423","id":204684876,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0Njg0ODc2","html_url":"https://github.com/vmware/harbor/pull/5423","diff_url":"https://github.com/vmware/harbor/pull/5423.diff","patch_url":"https://github.com/vmware/harbor/pull/5423.patch","issue_url":"https://api.github.com/repos/vmware/harbor/issues/5423","number":5423,"state":"open","locked":false,"title":"Feature of helm chart UI","user":{"login":"ninjadq","id":1069785,"node_id":"MDQ6VXNlcjEwNjk3ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/1069785?v=4","gravatar_id":"","url":"https://api.github.com/users/ninjadq","html_url":"https://github.com/ninjadq","followers_url":"https://api.github.com/users/ninjadq/followers","following_url":"https://api.github.com/users/ninjadq/following{/other_user}","gists_url":"https://api.github.com/users/ninjadq/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjadq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjadq/subscriptions","organizations_url":"https://api.github.com/users/ninjadq/orgs","repos_url":"https://api.github.com/users/ninjadq/repos","events_url":"https://api.github.com/users/ninjadq/events{/privacy}","received_events_url":"https://api.github.com/users/ninjadq/received_events","type":"User","site_admin":false},"body":"1. Add Charts list view\r\n2. Add Charts card view\r\n3. Add Chart version list view\r\n4. Add chart version card view\r\n5. Add Chart Detail Summary\r\n6. Add Chart Detail Value\r\n6. Add Chart Detail Deps\r\n7. Update nodeclarity Dockerfile\r\n8. Add markdown support\r\n9. Add package-lock file to src","created_at":"2018-07-30T03:25:25Z","updated_at":"2018-07-30T09:37:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb613d81c6053e83b75e5c973ad545261ce2551b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"steven-zou","id":5753287,"node_id":"MDQ6VXNlcjU3NTMyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/5753287?v=4","gravatar_id":"","url":"https://api.github.com/users/steven-zou","html_url":"https://github.com/steven-zou","followers_url":"https://api.github.com/users/steven-zou/followers","following_url":"https://api.github.com/users/steven-zou/following{/other_user}","gists_url":"https://api.github.com/users/steven-zou/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-zou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-zou/subscriptions","organizations_url":"https://api.github.com/users/steven-zou/orgs","repos_url":"https://api.github.com/users/steven-zou/repos","events_url":"https://api.github.com/users/steven-zou/events{/privacy}","received_events_url":"https://api.github.com/users/steven-zou/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":350773817,"node_id":"MDU6TGFiZWwzNTA3NzM4MTc=","url":"https://api.github.com/repos/vmware/harbor/labels/cla-not-required","name":"cla-not-required","color":"159818","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vmware/harbor/pulls/5423/commits","review_comments_url":"https://api.github.com/repos/vmware/harbor/pulls/5423/comments","review_comment_url":"https://api.github.com/repos/vmware/harbor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/5423/comments","statuses_url":"https://api.github.com/repos/vmware/harbor/statuses/ad58fa6b9238fabd658c5c86ced3370f1377784e","head":{"label":"ninjadq:integrate_chart_view","ref":"integrate_chart_view","sha":"ad58fa6b9238fabd658c5c86ced3370f1377784e","user":{"login":"ninjadq","id":1069785,"node_id":"MDQ6VXNlcjEwNjk3ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/1069785?v=4","gravatar_id":"","url":"https://api.github.com/users/ninjadq","html_url":"https://github.com/ninjadq","followers_url":"https://api.github.com/users/ninjadq/followers","following_url":"https://api.github.com/users/ninjadq/following{/other_user}","gists_url":"https://api.github.com/users/ninjadq/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjadq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjadq/subscriptions","organizations_url":"https://api.github.com/users/ninjadq/orgs","repos_url":"https://api.github.com/users/ninjadq/repos","events_url":"https://api.github.com/users/ninjadq/events{/privacy}","received_events_url":"https://api.github.com/users/ninjadq/received_events","type":"User","site_admin":false},"repo":{"id":101283559,"node_id":"MDEwOlJlcG9zaXRvcnkxMDEyODM1NTk=","name":"harbor","full_name":"ninjadq/harbor","owner":{"login":"ninjadq","id":1069785,"node_id":"MDQ6VXNlcjEwNjk3ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/1069785?v=4","gravatar_id":"","url":"https://api.github.com/users/ninjadq","html_url":"https://github.com/ninjadq","followers_url":"https://api.github.com/users/ninjadq/followers","following_url":"https://api.github.com/users/ninjadq/following{/other_user}","gists_url":"https://api.github.com/users/ninjadq/gists{/gist_id}","starred_url":"https://api.github.com/users/ninjadq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninjadq/subscriptions","organizations_url":"https://api.github.com/users/ninjadq/orgs","repos_url":"https://api.github.com/users/ninjadq/repos","events_url":"https://api.github.com/users/ninjadq/events{/privacy}","received_events_url":"https://api.github.com/users/ninjadq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ninjadq/harbor","description":"An enterprise-class container registry server based on Docker Distribution","fork":true,"url":"https://api.github.com/repos/ninjadq/harbor","forks_url":"https://api.github.com/repos/ninjadq/harbor/forks","keys_url":"https://api.github.com/repos/ninjadq/harbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninjadq/harbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninjadq/harbor/teams","hooks_url":"https://api.github.com/repos/ninjadq/harbor/hooks","issue_events_url":"https://api.github.com/repos/ninjadq/harbor/issues/events{/number}","events_url":"https://api.github.com/repos/ninjadq/harbor/events","assignees_url":"https://api.github.com/repos/ninjadq/harbor/assignees{/user}","branches_url":"https://api.github.com/repos/ninjadq/harbor/branches{/branch}","tags_url":"https://api.github.com/repos/ninjadq/harbor/tags","blobs_url":"https://api.github.com/repos/ninjadq/harbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninjadq/harbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninjadq/harbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninjadq/harbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninjadq/harbor/statuses/{sha}","languages_url":"https://api.github.com/repos/ninjadq/harbor/languages","stargazers_url":"https://api.github.com/repos/ninjadq/harbor/stargazers","contributors_url":"https://api.github.com/repos/ninjadq/harbor/contributors","subscribers_url":"https://api.github.com/repos/ninjadq/harbor/subscribers","subscription_url":"https://api.github.com/repos/ninjadq/harbor/subscription","commits_url":"https://api.github.com/repos/ninjadq/harbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninjadq/harbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninjadq/harbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninjadq/harbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ninjadq/harbor/contents/{+path}","compare_url":"https://api.github.com/repos/ninjadq/harbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninjadq/harbor/merges","archive_url":"https://api.github.com/repos/ninjadq/harbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninjadq/harbor/downloads","issues_url":"https://api.github.com/repos/ninjadq/harbor/issues{/number}","pulls_url":"https://api.github.com/repos/ninjadq/harbor/pulls{/number}","milestones_url":"https://api.github.com/repos/ninjadq/harbor/milestones{/number}","notifications_url":"https://api.github.com/repos/ninjadq/harbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninjadq/harbor/labels{/name}","releases_url":"https://api.github.com/repos/ninjadq/harbor/releases{/id}","deployments_url":"https://api.github.com/repos/ninjadq/harbor/deployments","created_at":"2017-08-24T10:33:05Z","updated_at":"2017-08-24T10:33:08Z","pushed_at":"2018-07-30T05:37:40Z","git_url":"git://github.com/ninjadq/harbor.git","ssh_url":"git@github.com:ninjadq/harbor.git","clone_url":"https://github.com/ninjadq/harbor.git","svn_url":"https://github.com/ninjadq/harbor","homepage":"http://vmware.github.io/harbor/","size":98252,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vmware:master","ref":"master","sha":"5f83562a12ee025101bf19b1d1b76db24bf2542a","user":{"login":"vmware","id":473334,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"repo":{"id":50613991,"node_id":"MDEwOlJlcG9zaXRvcnk1MDYxMzk5MQ==","name":"harbor","full_name":"vmware/harbor","owner":{"login":"vmware","id":473334,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==","avatar_url":"https://avatars0.githubusercontent.com/u/473334?v=4","gravatar_id":"","url":"https://api.github.com/users/vmware","html_url":"https://github.com/vmware","followers_url":"https://api.github.com/users/vmware/followers","following_url":"https://api.github.com/users/vmware/following{/other_user}","gists_url":"https://api.github.com/users/vmware/gists{/gist_id}","starred_url":"https://api.github.com/users/vmware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmware/subscriptions","organizations_url":"https://api.github.com/users/vmware/orgs","repos_url":"https://api.github.com/users/vmware/repos","events_url":"https://api.github.com/users/vmware/events{/privacy}","received_events_url":"https://api.github.com/users/vmware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vmware/harbor","description":"An open source trusted cloud native registry project that stores, signs, and scans content.","fork":false,"url":"https://api.github.com/repos/vmware/harbor","forks_url":"https://api.github.com/repos/vmware/harbor/forks","keys_url":"https://api.github.com/repos/vmware/harbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vmware/harbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vmware/harbor/teams","hooks_url":"https://api.github.com/repos/vmware/harbor/hooks","issue_events_url":"https://api.github.com/repos/vmware/harbor/issues/events{/number}","events_url":"https://api.github.com/repos/vmware/harbor/events","assignees_url":"https://api.github.com/repos/vmware/harbor/assignees{/user}","branches_url":"https://api.github.com/repos/vmware/harbor/branches{/branch}","tags_url":"https://api.github.com/repos/vmware/harbor/tags","blobs_url":"https://api.github.com/repos/vmware/harbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vmware/harbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vmware/harbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/vmware/harbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vmware/harbor/statuses/{sha}","languages_url":"https://api.github.com/repos/vmware/harbor/languages","stargazers_url":"https://api.github.com/repos/vmware/harbor/stargazers","contributors_url":"https://api.github.com/repos/vmware/harbor/contributors","subscribers_url":"https://api.github.com/repos/vmware/harbor/subscribers","subscription_url":"https://api.github.com/repos/vmware/harbor/subscription","commits_url":"https://api.github.com/repos/vmware/harbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/vmware/harbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/vmware/harbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/vmware/harbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/vmware/harbor/contents/{+path}","compare_url":"https://api.github.com/repos/vmware/harbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vmware/harbor/merges","archive_url":"https://api.github.com/repos/vmware/harbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vmware/harbor/downloads","issues_url":"https://api.github.com/repos/vmware/harbor/issues{/number}","pulls_url":"https://api.github.com/repos/vmware/harbor/pulls{/number}","milestones_url":"https://api.github.com/repos/vmware/harbor/milestones{/number}","notifications_url":"https://api.github.com/repos/vmware/harbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vmware/harbor/labels{/name}","releases_url":"https://api.github.com/repos/vmware/harbor/releases{/id}","deployments_url":"https://api.github.com/repos/vmware/harbor/deployments","created_at":"2016-01-28T21:10:28Z","updated_at":"2018-07-30T09:27:11Z","pushed_at":"2018-07-30T09:35:31Z","git_url":"git://github.com/vmware/harbor.git","ssh_url":"git@github.com:vmware/harbor.git","clone_url":"https://github.com/vmware/harbor.git","svn_url":"https://github.com/vmware/harbor","homepage":"http://vmware.github.io/harbor/","size":98952,"stargazers_count":4727,"watchers_count":4727,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1365,"mirror_url":null,"archived":false,"open_issues_count":506,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1365,"open_issues":506,"watchers":4727,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5423"},"html":{"href":"https://github.com/vmware/harbor/pull/5423"},"issue":{"href":"https://api.github.com/repos/vmware/harbor/issues/5423"},"comments":{"href":"https://api.github.com/repos/vmware/harbor/issues/5423/comments"},"review_comments":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5423/comments"},"review_comment":{"href":"https://api.github.com/repos/vmware/harbor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vmware/harbor/pulls/5423/commits"},"statuses":{"href":"https://api.github.com/repos/vmware/harbor/statuses/ad58fa6b9238fabd658c5c86ced3370f1377784e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ninjadq"}}