{"action":"created","comment":{"url":"https://api.github.com/repos/plentymarkets/terra-components/pulls/comments/205346039","pull_request_review_id":140595881,"id":205346039,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTM0NjAzOQ==","diff_hunk":"@@ -37,11 +53,61 @@ export class TerraTwoColumnsContainerComponent\n         this.rightColumn = this.leftRightColXS() + this.rightColMD() + this.rightColLG();\n     }\n \n-    constructor()\n+    private readonly basePath:string;\n+\n+    constructor(private route:ActivatedRoute,\n+                private router:Router)\n     {\n+        this.basePath = router.routerState.snapshot.url;\n+        this.setColumnHidden('left');\n+\n+        let subscribable:Observable<Event> = this.router.events.filter((event:RouterEvent) =>\n+        {\n+            return event instanceof NavigationEnd && event.urlAfterRedirects.startsWith(this.basePath);\n+        });\n+\n+        this.subscription = subscribable.subscribe((event:NavigationEnd) =>\n+        {\n+            this.leftColumn = this.leftRightColXS() + this.leftColMD() + this.leftColLG();\n+            this.rightColumn = this.leftRightColXS() + this.rightColMD() + this.rightColLG();\n+\n+            if(event.url !== event.urlAfterRedirects)\n+            {\n+                this.setColumnHidden('right');\n+            }\n+            else\n+            {\n+                this.setColumnHidden('left');\n+            }\n+        });\n+\n         this.leftColumnWidth = this._leftColumnWidth; // trigger calculation for default values\n     }\n \n+    public ngOnInit():void\n+    {\n+        this.setColumnHidden('left');","path":"src/app/components/layouts/column-container/terra-two-columns-container.component.ts","position":78,"original_position":82,"commit_id":"1a55f937bfb7ce687da333938106a9ef5d3b6223","original_commit_id":"483ce601ecbadde3412205980881554f7db5cf4c","user":{"login":"ChristianMoll","id":11926959,"node_id":"MDQ6VXNlcjExOTI2OTU5","avatar_url":"https://avatars1.githubusercontent.com/u/11926959?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristianMoll","html_url":"https://github.com/ChristianMoll","followers_url":"https://api.github.com/users/ChristianMoll/followers","following_url":"https://api.github.com/users/ChristianMoll/following{/other_user}","gists_url":"https://api.github.com/users/ChristianMoll/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianMoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianMoll/subscriptions","organizations_url":"https://api.github.com/users/ChristianMoll/orgs","repos_url":"https://api.github.com/users/ChristianMoll/repos","events_url":"https://api.github.com/users/ChristianMoll/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianMoll/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-07-26T06:43:54Z","updated_at":"2018-07-26T06:43:55Z","html_url":"https://github.com/plentymarkets/terra-components/pull/582#discussion_r205346039","pull_request_url":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/plentymarkets/terra-components/pulls/comments/205346039"},"html":{"href":"https://github.com/plentymarkets/terra-components/pull/582#discussion_r205346039"},"pull_request":{"href":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582"}},"in_reply_to_id":205120827},"pull_request":{"url":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582","id":203745958,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNzQ1OTU4","html_url":"https://github.com/plentymarkets/terra-components/pull/582","diff_url":"https://github.com/plentymarkets/terra-components/pull/582.diff","patch_url":"https://github.com/plentymarkets/terra-components/pull/582.patch","issue_url":"https://api.github.com/repos/plentymarkets/terra-components/issues/582","number":582,"state":"open","locked":false,"title":"Added mobile flat route handling","user":{"login":"ChristianMoll","id":11926959,"node_id":"MDQ6VXNlcjExOTI2OTU5","avatar_url":"https://avatars1.githubusercontent.com/u/11926959?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristianMoll","html_url":"https://github.com/ChristianMoll","followers_url":"https://api.github.com/users/ChristianMoll/followers","following_url":"https://api.github.com/users/ChristianMoll/following{/other_user}","gists_url":"https://api.github.com/users/ChristianMoll/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianMoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianMoll/subscriptions","organizations_url":"https://api.github.com/users/ChristianMoll/orgs","repos_url":"https://api.github.com/users/ChristianMoll/repos","events_url":"https://api.github.com/users/ChristianMoll/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianMoll/received_events","type":"User","site_admin":false},"body":"@plentymarkets/team-terra ","created_at":"2018-07-25T07:31:43Z","updated_at":"2018-07-26T06:43:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5e374420cdec72ab51366ca2bd073d5556c55cb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582/commits","review_comments_url":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582/comments","review_comment_url":"https://api.github.com/repos/plentymarkets/terra-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plentymarkets/terra-components/issues/582/comments","statuses_url":"https://api.github.com/repos/plentymarkets/terra-components/statuses/1a55f937bfb7ce687da333938106a9ef5d3b6223","head":{"label":"plentymarkets:feature/mobile_flat_routing","ref":"feature/mobile_flat_routing","sha":"1a55f937bfb7ce687da333938106a9ef5d3b6223","user":{"login":"plentymarkets","id":3379035,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzkwMzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3379035?v=4","gravatar_id":"","url":"https://api.github.com/users/plentymarkets","html_url":"https://github.com/plentymarkets","followers_url":"https://api.github.com/users/plentymarkets/followers","following_url":"https://api.github.com/users/plentymarkets/following{/other_user}","gists_url":"https://api.github.com/users/plentymarkets/gists{/gist_id}","starred_url":"https://api.github.com/users/plentymarkets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plentymarkets/subscriptions","organizations_url":"https://api.github.com/users/plentymarkets/orgs","repos_url":"https://api.github.com/users/plentymarkets/repos","events_url":"https://api.github.com/users/plentymarkets/events{/privacy}","received_events_url":"https://api.github.com/users/plentymarkets/received_events","type":"Organization","site_admin":false},"repo":{"id":68277728,"node_id":"MDEwOlJlcG9zaXRvcnk2ODI3NzcyOA==","name":"terra-components","full_name":"plentymarkets/terra-components","owner":{"login":"plentymarkets","id":3379035,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzkwMzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3379035?v=4","gravatar_id":"","url":"https://api.github.com/users/plentymarkets","html_url":"https://github.com/plentymarkets","followers_url":"https://api.github.com/users/plentymarkets/followers","following_url":"https://api.github.com/users/plentymarkets/following{/other_user}","gists_url":"https://api.github.com/users/plentymarkets/gists{/gist_id}","starred_url":"https://api.github.com/users/plentymarkets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plentymarkets/subscriptions","organizations_url":"https://api.github.com/users/plentymarkets/orgs","repos_url":"https://api.github.com/users/plentymarkets/repos","events_url":"https://api.github.com/users/plentymarkets/events{/privacy}","received_events_url":"https://api.github.com/users/plentymarkets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plentymarkets/terra-components","description":"Official plentymarkets plugin providing components for building back end plugins.","fork":false,"url":"https://api.github.com/repos/plentymarkets/terra-components","forks_url":"https://api.github.com/repos/plentymarkets/terra-components/forks","keys_url":"https://api.github.com/repos/plentymarkets/terra-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plentymarkets/terra-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plentymarkets/terra-components/teams","hooks_url":"https://api.github.com/repos/plentymarkets/terra-components/hooks","issue_events_url":"https://api.github.com/repos/plentymarkets/terra-components/issues/events{/number}","events_url":"https://api.github.com/repos/plentymarkets/terra-components/events","assignees_url":"https://api.github.com/repos/plentymarkets/terra-components/assignees{/user}","branches_url":"https://api.github.com/repos/plentymarkets/terra-components/branches{/branch}","tags_url":"https://api.github.com/repos/plentymarkets/terra-components/tags","blobs_url":"https://api.github.com/repos/plentymarkets/terra-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plentymarkets/terra-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plentymarkets/terra-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/plentymarkets/terra-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plentymarkets/terra-components/statuses/{sha}","languages_url":"https://api.github.com/repos/plentymarkets/terra-components/languages","stargazers_url":"https://api.github.com/repos/plentymarkets/terra-components/stargazers","contributors_url":"https://api.github.com/repos/plentymarkets/terra-components/contributors","subscribers_url":"https://api.github.com/repos/plentymarkets/terra-components/subscribers","subscription_url":"https://api.github.com/repos/plentymarkets/terra-components/subscription","commits_url":"https://api.github.com/repos/plentymarkets/terra-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/plentymarkets/terra-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/plentymarkets/terra-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/plentymarkets/terra-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/plentymarkets/terra-components/contents/{+path}","compare_url":"https://api.github.com/repos/plentymarkets/terra-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plentymarkets/terra-components/merges","archive_url":"https://api.github.com/repos/plentymarkets/terra-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plentymarkets/terra-components/downloads","issues_url":"https://api.github.com/repos/plentymarkets/terra-components/issues{/number}","pulls_url":"https://api.github.com/repos/plentymarkets/terra-components/pulls{/number}","milestones_url":"https://api.github.com/repos/plentymarkets/terra-components/milestones{/number}","notifications_url":"https://api.github.com/repos/plentymarkets/terra-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plentymarkets/terra-components/labels{/name}","releases_url":"https://api.github.com/repos/plentymarkets/terra-components/releases{/id}","deployments_url":"https://api.github.com/repos/plentymarkets/terra-components/deployments","created_at":"2016-09-15T08:23:06Z","updated_at":"2018-07-23T15:15:57Z","pushed_at":"2018-07-26T06:43:36Z","git_url":"git://github.com/plentymarkets/terra-components.git","ssh_url":"git@github.com:plentymarkets/terra-components.git","clone_url":"https://github.com/plentymarkets/terra-components.git","svn_url":"https://github.com/plentymarkets/terra-components","homepage":"","size":6948,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":19,"watchers":4,"default_branch":"master"}},"base":{"label":"plentymarkets:feature/standalone_breadcrumbs","ref":"feature/standalone_breadcrumbs","sha":"092f3f7781137286407cdf76c79785b998eed81c","user":{"login":"plentymarkets","id":3379035,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzkwMzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3379035?v=4","gravatar_id":"","url":"https://api.github.com/users/plentymarkets","html_url":"https://github.com/plentymarkets","followers_url":"https://api.github.com/users/plentymarkets/followers","following_url":"https://api.github.com/users/plentymarkets/following{/other_user}","gists_url":"https://api.github.com/users/plentymarkets/gists{/gist_id}","starred_url":"https://api.github.com/users/plentymarkets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plentymarkets/subscriptions","organizations_url":"https://api.github.com/users/plentymarkets/orgs","repos_url":"https://api.github.com/users/plentymarkets/repos","events_url":"https://api.github.com/users/plentymarkets/events{/privacy}","received_events_url":"https://api.github.com/users/plentymarkets/received_events","type":"Organization","site_admin":false},"repo":{"id":68277728,"node_id":"MDEwOlJlcG9zaXRvcnk2ODI3NzcyOA==","name":"terra-components","full_name":"plentymarkets/terra-components","owner":{"login":"plentymarkets","id":3379035,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNzkwMzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3379035?v=4","gravatar_id":"","url":"https://api.github.com/users/plentymarkets","html_url":"https://github.com/plentymarkets","followers_url":"https://api.github.com/users/plentymarkets/followers","following_url":"https://api.github.com/users/plentymarkets/following{/other_user}","gists_url":"https://api.github.com/users/plentymarkets/gists{/gist_id}","starred_url":"https://api.github.com/users/plentymarkets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plentymarkets/subscriptions","organizations_url":"https://api.github.com/users/plentymarkets/orgs","repos_url":"https://api.github.com/users/plentymarkets/repos","events_url":"https://api.github.com/users/plentymarkets/events{/privacy}","received_events_url":"https://api.github.com/users/plentymarkets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plentymarkets/terra-components","description":"Official plentymarkets plugin providing components for building back end plugins.","fork":false,"url":"https://api.github.com/repos/plentymarkets/terra-components","forks_url":"https://api.github.com/repos/plentymarkets/terra-components/forks","keys_url":"https://api.github.com/repos/plentymarkets/terra-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plentymarkets/terra-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plentymarkets/terra-components/teams","hooks_url":"https://api.github.com/repos/plentymarkets/terra-components/hooks","issue_events_url":"https://api.github.com/repos/plentymarkets/terra-components/issues/events{/number}","events_url":"https://api.github.com/repos/plentymarkets/terra-components/events","assignees_url":"https://api.github.com/repos/plentymarkets/terra-components/assignees{/user}","branches_url":"https://api.github.com/repos/plentymarkets/terra-components/branches{/branch}","tags_url":"https://api.github.com/repos/plentymarkets/terra-components/tags","blobs_url":"https://api.github.com/repos/plentymarkets/terra-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plentymarkets/terra-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plentymarkets/terra-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/plentymarkets/terra-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plentymarkets/terra-components/statuses/{sha}","languages_url":"https://api.github.com/repos/plentymarkets/terra-components/languages","stargazers_url":"https://api.github.com/repos/plentymarkets/terra-components/stargazers","contributors_url":"https://api.github.com/repos/plentymarkets/terra-components/contributors","subscribers_url":"https://api.github.com/repos/plentymarkets/terra-components/subscribers","subscription_url":"https://api.github.com/repos/plentymarkets/terra-components/subscription","commits_url":"https://api.github.com/repos/plentymarkets/terra-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/plentymarkets/terra-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/plentymarkets/terra-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/plentymarkets/terra-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/plentymarkets/terra-components/contents/{+path}","compare_url":"https://api.github.com/repos/plentymarkets/terra-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plentymarkets/terra-components/merges","archive_url":"https://api.github.com/repos/plentymarkets/terra-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plentymarkets/terra-components/downloads","issues_url":"https://api.github.com/repos/plentymarkets/terra-components/issues{/number}","pulls_url":"https://api.github.com/repos/plentymarkets/terra-components/pulls{/number}","milestones_url":"https://api.github.com/repos/plentymarkets/terra-components/milestones{/number}","notifications_url":"https://api.github.com/repos/plentymarkets/terra-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plentymarkets/terra-components/labels{/name}","releases_url":"https://api.github.com/repos/plentymarkets/terra-components/releases{/id}","deployments_url":"https://api.github.com/repos/plentymarkets/terra-components/deployments","created_at":"2016-09-15T08:23:06Z","updated_at":"2018-07-23T15:15:57Z","pushed_at":"2018-07-26T06:43:36Z","git_url":"git://github.com/plentymarkets/terra-components.git","ssh_url":"git@github.com:plentymarkets/terra-components.git","clone_url":"https://github.com/plentymarkets/terra-components.git","svn_url":"https://github.com/plentymarkets/terra-components","homepage":"","size":6948,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":19,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582"},"html":{"href":"https://github.com/plentymarkets/terra-components/pull/582"},"issue":{"href":"https://api.github.com/repos/plentymarkets/terra-components/issues/582"},"comments":{"href":"https://api.github.com/repos/plentymarkets/terra-components/issues/582/comments"},"review_comments":{"href":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582/comments"},"review_comment":{"href":"https://api.github.com/repos/plentymarkets/terra-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plentymarkets/terra-components/pulls/582/commits"},"statuses":{"href":"https://api.github.com/repos/plentymarkets/terra-components/statuses/1a55f937bfb7ce687da333938106a9ef5d3b6223"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ChristianMoll"}}