{"action":"created","comment":{"url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/comments/177020108","pull_request_review_id":106816199,"id":177020108,"diff_hunk":"@@ -0,0 +1,53 @@\n+<template>\n+  <section class=\"list\">\n+    <md-table v-model=\"devices\" md-sort=\"name\" md-sort-order=\"asc\">\n+      <md-table-row slot='md-table-row' slot-scope=\"{item }\">\n+        <md-table-cell md-label=\"NAME\" md-sort-by=\"name\">{{ item.name }}</md-table-cell>\n+        <md-table-cell md-label=\"MODEL\" md-sort-by=\"model\">{{ item.model }}</md-table-cell>\n+        <md-table-cell md-label=\"SERIAL NUMBER\" md-sort-by=\"serialNumber\">{{ item.serialNumber }}</md-table-cell>\n+        <md-table-cell md-label=\"GROUP\" md-sort-by=\"group\">{{ item.group }}</md-table-cell>\n+        <md-table-cell md-label=\"REGISTRATION DATE\">{{ item.regTime }}</md-table-cell>\n+        <md-table-cell md-label=\"SYSTEM ID\">{{ item.id }}</md-table-cell>\n+        <md-table-cell md-label=\"IMEI\">{{ item.imei }}</md-table-cell>\n+      </md-table-row>\n+    </md-table>\n+  </section>\n+</template>\n+\n+<script lang=\"ts\">\n+\n+  import Vue from \"vue\";\n+  import {mapActions, mapGetters} from \"vuex\";\n+  import * as types from '../../../store/modules/types/device-types'\n+\n+  export default Vue.extend({\n+    name: \"device-list\",\n+    components: {},\n+\n+    created() {\n+      this.fetchDevices()\n+    },\n+    computed: mapGetters({\n+      devices: types.GET_DEVICES\n+    }),\n+\n+    methods: {\n+      ...mapActions({\n+        fetchDevices: types.FETCH_DEVICES\n+      })\n+    },\n+\n+  })\n+</script>\n+\n+<style lang=\"scss\" scoped>\n+  .list {\n+    display: flex;\n+    flex-direction: column;\n+    flex: 1 1 100%;\n+    background-color: white;\n+    color: black;\n+    box-shadow: 0 1px 1px 0.003em rgba(0, 0, 0, .16);","path":"src/components/device/list/device-list.vue","position":50,"original_position":50,"commit_id":"2a1c100187483e276a194ff2afa08db023fb6f28","original_commit_id":"2a1c100187483e276a194ff2afa08db023fb6f28","user":{"login":"Igogrek","id":12101721,"avatar_url":"https://avatars3.githubusercontent.com/u/12101721?v=4","gravatar_id":"","url":"https://api.github.com/users/Igogrek","html_url":"https://github.com/Igogrek","followers_url":"https://api.github.com/users/Igogrek/followers","following_url":"https://api.github.com/users/Igogrek/following{/other_user}","gists_url":"https://api.github.com/users/Igogrek/gists{/gist_id}","starred_url":"https://api.github.com/users/Igogrek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igogrek/subscriptions","organizations_url":"https://api.github.com/users/Igogrek/orgs","repos_url":"https://api.github.com/users/Igogrek/repos","events_url":"https://api.github.com/users/Igogrek/events{/privacy}","received_events_url":"https://api.github.com/users/Igogrek/received_events","type":"User","site_admin":false},"body":"Same shadow - extract style","created_at":"2018-03-26T08:57:50Z","updated_at":"2018-03-26T09:04:54Z","html_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype/pull/2#discussion_r177020108","pull_request_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/comments/177020108"},"html":{"href":"https://github.com/T-Systems-RUS/Cumulocity-Prototype/pull/2#discussion_r177020108"},"pull_request":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2","id":177373315,"html_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype/pull/2","diff_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype/pull/2.diff","patch_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype/pull/2.patch","issue_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/2","number":2,"state":"open","locked":false,"title":"Admin panel","user":{"login":"lDarki","id":14332713,"avatar_url":"https://avatars1.githubusercontent.com/u/14332713?v=4","gravatar_id":"","url":"https://api.github.com/users/lDarki","html_url":"https://github.com/lDarki","followers_url":"https://api.github.com/users/lDarki/followers","following_url":"https://api.github.com/users/lDarki/following{/other_user}","gists_url":"https://api.github.com/users/lDarki/gists{/gist_id}","starred_url":"https://api.github.com/users/lDarki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lDarki/subscriptions","organizations_url":"https://api.github.com/users/lDarki/orgs","repos_url":"https://api.github.com/users/lDarki/repos","events_url":"https://api.github.com/users/lDarki/events{/privacy}","received_events_url":"https://api.github.com/users/lDarki/received_events","type":"User","site_admin":false},"body":"1) Integrate map library\r\n2) Home view\r\n3) Device list table","created_at":"2018-03-26T08:24:54Z","updated_at":"2018-03-26T09:04:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e8475991ada478236067872922ef2e0ff67d8da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2/commits","review_comments_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2/comments","review_comment_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/2/comments","statuses_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/statuses/2a1c100187483e276a194ff2afa08db023fb6f28","head":{"label":"T-Systems-RUS:admin_panel","ref":"admin_panel","sha":"2a1c100187483e276a194ff2afa08db023fb6f28","user":{"login":"T-Systems-RUS","id":36474936,"avatar_url":"https://avatars3.githubusercontent.com/u/36474936?v=4","gravatar_id":"","url":"https://api.github.com/users/T-Systems-RUS","html_url":"https://github.com/T-Systems-RUS","followers_url":"https://api.github.com/users/T-Systems-RUS/followers","following_url":"https://api.github.com/users/T-Systems-RUS/following{/other_user}","gists_url":"https://api.github.com/users/T-Systems-RUS/gists{/gist_id}","starred_url":"https://api.github.com/users/T-Systems-RUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/T-Systems-RUS/subscriptions","organizations_url":"https://api.github.com/users/T-Systems-RUS/orgs","repos_url":"https://api.github.com/users/T-Systems-RUS/repos","events_url":"https://api.github.com/users/T-Systems-RUS/events{/privacy}","received_events_url":"https://api.github.com/users/T-Systems-RUS/received_events","type":"Organization","site_admin":false},"repo":{"id":125823844,"name":"Cumulocity-Prototype","full_name":"T-Systems-RUS/Cumulocity-Prototype","owner":{"login":"T-Systems-RUS","id":36474936,"avatar_url":"https://avatars3.githubusercontent.com/u/36474936?v=4","gravatar_id":"","url":"https://api.github.com/users/T-Systems-RUS","html_url":"https://github.com/T-Systems-RUS","followers_url":"https://api.github.com/users/T-Systems-RUS/followers","following_url":"https://api.github.com/users/T-Systems-RUS/following{/other_user}","gists_url":"https://api.github.com/users/T-Systems-RUS/gists{/gist_id}","starred_url":"https://api.github.com/users/T-Systems-RUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/T-Systems-RUS/subscriptions","organizations_url":"https://api.github.com/users/T-Systems-RUS/orgs","repos_url":"https://api.github.com/users/T-Systems-RUS/repos","events_url":"https://api.github.com/users/T-Systems-RUS/events{/privacy}","received_events_url":"https://api.github.com/users/T-Systems-RUS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype","description":"Vue + TypeScript playground scaffolded via Vue-CLI with some add-ins","fork":true,"url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype","forks_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/forks","keys_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/teams","hooks_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/hooks","issue_events_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/events{/number}","events_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/events","assignees_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/assignees{/user}","branches_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/branches{/branch}","tags_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/tags","blobs_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/languages","stargazers_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/stargazers","contributors_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/contributors","subscribers_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/subscribers","subscription_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/subscription","commits_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/contents/{+path}","compare_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/merges","archive_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/downloads","issues_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues{/number}","pulls_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/labels{/name}","releases_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/releases{/id}","deployments_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/deployments","created_at":"2018-03-19T08:16:35Z","updated_at":"2018-03-22T13:43:08Z","pushed_at":"2018-03-26T08:24:55Z","git_url":"git://github.com/T-Systems-RUS/Cumulocity-Prototype.git","ssh_url":"git@github.com:T-Systems-RUS/Cumulocity-Prototype.git","clone_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype.git","svn_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype","homepage":"","size":1386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"T-Systems-RUS:develop","ref":"develop","sha":"89436c25c558e75cf393082fb90902987dbad895","user":{"login":"T-Systems-RUS","id":36474936,"avatar_url":"https://avatars3.githubusercontent.com/u/36474936?v=4","gravatar_id":"","url":"https://api.github.com/users/T-Systems-RUS","html_url":"https://github.com/T-Systems-RUS","followers_url":"https://api.github.com/users/T-Systems-RUS/followers","following_url":"https://api.github.com/users/T-Systems-RUS/following{/other_user}","gists_url":"https://api.github.com/users/T-Systems-RUS/gists{/gist_id}","starred_url":"https://api.github.com/users/T-Systems-RUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/T-Systems-RUS/subscriptions","organizations_url":"https://api.github.com/users/T-Systems-RUS/orgs","repos_url":"https://api.github.com/users/T-Systems-RUS/repos","events_url":"https://api.github.com/users/T-Systems-RUS/events{/privacy}","received_events_url":"https://api.github.com/users/T-Systems-RUS/received_events","type":"Organization","site_admin":false},"repo":{"id":125823844,"name":"Cumulocity-Prototype","full_name":"T-Systems-RUS/Cumulocity-Prototype","owner":{"login":"T-Systems-RUS","id":36474936,"avatar_url":"https://avatars3.githubusercontent.com/u/36474936?v=4","gravatar_id":"","url":"https://api.github.com/users/T-Systems-RUS","html_url":"https://github.com/T-Systems-RUS","followers_url":"https://api.github.com/users/T-Systems-RUS/followers","following_url":"https://api.github.com/users/T-Systems-RUS/following{/other_user}","gists_url":"https://api.github.com/users/T-Systems-RUS/gists{/gist_id}","starred_url":"https://api.github.com/users/T-Systems-RUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/T-Systems-RUS/subscriptions","organizations_url":"https://api.github.com/users/T-Systems-RUS/orgs","repos_url":"https://api.github.com/users/T-Systems-RUS/repos","events_url":"https://api.github.com/users/T-Systems-RUS/events{/privacy}","received_events_url":"https://api.github.com/users/T-Systems-RUS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype","description":"Vue + TypeScript playground scaffolded via Vue-CLI with some add-ins","fork":true,"url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype","forks_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/forks","keys_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/teams","hooks_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/hooks","issue_events_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/events{/number}","events_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/events","assignees_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/assignees{/user}","branches_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/branches{/branch}","tags_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/tags","blobs_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/refs{/sha}","trees_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/statuses/{sha}","languages_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/languages","stargazers_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/stargazers","contributors_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/contributors","subscribers_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/subscribers","subscription_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/subscription","commits_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/commits{/sha}","git_commits_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/git/commits{/sha}","comments_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/comments{/number}","issue_comment_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/comments{/number}","contents_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/contents/{+path}","compare_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/merges","archive_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/downloads","issues_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues{/number}","pulls_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls{/number}","milestones_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/milestones{/number}","notifications_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/labels{/name}","releases_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/releases{/id}","deployments_url":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/deployments","created_at":"2018-03-19T08:16:35Z","updated_at":"2018-03-22T13:43:08Z","pushed_at":"2018-03-26T08:24:55Z","git_url":"git://github.com/T-Systems-RUS/Cumulocity-Prototype.git","ssh_url":"git@github.com:T-Systems-RUS/Cumulocity-Prototype.git","clone_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype.git","svn_url":"https://github.com/T-Systems-RUS/Cumulocity-Prototype","homepage":"","size":1386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2"},"html":{"href":"https://github.com/T-Systems-RUS/Cumulocity-Prototype/pull/2"},"issue":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/2"},"comments":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/T-Systems-RUS/Cumulocity-Prototype/statuses/2a1c100187483e276a194ff2afa08db023fb6f28"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Igogrek"}}