{"action":"created","comment":{"url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/comments/231447927","pull_request_review_id":172419075,"id":231447927,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMTQ0NzkyNw==","diff_hunk":"@@ -1,45 +1,35 @@\n-import * as PropTypes from 'prop-types'\n import * as React from 'react'\n+import { Mount } from 'react-lifecycle-components/dist'\n import { Header } from 'semantic-ui-react'\n-import MembersFilter from '../members/members-filter/MembersFilter'\n+import {\n+  MemberInsuranceSearchRequest,\n+  MemberInsuranceStore,\n+} from '../../store/types/memberInsuranceTypes'\n+import MemberInsuranceFilter from './member-insurance-filter/MemberInsuranceFilter'\n import MemberInsuranceList from './member-insurance-list/MemberInsuranceList'\n \n-export default class MemberInsurance extends React.Component {\n-  constructor(props) {\n-    super(props)\n-  }\n+export interface MemberInsuranceProps {\n+  memberInsurance: MemberInsuranceStore\n+  searchMemberInsRequest: (req: Partial<MemberInsuranceSearchRequest>) => void\n+}\n \n-  public componentDidMount() {\n-    const {\n-      memberInsurance: { filter, query },\n-      searchMemberInsRequest,\n-    } = this.props\n-    searchMemberInsRequest({ query, filter })\n-  }\n+const MemberInsurance: React.SFC<MemberInsuranceProps> = ({\n+  memberInsurance,\n+  searchMemberInsRequest,\n+}) => (\n+  <Mount on={() => searchMemberInsRequest({})}>\n+    <React.Fragment>","path":"src/components/member-insurance/index.tsx","position":null,"original_position":34,"commit_id":"08a8f24e2090127ce2137bece1252b4a5bd11c67","original_commit_id":"816ac47d108e8b5f7ac44d593d24e6b89cdc4cce","user":{"login":"alex-bel","id":9787417,"node_id":"MDQ6VXNlcjk3ODc0MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/9787417?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-bel","html_url":"https://github.com/alex-bel","followers_url":"https://api.github.com/users/alex-bel/followers","following_url":"https://api.github.com/users/alex-bel/following{/other_user}","gists_url":"https://api.github.com/users/alex-bel/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-bel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-bel/subscriptions","organizations_url":"https://api.github.com/users/alex-bel/orgs","repos_url":"https://api.github.com/users/alex-bel/repos","events_url":"https://api.github.com/users/alex-bel/events{/privacy}","received_events_url":"https://api.github.com/users/alex-bel/received_events","type":"User","site_admin":false},"body":"oki, changed it. Would be great to change it in the remaining part of 'old' code, I will probably do it after the deployment.","created_at":"2018-11-07T10:14:48Z","updated_at":"2018-11-07T10:14:48Z","html_url":"https://github.com/HedvigInsurance/hedgehog/pull/12#discussion_r231447927","pull_request_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/comments/231447927"},"html":{"href":"https://github.com/HedvigInsurance/hedgehog/pull/12#discussion_r231447927"},"pull_request":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12"}},"in_reply_to_id":231149384},"pull_request":{"url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12","id":228676462,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4Njc2NDYy","html_url":"https://github.com/HedvigInsurance/hedgehog/pull/12","diff_url":"https://github.com/HedvigInsurance/hedgehog/pull/12.diff","patch_url":"https://github.com/HedvigInsurance/hedgehog/pull/12.patch","issue_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/12","number":12,"state":"open","locked":false,"title":"Implemented backend-based paging for insurances","user":{"login":"alex-bel","id":9787417,"node_id":"MDQ6VXNlcjk3ODc0MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/9787417?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-bel","html_url":"https://github.com/alex-bel","followers_url":"https://api.github.com/users/alex-bel/followers","following_url":"https://api.github.com/users/alex-bel/following{/other_user}","gists_url":"https://api.github.com/users/alex-bel/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-bel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-bel/subscriptions","organizations_url":"https://api.github.com/users/alex-bel/orgs","repos_url":"https://api.github.com/users/alex-bel/repos","events_url":"https://api.github.com/users/alex-bel/events{/privacy}","received_events_url":"https://api.github.com/users/alex-bel/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-06T12:34:56Z","updated_at":"2018-11-07T10:14:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72f2cc31a3d9d90e6962b768fe5197dd6e5ee384","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12/commits","review_comments_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12/comments","review_comment_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/12/comments","statuses_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/statuses/08a8f24e2090127ce2137bece1252b4a5bd11c67","head":{"label":"HedvigInsurance:feature/BackendInsurancePaging","ref":"feature/BackendInsurancePaging","sha":"08a8f24e2090127ce2137bece1252b4a5bd11c67","user":{"login":"HedvigInsurance","id":31246138,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMjQ2MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/31246138?v=4","gravatar_id":"","url":"https://api.github.com/users/HedvigInsurance","html_url":"https://github.com/HedvigInsurance","followers_url":"https://api.github.com/users/HedvigInsurance/followers","following_url":"https://api.github.com/users/HedvigInsurance/following{/other_user}","gists_url":"https://api.github.com/users/HedvigInsurance/gists{/gist_id}","starred_url":"https://api.github.com/users/HedvigInsurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HedvigInsurance/subscriptions","organizations_url":"https://api.github.com/users/HedvigInsurance/orgs","repos_url":"https://api.github.com/users/HedvigInsurance/repos","events_url":"https://api.github.com/users/HedvigInsurance/events{/privacy}","received_events_url":"https://api.github.com/users/HedvigInsurance/received_events","type":"Organization","site_admin":false},"repo":{"id":152430724,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MzA3MjQ=","name":"hedgehog","full_name":"HedvigInsurance/hedgehog","private":false,"owner":{"login":"HedvigInsurance","id":31246138,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMjQ2MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/31246138?v=4","gravatar_id":"","url":"https://api.github.com/users/HedvigInsurance","html_url":"https://github.com/HedvigInsurance","followers_url":"https://api.github.com/users/HedvigInsurance/followers","following_url":"https://api.github.com/users/HedvigInsurance/following{/other_user}","gists_url":"https://api.github.com/users/HedvigInsurance/gists{/gist_id}","starred_url":"https://api.github.com/users/HedvigInsurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HedvigInsurance/subscriptions","organizations_url":"https://api.github.com/users/HedvigInsurance/orgs","repos_url":"https://api.github.com/users/HedvigInsurance/repos","events_url":"https://api.github.com/users/HedvigInsurance/events{/privacy}","received_events_url":"https://api.github.com/users/HedvigInsurance/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/HedvigInsurance/hedgehog","description":"The face of H.OPE 🦔","fork":false,"url":"https://api.github.com/repos/HedvigInsurance/hedgehog","forks_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/forks","keys_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/teams","hooks_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/hooks","issue_events_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/events{/number}","events_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/events","assignees_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/assignees{/user}","branches_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/branches{/branch}","tags_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/tags","blobs_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/refs{/sha}","trees_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/statuses/{sha}","languages_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/languages","stargazers_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/stargazers","contributors_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/contributors","subscribers_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/subscribers","subscription_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/subscription","commits_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/commits{/sha}","git_commits_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/commits{/sha}","comments_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/comments{/number}","issue_comment_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/comments{/number}","contents_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/contents/{+path}","compare_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/merges","archive_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/downloads","issues_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues{/number}","pulls_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls{/number}","milestones_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/milestones{/number}","notifications_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/labels{/name}","releases_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/releases{/id}","deployments_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/deployments","created_at":"2018-10-10T13:45:56Z","updated_at":"2018-11-06T13:22:23Z","pushed_at":"2018-11-07T10:06:24Z","git_url":"git://github.com/HedvigInsurance/hedgehog.git","ssh_url":"git@github.com:HedvigInsurance/hedgehog.git","clone_url":"https://github.com/HedvigInsurance/hedgehog.git","svn_url":"https://github.com/HedvigInsurance/hedgehog","homepage":"","size":374,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"HedvigInsurance:master","ref":"master","sha":"d31a57f2fb1e77ca941abb96e9f70f3b91da8703","user":{"login":"HedvigInsurance","id":31246138,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMjQ2MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/31246138?v=4","gravatar_id":"","url":"https://api.github.com/users/HedvigInsurance","html_url":"https://github.com/HedvigInsurance","followers_url":"https://api.github.com/users/HedvigInsurance/followers","following_url":"https://api.github.com/users/HedvigInsurance/following{/other_user}","gists_url":"https://api.github.com/users/HedvigInsurance/gists{/gist_id}","starred_url":"https://api.github.com/users/HedvigInsurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HedvigInsurance/subscriptions","organizations_url":"https://api.github.com/users/HedvigInsurance/orgs","repos_url":"https://api.github.com/users/HedvigInsurance/repos","events_url":"https://api.github.com/users/HedvigInsurance/events{/privacy}","received_events_url":"https://api.github.com/users/HedvigInsurance/received_events","type":"Organization","site_admin":false},"repo":{"id":152430724,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MzA3MjQ=","name":"hedgehog","full_name":"HedvigInsurance/hedgehog","private":false,"owner":{"login":"HedvigInsurance","id":31246138,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMjQ2MTM4","avatar_url":"https://avatars1.githubusercontent.com/u/31246138?v=4","gravatar_id":"","url":"https://api.github.com/users/HedvigInsurance","html_url":"https://github.com/HedvigInsurance","followers_url":"https://api.github.com/users/HedvigInsurance/followers","following_url":"https://api.github.com/users/HedvigInsurance/following{/other_user}","gists_url":"https://api.github.com/users/HedvigInsurance/gists{/gist_id}","starred_url":"https://api.github.com/users/HedvigInsurance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HedvigInsurance/subscriptions","organizations_url":"https://api.github.com/users/HedvigInsurance/orgs","repos_url":"https://api.github.com/users/HedvigInsurance/repos","events_url":"https://api.github.com/users/HedvigInsurance/events{/privacy}","received_events_url":"https://api.github.com/users/HedvigInsurance/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/HedvigInsurance/hedgehog","description":"The face of H.OPE 🦔","fork":false,"url":"https://api.github.com/repos/HedvigInsurance/hedgehog","forks_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/forks","keys_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/teams","hooks_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/hooks","issue_events_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/events{/number}","events_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/events","assignees_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/assignees{/user}","branches_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/branches{/branch}","tags_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/tags","blobs_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/refs{/sha}","trees_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/statuses/{sha}","languages_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/languages","stargazers_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/stargazers","contributors_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/contributors","subscribers_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/subscribers","subscription_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/subscription","commits_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/commits{/sha}","git_commits_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/git/commits{/sha}","comments_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/comments{/number}","issue_comment_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/comments{/number}","contents_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/contents/{+path}","compare_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/merges","archive_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/downloads","issues_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues{/number}","pulls_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls{/number}","milestones_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/milestones{/number}","notifications_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/labels{/name}","releases_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/releases{/id}","deployments_url":"https://api.github.com/repos/HedvigInsurance/hedgehog/deployments","created_at":"2018-10-10T13:45:56Z","updated_at":"2018-11-06T13:22:23Z","pushed_at":"2018-11-07T10:06:24Z","git_url":"git://github.com/HedvigInsurance/hedgehog.git","ssh_url":"git@github.com:HedvigInsurance/hedgehog.git","clone_url":"https://github.com/HedvigInsurance/hedgehog.git","svn_url":"https://github.com/HedvigInsurance/hedgehog","homepage":"","size":374,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12"},"html":{"href":"https://github.com/HedvigInsurance/hedgehog/pull/12"},"issue":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/12"},"comments":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/HedvigInsurance/hedgehog/statuses/08a8f24e2090127ce2137bece1252b4a5bd11c67"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"alex-bel"}}