{"action":"created","comment":{"url":"https://api.github.com/repos/adshares/adserver-frontend/pulls/comments/168471226","pull_request_review_id":96841575,"id":168471226,"diff_hunk":"@@ -1,8 +1,106 @@\n-import { Component } from '@angular/core';\n+import { Component, OnInit, ViewChild } from '@angular/core';\n+import { ChartService } from '../../common/chart.service';\n+import { ChartComponent } from '../../common/components/chart/chart.component';\n+\n+import { HandleSubscription } from '../../common/handle-subscription';\n+import { chartSeriesEnum } from '../../models/enum/chart-series.enum';\n+import { enumToArray } from '../../common/utilities/helpers';\n+\n+import * as moment from 'moment';\n \n @Component({\n   selector: 'app-dashboard',\n   templateUrl: './dashboard.component.html',\n   styleUrls: ['./dashboard.component.scss']\n })\n-export class DashboardComponent {}\n+export class DashboardComponent extends HandleSubscription implements OnInit {\n+  @ViewChild('appChartRef') appChartRef: ChartComponent;\n+  chartSeries: string[] = enumToArray(chartSeriesEnum);\n+\n+  currentChartFilterSettings = {\n+    currentTo: moment().format(),\n+    currentFrom: moment().subtract(30, 'days').format(),\n+    currentFrequency: '1D',\n+    currentAssetId: 1\n+  };","path":"src/app/publisher/dashboard/dashboard.component.ts","position":27,"original_position":27,"commit_id":"6208518a3858f56fe809c3c14032e5867288f53b","original_commit_id":"c64f1df473017e5167089224fd2eb523f1106026","user":{"login":"BartoszBilejczyk","id":20094556,"avatar_url":"https://avatars2.githubusercontent.com/u/20094556?v=4","gravatar_id":"","url":"https://api.github.com/users/BartoszBilejczyk","html_url":"https://github.com/BartoszBilejczyk","followers_url":"https://api.github.com/users/BartoszBilejczyk/followers","following_url":"https://api.github.com/users/BartoszBilejczyk/following{/other_user}","gists_url":"https://api.github.com/users/BartoszBilejczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/BartoszBilejczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BartoszBilejczyk/subscriptions","organizations_url":"https://api.github.com/users/BartoszBilejczyk/orgs","repos_url":"https://api.github.com/users/BartoszBilejczyk/repos","events_url":"https://api.github.com/users/BartoszBilejczyk/events{/privacy}","received_events_url":"https://api.github.com/users/BartoszBilejczyk/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-02-15T13:16:06Z","updated_at":"2018-02-15T13:16:06Z","html_url":"https://github.com/adshares/adserver-frontend/pull/67#discussion_r168471226","pull_request_url":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/adshares/adserver-frontend/pulls/comments/168471226"},"html":{"href":"https://github.com/adshares/adserver-frontend/pull/67#discussion_r168471226"},"pull_request":{"href":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67"}},"in_reply_to_id":168191707},"pull_request":{"url":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67","id":167132625,"html_url":"https://github.com/adshares/adserver-frontend/pull/67","diff_url":"https://github.com/adshares/adserver-frontend/pull/67.diff","patch_url":"https://github.com/adshares/adserver-frontend/pull/67.patch","issue_url":"https://api.github.com/repos/adshares/adserver-frontend/issues/67","number":67,"state":"open","locked":false,"title":"Ad 126/charts","user":{"login":"BartoszBilejczyk","id":20094556,"avatar_url":"https://avatars2.githubusercontent.com/u/20094556?v=4","gravatar_id":"","url":"https://api.github.com/users/BartoszBilejczyk","html_url":"https://github.com/BartoszBilejczyk","followers_url":"https://api.github.com/users/BartoszBilejczyk/followers","following_url":"https://api.github.com/users/BartoszBilejczyk/following{/other_user}","gists_url":"https://api.github.com/users/BartoszBilejczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/BartoszBilejczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BartoszBilejczyk/subscriptions","organizations_url":"https://api.github.com/users/BartoszBilejczyk/orgs","repos_url":"https://api.github.com/users/BartoszBilejczyk/repos","events_url":"https://api.github.com/users/BartoszBilejczyk/events{/privacy}","received_events_url":"https://api.github.com/users/BartoszBilejczyk/received_events","type":"User","site_admin":false},"body":"Date range filters and datepicker filters done. \r\n\r\nNo selects.","created_at":"2018-02-05T12:33:57Z","updated_at":"2018-02-15T13:16:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3eaa9e464389703ccd3ef224453c2811d3c928a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67/commits","review_comments_url":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67/comments","review_comment_url":"https://api.github.com/repos/adshares/adserver-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adshares/adserver-frontend/issues/67/comments","statuses_url":"https://api.github.com/repos/adshares/adserver-frontend/statuses/6208518a3858f56fe809c3c14032e5867288f53b","head":{"label":"adshares:AD-126/charts","ref":"AD-126/charts","sha":"6208518a3858f56fe809c3c14032e5867288f53b","user":{"login":"adshares","id":19405131,"avatar_url":"https://avatars2.githubusercontent.com/u/19405131?v=4","gravatar_id":"","url":"https://api.github.com/users/adshares","html_url":"https://github.com/adshares","followers_url":"https://api.github.com/users/adshares/followers","following_url":"https://api.github.com/users/adshares/following{/other_user}","gists_url":"https://api.github.com/users/adshares/gists{/gist_id}","starred_url":"https://api.github.com/users/adshares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adshares/subscriptions","organizations_url":"https://api.github.com/users/adshares/orgs","repos_url":"https://api.github.com/users/adshares/repos","events_url":"https://api.github.com/users/adshares/events{/privacy}","received_events_url":"https://api.github.com/users/adshares/received_events","type":"Organization","site_admin":false},"repo":{"id":110260194,"name":"adserver-frontend","full_name":"adshares/adserver-frontend","owner":{"login":"adshares","id":19405131,"avatar_url":"https://avatars2.githubusercontent.com/u/19405131?v=4","gravatar_id":"","url":"https://api.github.com/users/adshares","html_url":"https://github.com/adshares","followers_url":"https://api.github.com/users/adshares/followers","following_url":"https://api.github.com/users/adshares/following{/other_user}","gists_url":"https://api.github.com/users/adshares/gists{/gist_id}","starred_url":"https://api.github.com/users/adshares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adshares/subscriptions","organizations_url":"https://api.github.com/users/adshares/orgs","repos_url":"https://api.github.com/users/adshares/repos","events_url":"https://api.github.com/users/adshares/events{/privacy}","received_events_url":"https://api.github.com/users/adshares/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adshares/adserver-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/adshares/adserver-frontend","forks_url":"https://api.github.com/repos/adshares/adserver-frontend/forks","keys_url":"https://api.github.com/repos/adshares/adserver-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adshares/adserver-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adshares/adserver-frontend/teams","hooks_url":"https://api.github.com/repos/adshares/adserver-frontend/hooks","issue_events_url":"https://api.github.com/repos/adshares/adserver-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/adshares/adserver-frontend/events","assignees_url":"https://api.github.com/repos/adshares/adserver-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/adshares/adserver-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/adshares/adserver-frontend/tags","blobs_url":"https://api.github.com/repos/adshares/adserver-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adshares/adserver-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adshares/adserver-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/adshares/adserver-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adshares/adserver-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/adshares/adserver-frontend/languages","stargazers_url":"https://api.github.com/repos/adshares/adserver-frontend/stargazers","contributors_url":"https://api.github.com/repos/adshares/adserver-frontend/contributors","subscribers_url":"https://api.github.com/repos/adshares/adserver-frontend/subscribers","subscription_url":"https://api.github.com/repos/adshares/adserver-frontend/subscription","commits_url":"https://api.github.com/repos/adshares/adserver-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/adshares/adserver-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/adshares/adserver-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/adshares/adserver-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/adshares/adserver-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/adshares/adserver-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adshares/adserver-frontend/merges","archive_url":"https://api.github.com/repos/adshares/adserver-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adshares/adserver-frontend/downloads","issues_url":"https://api.github.com/repos/adshares/adserver-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/adshares/adserver-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/adshares/adserver-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/adshares/adserver-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adshares/adserver-frontend/labels{/name}","releases_url":"https://api.github.com/repos/adshares/adserver-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/adshares/adserver-frontend/deployments","created_at":"2017-11-10T15:09:34Z","updated_at":"2018-02-12T11:59:43Z","pushed_at":"2018-02-15T12:59:58Z","git_url":"git://github.com/adshares/adserver-frontend.git","ssh_url":"git@github.com:adshares/adserver-frontend.git","clone_url":"https://github.com/adshares/adserver-frontend.git","svn_url":"https://github.com/adshares/adserver-frontend","homepage":null,"size":7991,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"devel"}},"base":{"label":"adshares:devel","ref":"devel","sha":"a7bbe4faddeda262ad49bde14e95805d005fdfce","user":{"login":"adshares","id":19405131,"avatar_url":"https://avatars2.githubusercontent.com/u/19405131?v=4","gravatar_id":"","url":"https://api.github.com/users/adshares","html_url":"https://github.com/adshares","followers_url":"https://api.github.com/users/adshares/followers","following_url":"https://api.github.com/users/adshares/following{/other_user}","gists_url":"https://api.github.com/users/adshares/gists{/gist_id}","starred_url":"https://api.github.com/users/adshares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adshares/subscriptions","organizations_url":"https://api.github.com/users/adshares/orgs","repos_url":"https://api.github.com/users/adshares/repos","events_url":"https://api.github.com/users/adshares/events{/privacy}","received_events_url":"https://api.github.com/users/adshares/received_events","type":"Organization","site_admin":false},"repo":{"id":110260194,"name":"adserver-frontend","full_name":"adshares/adserver-frontend","owner":{"login":"adshares","id":19405131,"avatar_url":"https://avatars2.githubusercontent.com/u/19405131?v=4","gravatar_id":"","url":"https://api.github.com/users/adshares","html_url":"https://github.com/adshares","followers_url":"https://api.github.com/users/adshares/followers","following_url":"https://api.github.com/users/adshares/following{/other_user}","gists_url":"https://api.github.com/users/adshares/gists{/gist_id}","starred_url":"https://api.github.com/users/adshares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adshares/subscriptions","organizations_url":"https://api.github.com/users/adshares/orgs","repos_url":"https://api.github.com/users/adshares/repos","events_url":"https://api.github.com/users/adshares/events{/privacy}","received_events_url":"https://api.github.com/users/adshares/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adshares/adserver-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/adshares/adserver-frontend","forks_url":"https://api.github.com/repos/adshares/adserver-frontend/forks","keys_url":"https://api.github.com/repos/adshares/adserver-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adshares/adserver-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adshares/adserver-frontend/teams","hooks_url":"https://api.github.com/repos/adshares/adserver-frontend/hooks","issue_events_url":"https://api.github.com/repos/adshares/adserver-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/adshares/adserver-frontend/events","assignees_url":"https://api.github.com/repos/adshares/adserver-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/adshares/adserver-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/adshares/adserver-frontend/tags","blobs_url":"https://api.github.com/repos/adshares/adserver-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adshares/adserver-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adshares/adserver-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/adshares/adserver-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adshares/adserver-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/adshares/adserver-frontend/languages","stargazers_url":"https://api.github.com/repos/adshares/adserver-frontend/stargazers","contributors_url":"https://api.github.com/repos/adshares/adserver-frontend/contributors","subscribers_url":"https://api.github.com/repos/adshares/adserver-frontend/subscribers","subscription_url":"https://api.github.com/repos/adshares/adserver-frontend/subscription","commits_url":"https://api.github.com/repos/adshares/adserver-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/adshares/adserver-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/adshares/adserver-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/adshares/adserver-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/adshares/adserver-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/adshares/adserver-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adshares/adserver-frontend/merges","archive_url":"https://api.github.com/repos/adshares/adserver-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adshares/adserver-frontend/downloads","issues_url":"https://api.github.com/repos/adshares/adserver-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/adshares/adserver-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/adshares/adserver-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/adshares/adserver-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adshares/adserver-frontend/labels{/name}","releases_url":"https://api.github.com/repos/adshares/adserver-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/adshares/adserver-frontend/deployments","created_at":"2017-11-10T15:09:34Z","updated_at":"2018-02-12T11:59:43Z","pushed_at":"2018-02-15T12:59:58Z","git_url":"git://github.com/adshares/adserver-frontend.git","ssh_url":"git@github.com:adshares/adserver-frontend.git","clone_url":"https://github.com/adshares/adserver-frontend.git","svn_url":"https://github.com/adshares/adserver-frontend","homepage":null,"size":7991,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67"},"html":{"href":"https://github.com/adshares/adserver-frontend/pull/67"},"issue":{"href":"https://api.github.com/repos/adshares/adserver-frontend/issues/67"},"comments":{"href":"https://api.github.com/repos/adshares/adserver-frontend/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/adshares/adserver-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adshares/adserver-frontend/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/adshares/adserver-frontend/statuses/6208518a3858f56fe809c3c14032e5867288f53b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"BartoszBilejczyk"}}