{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments/225553196","pull_request_review_id":165176535,"id":225553196,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTU1MzE5Ng==","diff_hunk":"@@ -0,0 +1,630 @@\n+/*global wp*/\n+/** @jsx wp.element.createElement */\n+/** @format */\n+\n+/**\n+ * External dependencies\n+ */\n+import {\n+\tPanelBody,\n+\tTextControl,\n+\tTextareaControl,\n+\tCheckboxControl,\n+\tToggleControl,\n+\tIconButton\n+} from '@wordpress/components';\n+\n+import {\n+\tregisterBlockType,\n+\tcreateBlock\n+} from '@wordpress/blocks';\n+\n+import {\n+\tInnerBlocks,\n+\tInspectorControls\n+} from '@wordpress/editor';\n+\n+import {\n+\tComponent,\n+\tFragment\n+} from '@wordpress/element';\n+\n+import {\n+\t__\n+} from '@wordpress/i18n';\n+\n+/**\n+ * Components:\n+ */\n+\n+class GrunionForm extends Component {\n+\tconstructor( ...args ) {\n+\t\tsuper( ...args );\n+\t\tthis.onChangeSubject = this.onChangeSubject.bind( this );\n+\t\tthis.onChangeTo = this.onChangeTo.bind( this );\n+\t\tthis.onChangeSubmit = this.onChangeSubmit.bind( this );\n+\t}\n+\n+\tonChangeSubject( x ) {\n+\t\tthis.props.setAttributes( { subject: x } );\n+\t}\n+\n+\tonChangeTo( x ) {\n+\t\tthis.props.setAttributes( { to: x } );\n+\t}\n+\n+\tonChangeSubmit( x ) {\n+\t\tthis.props.setAttributes( { submit_button_text: x } );\n+\t}\n+\n+\trender() {\n+\t\treturn (\n+\t\t\t<Fragment>\n+\t\t\t\t<InspectorControls>\n+\t\t\t\t\t<PanelBody title={ __( 'Submission Details', 'jetpack' ) }>\n+\t\t\t\t\t\t<TextControl\n+\t\t\t\t\t\t\tlabel={ __( 'What would you like the subject of the email to be?' ) }\n+\t\t\t\t\t\t\tvalue={ this.props.subject }\n+\t\t\t\t\t\t\tonChange={ this.onChangeSubject }\n+\t\t\t\t\t\t/>\n+\t\t\t\t\t\t<TextControl\n+\t\t\t\t\t\t\tlabel={ __( 'Which email address should we send the submissions to?' ) }\n+\t\t\t\t\t\t\tvalue={ this.props.to }\n+\t\t\t\t\t\t\tonChange={ this.onChangeTo }\n+\t\t\t\t\t\t/>\n+\t\t\t\t\t\t<TextControl\n+\t\t\t\t\t\t\tlabel={ __( 'What should the label on the form’s submit button say?' ) }\n+\t\t\t\t\t\t\tvalue={ this.props.submit_button_text }\n+\t\t\t\t\t\t\tplaceholder={ __( 'Submit »' ) }\n+\t\t\t\t\t\t\tonChange={ this.onChangeSubmit }\n+\t\t\t\t\t\t/>\n+\t\t\t\t\t</PanelBody>\n+\t\t\t\t</InspectorControls>\n+\t\t\t\t<div className=\"grunion-form\">\n+\t\t\t\t\t{this.props.children}\n+\t\t\t\t\t<TextControl\n+\t\t\t\t\t\tclassName=\"button button-primary button-default grunion-submit-button\"\n+\t\t\t\t\t\tvalue={ this.props.submit_button_text }\n+\t\t\t\t\t\tplaceholder={ __( 'Submit »' ) }\n+\t\t\t\t\t\tonChange={ this.onChangeSubmit }\n+\t\t\t\t\t/>\n+\t\t\t\t</div>\n+\t\t\t</Fragment>\n+\t\t);\n+\t}\n+}\n+\n+function GrunionFieldRequiredToggle( props ) {\n+\treturn (\n+\t\t<ToggleControl\n+\t\t\tlabel={ __( 'Required' ) }\n+\t\t\tchecked={ props.required }\n+\t\t\tonChange={ props.onChange }\n+\t\t/>\n+\t);\n+}\n+\n+class GrunionFieldSettings extends Component {\n+\tconstructor( ...args ) {\n+\t\tsuper( ...args );\n+\t\tthis.onChangeRequired = this.onChangeRequired.bind( this );\n+\t}\n+\n+\tonChangeRequired( x ) {\n+\t\tthis.props.setAttributes( { required: x } );\n+\t}\n+\n+\trender() {\n+\t\treturn (\n+\t\t\t<InspectorControls>\n+\t\t\t\t<PanelBody title={ __( 'Field Settings', 'jetpack' ) }>\n+\t\t\t\t\t<GrunionFieldRequiredToggle\n+\t\t\t\t\t\trequired={ this.props.required }\n+\t\t\t\t\t\tonChange={ this.onChangeRequired }\n+\t\t\t\t\t/>\n+\t\t\t\t</PanelBody>\n+\t\t\t</InspectorControls>\n+\t\t);\n+\t}\n+}\n+\n+class GrunionFieldLabel extends Component {\n+\tconstructor( ...args ) {\n+\t\tsuper( ...args );\n+\t\tthis.onChangeLabel = this.onChangeLabel.bind( this );\n+\t}\n+\n+\tonChangeLabel( x ) {\n+\t\tthis.props.setAttributes( { label: x.target.value } );\n+\t}\n+\n+\trender() {\n+\t\treturn (\n+\t\t\t<Fragment>\n+\t\t\t\t<input\n+\t\t\t\t\ttype='text'\n+\t\t\t\t\tvalue={ this.props.label }\n+\t\t\t\t\tclassName='grunion-field-label'\n+\t\t\t\t\tonChange={ this.onChangeLabel }\n+\t\t\t\t/>\n+\t\t\t\t{ this.props.required && <span className=\"required\">{ __( '(required)' ) }</span> }\n+\t\t\t</Fragment>\n+\t\t);\n+\t}\n+}\n+\n+function GrunionField( props ) {\n+\treturn (\n+\t\t<Fragment>\n+\t\t\t<GrunionFieldSettings\n+\t\t\t\trequired={ props.required }\n+\t\t\t\tsetAttributes={ props.setAttributes }\n+\t\t\t/>\n+\t\t\t<div className=\"grunion-field\">\n+\t\t\t\t<TextControl\n+\t\t\t\t\ttype={ props.type }\n+\t\t\t\t\tlabel={ <GrunionFieldLabel\n+\t\t\t\t\t\trequired={ props.required }\n+\t\t\t\t\t\tlabel={ props.label }\n+\t\t\t\t\t\tsetAttributes={ props.setAttributes }\n+\t\t\t\t\t/> }\n+\t\t\t\t\tdisabled={ true }\n+\t\t\t\t/>\n+\t\t\t</div>\n+\t\t</Fragment>\n+\t);\n+}\n+\n+function GrunionFieldTextarea( props ) {\n+\treturn (\n+\t\t<Fragment>\n+\t\t\t<GrunionFieldSettings\n+\t\t\t\trequired={ props.required }\n+\t\t\t\tsetAttributes={ props.setAttributes }\n+\t\t\t/>\n+\t\t\t<div className=\"grunion-field\">\n+\t\t\t\t<TextareaControl\n+\t\t\t\t\tlabel={ <GrunionFieldLabel\n+\t\t\t\t\t\trequired={ props.required }\n+\t\t\t\t\t\tlabel={ props.label }\n+\t\t\t\t\t\tsetAttributes={ props.setAttributes }\n+\t\t\t\t\t/> }\n+\t\t\t\t\tdisabled={ true }\n+\t\t\t\t/>\n+\t\t\t</div>\n+\t\t</Fragment>\n+\t);\n+}\n+\n+function GrunionFieldCheckbox( props ) {\n+\treturn (\n+\t\t<Fragment>\n+\t\t\t<GrunionFieldSettings\n+\t\t\t\trequired={ props.required }\n+\t\t\t\tsetAttributes={ props.setAttributes }\n+\t\t\t/>\n+\t\t\t<div className=\"grunion-field\">\n+\t\t\t\t<CheckboxControl\n+\t\t\t\t\tlabel={ <GrunionFieldLabel\n+\t\t\t\t\t\trequired={ props.required }\n+\t\t\t\t\t\tlabel={ props.label }\n+\t\t\t\t\t\tsetAttributes={ props.setAttributes }\n+\t\t\t\t\t/> }\n+\t\t\t\t\tdisabled={ true }\n+\t\t\t\t/>\n+\t\t\t</div>\n+\t\t</Fragment>\n+\t);\n+}\n+\n+class GrunionFieldMultiple extends Component {\n+\tconstructor( ...args ) {\n+\t\tsuper( ...args );\n+\t\tthis.onChangeOption = this.onChangeOption.bind( this );\n+\t}\n+\n+\tonChangeOption( key = null, option = null ) {\n+\t\tconst newOptions = this.props.options.slice( 0 );\n+\t\tif ( 'object' === typeof key ) {\n+\t\t\tnewOptions.push( '' );\n+\t\t} else if ( null === option ) {\n+\t\t\tnewOptions.splice( key, 1 );\n+\t\t} else {\n+\t\t\tnewOptions.splice( key, 1, option );\n+\t\t}\n+\t\tthis.props.setAttributes( { options: newOptions } );\n+\t}\n+\n+\trender() {\n+\t\treturn (\n+\t\t\t<Fragment>\n+\t\t\t\t<GrunionFieldSettings\n+\t\t\t\t\trequired={ this.props.required }\n+\t\t\t\t\tsetAttributes={ this.props.setAttributes }\n+\t\t\t\t/>\n+\t\t\t\t<div className=\"grunion-field\">\n+\t\t\t\t\t<GrunionFieldLabel\n+\t\t\t\t\t\trequired={ this.props.required }\n+\t\t\t\t\t\tlabel={ this.props.label }\n+\t\t\t\t\t\tsetAttributes={ this.props.setAttributes }\n+\t\t\t\t\t/>\n+\t\t\t\t\t<ol>\n+\t\t\t\t\t\t{ this.props.options.map( ( option, index )=>(\n+\t\t\t\t\t\t\t<GrunionOption\n+\t\t\t\t\t\t\t\tkey={ index }\n+\t\t\t\t\t\t\t\toption={ option }\n+\t\t\t\t\t\t\t\tindex={ index }\n+\t\t\t\t\t\t\t\tonChangeOption={ this.onChangeOption }\n+\t\t\t\t\t\t\t/>\n+\t\t\t\t\t\t) ) }\n+\t\t\t\t\t</ol>\n+\t\t\t\t\t<IconButton\n+\t\t\t\t\t\ticon=\"insert\"\n+\t\t\t\t\t\tlabel={ __( 'Insert option' ) }\n+\t\t\t\t\t\tonClick={ this.onChangeOption }\n+\t\t\t\t\t> { __( 'Add' ) }</IconButton>\n+\t\t\t\t</div>\n+\t\t\t</Fragment>\n+\t\t)\n+\t}\n+}\n+\n+class GrunionOption extends Component {\n+\tconstructor( ...args ) {\n+\t\tsuper( ...args );\n+\t\tthis.onChangeOption = this.onChangeOption.bind( this );\n+\t\tthis.onDeleteOption = this.onDeleteOption.bind( this );\n+\t}\n+\n+\tonChangeOption( x ) {\n+\t\tthis.props.onChangeOption( this.props.index, x.target.value );\n+\t}\n+\n+\tonDeleteOption() {\n+\t\tthis.props.onChangeOption( this.props.index );\n+\t}\n+\n+\trender() {\n+\t\treturn (\n+\t\t\t<li>\n+\t\t\t\t<input\n+\t\t\t\t\ttype=\"text\"\n+\t\t\t\t\tclassName=\"option\"\n+\t\t\t\t\tvalue={ this.props.option }\n+\t\t\t\t\tplaceholder={ __( 'Enter your option value here…' ) }\n+\t\t\t\t\tonChange={ this.onChangeOption }\n+\t\t\t\t/>\n+\t\t\t\t<IconButton\n+\t\t\t\t\ticon=\"no\"\n+\t\t\t\t\tlabel={ __( 'Remove option' ) }\n+\t\t\t\t\tonClick={ this.onDeleteOption }\n+\t\t\t\t/>\n+\t\t\t</li>\n+\t\t);\n+\t}\n+}\n+\n+/**\n+ * Block Registrations:\n+ */\n+\n+registerBlockType( 'grunion/form', {\n+\ttitle: __( 'Contact Form', 'jetpack' ),\n+\ticon: 'feedback',\n+\tcategory: 'widgets',\n+\tsupports: {\n+\t\thtml: false\n+\t},\n+\t/* // not yet ready for prime time.\n+\ttransforms: {\n+\t\tfrom: [\n+\t\t\t{\n+\t\t\t\ttype: 'shortcode',\n+\t\t\t\ttag: 'contact-form',\n+\t\t\t\tattributes: {\n+\t\t\t\t\tsubject: {\n+\t\t\t\t\t\ttype: 'string',\n+\t\t\t\t\t\tshortcode: function( named ) {\n+\t\t\t\t\t\t\treturn named.subject;\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t\tto: {\n+\t\t\t\t\t\ttype: 'string',\n+\t\t\t\t\t\tshortcode: function( named ) {\n+\t\t\t\t\t\t\treturn named.to;\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t\tsubmit_button_text: {\n+\t\t\t\t\t\ttype: 'string',\n+\t\t\t\t\t\tshortcode: function( named ) {\n+\t\t\t\t\t\t\treturn named.submit_button_text;\n+\t\t\t\t\t\t},\n+\t\t\t\t\t},\n+\t\t\t\t}\n+\n+\t\t\t}\n+\t\t]\n+\t},\n+\t*/\n+\n+\tattributes: {\n+\t\tsubject: {\n+\t\t\ttype: 'string',\n+\t\t\t'default': null\n+\t\t},\n+\t\tto: {\n+\t\t\ttype: 'string',\n+\t\t\t'default': null\n+\t\t},\n+\t\tsubmit_button_text: {\n+\t\t\ttype: 'string',\n+\t\t\t'default': __( 'Submit »' )","path":"modules/contact-form/js/gutenblock.jsx","position":361,"original_position":361,"commit_id":"c6ae74e02c9ffdfcf6a44751b86ead28a6eb75a9","original_commit_id":"c6ae74e02c9ffdfcf6a44751b86ead28a6eb75a9","user":{"login":"georgestephanis","id":941023,"node_id":"MDQ6VXNlcjk0MTAyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/941023?v=4","gravatar_id":"","url":"https://api.github.com/users/georgestephanis","html_url":"https://github.com/georgestephanis","followers_url":"https://api.github.com/users/georgestephanis/followers","following_url":"https://api.github.com/users/georgestephanis/following{/other_user}","gists_url":"https://api.github.com/users/georgestephanis/gists{/gist_id}","starred_url":"https://api.github.com/users/georgestephanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgestephanis/subscriptions","organizations_url":"https://api.github.com/users/georgestephanis/orgs","repos_url":"https://api.github.com/users/georgestephanis/repos","events_url":"https://api.github.com/users/georgestephanis/events{/privacy}","received_events_url":"https://api.github.com/users/georgestephanis/received_events","type":"User","site_admin":false},"body":"It's the legacy string, and I'd rather leave it in place so as to not unnecessarily churn translations.","created_at":"2018-10-16T14:02:43Z","updated_at":"2018-10-16T14:02:43Z","html_url":"https://github.com/Automattic/jetpack/pull/10256#discussion_r225553196","pull_request_url":"https://api.github.com/repos/Automattic/jetpack/pulls/10256","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments/225553196"},"html":{"href":"https://github.com/Automattic/jetpack/pull/10256#discussion_r225553196"},"pull_request":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10256"}},"in_reply_to_id":225533333},"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/10256","id":219824399,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5ODI0Mzk5","html_url":"https://github.com/Automattic/jetpack/pull/10256","diff_url":"https://github.com/Automattic/jetpack/pull/10256.diff","patch_url":"https://github.com/Automattic/jetpack/pull/10256.patch","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/10256","number":10256,"state":"open","locked":false,"title":"Contact Form Gutenblock","user":{"login":"georgestephanis","id":941023,"node_id":"MDQ6VXNlcjk0MTAyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/941023?v=4","gravatar_id":"","url":"https://api.github.com/users/georgestephanis","html_url":"https://github.com/georgestephanis","followers_url":"https://api.github.com/users/georgestephanis/followers","following_url":"https://api.github.com/users/georgestephanis/following{/other_user}","gists_url":"https://api.github.com/users/georgestephanis/gists{/gist_id}","starred_url":"https://api.github.com/users/georgestephanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgestephanis/subscriptions","organizations_url":"https://api.github.com/users/georgestephanis/orgs","repos_url":"https://api.github.com/users/georgestephanis/repos","events_url":"https://api.github.com/users/georgestephanis/events{/privacy}","received_events_url":"https://api.github.com/users/georgestephanis/received_events","type":"User","site_admin":false},"body":"GM2018 Work In Progress.\r\n\r\nDo not merge!\r\n\r\nThis is built using the https://github.com/Automattic/wp-calypso/ build tools -- something like this:\r\n\r\n```sh\r\ncp ~/vagrant-local/www/wordpress-develop/public_html/build/wp-content/plugins/jetpack/modules/contact-form/js/gutenblock.jsx /Users/georgestephanis/code/wp-calypso/client/gutenberg/extensions/contact-form/editor.js\r\ncp ~/vagrant-local/www/wordpress-develop/public_html/build/wp-content/plugins/jetpack/modules/contact-form/css/gutenblock.css /Users/georgestephanis/code/wp-calypso/client/gutenberg/extensions/contact-form/editor.scss\r\nnpm run sdk -- gutenberg ~/code/wp-calypso/client/gutenberg/extensions/contact-form/\r\ncp ~/code/wp-calypso/client/gutenberg/extensions/contact-form/build/editor.js ~/vagrant-local/www/wordpress-develop/public_html/build/wp-content/plugins/jetpack/modules/contact-form/js/gutenblock.js\r\n```\r\n\r\nbut for testing purposes, the compiled js file is bundled in the pr.\r\n\r\n## TBD ##\r\n\r\n- [x] Make the save button text editable.\r\n- [ ] Rendering on the front-end (waiting on externals -- @dmsnell )\r\n- [x] Deletion of multi fields\r\n- [x] More transforms\r\n- [ ] ???\r\n\r\n## Testing instructions ##\r\n\r\nClone the branch, and add a `contact form` block in Gutenberg.\r\n\r\n## Proposed changelog entry ##\r\n\r\nAdd a Gutenberg Block for the Jetpack Contact Form","created_at":"2018-10-02T19:51:07Z","updated_at":"2018-10-16T14:02:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d791523d21ec6f8e0dea37a92b87eba54bb59f70","assignee":{"login":"georgestephanis","id":941023,"node_id":"MDQ6VXNlcjk0MTAyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/941023?v=4","gravatar_id":"","url":"https://api.github.com/users/georgestephanis","html_url":"https://github.com/georgestephanis","followers_url":"https://api.github.com/users/georgestephanis/followers","following_url":"https://api.github.com/users/georgestephanis/following{/other_user}","gists_url":"https://api.github.com/users/georgestephanis/gists{/gist_id}","starred_url":"https://api.github.com/users/georgestephanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgestephanis/subscriptions","organizations_url":"https://api.github.com/users/georgestephanis/orgs","repos_url":"https://api.github.com/users/georgestephanis/repos","events_url":"https://api.github.com/users/georgestephanis/events{/privacy}","received_events_url":"https://api.github.com/users/georgestephanis/received_events","type":"User","site_admin":false},"assignees":[{"login":"georgestephanis","id":941023,"node_id":"MDQ6VXNlcjk0MTAyMw==","avatar_url":"https://avatars0.githubusercontent.com/u/941023?v=4","gravatar_id":"","url":"https://api.github.com/users/georgestephanis","html_url":"https://github.com/georgestephanis","followers_url":"https://api.github.com/users/georgestephanis/followers","following_url":"https://api.github.com/users/georgestephanis/following{/other_user}","gists_url":"https://api.github.com/users/georgestephanis/gists{/gist_id}","starred_url":"https://api.github.com/users/georgestephanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgestephanis/subscriptions","organizations_url":"https://api.github.com/users/georgestephanis/orgs","repos_url":"https://api.github.com/users/georgestephanis/repos","events_url":"https://api.github.com/users/georgestephanis/events{/privacy}","received_events_url":"https://api.github.com/users/georgestephanis/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[{"name":"Lannister","id":2132862,"node_id":"MDQ6VGVhbTIxMzI4NjI=","slug":"lannister","description":"An agile task force improving Calypso with features people need.","privacy":"closed","url":"https://api.github.com/teams/2132862","members_url":"https://api.github.com/teams/2132862/members{/member}","repositories_url":"https://api.github.com/teams/2132862/repos","permission":"pull"},{"name":"Jetpack Crew","id":2787210,"node_id":"MDQ6VGVhbTI3ODcyMTA=","slug":"jetpack-crew","description":"Core Jetpack maintainers & release conductors","privacy":"closed","url":"https://api.github.com/teams/2787210","members_url":"https://api.github.com/teams/2787210/members{/member}","repositories_url":"https://api.github.com/teams/2787210/repos","permission":"pull"}],"labels":[{"id":949582771,"node_id":"MDU6TGFiZWw5NDk1ODI3NzE=","url":"https://api.github.com/repos/Automattic/jetpack/labels/DO%20NOT%20MERGE","name":"DO NOT MERGE","color":"b60205","default":false},{"id":846192489,"node_id":"MDU6TGFiZWw4NDYxOTI0ODk=","url":"https://api.github.com/repos/Automattic/jetpack/labels/Gutenberg","name":"Gutenberg","color":"d4c5f9","default":false},{"id":371672245,"node_id":"MDU6TGFiZWwzNzE2NzIyNDU=","url":"https://api.github.com/repos/Automattic/jetpack/labels/Touches%20WP.com%20Files","name":"Touches WP.com Files","color":"0087be","default":false},{"id":136599217,"node_id":"MDU6TGFiZWwxMzY1OTkyMTc=","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Status]%20In%20Progress","name":"[Status] In Progress","color":"ededed","default":false},{"id":70896534,"node_id":"MDU6TGFiZWw3MDg5NjUzNA==","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8","default":false}],"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/112","html_url":"https://github.com/Automattic/jetpack/milestone/112","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/112/labels","id":3684249,"node_id":"MDk6TWlsZXN0b25lMzY4NDI0OQ==","number":112,"title":"6.7","description":"","creator":{"login":"kraftbj","id":88897,"node_id":"MDQ6VXNlcjg4ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/88897?v=4","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":27,"state":"open","created_at":"2018-09-24T19:48:36Z","updated_at":"2018-10-16T13:28:11Z","due_on":"2018-11-06T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Automattic/jetpack/pulls/10256/commits","review_comments_url":"https://api.github.com/repos/Automattic/jetpack/pulls/10256/comments","review_comment_url":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/10256/comments","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/c6ae74e02c9ffdfcf6a44751b86ead28a6eb75a9","head":{"label":"Automattic:gm18/grunionblock","ref":"gm18/grunionblock","sha":"c6ae74e02c9ffdfcf6a44751b86ead28a6eb75a9","user":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","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":15231212,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMTIxMg==","name":"jetpack","full_name":"Automattic/jetpack","private":false,"owner":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","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},"html_url":"https://github.com/Automattic/jetpack","description":"Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.","fork":false,"url":"https://api.github.com/repos/Automattic/jetpack","forks_url":"https://api.github.com/repos/Automattic/jetpack/forks","keys_url":"https://api.github.com/repos/Automattic/jetpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/jetpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/jetpack/teams","hooks_url":"https://api.github.com/repos/Automattic/jetpack/hooks","issue_events_url":"https://api.github.com/repos/Automattic/jetpack/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/jetpack/events","assignees_url":"https://api.github.com/repos/Automattic/jetpack/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/jetpack/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/jetpack/tags","blobs_url":"https://api.github.com/repos/Automattic/jetpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/jetpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/jetpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/jetpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/jetpack/languages","stargazers_url":"https://api.github.com/repos/Automattic/jetpack/stargazers","contributors_url":"https://api.github.com/repos/Automattic/jetpack/contributors","subscribers_url":"https://api.github.com/repos/Automattic/jetpack/subscribers","subscription_url":"https://api.github.com/repos/Automattic/jetpack/subscription","commits_url":"https://api.github.com/repos/Automattic/jetpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/jetpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/jetpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/jetpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/jetpack/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/jetpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/jetpack/merges","archive_url":"https://api.github.com/repos/Automattic/jetpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/jetpack/downloads","issues_url":"https://api.github.com/repos/Automattic/jetpack/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/jetpack/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/jetpack/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/jetpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/jetpack/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/jetpack/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/jetpack/deployments","created_at":"2013-12-16T16:43:01Z","updated_at":"2018-10-16T12:41:47Z","pushed_at":"2018-10-16T13:20:26Z","git_url":"git://github.com/Automattic/jetpack.git","ssh_url":"git@github.com:Automattic/jetpack.git","clone_url":"https://github.com/Automattic/jetpack.git","svn_url":"https://github.com/Automattic/jetpack","homepage":"https://jetpack.com/","size":216879,"stargazers_count":875,"watchers_count":875,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":542,"mirror_url":null,"archived":false,"open_issues_count":983,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":542,"open_issues":983,"watchers":875,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"b7a756c3a23f8b478986895e1a67ac02799e2b01","user":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","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":15231212,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMTIxMg==","name":"jetpack","full_name":"Automattic/jetpack","private":false,"owner":{"login":"Automattic","id":887802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/887802?v=4","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},"html_url":"https://github.com/Automattic/jetpack","description":"Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.","fork":false,"url":"https://api.github.com/repos/Automattic/jetpack","forks_url":"https://api.github.com/repos/Automattic/jetpack/forks","keys_url":"https://api.github.com/repos/Automattic/jetpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/jetpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/jetpack/teams","hooks_url":"https://api.github.com/repos/Automattic/jetpack/hooks","issue_events_url":"https://api.github.com/repos/Automattic/jetpack/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/jetpack/events","assignees_url":"https://api.github.com/repos/Automattic/jetpack/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/jetpack/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/jetpack/tags","blobs_url":"https://api.github.com/repos/Automattic/jetpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/jetpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/jetpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/jetpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/jetpack/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/jetpack/languages","stargazers_url":"https://api.github.com/repos/Automattic/jetpack/stargazers","contributors_url":"https://api.github.com/repos/Automattic/jetpack/contributors","subscribers_url":"https://api.github.com/repos/Automattic/jetpack/subscribers","subscription_url":"https://api.github.com/repos/Automattic/jetpack/subscription","commits_url":"https://api.github.com/repos/Automattic/jetpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/jetpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/jetpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/jetpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/jetpack/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/jetpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/jetpack/merges","archive_url":"https://api.github.com/repos/Automattic/jetpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/jetpack/downloads","issues_url":"https://api.github.com/repos/Automattic/jetpack/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/jetpack/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/jetpack/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/jetpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/jetpack/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/jetpack/releases{/id}","deployments_url":"https://api.github.com/repos/Automattic/jetpack/deployments","created_at":"2013-12-16T16:43:01Z","updated_at":"2018-10-16T12:41:47Z","pushed_at":"2018-10-16T13:20:26Z","git_url":"git://github.com/Automattic/jetpack.git","ssh_url":"git@github.com:Automattic/jetpack.git","clone_url":"https://github.com/Automattic/jetpack.git","svn_url":"https://github.com/Automattic/jetpack","homepage":"https://jetpack.com/","size":216879,"stargazers_count":875,"watchers_count":875,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":542,"mirror_url":null,"archived":false,"open_issues_count":983,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":542,"open_issues":983,"watchers":875,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10256"},"html":{"href":"https://github.com/Automattic/jetpack/pull/10256"},"issue":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/10256"},"comments":{"href":"https://api.github.com/repos/Automattic/jetpack/issues/10256/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10256/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/jetpack/pulls/10256/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/jetpack/statuses/c6ae74e02c9ffdfcf6a44751b86ead28a6eb75a9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"georgestephanis"}}