{"action":"created","comment":{"url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/comments/114508128","pull_request_review_id":35978125,"id":114508128,"diff_hunk":"@@ -64,5 +65,38 @@ export function refreshSearch({loadingIndicator = false}) {\n     }\n }\n \n+// Getting more results\n+export function getMoreResults({loadingIndicator = false, endDate, scrollPosition}) {\n+    return async function (dispatch, getState) {\n+        const { query, startDate } = ourState(getState())\n+\n+        if (loadingIndicator) {\n+            // Show to the user that search is busy\n+            dispatch(showLoadingIndicator())","path":"src/overview/actions.js","position":19,"original_position":19,"commit_id":"eab52b3d027d1159e4434d706a67fcff1c157ed5","original_commit_id":"eab52b3d027d1159e4434d706a67fcff1c157ed5","user":{"login":"lewizho99","id":15610587,"avatar_url":"https://avatars0.githubusercontent.com/u/15610587?v=3","gravatar_id":"","url":"https://api.github.com/users/lewizho99","html_url":"https://github.com/lewizho99","followers_url":"https://api.github.com/users/lewizho99/followers","following_url":"https://api.github.com/users/lewizho99/following{/other_user}","gists_url":"https://api.github.com/users/lewizho99/gists{/gist_id}","starred_url":"https://api.github.com/users/lewizho99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewizho99/subscriptions","organizations_url":"https://api.github.com/users/lewizho99/orgs","repos_url":"https://api.github.com/users/lewizho99/repos","events_url":"https://api.github.com/users/lewizho99/events{/privacy}","received_events_url":"https://api.github.com/users/lewizho99/received_events","type":"User","site_admin":false},"body":"like i said when getting for results the state of waiting for results need to be +1, so currently it is only changed by the showLoadingIndicator action... that is why i used it. The purpose is to get the idea and the whole logic most importantly, so the show Loading indicator can be changed by an action that only changes state of waiting for results","created_at":"2017-05-03T09:55:42Z","updated_at":"2017-05-03T09:55:42Z","html_url":"https://github.com/WorldBrain/WebMemex/pull/18#discussion_r114508128","pull_request_url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/comments/114508128"},"html":{"href":"https://github.com/WorldBrain/WebMemex/pull/18#discussion_r114508128"},"pull_request":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18","id":118670602,"html_url":"https://github.com/WorldBrain/WebMemex/pull/18","diff_url":"https://github.com/WorldBrain/WebMemex/pull/18.diff","patch_url":"https://github.com/WorldBrain/WebMemex/pull/18.patch","issue_url":"https://api.github.com/repos/WorldBrain/WebMemex/issues/18","number":18,"state":"open","locked":false,"title":"Infinite Scroll added","user":{"login":"lewizho99","id":15610587,"avatar_url":"https://avatars0.githubusercontent.com/u/15610587?v=3","gravatar_id":"","url":"https://api.github.com/users/lewizho99","html_url":"https://github.com/lewizho99","followers_url":"https://api.github.com/users/lewizho99/followers","following_url":"https://api.github.com/users/lewizho99/following{/other_user}","gists_url":"https://api.github.com/users/lewizho99/gists{/gist_id}","starred_url":"https://api.github.com/users/lewizho99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewizho99/subscriptions","organizations_url":"https://api.github.com/users/lewizho99/orgs","repos_url":"https://api.github.com/users/lewizho99/repos","events_url":"https://api.github.com/users/lewizho99/events{/privacy}","received_events_url":"https://api.github.com/users/lewizho99/received_events","type":"User","site_admin":false},"body":"The infinite scroll feature is added, more results are fetched when the users scrolls to towards the end of the page.","created_at":"2017-05-02T23:57:43Z","updated_at":"2017-05-03T09:55:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29b7635f4c1ac126627a37127f73fbc94523c1a5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18/commits","review_comments_url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18/comments","review_comment_url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WorldBrain/WebMemex/issues/18/comments","statuses_url":"https://api.github.com/repos/WorldBrain/WebMemex/statuses/eab52b3d027d1159e4434d706a67fcff1c157ed5","head":{"label":"lewizho99:master","ref":"master","sha":"eab52b3d027d1159e4434d706a67fcff1c157ed5","user":{"login":"lewizho99","id":15610587,"avatar_url":"https://avatars0.githubusercontent.com/u/15610587?v=3","gravatar_id":"","url":"https://api.github.com/users/lewizho99","html_url":"https://github.com/lewizho99","followers_url":"https://api.github.com/users/lewizho99/followers","following_url":"https://api.github.com/users/lewizho99/following{/other_user}","gists_url":"https://api.github.com/users/lewizho99/gists{/gist_id}","starred_url":"https://api.github.com/users/lewizho99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewizho99/subscriptions","organizations_url":"https://api.github.com/users/lewizho99/orgs","repos_url":"https://api.github.com/users/lewizho99/repos","events_url":"https://api.github.com/users/lewizho99/events{/privacy}","received_events_url":"https://api.github.com/users/lewizho99/received_events","type":"User","site_admin":false},"repo":{"id":83730207,"name":"webmemex-extension","full_name":"lewizho99/webmemex-extension","owner":{"login":"lewizho99","id":15610587,"avatar_url":"https://avatars0.githubusercontent.com/u/15610587?v=3","gravatar_id":"","url":"https://api.github.com/users/lewizho99","html_url":"https://github.com/lewizho99","followers_url":"https://api.github.com/users/lewizho99/followers","following_url":"https://api.github.com/users/lewizho99/following{/other_user}","gists_url":"https://api.github.com/users/lewizho99/gists{/gist_id}","starred_url":"https://api.github.com/users/lewizho99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewizho99/subscriptions","organizations_url":"https://api.github.com/users/lewizho99/orgs","repos_url":"https://api.github.com/users/lewizho99/repos","events_url":"https://api.github.com/users/lewizho99/events{/privacy}","received_events_url":"https://api.github.com/users/lewizho99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lewizho99/webmemex-extension","description":"Your digital memory extension, as a browser extension","fork":true,"url":"https://api.github.com/repos/lewizho99/webmemex-extension","forks_url":"https://api.github.com/repos/lewizho99/webmemex-extension/forks","keys_url":"https://api.github.com/repos/lewizho99/webmemex-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lewizho99/webmemex-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lewizho99/webmemex-extension/teams","hooks_url":"https://api.github.com/repos/lewizho99/webmemex-extension/hooks","issue_events_url":"https://api.github.com/repos/lewizho99/webmemex-extension/issues/events{/number}","events_url":"https://api.github.com/repos/lewizho99/webmemex-extension/events","assignees_url":"https://api.github.com/repos/lewizho99/webmemex-extension/assignees{/user}","branches_url":"https://api.github.com/repos/lewizho99/webmemex-extension/branches{/branch}","tags_url":"https://api.github.com/repos/lewizho99/webmemex-extension/tags","blobs_url":"https://api.github.com/repos/lewizho99/webmemex-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lewizho99/webmemex-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lewizho99/webmemex-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/lewizho99/webmemex-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lewizho99/webmemex-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/lewizho99/webmemex-extension/languages","stargazers_url":"https://api.github.com/repos/lewizho99/webmemex-extension/stargazers","contributors_url":"https://api.github.com/repos/lewizho99/webmemex-extension/contributors","subscribers_url":"https://api.github.com/repos/lewizho99/webmemex-extension/subscribers","subscription_url":"https://api.github.com/repos/lewizho99/webmemex-extension/subscription","commits_url":"https://api.github.com/repos/lewizho99/webmemex-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/lewizho99/webmemex-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/lewizho99/webmemex-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/lewizho99/webmemex-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/lewizho99/webmemex-extension/contents/{+path}","compare_url":"https://api.github.com/repos/lewizho99/webmemex-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lewizho99/webmemex-extension/merges","archive_url":"https://api.github.com/repos/lewizho99/webmemex-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lewizho99/webmemex-extension/downloads","issues_url":"https://api.github.com/repos/lewizho99/webmemex-extension/issues{/number}","pulls_url":"https://api.github.com/repos/lewizho99/webmemex-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/lewizho99/webmemex-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/lewizho99/webmemex-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lewizho99/webmemex-extension/labels{/name}","releases_url":"https://api.github.com/repos/lewizho99/webmemex-extension/releases{/id}","deployments_url":"https://api.github.com/repos/lewizho99/webmemex-extension/deployments","created_at":"2017-03-02T22:17:37Z","updated_at":"2017-03-02T22:17:38Z","pushed_at":"2017-05-02T23:51:59Z","git_url":"git://github.com/lewizho99/webmemex-extension.git","ssh_url":"git@github.com:lewizho99/webmemex-extension.git","clone_url":"https://github.com/lewizho99/webmemex-extension.git","svn_url":"https://github.com/lewizho99/webmemex-extension","homepage":"https://webmemex.org","size":433,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WorldBrain:master","ref":"master","sha":"11058f7c4432992331e072a7b8a585b569dde887","user":{"login":"WorldBrain","id":9511853,"avatar_url":"https://avatars0.githubusercontent.com/u/9511853?v=3","gravatar_id":"","url":"https://api.github.com/users/WorldBrain","html_url":"https://github.com/WorldBrain","followers_url":"https://api.github.com/users/WorldBrain/followers","following_url":"https://api.github.com/users/WorldBrain/following{/other_user}","gists_url":"https://api.github.com/users/WorldBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/WorldBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WorldBrain/subscriptions","organizations_url":"https://api.github.com/users/WorldBrain/orgs","repos_url":"https://api.github.com/users/WorldBrain/repos","events_url":"https://api.github.com/users/WorldBrain/events{/privacy}","received_events_url":"https://api.github.com/users/WorldBrain/received_events","type":"Organization","site_admin":false},"repo":{"id":86941132,"name":"WebMemex","full_name":"WorldBrain/WebMemex","owner":{"login":"WorldBrain","id":9511853,"avatar_url":"https://avatars0.githubusercontent.com/u/9511853?v=3","gravatar_id":"","url":"https://api.github.com/users/WorldBrain","html_url":"https://github.com/WorldBrain","followers_url":"https://api.github.com/users/WorldBrain/followers","following_url":"https://api.github.com/users/WorldBrain/following{/other_user}","gists_url":"https://api.github.com/users/WorldBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/WorldBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WorldBrain/subscriptions","organizations_url":"https://api.github.com/users/WorldBrain/orgs","repos_url":"https://api.github.com/users/WorldBrain/repos","events_url":"https://api.github.com/users/WorldBrain/events{/privacy}","received_events_url":"https://api.github.com/users/WorldBrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WorldBrain/WebMemex","description":"The refactored version of the (Re)search-Engine","fork":true,"url":"https://api.github.com/repos/WorldBrain/WebMemex","forks_url":"https://api.github.com/repos/WorldBrain/WebMemex/forks","keys_url":"https://api.github.com/repos/WorldBrain/WebMemex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WorldBrain/WebMemex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WorldBrain/WebMemex/teams","hooks_url":"https://api.github.com/repos/WorldBrain/WebMemex/hooks","issue_events_url":"https://api.github.com/repos/WorldBrain/WebMemex/issues/events{/number}","events_url":"https://api.github.com/repos/WorldBrain/WebMemex/events","assignees_url":"https://api.github.com/repos/WorldBrain/WebMemex/assignees{/user}","branches_url":"https://api.github.com/repos/WorldBrain/WebMemex/branches{/branch}","tags_url":"https://api.github.com/repos/WorldBrain/WebMemex/tags","blobs_url":"https://api.github.com/repos/WorldBrain/WebMemex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WorldBrain/WebMemex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WorldBrain/WebMemex/git/refs{/sha}","trees_url":"https://api.github.com/repos/WorldBrain/WebMemex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WorldBrain/WebMemex/statuses/{sha}","languages_url":"https://api.github.com/repos/WorldBrain/WebMemex/languages","stargazers_url":"https://api.github.com/repos/WorldBrain/WebMemex/stargazers","contributors_url":"https://api.github.com/repos/WorldBrain/WebMemex/contributors","subscribers_url":"https://api.github.com/repos/WorldBrain/WebMemex/subscribers","subscription_url":"https://api.github.com/repos/WorldBrain/WebMemex/subscription","commits_url":"https://api.github.com/repos/WorldBrain/WebMemex/commits{/sha}","git_commits_url":"https://api.github.com/repos/WorldBrain/WebMemex/git/commits{/sha}","comments_url":"https://api.github.com/repos/WorldBrain/WebMemex/comments{/number}","issue_comment_url":"https://api.github.com/repos/WorldBrain/WebMemex/issues/comments{/number}","contents_url":"https://api.github.com/repos/WorldBrain/WebMemex/contents/{+path}","compare_url":"https://api.github.com/repos/WorldBrain/WebMemex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WorldBrain/WebMemex/merges","archive_url":"https://api.github.com/repos/WorldBrain/WebMemex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WorldBrain/WebMemex/downloads","issues_url":"https://api.github.com/repos/WorldBrain/WebMemex/issues{/number}","pulls_url":"https://api.github.com/repos/WorldBrain/WebMemex/pulls{/number}","milestones_url":"https://api.github.com/repos/WorldBrain/WebMemex/milestones{/number}","notifications_url":"https://api.github.com/repos/WorldBrain/WebMemex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WorldBrain/WebMemex/labels{/name}","releases_url":"https://api.github.com/repos/WorldBrain/WebMemex/releases{/id}","deployments_url":"https://api.github.com/repos/WorldBrain/WebMemex/deployments","created_at":"2017-04-01T20:33:06Z","updated_at":"2017-04-28T11:52:04Z","pushed_at":"2017-05-03T05:54:09Z","git_url":"git://github.com/WorldBrain/WebMemex.git","ssh_url":"git@github.com:WorldBrain/WebMemex.git","clone_url":"https://github.com/WorldBrain/WebMemex.git","svn_url":"https://github.com/WorldBrain/WebMemex","homepage":"https://worldbrain.io","size":724,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18"},"html":{"href":"https://github.com/WorldBrain/WebMemex/pull/18"},"issue":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/issues/18"},"comments":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/WorldBrain/WebMemex/statuses/eab52b3d027d1159e4434d706a67fcff1c157ed5"}}}}
{"actor":{"display_login":"lewizho99"}}