{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/mattermost-webapp/issues/941","repository_url":"https://api.github.com/repos/mattermost/mattermost-webapp","labels_url":"https://api.github.com/repos/mattermost/mattermost-webapp/issues/941/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/mattermost-webapp/issues/941/comments","events_url":"https://api.github.com/repos/mattermost/mattermost-webapp/issues/941/events","html_url":"https://github.com/mattermost/mattermost-webapp/pull/941","id":304719718,"number":941,"title":"Add infinite scroll","user":{"login":"ssrihari","id":1003238,"avatar_url":"https://avatars2.githubusercontent.com/u/1003238?v=4","gravatar_id":"","url":"https://api.github.com/users/ssrihari","html_url":"https://github.com/ssrihari","followers_url":"https://api.github.com/users/ssrihari/followers","following_url":"https://api.github.com/users/ssrihari/following{/other_user}","gists_url":"https://api.github.com/users/ssrihari/gists{/gist_id}","starred_url":"https://api.github.com/users/ssrihari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssrihari/subscriptions","organizations_url":"https://api.github.com/users/ssrihari/orgs","repos_url":"https://api.github.com/users/ssrihari/repos","events_url":"https://api.github.com/users/ssrihari/events{/privacy}","received_events_url":"https://api.github.com/users/ssrihari/received_events","type":"User","site_admin":false},"labels":[{"id":685999052,"url":"https://api.github.com/repos/mattermost/mattermost-webapp/labels/1:%20PM%20Review","name":"1: PM Review","color":"006b75","default":false},{"id":702532842,"url":"https://api.github.com/repos/mattermost/mattermost-webapp/labels/Setup%20Test%20Server","name":"Setup Test Server","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"lindy65","id":13020833,"avatar_url":"https://avatars1.githubusercontent.com/u/13020833?v=4","gravatar_id":"","url":"https://api.github.com/users/lindy65","html_url":"https://github.com/lindy65","followers_url":"https://api.github.com/users/lindy65/followers","following_url":"https://api.github.com/users/lindy65/following{/other_user}","gists_url":"https://api.github.com/users/lindy65/gists{/gist_id}","starred_url":"https://api.github.com/users/lindy65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindy65/subscriptions","organizations_url":"https://api.github.com/users/lindy65/orgs","repos_url":"https://api.github.com/users/lindy65/repos","events_url":"https://api.github.com/users/lindy65/events{/privacy}","received_events_url":"https://api.github.com/users/lindy65/received_events","type":"User","site_admin":false},"assignees":[{"login":"lindy65","id":13020833,"avatar_url":"https://avatars1.githubusercontent.com/u/13020833?v=4","gravatar_id":"","url":"https://api.github.com/users/lindy65","html_url":"https://github.com/lindy65","followers_url":"https://api.github.com/users/lindy65/followers","following_url":"https://api.github.com/users/lindy65/following{/other_user}","gists_url":"https://api.github.com/users/lindy65/gists{/gist_id}","starred_url":"https://api.github.com/users/lindy65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindy65/subscriptions","organizations_url":"https://api.github.com/users/lindy65/orgs","repos_url":"https://api.github.com/users/lindy65/repos","events_url":"https://api.github.com/users/lindy65/events{/privacy}","received_events_url":"https://api.github.com/users/lindy65/received_events","type":"User","site_admin":false},{"login":"amyblais","id":29708087,"avatar_url":"https://avatars3.githubusercontent.com/u/29708087?v=4","gravatar_id":"","url":"https://api.github.com/users/amyblais","html_url":"https://github.com/amyblais","followers_url":"https://api.github.com/users/amyblais/followers","following_url":"https://api.github.com/users/amyblais/following{/other_user}","gists_url":"https://api.github.com/users/amyblais/gists{/gist_id}","starred_url":"https://api.github.com/users/amyblais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyblais/subscriptions","organizations_url":"https://api.github.com/users/amyblais/orgs","repos_url":"https://api.github.com/users/amyblais/repos","events_url":"https://api.github.com/users/amyblais/events{/privacy}","received_events_url":"https://api.github.com/users/amyblais/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-13T11:08:03Z","updated_at":"2018-03-13T14:02:15Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/mattermost/mattermost-webapp/pulls/941","html_url":"https://github.com/mattermost/mattermost-webapp/pull/941","diff_url":"https://github.com/mattermost/mattermost-webapp/pull/941.diff","patch_url":"https://github.com/mattermost/mattermost-webapp/pull/941.patch"},"body":"#### Summary\r\n- When at top (<= 500 scroll), load more posts\r\n- Debounce loading more posts, so it isn't triggered multiple times on scroll\r\n- Use a state to mark when more posts are loaded, so it can be triggered again.\r\n\r\n#### Ticket Link\r\n- https://mattermost.atlassian.net/browse/MM-1629\r\n- Older, outdated PR for reference: https://github.com/mattermost/mattermost-server/pull/5886\r\n\r\n#### Checklist\r\n[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]\r\n- [x] Ran `make check-style` to check for style errors (required for all pull requests)\r\n- [x] Ran `make test` to ensure unit and component tests passed\r\n- [ ] Added or updated unit tests (required for all new features)\r\n- [ ] Has server changes (please link)\r\n- [ ] Has redux changes (please link)\r\n- [x] Has UI changes\r\n- [ ] Includes text changes and localization file ([.../i18n/en.json](https://github.com/mattermost/mattermost-webapp/blob/master/i18n/en.json)) updates\r\n- [x] Touches critical sections of the codebase (auth, posting, etc.)\r\n"},"comment":{"url":"https://api.github.com/repos/mattermost/mattermost-webapp/issues/comments/372675493","html_url":"https://github.com/mattermost/mattermost-webapp/pull/941#issuecomment-372675493","issue_url":"https://api.github.com/repos/mattermost/mattermost-webapp/issues/941","id":372675493,"user":{"login":"mattermod","id":16344077,"avatar_url":"https://avatars1.githubusercontent.com/u/16344077?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermod","html_url":"https://github.com/mattermod","followers_url":"https://api.github.com/users/mattermod/followers","following_url":"https://api.github.com/users/mattermod/following{/other_user}","gists_url":"https://api.github.com/users/mattermod/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermod/subscriptions","organizations_url":"https://api.github.com/users/mattermod/orgs","repos_url":"https://api.github.com/users/mattermod/repos","events_url":"https://api.github.com/users/mattermod/events{/privacy}","received_events_url":"https://api.github.com/users/mattermod/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T14:02:15Z","updated_at":"2018-03-13T14:02:15Z","author_association":"NONE","body":"Spinmint test server created at: http://i-0f1914400ddbc4a72.spinmint.com\n\nTest Admin Account: Email: `user-0@sample.mattermost.com` | Password: `user-0`\n\nTest User Account: Email: `user-1@sample.mattermost.com` | Password: `user-1`\n\nInstance ID: i-0f1914400ddbc4a72"}}
{"actor":{"display_login":"mattermod"}}