{"action":"created","comment":{"url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/comments/190205023","pull_request_review_id":122532409,"id":190205023,"diff_hunk":"@@ -17,11 +18,14 @@ export class SideNavComponent implements OnDestroy {\n   userDict: { [key: string]: User } = {};\n   subs: Subscription[] = [];\n \n-  constructor(private store: Store<AppState>) {\n+  constructor(private store: Store<AppState>, private router: Router) {\n     this.userDict$ = store.select(appState.coreState).select(s => s.userDict);\n     this.subs.push(this.userDict$.subscribe(userDict => this.userDict = userDict));\n   }\n   ngOnDestroy() {\n     Utils.unsubscribe(this.subs);\n   }\n+  navigateUrl() {\n+    this.router.navigate(['my/questions', this.user.userId]);","path":"src/app/components/side-nav/side-nav.component.ts","position":21,"original_position":21,"commit_id":"8e91c5352c173149db3ecb9ccd67746da0e9067e","original_commit_id":"8e91c5352c173149db3ecb9ccd67746da0e9067e","user":{"login":"anihalaney","id":13291653,"avatar_url":"https://avatars3.githubusercontent.com/u/13291653?v=4","gravatar_id":"","url":"https://api.github.com/users/anihalaney","html_url":"https://github.com/anihalaney","followers_url":"https://api.github.com/users/anihalaney/followers","following_url":"https://api.github.com/users/anihalaney/following{/other_user}","gists_url":"https://api.github.com/users/anihalaney/gists{/gist_id}","starred_url":"https://api.github.com/users/anihalaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anihalaney/subscriptions","organizations_url":"https://api.github.com/users/anihalaney/orgs","repos_url":"https://api.github.com/users/anihalaney/repos","events_url":"https://api.github.com/users/anihalaney/events{/privacy}","received_events_url":"https://api.github.com/users/anihalaney/received_events","type":"User","site_admin":false},"body":"why do we need userId in the route?","created_at":"2018-05-23T10:59:35Z","updated_at":"2018-05-23T10:59:35Z","html_url":"https://github.com/anihalaney/rwa-trivia/pull/122#discussion_r190205023","pull_request_url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/comments/190205023"},"html":{"href":"https://github.com/anihalaney/rwa-trivia/pull/122#discussion_r190205023"},"pull_request":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122","id":189883747,"html_url":"https://github.com/anihalaney/rwa-trivia/pull/122","diff_url":"https://github.com/anihalaney/rwa-trivia/pull/122.diff","patch_url":"https://github.com/anihalaney/rwa-trivia/pull/122.patch","issue_url":"https://api.github.com/repos/anihalaney/rwa-trivia/issues/122","number":122,"state":"open","locked":false,"title":"Dashboard bugs","user":{"login":"milansar","id":34124091,"avatar_url":"https://avatars0.githubusercontent.com/u/34124091?v=4","gravatar_id":"","url":"https://api.github.com/users/milansar","html_url":"https://github.com/milansar","followers_url":"https://api.github.com/users/milansar/followers","following_url":"https://api.github.com/users/milansar/following{/other_user}","gists_url":"https://api.github.com/users/milansar/gists{/gist_id}","starred_url":"https://api.github.com/users/milansar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milansar/subscriptions","organizations_url":"https://api.github.com/users/milansar/orgs","repos_url":"https://api.github.com/users/milansar/repos","events_url":"https://api.github.com/users/milansar/events{/privacy}","received_events_url":"https://api.github.com/users/milansar/received_events","type":"User","site_admin":false},"body":"BW - 137,138,140","created_at":"2018-05-23T07:46:42Z","updated_at":"2018-05-23T10:59:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd8db2ee1340f67fc2d5d8b451b3d3e31ecf4ad1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122/commits","review_comments_url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122/comments","review_comment_url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anihalaney/rwa-trivia/issues/122/comments","statuses_url":"https://api.github.com/repos/anihalaney/rwa-trivia/statuses/8e91c5352c173149db3ecb9ccd67746da0e9067e","head":{"label":"milansar:dashboard-bugs","ref":"dashboard-bugs","sha":"8e91c5352c173149db3ecb9ccd67746da0e9067e","user":{"login":"milansar","id":34124091,"avatar_url":"https://avatars0.githubusercontent.com/u/34124091?v=4","gravatar_id":"","url":"https://api.github.com/users/milansar","html_url":"https://github.com/milansar","followers_url":"https://api.github.com/users/milansar/followers","following_url":"https://api.github.com/users/milansar/following{/other_user}","gists_url":"https://api.github.com/users/milansar/gists{/gist_id}","starred_url":"https://api.github.com/users/milansar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milansar/subscriptions","organizations_url":"https://api.github.com/users/milansar/orgs","repos_url":"https://api.github.com/users/milansar/repos","events_url":"https://api.github.com/users/milansar/events{/privacy}","received_events_url":"https://api.github.com/users/milansar/received_events","type":"User","site_admin":false},"repo":{"id":119533801,"name":"rwa-trivia","full_name":"milansar/rwa-trivia","owner":{"login":"milansar","id":34124091,"avatar_url":"https://avatars0.githubusercontent.com/u/34124091?v=4","gravatar_id":"","url":"https://api.github.com/users/milansar","html_url":"https://github.com/milansar","followers_url":"https://api.github.com/users/milansar/followers","following_url":"https://api.github.com/users/milansar/following{/other_user}","gists_url":"https://api.github.com/users/milansar/gists{/gist_id}","starred_url":"https://api.github.com/users/milansar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milansar/subscriptions","organizations_url":"https://api.github.com/users/milansar/orgs","repos_url":"https://api.github.com/users/milansar/repos","events_url":"https://api.github.com/users/milansar/events{/privacy}","received_events_url":"https://api.github.com/users/milansar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milansar/rwa-trivia","description":"Trivia App - Real World Angular series","fork":true,"url":"https://api.github.com/repos/milansar/rwa-trivia","forks_url":"https://api.github.com/repos/milansar/rwa-trivia/forks","keys_url":"https://api.github.com/repos/milansar/rwa-trivia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milansar/rwa-trivia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milansar/rwa-trivia/teams","hooks_url":"https://api.github.com/repos/milansar/rwa-trivia/hooks","issue_events_url":"https://api.github.com/repos/milansar/rwa-trivia/issues/events{/number}","events_url":"https://api.github.com/repos/milansar/rwa-trivia/events","assignees_url":"https://api.github.com/repos/milansar/rwa-trivia/assignees{/user}","branches_url":"https://api.github.com/repos/milansar/rwa-trivia/branches{/branch}","tags_url":"https://api.github.com/repos/milansar/rwa-trivia/tags","blobs_url":"https://api.github.com/repos/milansar/rwa-trivia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milansar/rwa-trivia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milansar/rwa-trivia/git/refs{/sha}","trees_url":"https://api.github.com/repos/milansar/rwa-trivia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milansar/rwa-trivia/statuses/{sha}","languages_url":"https://api.github.com/repos/milansar/rwa-trivia/languages","stargazers_url":"https://api.github.com/repos/milansar/rwa-trivia/stargazers","contributors_url":"https://api.github.com/repos/milansar/rwa-trivia/contributors","subscribers_url":"https://api.github.com/repos/milansar/rwa-trivia/subscribers","subscription_url":"https://api.github.com/repos/milansar/rwa-trivia/subscription","commits_url":"https://api.github.com/repos/milansar/rwa-trivia/commits{/sha}","git_commits_url":"https://api.github.com/repos/milansar/rwa-trivia/git/commits{/sha}","comments_url":"https://api.github.com/repos/milansar/rwa-trivia/comments{/number}","issue_comment_url":"https://api.github.com/repos/milansar/rwa-trivia/issues/comments{/number}","contents_url":"https://api.github.com/repos/milansar/rwa-trivia/contents/{+path}","compare_url":"https://api.github.com/repos/milansar/rwa-trivia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milansar/rwa-trivia/merges","archive_url":"https://api.github.com/repos/milansar/rwa-trivia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milansar/rwa-trivia/downloads","issues_url":"https://api.github.com/repos/milansar/rwa-trivia/issues{/number}","pulls_url":"https://api.github.com/repos/milansar/rwa-trivia/pulls{/number}","milestones_url":"https://api.github.com/repos/milansar/rwa-trivia/milestones{/number}","notifications_url":"https://api.github.com/repos/milansar/rwa-trivia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milansar/rwa-trivia/labels{/name}","releases_url":"https://api.github.com/repos/milansar/rwa-trivia/releases{/id}","deployments_url":"https://api.github.com/repos/milansar/rwa-trivia/deployments","created_at":"2018-01-30T12:36:51Z","updated_at":"2018-05-21T13:05:36Z","pushed_at":"2018-05-23T10:57:05Z","git_url":"git://github.com/milansar/rwa-trivia.git","ssh_url":"git@github.com:milansar/rwa-trivia.git","clone_url":"https://github.com/milansar/rwa-trivia.git","svn_url":"https://github.com/milansar/rwa-trivia","homepage":null,"size":15504,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","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":1,"default_branch":"master"}},"base":{"label":"anihalaney:part-19","ref":"part-19","sha":"94dc9ed4d4013f3f6e85497853ab5d62502c598b","user":{"login":"anihalaney","id":13291653,"avatar_url":"https://avatars3.githubusercontent.com/u/13291653?v=4","gravatar_id":"","url":"https://api.github.com/users/anihalaney","html_url":"https://github.com/anihalaney","followers_url":"https://api.github.com/users/anihalaney/followers","following_url":"https://api.github.com/users/anihalaney/following{/other_user}","gists_url":"https://api.github.com/users/anihalaney/gists{/gist_id}","starred_url":"https://api.github.com/users/anihalaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anihalaney/subscriptions","organizations_url":"https://api.github.com/users/anihalaney/orgs","repos_url":"https://api.github.com/users/anihalaney/repos","events_url":"https://api.github.com/users/anihalaney/events{/privacy}","received_events_url":"https://api.github.com/users/anihalaney/received_events","type":"User","site_admin":false},"repo":{"id":79659705,"name":"rwa-trivia","full_name":"anihalaney/rwa-trivia","owner":{"login":"anihalaney","id":13291653,"avatar_url":"https://avatars3.githubusercontent.com/u/13291653?v=4","gravatar_id":"","url":"https://api.github.com/users/anihalaney","html_url":"https://github.com/anihalaney","followers_url":"https://api.github.com/users/anihalaney/followers","following_url":"https://api.github.com/users/anihalaney/following{/other_user}","gists_url":"https://api.github.com/users/anihalaney/gists{/gist_id}","starred_url":"https://api.github.com/users/anihalaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anihalaney/subscriptions","organizations_url":"https://api.github.com/users/anihalaney/orgs","repos_url":"https://api.github.com/users/anihalaney/repos","events_url":"https://api.github.com/users/anihalaney/events{/privacy}","received_events_url":"https://api.github.com/users/anihalaney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anihalaney/rwa-trivia","description":"Trivia App - Real World Angular series","fork":false,"url":"https://api.github.com/repos/anihalaney/rwa-trivia","forks_url":"https://api.github.com/repos/anihalaney/rwa-trivia/forks","keys_url":"https://api.github.com/repos/anihalaney/rwa-trivia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anihalaney/rwa-trivia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anihalaney/rwa-trivia/teams","hooks_url":"https://api.github.com/repos/anihalaney/rwa-trivia/hooks","issue_events_url":"https://api.github.com/repos/anihalaney/rwa-trivia/issues/events{/number}","events_url":"https://api.github.com/repos/anihalaney/rwa-trivia/events","assignees_url":"https://api.github.com/repos/anihalaney/rwa-trivia/assignees{/user}","branches_url":"https://api.github.com/repos/anihalaney/rwa-trivia/branches{/branch}","tags_url":"https://api.github.com/repos/anihalaney/rwa-trivia/tags","blobs_url":"https://api.github.com/repos/anihalaney/rwa-trivia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anihalaney/rwa-trivia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anihalaney/rwa-trivia/git/refs{/sha}","trees_url":"https://api.github.com/repos/anihalaney/rwa-trivia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anihalaney/rwa-trivia/statuses/{sha}","languages_url":"https://api.github.com/repos/anihalaney/rwa-trivia/languages","stargazers_url":"https://api.github.com/repos/anihalaney/rwa-trivia/stargazers","contributors_url":"https://api.github.com/repos/anihalaney/rwa-trivia/contributors","subscribers_url":"https://api.github.com/repos/anihalaney/rwa-trivia/subscribers","subscription_url":"https://api.github.com/repos/anihalaney/rwa-trivia/subscription","commits_url":"https://api.github.com/repos/anihalaney/rwa-trivia/commits{/sha}","git_commits_url":"https://api.github.com/repos/anihalaney/rwa-trivia/git/commits{/sha}","comments_url":"https://api.github.com/repos/anihalaney/rwa-trivia/comments{/number}","issue_comment_url":"https://api.github.com/repos/anihalaney/rwa-trivia/issues/comments{/number}","contents_url":"https://api.github.com/repos/anihalaney/rwa-trivia/contents/{+path}","compare_url":"https://api.github.com/repos/anihalaney/rwa-trivia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anihalaney/rwa-trivia/merges","archive_url":"https://api.github.com/repos/anihalaney/rwa-trivia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anihalaney/rwa-trivia/downloads","issues_url":"https://api.github.com/repos/anihalaney/rwa-trivia/issues{/number}","pulls_url":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls{/number}","milestones_url":"https://api.github.com/repos/anihalaney/rwa-trivia/milestones{/number}","notifications_url":"https://api.github.com/repos/anihalaney/rwa-trivia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anihalaney/rwa-trivia/labels{/name}","releases_url":"https://api.github.com/repos/anihalaney/rwa-trivia/releases{/id}","deployments_url":"https://api.github.com/repos/anihalaney/rwa-trivia/deployments","created_at":"2017-01-21T17:06:37Z","updated_at":"2018-05-21T15:39:06Z","pushed_at":"2018-05-23T07:46:42Z","git_url":"git://github.com/anihalaney/rwa-trivia.git","ssh_url":"git@github.com:anihalaney/rwa-trivia.git","clone_url":"https://github.com/anihalaney/rwa-trivia.git","svn_url":"https://github.com/anihalaney/rwa-trivia","homepage":null,"size":15523,"stargazers_count":114,"watchers_count":114,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":53,"open_issues":3,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122"},"html":{"href":"https://github.com/anihalaney/rwa-trivia/pull/122"},"issue":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/issues/122"},"comments":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/anihalaney/rwa-trivia/statuses/8e91c5352c173149db3ecb9ccd67746da0e9067e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"anihalaney"}}