{"action":"created","comment":{"url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/comments/176231123","pull_request_review_id":105899089,"id":176231123,"diff_hunk":"@@ -13,10 +15,45 @@ class Caption extends React.Component {\n         super(props);\n         this.state = {\n             caption: props.caption, \n+            isHighlighted: false,\n             token: props.token,\n             showAuthModal: false,\n         }\n     }\n+    \n+    componentDidMount = () => this.scrollToCaption();\n+\n+    componentDidUpdate = () => {","path":"frontend/src/components/Caption.js","position":21,"original_position":21,"commit_id":"2b5395dec54162b6ab51a39111e352b39af4af5a","original_commit_id":"2b5395dec54162b6ab51a39111e352b39af4af5a","user":{"login":"justin-cotarla","id":22649005,"avatar_url":"https://avatars2.githubusercontent.com/u/22649005?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-cotarla","html_url":"https://github.com/justin-cotarla","followers_url":"https://api.github.com/users/justin-cotarla/followers","following_url":"https://api.github.com/users/justin-cotarla/following{/other_user}","gists_url":"https://api.github.com/users/justin-cotarla/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-cotarla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-cotarla/subscriptions","organizations_url":"https://api.github.com/users/justin-cotarla/orgs","repos_url":"https://api.github.com/users/justin-cotarla/repos","events_url":"https://api.github.com/users/justin-cotarla/events{/privacy}","received_events_url":"https://api.github.com/users/justin-cotarla/received_events","type":"User","site_admin":false},"body":"Use timers","created_at":"2018-03-21T20:42:23Z","updated_at":"2018-03-21T20:44:49Z","html_url":"https://github.com/justin-cotarla/CaptionThis/pull/297#discussion_r176231123","pull_request_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/comments/176231123"},"html":{"href":"https://github.com/justin-cotarla/CaptionThis/pull/297#discussion_r176231123"},"pull_request":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297","id":176572462,"html_url":"https://github.com/justin-cotarla/CaptionThis/pull/297","diff_url":"https://github.com/justin-cotarla/CaptionThis/pull/297.diff","patch_url":"https://github.com/justin-cotarla/CaptionThis/pull/297.patch","issue_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/297","number":297,"state":"open","locked":false,"title":"Caption Highlighting","user":{"login":"tehblasian","id":24769776,"avatar_url":"https://avatars3.githubusercontent.com/u/24769776?v=4","gravatar_id":"","url":"https://api.github.com/users/tehblasian","html_url":"https://github.com/tehblasian","followers_url":"https://api.github.com/users/tehblasian/followers","following_url":"https://api.github.com/users/tehblasian/following{/other_user}","gists_url":"https://api.github.com/users/tehblasian/gists{/gist_id}","starred_url":"https://api.github.com/users/tehblasian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehblasian/subscriptions","organizations_url":"https://api.github.com/users/tehblasian/orgs","repos_url":"https://api.github.com/users/tehblasian/repos","events_url":"https://api.github.com/users/tehblasian/events{/privacy}","received_events_url":"https://api.github.com/users/tehblasian/received_events","type":"User","site_admin":false},"body":"When clicking on a caption from the user page, it will be highlighted on the moment view page.","created_at":"2018-03-21T18:35:18Z","updated_at":"2018-03-21T20:44:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"720c156c3c4b3b50b4a41bfb2158bf2ef3b71dbb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":830265861,"url":"https://api.github.com/repos/justin-cotarla/CaptionThis/labels/feature","name":"feature","color":"d67eea","default":false}],"milestone":{"url":"https://api.github.com/repos/justin-cotarla/CaptionThis/milestones/4","html_url":"https://github.com/justin-cotarla/CaptionThis/milestone/4","labels_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/milestones/4/labels","id":3156783,"number":4,"title":"Sprint 4","description":"","creator":{"login":"croumeliotis","id":25088190,"avatar_url":"https://avatars0.githubusercontent.com/u/25088190?v=4","gravatar_id":"","url":"https://api.github.com/users/croumeliotis","html_url":"https://github.com/croumeliotis","followers_url":"https://api.github.com/users/croumeliotis/followers","following_url":"https://api.github.com/users/croumeliotis/following{/other_user}","gists_url":"https://api.github.com/users/croumeliotis/gists{/gist_id}","starred_url":"https://api.github.com/users/croumeliotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croumeliotis/subscriptions","organizations_url":"https://api.github.com/users/croumeliotis/orgs","repos_url":"https://api.github.com/users/croumeliotis/repos","events_url":"https://api.github.com/users/croumeliotis/events{/privacy}","received_events_url":"https://api.github.com/users/croumeliotis/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":63,"state":"open","created_at":"2018-03-02T17:27:41Z","updated_at":"2018-03-21T18:35:18Z","due_on":"2018-03-23T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297/commits","review_comments_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297/comments","review_comment_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/297/comments","statuses_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/statuses/2b5395dec54162b6ab51a39111e352b39af4af5a","head":{"label":"justin-cotarla:feat/highlight-caption","ref":"feat/highlight-caption","sha":"2b5395dec54162b6ab51a39111e352b39af4af5a","user":{"login":"justin-cotarla","id":22649005,"avatar_url":"https://avatars2.githubusercontent.com/u/22649005?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-cotarla","html_url":"https://github.com/justin-cotarla","followers_url":"https://api.github.com/users/justin-cotarla/followers","following_url":"https://api.github.com/users/justin-cotarla/following{/other_user}","gists_url":"https://api.github.com/users/justin-cotarla/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-cotarla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-cotarla/subscriptions","organizations_url":"https://api.github.com/users/justin-cotarla/orgs","repos_url":"https://api.github.com/users/justin-cotarla/repos","events_url":"https://api.github.com/users/justin-cotarla/events{/privacy}","received_events_url":"https://api.github.com/users/justin-cotarla/received_events","type":"User","site_admin":false},"repo":{"id":119570036,"name":"CaptionThis","full_name":"justin-cotarla/CaptionThis","owner":{"login":"justin-cotarla","id":22649005,"avatar_url":"https://avatars2.githubusercontent.com/u/22649005?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-cotarla","html_url":"https://github.com/justin-cotarla","followers_url":"https://api.github.com/users/justin-cotarla/followers","following_url":"https://api.github.com/users/justin-cotarla/following{/other_user}","gists_url":"https://api.github.com/users/justin-cotarla/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-cotarla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-cotarla/subscriptions","organizations_url":"https://api.github.com/users/justin-cotarla/orgs","repos_url":"https://api.github.com/users/justin-cotarla/repos","events_url":"https://api.github.com/users/justin-cotarla/events{/privacy}","received_events_url":"https://api.github.com/users/justin-cotarla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justin-cotarla/CaptionThis","description":null,"fork":false,"url":"https://api.github.com/repos/justin-cotarla/CaptionThis","forks_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/forks","keys_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/teams","hooks_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/hooks","issue_events_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/events{/number}","events_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/events","assignees_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/assignees{/user}","branches_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/branches{/branch}","tags_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/tags","blobs_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/refs{/sha}","trees_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/statuses/{sha}","languages_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/languages","stargazers_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/stargazers","contributors_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/contributors","subscribers_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/subscribers","subscription_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/subscription","commits_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/commits{/sha}","git_commits_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/commits{/sha}","comments_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/comments{/number}","issue_comment_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/comments{/number}","contents_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/contents/{+path}","compare_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/merges","archive_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/downloads","issues_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues{/number}","pulls_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls{/number}","milestones_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/milestones{/number}","notifications_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/labels{/name}","releases_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/releases{/id}","deployments_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/deployments","created_at":"2018-01-30T17:28:46Z","updated_at":"2018-03-21T18:23:12Z","pushed_at":"2018-03-21T19:25:31Z","git_url":"git://github.com/justin-cotarla/CaptionThis.git","ssh_url":"git@github.com:justin-cotarla/CaptionThis.git","clone_url":"https://github.com/justin-cotarla/CaptionThis.git","svn_url":"https://github.com/justin-cotarla/CaptionThis","homepage":null,"size":2113,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":16,"license":null,"forks":0,"open_issues":16,"watchers":1,"default_branch":"dev"}},"base":{"label":"justin-cotarla:dev","ref":"dev","sha":"1905136516a58a45b01c5cdd4a679cf1a0d91483","user":{"login":"justin-cotarla","id":22649005,"avatar_url":"https://avatars2.githubusercontent.com/u/22649005?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-cotarla","html_url":"https://github.com/justin-cotarla","followers_url":"https://api.github.com/users/justin-cotarla/followers","following_url":"https://api.github.com/users/justin-cotarla/following{/other_user}","gists_url":"https://api.github.com/users/justin-cotarla/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-cotarla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-cotarla/subscriptions","organizations_url":"https://api.github.com/users/justin-cotarla/orgs","repos_url":"https://api.github.com/users/justin-cotarla/repos","events_url":"https://api.github.com/users/justin-cotarla/events{/privacy}","received_events_url":"https://api.github.com/users/justin-cotarla/received_events","type":"User","site_admin":false},"repo":{"id":119570036,"name":"CaptionThis","full_name":"justin-cotarla/CaptionThis","owner":{"login":"justin-cotarla","id":22649005,"avatar_url":"https://avatars2.githubusercontent.com/u/22649005?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-cotarla","html_url":"https://github.com/justin-cotarla","followers_url":"https://api.github.com/users/justin-cotarla/followers","following_url":"https://api.github.com/users/justin-cotarla/following{/other_user}","gists_url":"https://api.github.com/users/justin-cotarla/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-cotarla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-cotarla/subscriptions","organizations_url":"https://api.github.com/users/justin-cotarla/orgs","repos_url":"https://api.github.com/users/justin-cotarla/repos","events_url":"https://api.github.com/users/justin-cotarla/events{/privacy}","received_events_url":"https://api.github.com/users/justin-cotarla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justin-cotarla/CaptionThis","description":null,"fork":false,"url":"https://api.github.com/repos/justin-cotarla/CaptionThis","forks_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/forks","keys_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/teams","hooks_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/hooks","issue_events_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/events{/number}","events_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/events","assignees_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/assignees{/user}","branches_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/branches{/branch}","tags_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/tags","blobs_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/refs{/sha}","trees_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/statuses/{sha}","languages_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/languages","stargazers_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/stargazers","contributors_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/contributors","subscribers_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/subscribers","subscription_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/subscription","commits_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/commits{/sha}","git_commits_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/git/commits{/sha}","comments_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/comments{/number}","issue_comment_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/comments{/number}","contents_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/contents/{+path}","compare_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/merges","archive_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/downloads","issues_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues{/number}","pulls_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls{/number}","milestones_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/milestones{/number}","notifications_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/labels{/name}","releases_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/releases{/id}","deployments_url":"https://api.github.com/repos/justin-cotarla/CaptionThis/deployments","created_at":"2018-01-30T17:28:46Z","updated_at":"2018-03-21T18:23:12Z","pushed_at":"2018-03-21T19:25:31Z","git_url":"git://github.com/justin-cotarla/CaptionThis.git","ssh_url":"git@github.com:justin-cotarla/CaptionThis.git","clone_url":"https://github.com/justin-cotarla/CaptionThis.git","svn_url":"https://github.com/justin-cotarla/CaptionThis","homepage":null,"size":2113,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","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":16,"license":null,"forks":0,"open_issues":16,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297"},"html":{"href":"https://github.com/justin-cotarla/CaptionThis/pull/297"},"issue":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/297"},"comments":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/justin-cotarla/CaptionThis/statuses/2b5395dec54162b6ab51a39111e352b39af4af5a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"justin-cotarla"}}