{"action":"created","issue":{"url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/issues/311","repository_url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend","labels_url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/issues/311/comments","events_url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/issues/311/events","html_url":"https://github.com/AlexsLemonade/refinebio-frontend/pull/311","id":361871314,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzMzMjEx","number":311,"title":"Fix dashboard","user":{"login":"arielsvn","id":1882507,"node_id":"MDQ6VXNlcjE4ODI1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1882507?v=4","gravatar_id":"","url":"https://api.github.com/users/arielsvn","html_url":"https://github.com/arielsvn","followers_url":"https://api.github.com/users/arielsvn/followers","following_url":"https://api.github.com/users/arielsvn/following{/other_user}","gists_url":"https://api.github.com/users/arielsvn/gists{/gist_id}","starred_url":"https://api.github.com/users/arielsvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielsvn/subscriptions","organizations_url":"https://api.github.com/users/arielsvn/orgs","repos_url":"https://api.github.com/users/arielsvn/repos","events_url":"https://api.github.com/users/arielsvn/events{/privacy}","received_events_url":"https://api.github.com/users/arielsvn/received_events","type":"User","site_admin":false},"labels":[{"id":889185141,"node_id":"MDU6TGFiZWw4ODkxODUxNDE=","url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/labels/review","name":"review","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"arielsvn","id":1882507,"node_id":"MDQ6VXNlcjE4ODI1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1882507?v=4","gravatar_id":"","url":"https://api.github.com/users/arielsvn","html_url":"https://github.com/arielsvn","followers_url":"https://api.github.com/users/arielsvn/followers","following_url":"https://api.github.com/users/arielsvn/following{/other_user}","gists_url":"https://api.github.com/users/arielsvn/gists{/gist_id}","starred_url":"https://api.github.com/users/arielsvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielsvn/subscriptions","organizations_url":"https://api.github.com/users/arielsvn/orgs","repos_url":"https://api.github.com/users/arielsvn/repos","events_url":"https://api.github.com/users/arielsvn/events{/privacy}","received_events_url":"https://api.github.com/users/arielsvn/received_events","type":"User","site_admin":false},"assignees":[{"login":"arielsvn","id":1882507,"node_id":"MDQ6VXNlcjE4ODI1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1882507?v=4","gravatar_id":"","url":"https://api.github.com/users/arielsvn","html_url":"https://github.com/arielsvn","followers_url":"https://api.github.com/users/arielsvn/followers","following_url":"https://api.github.com/users/arielsvn/following{/other_user}","gists_url":"https://api.github.com/users/arielsvn/gists{/gist_id}","starred_url":"https://api.github.com/users/arielsvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielsvn/subscriptions","organizations_url":"https://api.github.com/users/arielsvn/orgs","repos_url":"https://api.github.com/users/arielsvn/repos","events_url":"https://api.github.com/users/arielsvn/events{/privacy}","received_events_url":"https://api.github.com/users/arielsvn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-19T18:25:45Z","updated_at":"2018-09-21T21:06:14Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/pulls/311","html_url":"https://github.com/AlexsLemonade/refinebio-frontend/pull/311","diff_url":"https://github.com/AlexsLemonade/refinebio-frontend/pull/311.diff","patch_url":"https://github.com/AlexsLemonade/refinebio-frontend/pull/311.patch"},"body":"## Issue Number\r\n\r\nclose #140 \r\n\r\n## Purpose/Implementation Notes\r\n\r\nEnsures that the dashboard only triggers an update, after 5secs have passed since the previous update. Before we had the problem described in https://github.com/AlexsLemonade/refinebio-frontend/issues/140#issuecomment-409573880\r\n\r\nIf https://github.com/AlexsLemonade/refinebio/pull/638 get's merged, the `/stats` endpoint will contain all the information required to render the dashboard. This PR adds refactors to use that information instead of calculating it in the front-end.\r\n\r\n## Types of changes\r\n\r\n* [x] Bugfix (non-breaking change which fixes an issue)\r\n* [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)\r\n\r\n## Functional tests\r\n\r\nopen the dashboard, select several ranges.\r\n\r\n## Checklist\r\n\r\n* [x] Lint and unit tests pass locally with my changes\r\n* [ ] I have added tests that prove my fix is effective or that my feature works\r\n* [ ] I have added necessary documentation (if appropriate)\r\n* [ ] Any dependent changes have been merged and published in downstream modules\r\n\r\n## Screenshots\r\n\r\n![image](https://user-images.githubusercontent.com/1882507/45905965-66bf8c80-bdc0-11e8-98d4-596a25a307d8.png)\r\n"},"comment":{"url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/issues/comments/423670623","html_url":"https://github.com/AlexsLemonade/refinebio-frontend/pull/311#issuecomment-423670623","issue_url":"https://api.github.com/repos/AlexsLemonade/refinebio-frontend/issues/311","id":423670623,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzY3MDYyMw==","user":{"login":"arielsvn","id":1882507,"node_id":"MDQ6VXNlcjE4ODI1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1882507?v=4","gravatar_id":"","url":"https://api.github.com/users/arielsvn","html_url":"https://github.com/arielsvn","followers_url":"https://api.github.com/users/arielsvn/followers","following_url":"https://api.github.com/users/arielsvn/following{/other_user}","gists_url":"https://api.github.com/users/arielsvn/gists{/gist_id}","starred_url":"https://api.github.com/users/arielsvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielsvn/subscriptions","organizations_url":"https://api.github.com/users/arielsvn/orgs","repos_url":"https://api.github.com/users/arielsvn/repos","events_url":"https://api.github.com/users/arielsvn/events{/privacy}","received_events_url":"https://api.github.com/users/arielsvn/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T21:06:14Z","updated_at":"2018-09-21T21:06:14Z","author_association":"CONTRIBUTOR","body":"Updated the title, this should be ready for review."}}
{"actor":{"display_login":"arielsvn"}}