{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4090","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4090/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4090/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4090/events","html_url":"https://github.com/Automattic/wp-calypso/pull/4090","id":141381708,"number":4090,"title":"Framework: Track document settings in Redux state","user":{"login":"joseph-work","id":17825832,"avatar_url":"https://avatars.githubusercontent.com/u/17825832?v=3","gravatar_id":"","url":"https://api.github.com/users/joseph-work","html_url":"https://github.com/joseph-work","followers_url":"https://api.github.com/users/joseph-work/followers","following_url":"https://api.github.com/users/joseph-work/following{/other_user}","gists_url":"https://api.github.com/users/joseph-work/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-work/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-work/subscriptions","organizations_url":"https://api.github.com/users/joseph-work/orgs","repos_url":"https://api.github.com/users/joseph-work/repos","events_url":"https://api.github.com/users/joseph-work/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-work/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Framework","name":"Framework","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/OSS%20Citizen","name":"OSS Citizen","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-16T19:46:06Z","updated_at":"2016-03-31T01:04:04Z","closed_at":"2016-03-25T15:41:40Z","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/4090","html_url":"https://github.com/Automattic/wp-calypso/pull/4090","diff_url":"https://github.com/Automattic/wp-calypso/pull/4090.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/4090.patch"},"body":"This pull request introduces a new `page` state into Calypso, that's needed to track the document title, description, SEO / meta descriptions from one place. It will include a new action, reducer and  `<Page />` component to set the document title, description and all SEO related fields.\r\n\r\n## Background:\r\n\r\nStarted originally as my trial project for issue #3796, it quickly got identfified to include more than simply conversion from Flux to Redux. After some internal discussions, it was decided that a global `documentSettings` state should be introduced that could not only hold the title, but also all the fields Helmet uses such as SEO and meta fields.\r\n\r\n## Implementation notes:\r\nAs the entirety of the feature is going to be big, I am going to split up functionality between PR's. This PR is going to introduce the new `page` state into Calypso, plus all the binding required. Follow up PR's will include the following:\r\n\r\n- Introduce `<Page />` element\r\n- Conversion of existing functionality to use `<Page />`\r\n- Specifically for themes, reincorporate description/meta fields to use Redux `<Page />` instead\r\n- Completely remove `lib/screen-title`\r\n\r\n## Related issues:\r\n- #3796 \r\n- #3918 \r\n\r\ncc @mjangda \r\ncc @aduth"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/203700881","html_url":"https://github.com/Automattic/wp-calypso/pull/4090#issuecomment-203700881","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4090","id":203700881,"user":{"login":"ockham","id":96308,"avatar_url":"https://avatars.githubusercontent.com/u/96308?v=3","gravatar_id":"","url":"https://api.github.com/users/ockham","html_url":"https://github.com/ockham","followers_url":"https://api.github.com/users/ockham/followers","following_url":"https://api.github.com/users/ockham/following{/other_user}","gists_url":"https://api.github.com/users/ockham/gists{/gist_id}","starred_url":"https://api.github.com/users/ockham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ockham/subscriptions","organizations_url":"https://api.github.com/users/ockham/orgs","repos_url":"https://api.github.com/users/ockham/repos","events_url":"https://api.github.com/users/ockham/events{/privacy}","received_events_url":"https://api.github.com/users/ockham/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T01:04:04Z","updated_at":"2016-03-31T01:04:04Z","body":"After-the-fact drive-by comment (sorry!): What about renaming the `<Page>` component to `<Head>`?"}}