{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/andela/prometheus-ah/pulls/37","id":216708665,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzA4NjY1","html_url":"https://github.com/andela/prometheus-ah/pull/37","diff_url":"https://github.com/andela/prometheus-ah/pull/37.diff","patch_url":"https://github.com/andela/prometheus-ah/pull/37.patch","issue_url":"https://api.github.com/repos/andela/prometheus-ah/issues/37","number":37,"state":"open","locked":false,"title":"#159987755: Implement users highlight and comment on…","user":{"login":"cwizard2011","id":23406358,"node_id":"MDQ6VXNlcjIzNDA2MzU4","avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- It enable users to highlight and comment on text\r\n\r\n#### Description of Task to be completed?\r\n- create a model for highlighted texts and comments\r\n- create controller methods for creating, getting, updating and deleting comments\r\n- Write tests for the endpoints\r\n- Write documentation\r\n\r\n#### How should this be manually tested?\r\n- clone this repo\r\n- run `npm install`\r\n- run `npm run dev`\r\n- Run postman and navigate through to the text comment routes\r\n\r\n#### Any background context you want to provide?\r\n- None\r\n\r\n#### What are the relevant pivotal tracker stories?(if applicable)\r\n[#159987755](https://www.pivotaltracker.com/story/show/159987755)","created_at":"2018-09-19T16:53:43Z","updated_at":"2018-09-19T16:53:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/37/commits","review_comments_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/37/comments","review_comment_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/issues/37/comments","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/7175d40222b67d626cb89bd6c364f828970aa88c","head":{"label":"andela:ft-highlight-and-comment-159987755","ref":"ft-highlight-and-comment-159987755","sha":"7175d40222b67d626cb89bd6c364f828970aa88c","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":145832303,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzIzMDM=","name":"prometheus-ah","full_name":"andela/prometheus-ah","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/prometheus-ah","description":null,"fork":false,"url":"https://api.github.com/repos/andela/prometheus-ah","forks_url":"https://api.github.com/repos/andela/prometheus-ah/forks","keys_url":"https://api.github.com/repos/andela/prometheus-ah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/prometheus-ah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/prometheus-ah/teams","hooks_url":"https://api.github.com/repos/andela/prometheus-ah/hooks","issue_events_url":"https://api.github.com/repos/andela/prometheus-ah/issues/events{/number}","events_url":"https://api.github.com/repos/andela/prometheus-ah/events","assignees_url":"https://api.github.com/repos/andela/prometheus-ah/assignees{/user}","branches_url":"https://api.github.com/repos/andela/prometheus-ah/branches{/branch}","tags_url":"https://api.github.com/repos/andela/prometheus-ah/tags","blobs_url":"https://api.github.com/repos/andela/prometheus-ah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/prometheus-ah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/prometheus-ah/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/prometheus-ah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/prometheus-ah/languages","stargazers_url":"https://api.github.com/repos/andela/prometheus-ah/stargazers","contributors_url":"https://api.github.com/repos/andela/prometheus-ah/contributors","subscribers_url":"https://api.github.com/repos/andela/prometheus-ah/subscribers","subscription_url":"https://api.github.com/repos/andela/prometheus-ah/subscription","commits_url":"https://api.github.com/repos/andela/prometheus-ah/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/prometheus-ah/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/prometheus-ah/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/prometheus-ah/contents/{+path}","compare_url":"https://api.github.com/repos/andela/prometheus-ah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/prometheus-ah/merges","archive_url":"https://api.github.com/repos/andela/prometheus-ah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/prometheus-ah/downloads","issues_url":"https://api.github.com/repos/andela/prometheus-ah/issues{/number}","pulls_url":"https://api.github.com/repos/andela/prometheus-ah/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/prometheus-ah/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/prometheus-ah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/prometheus-ah/labels{/name}","releases_url":"https://api.github.com/repos/andela/prometheus-ah/releases{/id}","deployments_url":"https://api.github.com/repos/andela/prometheus-ah/deployments","created_at":"2018-08-23T09:34:39Z","updated_at":"2018-09-19T11:56:08Z","pushed_at":"2018-09-19T16:46:40Z","git_url":"git://github.com/andela/prometheus-ah.git","ssh_url":"git@github.com:andela/prometheus-ah.git","clone_url":"https://github.com/andela/prometheus-ah.git","svn_url":"https://github.com/andela/prometheus-ah","homepage":null,"size":606,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":1,"open_issues":6,"watchers":2,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"3bcda826d1e7fd5afe28d35e5e408bc143b66aa3","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":145832303,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzIzMDM=","name":"prometheus-ah","full_name":"andela/prometheus-ah","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/prometheus-ah","description":null,"fork":false,"url":"https://api.github.com/repos/andela/prometheus-ah","forks_url":"https://api.github.com/repos/andela/prometheus-ah/forks","keys_url":"https://api.github.com/repos/andela/prometheus-ah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/prometheus-ah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/prometheus-ah/teams","hooks_url":"https://api.github.com/repos/andela/prometheus-ah/hooks","issue_events_url":"https://api.github.com/repos/andela/prometheus-ah/issues/events{/number}","events_url":"https://api.github.com/repos/andela/prometheus-ah/events","assignees_url":"https://api.github.com/repos/andela/prometheus-ah/assignees{/user}","branches_url":"https://api.github.com/repos/andela/prometheus-ah/branches{/branch}","tags_url":"https://api.github.com/repos/andela/prometheus-ah/tags","blobs_url":"https://api.github.com/repos/andela/prometheus-ah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/prometheus-ah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/prometheus-ah/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/prometheus-ah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/prometheus-ah/languages","stargazers_url":"https://api.github.com/repos/andela/prometheus-ah/stargazers","contributors_url":"https://api.github.com/repos/andela/prometheus-ah/contributors","subscribers_url":"https://api.github.com/repos/andela/prometheus-ah/subscribers","subscription_url":"https://api.github.com/repos/andela/prometheus-ah/subscription","commits_url":"https://api.github.com/repos/andela/prometheus-ah/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/prometheus-ah/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/prometheus-ah/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/prometheus-ah/contents/{+path}","compare_url":"https://api.github.com/repos/andela/prometheus-ah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/prometheus-ah/merges","archive_url":"https://api.github.com/repos/andela/prometheus-ah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/prometheus-ah/downloads","issues_url":"https://api.github.com/repos/andela/prometheus-ah/issues{/number}","pulls_url":"https://api.github.com/repos/andela/prometheus-ah/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/prometheus-ah/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/prometheus-ah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/prometheus-ah/labels{/name}","releases_url":"https://api.github.com/repos/andela/prometheus-ah/releases{/id}","deployments_url":"https://api.github.com/repos/andela/prometheus-ah/deployments","created_at":"2018-08-23T09:34:39Z","updated_at":"2018-09-19T11:56:08Z","pushed_at":"2018-09-19T16:46:40Z","git_url":"git://github.com/andela/prometheus-ah.git","ssh_url":"git@github.com:andela/prometheus-ah.git","clone_url":"https://github.com/andela/prometheus-ah.git","svn_url":"https://github.com/andela/prometheus-ah","homepage":null,"size":606,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":1,"open_issues":6,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/37"},"html":{"href":"https://github.com/andela/prometheus-ah/pull/37"},"issue":{"href":"https://api.github.com/repos/andela/prometheus-ah/issues/37"},"comments":{"href":"https://api.github.com/repos/andela/prometheus-ah/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/andela/prometheus-ah/statuses/7175d40222b67d626cb89bd6c364f828970aa88c"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2802,"deletions":1955,"changed_files":13}}
{"actor":{"display_login":"cwizard2011"}}