{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/comments/232304727","pull_request_review_id":173477210,"id":232304727,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjMwNDcyNw==","diff_hunk":"@@ -864,11 +864,12 @@ class MessageSection extends Component {\n     let indexLimit = this.state.searchState.scrollLimit;\n     let markedIDs = this.state.searchState.markedIDs;\n     let ul = this.messageList;\n-    if (newSearchCount <= 0) {\n-      newSearchCount = indexLimit;\n+    if (newSearchCount > indexLimit) {","path":"src/components/ChatApp/MessageSection/MessageSection.react.js","position":6,"original_position":6,"commit_id":"578ba60e511b44c525a77a7c181f03f58621ce8f","original_commit_id":"578ba60e511b44c525a77a7c181f03f58621ce8f","user":{"login":"sunitasen","id":36556702,"node_id":"MDQ6VXNlcjM2NTU2NzAy","avatar_url":"https://avatars1.githubusercontent.com/u/36556702?v=4","gravatar_id":"","url":"https://api.github.com/users/sunitasen","html_url":"https://github.com/sunitasen","followers_url":"https://api.github.com/users/sunitasen/followers","following_url":"https://api.github.com/users/sunitasen/following{/other_user}","gists_url":"https://api.github.com/users/sunitasen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunitasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunitasen/subscriptions","organizations_url":"https://api.github.com/users/sunitasen/orgs","repos_url":"https://api.github.com/users/sunitasen/repos","events_url":"https://api.github.com/users/sunitasen/events{/privacy}","received_events_url":"https://api.github.com/users/sunitasen/received_events","type":"User","site_admin":false},"body":"@AakashMallik  it worked I think. Thanks a ton :smile: ","created_at":"2018-11-09T16:05:23Z","updated_at":"2018-11-09T16:05:24Z","html_url":"https://github.com/fossasia/chat.susi.ai/pull/1719#discussion_r232304727","pull_request_url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/comments/232304727"},"html":{"href":"https://github.com/fossasia/chat.susi.ai/pull/1719#discussion_r232304727"},"pull_request":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719"}},"in_reply_to_id":232108990},"pull_request":{"url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719","id":229482613,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NDgyNjEz","html_url":"https://github.com/fossasia/chat.susi.ai/pull/1719","diff_url":"https://github.com/fossasia/chat.susi.ai/pull/1719.diff","patch_url":"https://github.com/fossasia/chat.susi.ai/pull/1719.patch","issue_url":"https://api.github.com/repos/fossasia/chat.susi.ai/issues/1719","number":1719,"state":"closed","locked":false,"title":"Refactor mapContainer.react.js","user":{"login":"sunitasen","id":36556702,"node_id":"MDQ6VXNlcjM2NTU2NzAy","avatar_url":"https://avatars1.githubusercontent.com/u/36556702?v=4","gravatar_id":"","url":"https://api.github.com/users/sunitasen","html_url":"https://github.com/sunitasen","followers_url":"https://api.github.com/users/sunitasen/followers","following_url":"https://api.github.com/users/sunitasen/following{/other_user}","gists_url":"https://api.github.com/users/sunitasen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunitasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunitasen/subscriptions","organizations_url":"https://api.github.com/users/sunitasen/orgs","repos_url":"https://api.github.com/users/sunitasen/repos","events_url":"https://api.github.com/users/sunitasen/events{/privacy}","received_events_url":"https://api.github.com/users/sunitasen/received_events","type":"User","site_admin":false},"body":"Fixes #1718 \r\n\r\nChanges: \r\n- ordered import statements\r\n\r\n- moved style out of components\r\n\r\nDemo Link: https://pr-1719-fossasia-susi-web-chat.surge.sh\r\n\r\n","created_at":"2018-11-08T19:31:12Z","updated_at":"2018-11-09T16:05:24Z","closed_at":"2018-11-09T16:02:23Z","merged_at":null,"merge_commit_sha":"a4c881f0c0537956cdbb237e058f12e6721d5eca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719/commits","review_comments_url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719/comments","review_comment_url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/chat.susi.ai/issues/1719/comments","statuses_url":"https://api.github.com/repos/fossasia/chat.susi.ai/statuses/578ba60e511b44c525a77a7c181f03f58621ce8f","head":{"label":"sunitasen:branch1","ref":"branch1","sha":"578ba60e511b44c525a77a7c181f03f58621ce8f","user":{"login":"sunitasen","id":36556702,"node_id":"MDQ6VXNlcjM2NTU2NzAy","avatar_url":"https://avatars1.githubusercontent.com/u/36556702?v=4","gravatar_id":"","url":"https://api.github.com/users/sunitasen","html_url":"https://github.com/sunitasen","followers_url":"https://api.github.com/users/sunitasen/followers","following_url":"https://api.github.com/users/sunitasen/following{/other_user}","gists_url":"https://api.github.com/users/sunitasen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunitasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunitasen/subscriptions","organizations_url":"https://api.github.com/users/sunitasen/orgs","repos_url":"https://api.github.com/users/sunitasen/repos","events_url":"https://api.github.com/users/sunitasen/events{/privacy}","received_events_url":"https://api.github.com/users/sunitasen/received_events","type":"User","site_admin":false},"repo":{"id":155571459,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU1NzE0NTk=","name":"chat.susi.ai","full_name":"sunitasen/chat.susi.ai","private":false,"owner":{"login":"sunitasen","id":36556702,"node_id":"MDQ6VXNlcjM2NTU2NzAy","avatar_url":"https://avatars1.githubusercontent.com/u/36556702?v=4","gravatar_id":"","url":"https://api.github.com/users/sunitasen","html_url":"https://github.com/sunitasen","followers_url":"https://api.github.com/users/sunitasen/followers","following_url":"https://api.github.com/users/sunitasen/following{/other_user}","gists_url":"https://api.github.com/users/sunitasen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunitasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunitasen/subscriptions","organizations_url":"https://api.github.com/users/sunitasen/orgs","repos_url":"https://api.github.com/users/sunitasen/repos","events_url":"https://api.github.com/users/sunitasen/events{/privacy}","received_events_url":"https://api.github.com/users/sunitasen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sunitasen/chat.susi.ai","description":"SUSI AI web client at https://chat.susi.ai/","fork":true,"url":"https://api.github.com/repos/sunitasen/chat.susi.ai","forks_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/forks","keys_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/teams","hooks_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/hooks","issue_events_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/issues/events{/number}","events_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/events","assignees_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/assignees{/user}","branches_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/branches{/branch}","tags_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/tags","blobs_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/statuses/{sha}","languages_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/languages","stargazers_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/stargazers","contributors_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/contributors","subscribers_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/subscribers","subscription_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/subscription","commits_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/contents/{+path}","compare_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/merges","archive_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/downloads","issues_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/issues{/number}","pulls_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/pulls{/number}","milestones_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/milestones{/number}","notifications_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/labels{/name}","releases_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/releases{/id}","deployments_url":"https://api.github.com/repos/sunitasen/chat.susi.ai/deployments","created_at":"2018-10-31T14:30:49Z","updated_at":"2018-10-31T14:30:52Z","pushed_at":"2018-11-09T16:03:02Z","git_url":"git://github.com/sunitasen/chat.susi.ai.git","ssh_url":"git@github.com:sunitasen/chat.susi.ai.git","clone_url":"https://github.com/sunitasen/chat.susi.ai.git","svn_url":"https://github.com/sunitasen/chat.susi.ai","homepage":"","size":348242,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fossasia:master","ref":"master","sha":"b0551acd13894d3f8420763d1f590ee9c76153a4","user":{"login":"fossasia","id":6295529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyOTU1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":63525213,"node_id":"MDEwOlJlcG9zaXRvcnk2MzUyNTIxMw==","name":"chat.susi.ai","full_name":"fossasia/chat.susi.ai","private":false,"owner":{"login":"fossasia","id":6295529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyOTU1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fossasia/chat.susi.ai","description":"SUSI AI web client at https://chat.susi.ai/","fork":false,"url":"https://api.github.com/repos/fossasia/chat.susi.ai","forks_url":"https://api.github.com/repos/fossasia/chat.susi.ai/forks","keys_url":"https://api.github.com/repos/fossasia/chat.susi.ai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/chat.susi.ai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/chat.susi.ai/teams","hooks_url":"https://api.github.com/repos/fossasia/chat.susi.ai/hooks","issue_events_url":"https://api.github.com/repos/fossasia/chat.susi.ai/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/chat.susi.ai/events","assignees_url":"https://api.github.com/repos/fossasia/chat.susi.ai/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/chat.susi.ai/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/chat.susi.ai/tags","blobs_url":"https://api.github.com/repos/fossasia/chat.susi.ai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/chat.susi.ai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/chat.susi.ai/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/chat.susi.ai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/chat.susi.ai/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/chat.susi.ai/languages","stargazers_url":"https://api.github.com/repos/fossasia/chat.susi.ai/stargazers","contributors_url":"https://api.github.com/repos/fossasia/chat.susi.ai/contributors","subscribers_url":"https://api.github.com/repos/fossasia/chat.susi.ai/subscribers","subscription_url":"https://api.github.com/repos/fossasia/chat.susi.ai/subscription","commits_url":"https://api.github.com/repos/fossasia/chat.susi.ai/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/chat.susi.ai/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/chat.susi.ai/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/chat.susi.ai/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/chat.susi.ai/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/chat.susi.ai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/chat.susi.ai/merges","archive_url":"https://api.github.com/repos/fossasia/chat.susi.ai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/chat.susi.ai/downloads","issues_url":"https://api.github.com/repos/fossasia/chat.susi.ai/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/chat.susi.ai/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/chat.susi.ai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/chat.susi.ai/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/chat.susi.ai/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/chat.susi.ai/deployments","created_at":"2016-07-17T09:56:00Z","updated_at":"2018-11-08T16:13:29Z","pushed_at":"2018-11-09T16:03:04Z","git_url":"git://github.com/fossasia/chat.susi.ai.git","ssh_url":"git@github.com:fossasia/chat.susi.ai.git","clone_url":"https://github.com/fossasia/chat.susi.ai.git","svn_url":"https://github.com/fossasia/chat.susi.ai","homepage":"","size":354890,"stargazers_count":920,"watchers_count":920,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":355,"mirror_url":null,"archived":false,"open_issues_count":106,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":355,"open_issues":106,"watchers":920,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719"},"html":{"href":"https://github.com/fossasia/chat.susi.ai/pull/1719"},"issue":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/issues/1719"},"comments":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/issues/1719/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/pulls/1719/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/chat.susi.ai/statuses/578ba60e511b44c525a77a7c181f03f58621ce8f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sunitasen"}}