{"action":"created","comment":{"url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/comments/89633852","pull_request_review_id":10179173,"id":89633852,"diff_hunk":"@@ -1,7 +1,22 @@\n import { Component } from '@angular/core';\n+import { ActivatedRoute } from '@angular/router';\n+import { Device } from '../../devices/device.model';\n \n @Component({\n     selector: 'sh-map-constructor',\n     templateUrl: './map-constructor.template.html'\n })\n-export class MapConstructorComponent {}\n+export class MapConstructorComponent {\n+\n+    private sensors: Device[] = [];\n+\n+    constructor(private route: ActivatedRoute) {\n+    }\n+\n+    ngOnInit(): void {\n+        this.sensors = this.route.snapshot.data['sensors'];\n+    }\n+\n+    onAddSensor(sensor): void {","path":"src/app/constructor/map/map-constructor.component.ts","position":21,"original_position":21,"commit_id":"6aa3fc5b5b8ab3e8aeb1e29aa7f1e8112a78e130","original_commit_id":"6aa3fc5b5b8ab3e8aeb1e29aa7f1e8112a78e130","user":{"login":"valakar","id":4717944,"avatar_url":"https://avatars.githubusercontent.com/u/4717944?v=3","gravatar_id":"","url":"https://api.github.com/users/valakar","html_url":"https://github.com/valakar","followers_url":"https://api.github.com/users/valakar/followers","following_url":"https://api.github.com/users/valakar/following{/other_user}","gists_url":"https://api.github.com/users/valakar/gists{/gist_id}","starred_url":"https://api.github.com/users/valakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valakar/subscriptions","organizations_url":"https://api.github.com/users/valakar/orgs","repos_url":"https://api.github.com/users/valakar/repos","events_url":"https://api.github.com/users/valakar/events{/privacy}","received_events_url":"https://api.github.com/users/valakar/received_events","type":"User","site_admin":false},"body":"will be implemented in creating map-view story","created_at":"2016-11-25T15:41:17Z","updated_at":"2016-11-25T15:41:17Z","html_url":"https://github.com/garage-it/SmartHouse-frontend/pull/171#discussion_r89633852","pull_request_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171","_links":{"self":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/comments/89633852"},"html":{"href":"https://github.com/garage-it/SmartHouse-frontend/pull/171#discussion_r89633852"},"pull_request":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171"}}},"pull_request":{"url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171","id":95292581,"html_url":"https://github.com/garage-it/SmartHouse-frontend/pull/171","diff_url":"https://github.com/garage-it/SmartHouse-frontend/pull/171.diff","patch_url":"https://github.com/garage-it/SmartHouse-frontend/pull/171.patch","issue_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/171","number":171,"state":"open","locked":false,"title":"feat(TG-289): Constructor - Dashboard view creating- NEW SCOPE","user":{"login":"valakar","id":4717944,"avatar_url":"https://avatars.githubusercontent.com/u/4717944?v=3","gravatar_id":"","url":"https://api.github.com/users/valakar","html_url":"https://github.com/valakar","followers_url":"https://api.github.com/users/valakar/followers","following_url":"https://api.github.com/users/valakar/following{/other_user}","gists_url":"https://api.github.com/users/valakar/gists{/gist_id}","starred_url":"https://api.github.com/users/valakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valakar/subscriptions","organizations_url":"https://api.github.com/users/valakar/orgs","repos_url":"https://api.github.com/users/valakar/repos","events_url":"https://api.github.com/users/valakar/events{/privacy}","received_events_url":"https://api.github.com/users/valakar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-25T11:50:32Z","updated_at":"2016-11-25T15:41:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"600eac0ea956b838be6e0adc8e82b7a2617761fa","assignee":{"login":"valakar","id":4717944,"avatar_url":"https://avatars.githubusercontent.com/u/4717944?v=3","gravatar_id":"","url":"https://api.github.com/users/valakar","html_url":"https://github.com/valakar","followers_url":"https://api.github.com/users/valakar/followers","following_url":"https://api.github.com/users/valakar/following{/other_user}","gists_url":"https://api.github.com/users/valakar/gists{/gist_id}","starred_url":"https://api.github.com/users/valakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valakar/subscriptions","organizations_url":"https://api.github.com/users/valakar/orgs","repos_url":"https://api.github.com/users/valakar/repos","events_url":"https://api.github.com/users/valakar/events{/privacy}","received_events_url":"https://api.github.com/users/valakar/received_events","type":"User","site_admin":false},"assignees":[{"login":"valakar","id":4717944,"avatar_url":"https://avatars.githubusercontent.com/u/4717944?v=3","gravatar_id":"","url":"https://api.github.com/users/valakar","html_url":"https://github.com/valakar","followers_url":"https://api.github.com/users/valakar/followers","following_url":"https://api.github.com/users/valakar/following{/other_user}","gists_url":"https://api.github.com/users/valakar/gists{/gist_id}","starred_url":"https://api.github.com/users/valakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valakar/subscriptions","organizations_url":"https://api.github.com/users/valakar/orgs","repos_url":"https://api.github.com/users/valakar/repos","events_url":"https://api.github.com/users/valakar/events{/privacy}","received_events_url":"https://api.github.com/users/valakar/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171/commits","review_comments_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171/comments","review_comment_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/171/comments","statuses_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/statuses/6aa3fc5b5b8ab3e8aeb1e29aa7f1e8112a78e130","head":{"label":"garage-it:story/TG-289","ref":"story/TG-289","sha":"6aa3fc5b5b8ab3e8aeb1e29aa7f1e8112a78e130","user":{"login":"garage-it","id":17927734,"avatar_url":"https://avatars.githubusercontent.com/u/17927734?v=3","gravatar_id":"","url":"https://api.github.com/users/garage-it","html_url":"https://github.com/garage-it","followers_url":"https://api.github.com/users/garage-it/followers","following_url":"https://api.github.com/users/garage-it/following{/other_user}","gists_url":"https://api.github.com/users/garage-it/gists{/gist_id}","starred_url":"https://api.github.com/users/garage-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garage-it/subscriptions","organizations_url":"https://api.github.com/users/garage-it/orgs","repos_url":"https://api.github.com/users/garage-it/repos","events_url":"https://api.github.com/users/garage-it/events{/privacy}","received_events_url":"https://api.github.com/users/garage-it/received_events","type":"Organization","site_admin":false},"repo":{"id":54199806,"name":"SmartHouse-frontend","full_name":"garage-it/SmartHouse-frontend","owner":{"login":"garage-it","id":17927734,"avatar_url":"https://avatars.githubusercontent.com/u/17927734?v=3","gravatar_id":"","url":"https://api.github.com/users/garage-it","html_url":"https://github.com/garage-it","followers_url":"https://api.github.com/users/garage-it/followers","following_url":"https://api.github.com/users/garage-it/following{/other_user}","gists_url":"https://api.github.com/users/garage-it/gists{/gist_id}","starred_url":"https://api.github.com/users/garage-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garage-it/subscriptions","organizations_url":"https://api.github.com/users/garage-it/orgs","repos_url":"https://api.github.com/users/garage-it/repos","events_url":"https://api.github.com/users/garage-it/events{/privacy}","received_events_url":"https://api.github.com/users/garage-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/garage-it/SmartHouse-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/garage-it/SmartHouse-frontend","forks_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/forks","keys_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/teams","hooks_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/hooks","issue_events_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/events","assignees_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/tags","blobs_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/languages","stargazers_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/stargazers","contributors_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/contributors","subscribers_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/subscribers","subscription_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/subscription","commits_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/merges","archive_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/downloads","issues_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/labels{/name}","releases_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/deployments","created_at":"2016-03-18T12:34:07Z","updated_at":"2016-11-04T10:58:57Z","pushed_at":"2016-11-25T13:09:30Z","git_url":"git://github.com/garage-it/SmartHouse-frontend.git","ssh_url":"git@github.com:garage-it/SmartHouse-frontend.git","clone_url":"https://github.com/garage-it/SmartHouse-frontend.git","svn_url":"https://github.com/garage-it/SmartHouse-frontend","homepage":null,"size":880,"stargazers_count":15,"watchers_count":15,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":15,"default_branch":"master"}},"base":{"label":"garage-it:master","ref":"master","sha":"372849fc53d70513e3d532cd875ec7b9d83894a4","user":{"login":"garage-it","id":17927734,"avatar_url":"https://avatars.githubusercontent.com/u/17927734?v=3","gravatar_id":"","url":"https://api.github.com/users/garage-it","html_url":"https://github.com/garage-it","followers_url":"https://api.github.com/users/garage-it/followers","following_url":"https://api.github.com/users/garage-it/following{/other_user}","gists_url":"https://api.github.com/users/garage-it/gists{/gist_id}","starred_url":"https://api.github.com/users/garage-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garage-it/subscriptions","organizations_url":"https://api.github.com/users/garage-it/orgs","repos_url":"https://api.github.com/users/garage-it/repos","events_url":"https://api.github.com/users/garage-it/events{/privacy}","received_events_url":"https://api.github.com/users/garage-it/received_events","type":"Organization","site_admin":false},"repo":{"id":54199806,"name":"SmartHouse-frontend","full_name":"garage-it/SmartHouse-frontend","owner":{"login":"garage-it","id":17927734,"avatar_url":"https://avatars.githubusercontent.com/u/17927734?v=3","gravatar_id":"","url":"https://api.github.com/users/garage-it","html_url":"https://github.com/garage-it","followers_url":"https://api.github.com/users/garage-it/followers","following_url":"https://api.github.com/users/garage-it/following{/other_user}","gists_url":"https://api.github.com/users/garage-it/gists{/gist_id}","starred_url":"https://api.github.com/users/garage-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garage-it/subscriptions","organizations_url":"https://api.github.com/users/garage-it/orgs","repos_url":"https://api.github.com/users/garage-it/repos","events_url":"https://api.github.com/users/garage-it/events{/privacy}","received_events_url":"https://api.github.com/users/garage-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/garage-it/SmartHouse-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/garage-it/SmartHouse-frontend","forks_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/forks","keys_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/teams","hooks_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/hooks","issue_events_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/events","assignees_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/tags","blobs_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/languages","stargazers_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/stargazers","contributors_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/contributors","subscribers_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/subscribers","subscription_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/subscription","commits_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/merges","archive_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/downloads","issues_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/labels{/name}","releases_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/garage-it/SmartHouse-frontend/deployments","created_at":"2016-03-18T12:34:07Z","updated_at":"2016-11-04T10:58:57Z","pushed_at":"2016-11-25T13:09:30Z","git_url":"git://github.com/garage-it/SmartHouse-frontend.git","ssh_url":"git@github.com:garage-it/SmartHouse-frontend.git","clone_url":"https://github.com/garage-it/SmartHouse-frontend.git","svn_url":"https://github.com/garage-it/SmartHouse-frontend","homepage":null,"size":880,"stargazers_count":15,"watchers_count":15,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171"},"html":{"href":"https://github.com/garage-it/SmartHouse-frontend/pull/171"},"issue":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/171"},"comments":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/garage-it/SmartHouse-frontend/statuses/6aa3fc5b5b8ab3e8aeb1e29aa7f1e8112a78e130"}}}}
{"actor":{"display_login":"valakar"}}