{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/support-frontend/pulls/comments/198531511","pull_request_review_id":132458896,"id":198531511,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODUzMTUxMQ==","diff_hunk":"@@ -46,8 +46,8 @@ function mapStateToProps(state) {\n   return {\n     firstName: state.page.user.firstName,\n     lastName: state.page.user.lastName,\n-    countryGroup: state.common.countryGroup,\n-    country: state.common.country,\n+    countryGroup: state.common.internationalisation.countryGroupId,\n+    country: state.common.internationalisation.countryId,","path":"assets/pages/regular-contributions/components/formFields.jsx","position":7,"original_position":7,"commit_id":"1689219e0ca47c2b289ad3bd87c8fdf716038c52","original_commit_id":"1689219e0ca47c2b289ad3bd87c8fdf716038c52","user":{"login":"Ap0c","id":5131341,"node_id":"MDQ6VXNlcjUxMzEzNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/5131341?v=4","gravatar_id":"","url":"https://api.github.com/users/Ap0c","html_url":"https://github.com/Ap0c","followers_url":"https://api.github.com/users/Ap0c/followers","following_url":"https://api.github.com/users/Ap0c/following{/other_user}","gists_url":"https://api.github.com/users/Ap0c/gists{/gist_id}","starred_url":"https://api.github.com/users/Ap0c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ap0c/subscriptions","organizations_url":"https://api.github.com/users/Ap0c/orgs","repos_url":"https://api.github.com/users/Ap0c/repos","events_url":"https://api.github.com/users/Ap0c/events{/privacy}","received_events_url":"https://api.github.com/users/Ap0c/received_events","type":"User","site_admin":false},"body":"`countryGroupId` and `countryId`?","created_at":"2018-06-27T15:08:02Z","updated_at":"2018-06-27T15:15:04Z","html_url":"https://github.com/guardian/support-frontend/pull/751#discussion_r198531511","pull_request_url":"https://api.github.com/repos/guardian/support-frontend/pulls/751","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/guardian/support-frontend/pulls/comments/198531511"},"html":{"href":"https://github.com/guardian/support-frontend/pull/751#discussion_r198531511"},"pull_request":{"href":"https://api.github.com/repos/guardian/support-frontend/pulls/751"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/support-frontend/pulls/751","id":197403534,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NDAzNTM0","html_url":"https://github.com/guardian/support-frontend/pull/751","diff_url":"https://github.com/guardian/support-frontend/pull/751.diff","patch_url":"https://github.com/guardian/support-frontend/pull/751.patch","issue_url":"https://api.github.com/repos/guardian/support-frontend/issues/751","number":751,"state":"open","locked":false,"title":"Refactor country group, currency and country logic","user":{"login":"svillafe","id":825398,"node_id":"MDQ6VXNlcjgyNTM5OA==","avatar_url":"https://avatars1.githubusercontent.com/u/825398?v=4","gravatar_id":"","url":"https://api.github.com/users/svillafe","html_url":"https://github.com/svillafe","followers_url":"https://api.github.com/users/svillafe/followers","following_url":"https://api.github.com/users/svillafe/following{/other_user}","gists_url":"https://api.github.com/users/svillafe/gists{/gist_id}","starred_url":"https://api.github.com/users/svillafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svillafe/subscriptions","organizations_url":"https://api.github.com/users/svillafe/orgs","repos_url":"https://api.github.com/users/svillafe/repos","events_url":"https://api.github.com/users/svillafe/events{/privacy}","received_events_url":"https://api.github.com/users/svillafe/received_events","type":"User","site_admin":false},"body":"## Why are you doing this?\r\n\r\nTo be more consistent and therefore reduce the complexity of the codebase.\r\n\r\n[**Trello Card**](https://trello.com/c/6pCA5NNu/257-refactor-country-group-logic-in-support-frontend)\r\n\r\n## Changes\r\n\r\n* Created the `internationalisation` object inside `CommonState`\r\n* Avoid confusion by having only ids inside `internationalisation`.\r\n* Propagated this changes to all the codebase.\r\n\r\n## Screenshots\r\n\r\n","created_at":"2018-06-26T12:23:47Z","updated_at":"2018-06-27T15:15:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fbd53d5ea9e3a3564b5ddc1b139cba1b783eaca5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rupertbates","id":181371,"node_id":"MDQ6VXNlcjE4MTM3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/181371?v=4","gravatar_id":"","url":"https://api.github.com/users/rupertbates","html_url":"https://github.com/rupertbates","followers_url":"https://api.github.com/users/rupertbates/followers","following_url":"https://api.github.com/users/rupertbates/following{/other_user}","gists_url":"https://api.github.com/users/rupertbates/gists{/gist_id}","starred_url":"https://api.github.com/users/rupertbates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupertbates/subscriptions","organizations_url":"https://api.github.com/users/rupertbates/orgs","repos_url":"https://api.github.com/users/rupertbates/repos","events_url":"https://api.github.com/users/rupertbates/events{/privacy}","received_events_url":"https://api.github.com/users/rupertbates/received_events","type":"User","site_admin":false},{"login":"JustinPinner","id":690395,"node_id":"MDQ6VXNlcjY5MDM5NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/690395?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinPinner","html_url":"https://github.com/JustinPinner","followers_url":"https://api.github.com/users/JustinPinner/followers","following_url":"https://api.github.com/users/JustinPinner/following{/other_user}","gists_url":"https://api.github.com/users/JustinPinner/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinPinner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinPinner/subscriptions","organizations_url":"https://api.github.com/users/JustinPinner/orgs","repos_url":"https://api.github.com/users/JustinPinner/repos","events_url":"https://api.github.com/users/JustinPinner/events{/privacy}","received_events_url":"https://api.github.com/users/JustinPinner/received_events","type":"User","site_admin":false},{"login":"jranks123","id":2844554,"node_id":"MDQ6VXNlcjI4NDQ1NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2844554?v=4","gravatar_id":"","url":"https://api.github.com/users/jranks123","html_url":"https://github.com/jranks123","followers_url":"https://api.github.com/users/jranks123/followers","following_url":"https://api.github.com/users/jranks123/following{/other_user}","gists_url":"https://api.github.com/users/jranks123/gists{/gist_id}","starred_url":"https://api.github.com/users/jranks123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jranks123/subscriptions","organizations_url":"https://api.github.com/users/jranks123/orgs","repos_url":"https://api.github.com/users/jranks123/repos","events_url":"https://api.github.com/users/jranks123/events{/privacy}","received_events_url":"https://api.github.com/users/jranks123/received_events","type":"User","site_admin":false},{"login":"Mullefa","id":4085817,"node_id":"MDQ6VXNlcjQwODU4MTc=","avatar_url":"https://avatars3.githubusercontent.com/u/4085817?v=4","gravatar_id":"","url":"https://api.github.com/users/Mullefa","html_url":"https://github.com/Mullefa","followers_url":"https://api.github.com/users/Mullefa/followers","following_url":"https://api.github.com/users/Mullefa/following{/other_user}","gists_url":"https://api.github.com/users/Mullefa/gists{/gist_id}","starred_url":"https://api.github.com/users/Mullefa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mullefa/subscriptions","organizations_url":"https://api.github.com/users/Mullefa/orgs","repos_url":"https://api.github.com/users/Mullefa/repos","events_url":"https://api.github.com/users/Mullefa/events{/privacy}","received_events_url":"https://api.github.com/users/Mullefa/received_events","type":"User","site_admin":false},{"login":"joelochlann","id":5122968,"node_id":"MDQ6VXNlcjUxMjI5Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/5122968?v=4","gravatar_id":"","url":"https://api.github.com/users/joelochlann","html_url":"https://github.com/joelochlann","followers_url":"https://api.github.com/users/joelochlann/followers","following_url":"https://api.github.com/users/joelochlann/following{/other_user}","gists_url":"https://api.github.com/users/joelochlann/gists{/gist_id}","starred_url":"https://api.github.com/users/joelochlann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelochlann/subscriptions","organizations_url":"https://api.github.com/users/joelochlann/orgs","repos_url":"https://api.github.com/users/joelochlann/repos","events_url":"https://api.github.com/users/joelochlann/events{/privacy}","received_events_url":"https://api.github.com/users/joelochlann/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/guardian/support-frontend/pulls/751/commits","review_comments_url":"https://api.github.com/repos/guardian/support-frontend/pulls/751/comments","review_comment_url":"https://api.github.com/repos/guardian/support-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/support-frontend/issues/751/comments","statuses_url":"https://api.github.com/repos/guardian/support-frontend/statuses/1689219e0ca47c2b289ad3bd87c8fdf716038c52","head":{"label":"guardian:refactor-i18n","ref":"refactor-i18n","sha":"1689219e0ca47c2b289ad3bd87c8fdf716038c52","user":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":87204582,"node_id":"MDEwOlJlcG9zaXRvcnk4NzIwNDU4Mg==","name":"support-frontend","full_name":"guardian/support-frontend","owner":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/support-frontend","description":"Frontend for the Supporter platform","fork":false,"url":"https://api.github.com/repos/guardian/support-frontend","forks_url":"https://api.github.com/repos/guardian/support-frontend/forks","keys_url":"https://api.github.com/repos/guardian/support-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/support-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/support-frontend/teams","hooks_url":"https://api.github.com/repos/guardian/support-frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/support-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/support-frontend/events","assignees_url":"https://api.github.com/repos/guardian/support-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/support-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/support-frontend/tags","blobs_url":"https://api.github.com/repos/guardian/support-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/support-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/support-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/support-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/support-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/support-frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/support-frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/support-frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/support-frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/support-frontend/subscription","commits_url":"https://api.github.com/repos/guardian/support-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/support-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/support-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/support-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/support-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/support-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/support-frontend/merges","archive_url":"https://api.github.com/repos/guardian/support-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/support-frontend/downloads","issues_url":"https://api.github.com/repos/guardian/support-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/support-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/support-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/support-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/support-frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/support-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/support-frontend/deployments","created_at":"2017-04-04T15:37:12Z","updated_at":"2018-06-27T14:49:39Z","pushed_at":"2018-06-27T14:49:37Z","git_url":"git://github.com/guardian/support-frontend.git","ssh_url":"git@github.com:guardian/support-frontend.git","clone_url":"https://github.com/guardian/support-frontend.git","svn_url":"https://github.com/guardian/support-frontend","homepage":"https://support.theguardian.com/","size":5000,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"913e7681d4245a020ace63821000bca35c270146","user":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":87204582,"node_id":"MDEwOlJlcG9zaXRvcnk4NzIwNDU4Mg==","name":"support-frontend","full_name":"guardian/support-frontend","owner":{"login":"guardian","id":164318,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDMxOA==","avatar_url":"https://avatars0.githubusercontent.com/u/164318?v=4","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/support-frontend","description":"Frontend for the Supporter platform","fork":false,"url":"https://api.github.com/repos/guardian/support-frontend","forks_url":"https://api.github.com/repos/guardian/support-frontend/forks","keys_url":"https://api.github.com/repos/guardian/support-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/support-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/support-frontend/teams","hooks_url":"https://api.github.com/repos/guardian/support-frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/support-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/support-frontend/events","assignees_url":"https://api.github.com/repos/guardian/support-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/support-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/support-frontend/tags","blobs_url":"https://api.github.com/repos/guardian/support-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/support-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/support-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/support-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/support-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/support-frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/support-frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/support-frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/support-frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/support-frontend/subscription","commits_url":"https://api.github.com/repos/guardian/support-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/support-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/support-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/support-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/support-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/support-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/support-frontend/merges","archive_url":"https://api.github.com/repos/guardian/support-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/support-frontend/downloads","issues_url":"https://api.github.com/repos/guardian/support-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/support-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/support-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/support-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/support-frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/support-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/support-frontend/deployments","created_at":"2017-04-04T15:37:12Z","updated_at":"2018-06-27T14:49:39Z","pushed_at":"2018-06-27T14:49:37Z","git_url":"git://github.com/guardian/support-frontend.git","ssh_url":"git@github.com:guardian/support-frontend.git","clone_url":"https://github.com/guardian/support-frontend.git","svn_url":"https://github.com/guardian/support-frontend","homepage":"https://support.theguardian.com/","size":5000,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/support-frontend/pulls/751"},"html":{"href":"https://github.com/guardian/support-frontend/pull/751"},"issue":{"href":"https://api.github.com/repos/guardian/support-frontend/issues/751"},"comments":{"href":"https://api.github.com/repos/guardian/support-frontend/issues/751/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/support-frontend/pulls/751/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/support-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/support-frontend/pulls/751/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/support-frontend/statuses/1689219e0ca47c2b289ad3bd87c8fdf716038c52"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Ap0c"}}