{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/115979558","pull_request_review_id":37564196,"id":115979558,"diff_hunk":"@@ -0,0 +1,66 @@\n+/**\n+ * External dependencies\n+ */\n+import React, { Component } from 'react';\n+import { localize } from 'i18n-calypso';\n+\n+/**\n+ * Internal dependencies\n+ */\n+import FormCurrencyInput from 'components/forms/form-currency-input';\n+import FormLabel from 'components/forms/form-label';\n+import FormRadio from 'components/forms/form-radio';\n+\n+class FreeShippingMethod extends Component {\n+\tconstructor( props ) {\n+\t\tsuper( props );\n+\n+\t\t//TODO: use redux state with real data\n+\t\tthis.state = {\n+\t\t\teveryone: props.everyone,\n+\t\t\tcurrencySymbolPrefix: '$',\n+\t\t\tcurrencySymbolSuffix: ''\n+\t\t};\n+\n+\t\tthis.onOptionChange = this.onOptionChange.bind( this );\n+\t}\n+\n+\tonOptionChange( event ) {\n+\t\tthis.setState( { everyone: 'everyone' === event.currentTarget.value } );\n+\t}\n+\n+\trenderMinSpendBox() {\n+\t\treturn (\n+\t\t\t<FormCurrencyInput\n+\t\t\t\tcurrencySymbolPrefix={ this.state.currencySymbolPrefix }\n+\t\t\t\tcurrencySymbolSuffix={ this.state.currencySymbolSuffix }\n+\t\t\t\tvalue={ this.state.minSpend } />\n+\t\t);\n+\t}\n+\n+\trender() {\n+\t\tconst { translate } = this.props;\n+\n+\t\treturn (\n+\t\t\t<div className=\"shipping-methods__method-container\">\n+\t\t\t\t<FormLabel>{ translate( 'Who gets free shipping?' ) }</FormLabel>\n+\t\t\t\t<div className=\"shipping-methods__free-shipping-option\">\n+\t\t\t\t\t<FormRadio value=\"everyone\"\n+\t\t\t\t\t\tchecked={ this.state.everyone }\n+\t\t\t\t\t\tonChange={ this.onOptionChange } />\n+\t\t\t\t\t{ translate( 'Everyone!' ) }","path":"client/extensions/woocommerce/app/settings/shipping/shipping-methods/free-shipping.js","position":51,"original_position":51,"commit_id":"f094daae39df99fa7f484c20195884929b11fe5c","original_commit_id":"f094daae39df99fa7f484c20195884929b11fe5c","user":{"login":"a8ci18n","id":25137612,"avatar_url":"https://avatars3.githubusercontent.com/u/25137612?v=3","gravatar_id":"","url":"https://api.github.com/users/a8ci18n","html_url":"https://github.com/a8ci18n","followers_url":"https://api.github.com/users/a8ci18n/followers","following_url":"https://api.github.com/users/a8ci18n/following{/other_user}","gists_url":"https://api.github.com/users/a8ci18n/gists{/gist_id}","starred_url":"https://api.github.com/users/a8ci18n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a8ci18n/subscriptions","organizations_url":"https://api.github.com/users/a8ci18n/orgs","repos_url":"https://api.github.com/users/a8ci18n/repos","events_url":"https://api.github.com/users/a8ci18n/events{/privacy}","received_events_url":"https://api.github.com/users/a8ci18n/received_events","type":"User","site_admin":false},"body":"Hi! I've found a possible matching string that has already been translated **35** times:\n`translate( 'Everyone', { context: 'Filter label for posts list'} )` *ES Score: 21*\n\nHelp me improve these suggestions: react with :thumbsdown: if the suggestion doesn't make any sense, or with :thumbsup: if it's a particularly good one (even if not implemented).","created_at":"2017-05-11T12:45:49Z","updated_at":"2017-05-11T12:45:49Z","html_url":"https://github.com/Automattic/wp-calypso/pull/13604#discussion_r115979558","pull_request_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604","_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments/115979558"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/13604#discussion_r115979558"},"pull_request":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604","id":118803551,"html_url":"https://github.com/Automattic/wp-calypso/pull/13604","diff_url":"https://github.com/Automattic/wp-calypso/pull/13604.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/13604.patch","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/13604","number":13604,"state":"open","locked":false,"title":"WooCommerce: shipping page","user":{"login":"marcinbot","id":800604,"avatar_url":"https://avatars2.githubusercontent.com/u/800604?v=3","gravatar_id":"","url":"https://api.github.com/users/marcinbot","html_url":"https://github.com/marcinbot","followers_url":"https://api.github.com/users/marcinbot/followers","following_url":"https://api.github.com/users/marcinbot/following{/other_user}","gists_url":"https://api.github.com/users/marcinbot/gists{/gist_id}","starred_url":"https://api.github.com/users/marcinbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcinbot/subscriptions","organizations_url":"https://api.github.com/users/marcinbot/orgs","repos_url":"https://api.github.com/users/marcinbot/repos","events_url":"https://api.github.com/users/marcinbot/events{/privacy}","received_events_url":"https://api.github.com/users/marcinbot/received_events","type":"User","site_admin":false},"body":"Adds #13559 \r\n\r\nAdds shipping settings page for WooCommerce:\r\n![screen shot 2017-05-03 at 17 30 39](https://cloud.githubusercontent.com/assets/800604/25670952/47562cec-3026-11e7-8b49-374df3e542d1.png)\r\n\r\nIt's still in progress, the controls are not going to work. But feel free to review/fix the styles if needed\r\n\r\n@DanReyLop @jeffstieler @kellychoffman @jameskoster ","created_at":"2017-05-03T16:34:17Z","updated_at":"2017-05-11T12:45:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9721657d94fe6331f4ceb66a81a5140a79165b0c","assignee":{"login":"marcinbot","id":800604,"avatar_url":"https://avatars2.githubusercontent.com/u/800604?v=3","gravatar_id":"","url":"https://api.github.com/users/marcinbot","html_url":"https://github.com/marcinbot","followers_url":"https://api.github.com/users/marcinbot/followers","following_url":"https://api.github.com/users/marcinbot/following{/other_user}","gists_url":"https://api.github.com/users/marcinbot/gists{/gist_id}","starred_url":"https://api.github.com/users/marcinbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcinbot/subscriptions","organizations_url":"https://api.github.com/users/marcinbot/orgs","repos_url":"https://api.github.com/users/marcinbot/repos","events_url":"https://api.github.com/users/marcinbot/events{/privacy}","received_events_url":"https://api.github.com/users/marcinbot/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcinbot","id":800604,"avatar_url":"https://avatars2.githubusercontent.com/u/800604?v=3","gravatar_id":"","url":"https://api.github.com/users/marcinbot","html_url":"https://github.com/marcinbot","followers_url":"https://api.github.com/users/marcinbot/followers","following_url":"https://api.github.com/users/marcinbot/following{/other_user}","gists_url":"https://api.github.com/users/marcinbot/gists{/gist_id}","starred_url":"https://api.github.com/users/marcinbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcinbot/subscriptions","organizations_url":"https://api.github.com/users/marcinbot/orgs","repos_url":"https://api.github.com/users/marcinbot/repos","events_url":"https://api.github.com/users/marcinbot/events{/privacy}","received_events_url":"https://api.github.com/users/marcinbot/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604/commits","review_comments_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604/comments","review_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/13604/comments","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/f094daae39df99fa7f484c20195884929b11fe5c","head":{"label":"Automattic:add/13559-shipping-ui","ref":"add/13559-shipping-ui","sha":"f094daae39df99fa7f484c20195884929b11fe5c","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars2.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars2.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2017-05-11T12:21:41Z","pushed_at":"2017-05-11T12:42:45Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":62908,"stargazers_count":8737,"watchers_count":8737,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1133,"mirror_url":null,"open_issues_count":2003,"forks":1133,"open_issues":2003,"watchers":8737,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"ac947e354598ec2469e3e60c3046ca7163f73cbe","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars2.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":45936895,"name":"wp-calypso","full_name":"Automattic/wp-calypso","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars2.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/wp-calypso","description":"The new JavaScript- and API-powered WordPress.com","fork":false,"url":"https://api.github.com/repos/Automattic/wp-calypso","forks_url":"https://api.github.com/repos/Automattic/wp-calypso/forks","keys_url":"https://api.github.com/repos/Automattic/wp-calypso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/wp-calypso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/wp-calypso/teams","hooks_url":"https://api.github.com/repos/Automattic/wp-calypso/hooks","issue_events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/wp-calypso/events","assignees_url":"https://api.github.com/repos/Automattic/wp-calypso/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/wp-calypso/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/wp-calypso/tags","blobs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/wp-calypso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/wp-calypso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/wp-calypso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/wp-calypso/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/wp-calypso/languages","stargazers_url":"https://api.github.com/repos/Automattic/wp-calypso/stargazers","contributors_url":"https://api.github.com/repos/Automattic/wp-calypso/contributors","subscribers_url":"https://api.github.com/repos/Automattic/wp-calypso/subscribers","subscription_url":"https://api.github.com/repos/Automattic/wp-calypso/subscription","commits_url":"https://api.github.com/repos/Automattic/wp-calypso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/wp-calypso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/wp-calypso/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/wp-calypso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/wp-calypso/merges","archive_url":"https://api.github.com/repos/Automattic/wp-calypso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/wp-calypso/downloads","issues_url":"https://api.github.com/repos/Automattic/wp-calypso/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/wp-calypso/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/wp-calypso/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/wp-calypso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/wp-calypso/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/wp-calypso/deployments","created_at":"2015-11-10T20:00:16Z","updated_at":"2017-05-11T12:21:41Z","pushed_at":"2017-05-11T12:42:45Z","git_url":"git://github.com/Automattic/wp-calypso.git","ssh_url":"git@github.com:Automattic/wp-calypso.git","clone_url":"https://github.com/Automattic/wp-calypso.git","svn_url":"https://github.com/Automattic/wp-calypso","homepage":"https://developer.wordpress.com/calypso/","size":62908,"stargazers_count":8737,"watchers_count":8737,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1133,"mirror_url":null,"open_issues_count":2003,"forks":1133,"open_issues":2003,"watchers":8737,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604"},"html":{"href":"https://github.com/Automattic/wp-calypso/pull/13604"},"issue":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/13604"},"comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/issues/13604/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/wp-calypso/pulls/13604/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/wp-calypso/statuses/f094daae39df99fa7f484c20195884929b11fe5c"}}}}
{"actor":{"display_login":"a8ci18n"}}