{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/28625","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/28625/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/28625/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/28625/events","html_url":"https://github.com/Automattic/wp-calypso/pull/28625","id":381520404,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNDY4OTk3","number":28625,"title":"Gutenberg: Default Publicize message to post title and fix length limit","user":{"login":"tyxla","id":8436925,"node_id":"MDQ6VXNlcjg0MzY5MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8436925?v=4","gravatar_id":"","url":"https://api.github.com/users/tyxla","html_url":"https://github.com/tyxla","followers_url":"https://api.github.com/users/tyxla/followers","following_url":"https://api.github.com/users/tyxla/following{/other_user}","gists_url":"https://api.github.com/users/tyxla/gists{/gist_id}","starred_url":"https://api.github.com/users/tyxla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyxla/subscriptions","organizations_url":"https://api.github.com/users/tyxla/orgs","repos_url":"https://api.github.com/users/tyxla/repos","events_url":"https://api.github.com/users/tyxla/events{/privacy}","received_events_url":"https://api.github.com/users/tyxla/received_events","type":"User","site_admin":false},"labels":[{"id":285009991,"node_id":"MDU6TGFiZWwyODUwMDk5OTE=","url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Jetpack","name":"Jetpack","color":"006b75","default":false},{"id":967391996,"node_id":"MDU6TGFiZWw5NjczOTE5OTY=","url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Goal]%20Gutenberg","name":"[Goal] Gutenberg","color":"97f4d2","default":false},{"id":285010018,"node_id":"MDU6TGFiZWwyODUwMTAwMTg=","url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Needs%20Review","name":"[Status] Needs Review","color":"fbca04","default":false},{"id":285009976,"node_id":"MDU6TGFiZWwyODUwMDk5NzY=","url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"tyxla","id":8436925,"node_id":"MDQ6VXNlcjg0MzY5MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8436925?v=4","gravatar_id":"","url":"https://api.github.com/users/tyxla","html_url":"https://github.com/tyxla","followers_url":"https://api.github.com/users/tyxla/followers","following_url":"https://api.github.com/users/tyxla/following{/other_user}","gists_url":"https://api.github.com/users/tyxla/gists{/gist_id}","starred_url":"https://api.github.com/users/tyxla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyxla/subscriptions","organizations_url":"https://api.github.com/users/tyxla/orgs","repos_url":"https://api.github.com/users/tyxla/repos","events_url":"https://api.github.com/users/tyxla/events{/privacy}","received_events_url":"https://api.github.com/users/tyxla/received_events","type":"User","site_admin":false},"assignees":[{"login":"tyxla","id":8436925,"node_id":"MDQ6VXNlcjg0MzY5MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8436925?v=4","gravatar_id":"","url":"https://api.github.com/users/tyxla","html_url":"https://github.com/tyxla","followers_url":"https://api.github.com/users/tyxla/followers","following_url":"https://api.github.com/users/tyxla/following{/other_user}","gists_url":"https://api.github.com/users/tyxla/gists{/gist_id}","starred_url":"https://api.github.com/users/tyxla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyxla/subscriptions","organizations_url":"https://api.github.com/users/tyxla/orgs","repos_url":"https://api.github.com/users/tyxla/repos","events_url":"https://api.github.com/users/tyxla/events{/privacy}","received_events_url":"https://api.github.com/users/tyxla/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-16T09:40:38Z","updated_at":"2018-11-16T11:37:11Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/28625","html_url":"https://github.com/Automattic/wp-calypso/pull/28625","diff_url":"https://github.com/Automattic/wp-calypso/pull/28625.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/28625.patch"},"body":"#### Changes proposed in this Pull Request\r\n\r\n* Remove the placeholder from message field\r\n* Default Publicize message to the current post title\r\n* Allow default message to be overriden by a custom provided string\r\n* Fall back default Publicize message to empty string\r\n* Always limit Publicize message length properly\r\n\r\n#### Testing instructions\r\n\r\n* Spin up a new JN site with this branch: `gutenpack-jn`\r\n* Connect the site.\r\n* Start a new post, write a title.\r\n* Click the Publish button.\r\n* Verify the Publicize message field contains the current post title.\r\n* Update the post title, verify the message fields updates accordingly.\r\n* Change the message field manually, then update post title and verify custom message isn't overridden.\r\n* Delete the custom message field, and verify it defaults to the post title again.\r\n* Try with a very long message (over 256 chars), verify you can't type or paste more than the limit.\r\n* Try with a very long title (over 256 chars), verify it's being trimmed to the limit.\r\n* Start with an empty post title, verify the message is empty and there are no errors.\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/439367731","html_url":"https://github.com/Automattic/wp-calypso/pull/28625#issuecomment-439367731","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/28625","id":439367731,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTM2NzczMQ==","user":{"login":"tyxla","id":8436925,"node_id":"MDQ6VXNlcjg0MzY5MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/8436925?v=4","gravatar_id":"","url":"https://api.github.com/users/tyxla","html_url":"https://github.com/tyxla","followers_url":"https://api.github.com/users/tyxla/followers","following_url":"https://api.github.com/users/tyxla/following{/other_user}","gists_url":"https://api.github.com/users/tyxla/gists{/gist_id}","starred_url":"https://api.github.com/users/tyxla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyxla/subscriptions","organizations_url":"https://api.github.com/users/tyxla/orgs","repos_url":"https://api.github.com/users/tyxla/repos","events_url":"https://api.github.com/users/tyxla/events{/privacy}","received_events_url":"https://api.github.com/users/tyxla/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T11:37:11Z","updated_at":"2018-11-16T11:37:11Z","author_association":"MEMBER","body":"cc @lezama as he originally requested this 😉 "}}
{"actor":{"display_login":"tyxla"}}