{"action":"created","comment":{"url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/comments/134361909","pull_request_review_id":57643395,"id":134361909,"diff_hunk":"@@ -0,0 +1,55 @@\n+import { Component, OnInit, AfterViewChecked, ViewChild, ViewContainerRef } from '@angular/core';\n+import { ToastsManager } from 'ng2-toastr/ng2-toastr';\n+import { DoctorService } from '../../services/doctorchat.service';\n+import { SharedDataService } from '../../services/shared.data.service';\n+import { InfokitService } from '../../services/infokit.service';\n+import { DashboardService } from '../../services/dashboard.service';\n+import { LanguageService } from '../../services/language.service';\n+\n+@Component({\n+    selector: 'app-doctorchat',\n+    templateUrl: './doctorchat.component.html',\n+    styleUrls: ['./doctorchat.component.scss']\n+})\n+\n+export class DoctorchatComponent implements OnInit, AfterViewChecked {\n+    private static _localStorageKey = 'pcprepkitUser';\n+    private _status: object = {stage: 3, activity: 3};\n+    completed = true;\n+    activityComplete = true;\n+    chatMessage: string;\n+    language: any;\n+    messages = []\n+    @ViewChild('chats') chatContainer;\n+\n+    constructor(private _doctorchat: DoctorService,  private _sharedData: SharedDataService, vcr: ViewContainerRef,\n+      private _infokitService: InfokitService, public toastr: ToastsManager, private _dashboardService: DashboardService\n+      , private _langService: LanguageService) {","path":"src/app/meds-n-labels/activity-3/doctorchat.component.ts","position":27,"original_position":27,"commit_id":"b3443a81548bd39335fd4586d9831364079b6fec","original_commit_id":"b3443a81548bd39335fd4586d9831364079b6fec","user":{"login":"yukie1412","id":2449212,"avatar_url":"https://avatars3.githubusercontent.com/u/2449212?v=4","gravatar_id":"","url":"https://api.github.com/users/yukie1412","html_url":"https://github.com/yukie1412","followers_url":"https://api.github.com/users/yukie1412/followers","following_url":"https://api.github.com/users/yukie1412/following{/other_user}","gists_url":"https://api.github.com/users/yukie1412/gists{/gist_id}","starred_url":"https://api.github.com/users/yukie1412/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yukie1412/subscriptions","organizations_url":"https://api.github.com/users/yukie1412/orgs","repos_url":"https://api.github.com/users/yukie1412/repos","events_url":"https://api.github.com/users/yukie1412/events{/privacy}","received_events_url":"https://api.github.com/users/yukie1412/received_events","type":"User","site_admin":false},"body":"linebreak","created_at":"2017-08-22T00:38:15Z","updated_at":"2017-08-22T00:40:13Z","html_url":"https://github.com/systers/PC-Prep-Kit/pull/43#discussion_r134361909","pull_request_url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/comments/134361909"},"html":{"href":"https://github.com/systers/PC-Prep-Kit/pull/43#discussion_r134361909"},"pull_request":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43","id":136544001,"html_url":"https://github.com/systers/PC-Prep-Kit/pull/43","diff_url":"https://github.com/systers/PC-Prep-Kit/pull/43.diff","patch_url":"https://github.com/systers/PC-Prep-Kit/pull/43.patch","issue_url":"https://api.github.com/repos/systers/PC-Prep-Kit/issues/43","number":43,"state":"open","locked":false,"title":"Doctor Chat Module","user":{"login":"shreyans29","id":8592568,"avatar_url":"https://avatars3.githubusercontent.com/u/8592568?v=4","gravatar_id":"","url":"https://api.github.com/users/shreyans29","html_url":"https://github.com/shreyans29","followers_url":"https://api.github.com/users/shreyans29/followers","following_url":"https://api.github.com/users/shreyans29/following{/other_user}","gists_url":"https://api.github.com/users/shreyans29/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyans29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyans29/subscriptions","organizations_url":"https://api.github.com/users/shreyans29/orgs","repos_url":"https://api.github.com/users/shreyans29/repos","events_url":"https://api.github.com/users/shreyans29/events{/privacy}","received_events_url":"https://api.github.com/users/shreyans29/received_events","type":"User","site_admin":false},"body":"This PR adds Doctor Chat Module to the Application. Built using API.AI","created_at":"2017-08-18T19:00:24Z","updated_at":"2017-08-22T00:40:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ed19ed2fcbe399fdacbd7ea98b976cdf4524f9a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43/commits","review_comments_url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43/comments","review_comment_url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/PC-Prep-Kit/issues/43/comments","statuses_url":"https://api.github.com/repos/systers/PC-Prep-Kit/statuses/b3443a81548bd39335fd4586d9831364079b6fec","head":{"label":"shreyans29:doctorchat","ref":"doctorchat","sha":"b3443a81548bd39335fd4586d9831364079b6fec","user":{"login":"shreyans29","id":8592568,"avatar_url":"https://avatars3.githubusercontent.com/u/8592568?v=4","gravatar_id":"","url":"https://api.github.com/users/shreyans29","html_url":"https://github.com/shreyans29","followers_url":"https://api.github.com/users/shreyans29/followers","following_url":"https://api.github.com/users/shreyans29/following{/other_user}","gists_url":"https://api.github.com/users/shreyans29/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyans29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyans29/subscriptions","organizations_url":"https://api.github.com/users/shreyans29/orgs","repos_url":"https://api.github.com/users/shreyans29/repos","events_url":"https://api.github.com/users/shreyans29/events{/privacy}","received_events_url":"https://api.github.com/users/shreyans29/received_events","type":"User","site_admin":false},"repo":{"id":95429464,"name":"PC-Prep-Kit","full_name":"shreyans29/PC-Prep-Kit","owner":{"login":"shreyans29","id":8592568,"avatar_url":"https://avatars3.githubusercontent.com/u/8592568?v=4","gravatar_id":"","url":"https://api.github.com/users/shreyans29","html_url":"https://github.com/shreyans29","followers_url":"https://api.github.com/users/shreyans29/followers","following_url":"https://api.github.com/users/shreyans29/following{/other_user}","gists_url":"https://api.github.com/users/shreyans29/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyans29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyans29/subscriptions","organizations_url":"https://api.github.com/users/shreyans29/orgs","repos_url":"https://api.github.com/users/shreyans29/repos","events_url":"https://api.github.com/users/shreyans29/events{/privacy}","received_events_url":"https://api.github.com/users/shreyans29/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shreyans29/PC-Prep-Kit","description":null,"fork":true,"url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit","forks_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/forks","keys_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/teams","hooks_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/hooks","issue_events_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/issues/events{/number}","events_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/events","assignees_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/assignees{/user}","branches_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/branches{/branch}","tags_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/tags","blobs_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/statuses/{sha}","languages_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/languages","stargazers_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/stargazers","contributors_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/contributors","subscribers_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/subscribers","subscription_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/subscription","commits_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/contents/{+path}","compare_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/merges","archive_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/downloads","issues_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/issues{/number}","pulls_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/pulls{/number}","milestones_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/milestones{/number}","notifications_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/labels{/name}","releases_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/releases{/id}","deployments_url":"https://api.github.com/repos/shreyans29/PC-Prep-Kit/deployments","created_at":"2017-06-26T09:14:52Z","updated_at":"2017-06-26T09:14:54Z","pushed_at":"2017-08-21T19:44:51Z","git_url":"git://github.com/shreyans29/PC-Prep-Kit.git","ssh_url":"git@github.com:shreyans29/PC-Prep-Kit.git","clone_url":"https://github.com/shreyans29/PC-Prep-Kit.git","svn_url":"https://github.com/shreyans29/PC-Prep-Kit","homepage":null,"size":9161,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"systers:develop","ref":"develop","sha":"662373e44c9670358ab8a30cd1f655578e8dbbff","user":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":54077744,"name":"PC-Prep-Kit","full_name":"systers/PC-Prep-Kit","owner":{"login":"systers","id":6520415,"avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/PC-Prep-Kit","description":null,"fork":true,"url":"https://api.github.com/repos/systers/PC-Prep-Kit","forks_url":"https://api.github.com/repos/systers/PC-Prep-Kit/forks","keys_url":"https://api.github.com/repos/systers/PC-Prep-Kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/PC-Prep-Kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/PC-Prep-Kit/teams","hooks_url":"https://api.github.com/repos/systers/PC-Prep-Kit/hooks","issue_events_url":"https://api.github.com/repos/systers/PC-Prep-Kit/issues/events{/number}","events_url":"https://api.github.com/repos/systers/PC-Prep-Kit/events","assignees_url":"https://api.github.com/repos/systers/PC-Prep-Kit/assignees{/user}","branches_url":"https://api.github.com/repos/systers/PC-Prep-Kit/branches{/branch}","tags_url":"https://api.github.com/repos/systers/PC-Prep-Kit/tags","blobs_url":"https://api.github.com/repos/systers/PC-Prep-Kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/PC-Prep-Kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/PC-Prep-Kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/PC-Prep-Kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/PC-Prep-Kit/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/PC-Prep-Kit/languages","stargazers_url":"https://api.github.com/repos/systers/PC-Prep-Kit/stargazers","contributors_url":"https://api.github.com/repos/systers/PC-Prep-Kit/contributors","subscribers_url":"https://api.github.com/repos/systers/PC-Prep-Kit/subscribers","subscription_url":"https://api.github.com/repos/systers/PC-Prep-Kit/subscription","commits_url":"https://api.github.com/repos/systers/PC-Prep-Kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/PC-Prep-Kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/PC-Prep-Kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/PC-Prep-Kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/PC-Prep-Kit/contents/{+path}","compare_url":"https://api.github.com/repos/systers/PC-Prep-Kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/PC-Prep-Kit/merges","archive_url":"https://api.github.com/repos/systers/PC-Prep-Kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/PC-Prep-Kit/downloads","issues_url":"https://api.github.com/repos/systers/PC-Prep-Kit/issues{/number}","pulls_url":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/PC-Prep-Kit/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/PC-Prep-Kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/PC-Prep-Kit/labels{/name}","releases_url":"https://api.github.com/repos/systers/PC-Prep-Kit/releases{/id}","deployments_url":"https://api.github.com/repos/systers/PC-Prep-Kit/deployments","created_at":"2016-03-17T01:07:50Z","updated_at":"2017-07-20T05:32:09Z","pushed_at":"2017-08-21T23:53:23Z","git_url":"git://github.com/systers/PC-Prep-Kit.git","ssh_url":"git@github.com:systers/PC-Prep-Kit.git","clone_url":"https://github.com/systers/PC-Prep-Kit.git","svn_url":"https://github.com/systers/PC-Prep-Kit","homepage":null,"size":9001,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":13,"forks":16,"open_issues":13,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43"},"html":{"href":"https://github.com/systers/PC-Prep-Kit/pull/43"},"issue":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/issues/43"},"comments":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/systers/PC-Prep-Kit/statuses/b3443a81548bd39335fd4586d9831364079b6fec"}}}}
{"actor":{"display_login":"yukie1412"}}