{"action":"created","comment":{"url":"https://api.github.com/repos/nrwl/angular-console/pulls/comments/244853682","pull_request_review_id":188827876,"id":244853682,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDg1MzY4Mg==","diff_hunk":"@@ -0,0 +1,44 @@\n+import { Injectable, OnDestroy } from '@angular/core';\n+import { Router, NavigationEnd, NavigationExtras } from '@angular/router';\n+import { filter, skip, take } from 'rxjs/operators';\n+import { Location } from '@angular/common';\n+\n+@Injectable({\n+  providedIn: 'root'\n+})\n+export class LocationExtService implements OnDestroy {","path":"libs/utils/src/lib/location-ext.service.ts","position":9,"original_position":9,"commit_id":"592f08edf88673feccabfeab0f49f1acb276467f","original_commit_id":"592f08edf88673feccabfeab0f49f1acb276467f","user":{"login":"vsavkin","id":35996,"node_id":"MDQ6VXNlcjM1OTk2","avatar_url":"https://avatars0.githubusercontent.com/u/35996?v=4","gravatar_id":"","url":"https://api.github.com/users/vsavkin","html_url":"https://github.com/vsavkin","followers_url":"https://api.github.com/users/vsavkin/followers","following_url":"https://api.github.com/users/vsavkin/following{/other_user}","gists_url":"https://api.github.com/users/vsavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/vsavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsavkin/subscriptions","organizations_url":"https://api.github.com/users/vsavkin/orgs","repos_url":"https://api.github.com/users/vsavkin/repos","events_url":"https://api.github.com/users/vsavkin/events{/privacy}","received_events_url":"https://api.github.com/users/vsavkin/received_events","type":"User","site_admin":false},"body":"I think \"RouterNavigationService\" is better. The service doesn't extend the location service. The only public method has the signature of `router.navigate`.  ","created_at":"2019-01-02T21:03:26Z","updated_at":"2019-01-02T21:03:26Z","html_url":"https://github.com/nrwl/angular-console/pull/436#discussion_r244853682","pull_request_url":"https://api.github.com/repos/nrwl/angular-console/pulls/436","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/nrwl/angular-console/pulls/comments/244853682"},"html":{"href":"https://github.com/nrwl/angular-console/pull/436#discussion_r244853682"},"pull_request":{"href":"https://api.github.com/repos/nrwl/angular-console/pulls/436"}}},"pull_request":{"url":"https://api.github.com/repos/nrwl/angular-console/pulls/436","id":236927682,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2OTI3Njgy","html_url":"https://github.com/nrwl/angular-console/pull/436","diff_url":"https://github.com/nrwl/angular-console/pull/436.diff","patch_url":"https://github.com/nrwl/angular-console/pull/436.patch","issue_url":"https://api.github.com/repos/nrwl/angular-console/issues/436","number":436,"state":"open","locked":false,"title":"fix: Navigate back to previous location when active target or schematic is not present.","user":{"login":"jaysoo","id":53559,"node_id":"MDQ6VXNlcjUzNTU5","avatar_url":"https://avatars3.githubusercontent.com/u/53559?v=4","gravatar_id":"","url":"https://api.github.com/users/jaysoo","html_url":"https://github.com/jaysoo","followers_url":"https://api.github.com/users/jaysoo/followers","following_url":"https://api.github.com/users/jaysoo/following{/other_user}","gists_url":"https://api.github.com/users/jaysoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaysoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaysoo/subscriptions","organizations_url":"https://api.github.com/users/jaysoo/orgs","repos_url":"https://api.github.com/users/jaysoo/repos","events_url":"https://api.github.com/users/jaysoo/events{/privacy}","received_events_url":"https://api.github.com/users/jaysoo/received_events","type":"User","site_admin":false},"body":"**Assumption:** There is always a location to go back to (which is true for this desktop app)\r\n\r\n**Note:** There is a small delay in updating sidenav as seen below.\r\n\r\n![tasks](https://user-images.githubusercontent.com/53559/49660875-a6882e80-fa15-11e8-9f05-e6e42750951a.gif)\r\n\r\n\r\n- Closes #435","created_at":"2018-12-07T16:43:16Z","updated_at":"2019-01-02T21:03:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12227317b5641049be023ccc551fd68674dc1b51","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mrmeku","id":8085051,"node_id":"MDQ6VXNlcjgwODUwNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8085051?v=4","gravatar_id":"","url":"https://api.github.com/users/mrmeku","html_url":"https://github.com/mrmeku","followers_url":"https://api.github.com/users/mrmeku/followers","following_url":"https://api.github.com/users/mrmeku/following{/other_user}","gists_url":"https://api.github.com/users/mrmeku/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmeku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmeku/subscriptions","organizations_url":"https://api.github.com/users/mrmeku/orgs","repos_url":"https://api.github.com/users/mrmeku/repos","events_url":"https://api.github.com/users/mrmeku/events{/privacy}","received_events_url":"https://api.github.com/users/mrmeku/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nrwl/angular-console/pulls/436/commits","review_comments_url":"https://api.github.com/repos/nrwl/angular-console/pulls/436/comments","review_comment_url":"https://api.github.com/repos/nrwl/angular-console/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nrwl/angular-console/issues/436/comments","statuses_url":"https://api.github.com/repos/nrwl/angular-console/statuses/592f08edf88673feccabfeab0f49f1acb276467f","head":{"label":"jaysoo:exit-to-prev-screen","ref":"exit-to-prev-screen","sha":"592f08edf88673feccabfeab0f49f1acb276467f","user":{"login":"jaysoo","id":53559,"node_id":"MDQ6VXNlcjUzNTU5","avatar_url":"https://avatars3.githubusercontent.com/u/53559?v=4","gravatar_id":"","url":"https://api.github.com/users/jaysoo","html_url":"https://github.com/jaysoo","followers_url":"https://api.github.com/users/jaysoo/followers","following_url":"https://api.github.com/users/jaysoo/following{/other_user}","gists_url":"https://api.github.com/users/jaysoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaysoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaysoo/subscriptions","organizations_url":"https://api.github.com/users/jaysoo/orgs","repos_url":"https://api.github.com/users/jaysoo/repos","events_url":"https://api.github.com/users/jaysoo/events{/privacy}","received_events_url":"https://api.github.com/users/jaysoo/received_events","type":"User","site_admin":false},"repo":{"id":152433002,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MzMwMDI=","name":"angular-console","full_name":"jaysoo/angular-console","private":false,"owner":{"login":"jaysoo","id":53559,"node_id":"MDQ6VXNlcjUzNTU5","avatar_url":"https://avatars3.githubusercontent.com/u/53559?v=4","gravatar_id":"","url":"https://api.github.com/users/jaysoo","html_url":"https://github.com/jaysoo","followers_url":"https://api.github.com/users/jaysoo/followers","following_url":"https://api.github.com/users/jaysoo/following{/other_user}","gists_url":"https://api.github.com/users/jaysoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaysoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaysoo/subscriptions","organizations_url":"https://api.github.com/users/jaysoo/orgs","repos_url":"https://api.github.com/users/jaysoo/repos","events_url":"https://api.github.com/users/jaysoo/events{/privacy}","received_events_url":"https://api.github.com/users/jaysoo/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jaysoo/angular-console","description":"Angular Console is the user interface for the Angular CLI.","fork":true,"url":"https://api.github.com/repos/jaysoo/angular-console","forks_url":"https://api.github.com/repos/jaysoo/angular-console/forks","keys_url":"https://api.github.com/repos/jaysoo/angular-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaysoo/angular-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaysoo/angular-console/teams","hooks_url":"https://api.github.com/repos/jaysoo/angular-console/hooks","issue_events_url":"https://api.github.com/repos/jaysoo/angular-console/issues/events{/number}","events_url":"https://api.github.com/repos/jaysoo/angular-console/events","assignees_url":"https://api.github.com/repos/jaysoo/angular-console/assignees{/user}","branches_url":"https://api.github.com/repos/jaysoo/angular-console/branches{/branch}","tags_url":"https://api.github.com/repos/jaysoo/angular-console/tags","blobs_url":"https://api.github.com/repos/jaysoo/angular-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaysoo/angular-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaysoo/angular-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaysoo/angular-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaysoo/angular-console/statuses/{sha}","languages_url":"https://api.github.com/repos/jaysoo/angular-console/languages","stargazers_url":"https://api.github.com/repos/jaysoo/angular-console/stargazers","contributors_url":"https://api.github.com/repos/jaysoo/angular-console/contributors","subscribers_url":"https://api.github.com/repos/jaysoo/angular-console/subscribers","subscription_url":"https://api.github.com/repos/jaysoo/angular-console/subscription","commits_url":"https://api.github.com/repos/jaysoo/angular-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaysoo/angular-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaysoo/angular-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaysoo/angular-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaysoo/angular-console/contents/{+path}","compare_url":"https://api.github.com/repos/jaysoo/angular-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaysoo/angular-console/merges","archive_url":"https://api.github.com/repos/jaysoo/angular-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaysoo/angular-console/downloads","issues_url":"https://api.github.com/repos/jaysoo/angular-console/issues{/number}","pulls_url":"https://api.github.com/repos/jaysoo/angular-console/pulls{/number}","milestones_url":"https://api.github.com/repos/jaysoo/angular-console/milestones{/number}","notifications_url":"https://api.github.com/repos/jaysoo/angular-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaysoo/angular-console/labels{/name}","releases_url":"https://api.github.com/repos/jaysoo/angular-console/releases{/id}","deployments_url":"https://api.github.com/repos/jaysoo/angular-console/deployments","created_at":"2018-10-10T14:01:24Z","updated_at":"2018-12-27T14:02:33Z","pushed_at":"2018-12-27T17:12:10Z","git_url":"git://github.com/jaysoo/angular-console.git","ssh_url":"git@github.com:jaysoo/angular-console.git","clone_url":"https://github.com/jaysoo/angular-console.git","svn_url":"https://github.com/jaysoo/angular-console","homepage":"https://angularconsole.com","size":19644,"stargazers_count":0,"watchers_count":0,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nrwl:master","ref":"master","sha":"cc2f336cf94089c7c68efbb6b90d92d36f731e00","user":{"login":"nrwl","id":23692104,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjkyMTA0","avatar_url":"https://avatars3.githubusercontent.com/u/23692104?v=4","gravatar_id":"","url":"https://api.github.com/users/nrwl","html_url":"https://github.com/nrwl","followers_url":"https://api.github.com/users/nrwl/followers","following_url":"https://api.github.com/users/nrwl/following{/other_user}","gists_url":"https://api.github.com/users/nrwl/gists{/gist_id}","starred_url":"https://api.github.com/users/nrwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrwl/subscriptions","organizations_url":"https://api.github.com/users/nrwl/orgs","repos_url":"https://api.github.com/users/nrwl/repos","events_url":"https://api.github.com/users/nrwl/events{/privacy}","received_events_url":"https://api.github.com/users/nrwl/received_events","type":"Organization","site_admin":false},"repo":{"id":137811219,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4MTEyMTk=","name":"angular-console","full_name":"nrwl/angular-console","private":false,"owner":{"login":"nrwl","id":23692104,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjkyMTA0","avatar_url":"https://avatars3.githubusercontent.com/u/23692104?v=4","gravatar_id":"","url":"https://api.github.com/users/nrwl","html_url":"https://github.com/nrwl","followers_url":"https://api.github.com/users/nrwl/followers","following_url":"https://api.github.com/users/nrwl/following{/other_user}","gists_url":"https://api.github.com/users/nrwl/gists{/gist_id}","starred_url":"https://api.github.com/users/nrwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrwl/subscriptions","organizations_url":"https://api.github.com/users/nrwl/orgs","repos_url":"https://api.github.com/users/nrwl/repos","events_url":"https://api.github.com/users/nrwl/events{/privacy}","received_events_url":"https://api.github.com/users/nrwl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nrwl/angular-console","description":"Angular Console is the user interface for the Angular CLI.","fork":false,"url":"https://api.github.com/repos/nrwl/angular-console","forks_url":"https://api.github.com/repos/nrwl/angular-console/forks","keys_url":"https://api.github.com/repos/nrwl/angular-console/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nrwl/angular-console/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nrwl/angular-console/teams","hooks_url":"https://api.github.com/repos/nrwl/angular-console/hooks","issue_events_url":"https://api.github.com/repos/nrwl/angular-console/issues/events{/number}","events_url":"https://api.github.com/repos/nrwl/angular-console/events","assignees_url":"https://api.github.com/repos/nrwl/angular-console/assignees{/user}","branches_url":"https://api.github.com/repos/nrwl/angular-console/branches{/branch}","tags_url":"https://api.github.com/repos/nrwl/angular-console/tags","blobs_url":"https://api.github.com/repos/nrwl/angular-console/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nrwl/angular-console/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nrwl/angular-console/git/refs{/sha}","trees_url":"https://api.github.com/repos/nrwl/angular-console/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nrwl/angular-console/statuses/{sha}","languages_url":"https://api.github.com/repos/nrwl/angular-console/languages","stargazers_url":"https://api.github.com/repos/nrwl/angular-console/stargazers","contributors_url":"https://api.github.com/repos/nrwl/angular-console/contributors","subscribers_url":"https://api.github.com/repos/nrwl/angular-console/subscribers","subscription_url":"https://api.github.com/repos/nrwl/angular-console/subscription","commits_url":"https://api.github.com/repos/nrwl/angular-console/commits{/sha}","git_commits_url":"https://api.github.com/repos/nrwl/angular-console/git/commits{/sha}","comments_url":"https://api.github.com/repos/nrwl/angular-console/comments{/number}","issue_comment_url":"https://api.github.com/repos/nrwl/angular-console/issues/comments{/number}","contents_url":"https://api.github.com/repos/nrwl/angular-console/contents/{+path}","compare_url":"https://api.github.com/repos/nrwl/angular-console/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nrwl/angular-console/merges","archive_url":"https://api.github.com/repos/nrwl/angular-console/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nrwl/angular-console/downloads","issues_url":"https://api.github.com/repos/nrwl/angular-console/issues{/number}","pulls_url":"https://api.github.com/repos/nrwl/angular-console/pulls{/number}","milestones_url":"https://api.github.com/repos/nrwl/angular-console/milestones{/number}","notifications_url":"https://api.github.com/repos/nrwl/angular-console/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nrwl/angular-console/labels{/name}","releases_url":"https://api.github.com/repos/nrwl/angular-console/releases{/id}","deployments_url":"https://api.github.com/repos/nrwl/angular-console/deployments","created_at":"2018-06-18T22:02:01Z","updated_at":"2019-01-02T20:53:19Z","pushed_at":"2019-01-02T20:53:17Z","git_url":"git://github.com/nrwl/angular-console.git","ssh_url":"git@github.com:nrwl/angular-console.git","clone_url":"https://github.com/nrwl/angular-console.git","svn_url":"https://github.com/nrwl/angular-console","homepage":"https://angularconsole.com","size":19354,"stargazers_count":501,"watchers_count":501,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":77,"mirror_url":null,"archived":false,"open_issues_count":54,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":77,"open_issues":54,"watchers":501,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nrwl/angular-console/pulls/436"},"html":{"href":"https://github.com/nrwl/angular-console/pull/436"},"issue":{"href":"https://api.github.com/repos/nrwl/angular-console/issues/436"},"comments":{"href":"https://api.github.com/repos/nrwl/angular-console/issues/436/comments"},"review_comments":{"href":"https://api.github.com/repos/nrwl/angular-console/pulls/436/comments"},"review_comment":{"href":"https://api.github.com/repos/nrwl/angular-console/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nrwl/angular-console/pulls/436/commits"},"statuses":{"href":"https://api.github.com/repos/nrwl/angular-console/statuses/592f08edf88673feccabfeab0f49f1acb276467f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"vsavkin"}}