{"action":"created","issue":{"url":"https://api.github.com/repos/IFRCGo/cbs/issues/463","repository_url":"https://api.github.com/repos/IFRCGo/cbs","labels_url":"https://api.github.com/repos/IFRCGo/cbs/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/IFRCGo/cbs/issues/463/comments","events_url":"https://api.github.com/repos/IFRCGo/cbs/issues/463/events","html_url":"https://github.com/IFRCGo/cbs/issues/463","id":297196846,"number":463,"title":"Frontend should fetch a subset of the Case Reports","user":{"login":"woksin","id":13407188,"avatar_url":"https://avatars1.githubusercontent.com/u/13407188?v=4","gravatar_id":"","url":"https://api.github.com/users/woksin","html_url":"https://github.com/woksin","followers_url":"https://api.github.com/users/woksin/followers","following_url":"https://api.github.com/users/woksin/following{/other_user}","gists_url":"https://api.github.com/users/woksin/gists{/gist_id}","starred_url":"https://api.github.com/users/woksin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woksin/subscriptions","organizations_url":"https://api.github.com/users/woksin/orgs","repos_url":"https://api.github.com/users/woksin/repos","events_url":"https://api.github.com/users/woksin/events{/privacy}","received_events_url":"https://api.github.com/users/woksin/received_events","type":"User","site_admin":false},"labels":[{"id":706690119,"url":"https://api.github.com/repos/IFRCGo/cbs/labels/backend","name":"backend","color":"fbca04","default":false},{"id":706690093,"url":"https://api.github.com/repos/IFRCGo/cbs/labels/frontend","name":"frontend","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T18:21:35Z","updated_at":"2018-02-14T21:08:24Z","closed_at":null,"author_association":"COLLABORATOR","body":"As it is now, the VolunteerReporting/Web.Angular page fetches all Case Reports from the database. This will cause scalabilityproblems in the future when the database grows.\r\nA way to solve this is, as suggested by @karolikl, to let the backend deal with this so that only a maximum of X Case Reports will be fetched from the database.\r\n\r\nThe backend can deal with this by for example giving the fetch-method some input so that the DB can determine how many Case Reports we want to be showable on the case report list.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/IFRCGo/cbs/issues/comments/365745600","html_url":"https://github.com/IFRCGo/cbs/issues/463#issuecomment-365745600","issue_url":"https://api.github.com/repos/IFRCGo/cbs/issues/463","id":365745600,"user":{"login":"Velcrow81","id":22069947,"avatar_url":"https://avatars2.githubusercontent.com/u/22069947?v=4","gravatar_id":"","url":"https://api.github.com/users/Velcrow81","html_url":"https://github.com/Velcrow81","followers_url":"https://api.github.com/users/Velcrow81/followers","following_url":"https://api.github.com/users/Velcrow81/following{/other_user}","gists_url":"https://api.github.com/users/Velcrow81/gists{/gist_id}","starred_url":"https://api.github.com/users/Velcrow81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Velcrow81/subscriptions","organizations_url":"https://api.github.com/users/Velcrow81/orgs","repos_url":"https://api.github.com/users/Velcrow81/repos","events_url":"https://api.github.com/users/Velcrow81/events{/privacy}","received_events_url":"https://api.github.com/users/Velcrow81/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T21:08:24Z","updated_at":"2018-02-14T21:08:24Z","author_association":"COLLABORATOR","body":"Definatly something we need. And case reports are going to be the most numerous entity in our system, so the best place to start :)"}}
{"actor":{"display_login":"Velcrow81"}}