{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7181","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7181/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7181/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7181/events","html_url":"https://github.com/Automattic/wp-calypso/pull/7181","id":168428227,"number":7181,"title":"State: Implement currentUser settings subtree","user":{"login":"aduth","id":1779930,"avatar_url":"https://avatars.githubusercontent.com/u/1779930?v=3","gravatar_id":"","url":"https://api.github.com/users/aduth","html_url":"https://github.com/aduth","followers_url":"https://api.github.com/users/aduth/followers","following_url":"https://api.github.com/users/aduth/following{/other_user}","gists_url":"https://api.github.com/users/aduth/gists{/gist_id}","starred_url":"https://api.github.com/users/aduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduth/subscriptions","organizations_url":"https://api.github.com/users/aduth/orgs","repos_url":"https://api.github.com/users/aduth/repos","events_url":"https://api.github.com/users/aduth/events{/privacy}","received_events_url":"https://api.github.com/users/aduth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/State","name":"State","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20In%20Progress","name":"[Status] In Progress","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-29T22:40:23Z","updated_at":"2016-10-04T20:09:07Z","closed_at":"2016-10-04T20:09:06Z","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/7181","html_url":"https://github.com/Automattic/wp-calypso/pull/7181","diff_url":"https://github.com/Automattic/wp-calypso/pull/7181.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/7181.patch"},"body":"Closes #7180 \r\n\r\n_Note: This pull request is a work-in-progress. Most of the basic logic has been implemented, but it is lacking tests, comments, state deduplication between preferences and current user subtrees, and schema consideration for persistence._\r\n\r\nThis pull request seeks to generalize the preferences state into a general purpose current user settings retrieval and update subtree.\r\n\r\n__Testing instructions:__\r\n\r\nThere should be no changes to the application. Verify that no regressions occur, particularly in using preferences state (first view, editor media gallery help).\r\n\r\nEnsure that Mocha tests pass:\r\n\r\n```\r\nnpm run test-client\r\n```\n\nTest live: https://calypso.live/?branch=add/state-current-user-settings"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/251498276","html_url":"https://github.com/Automattic/wp-calypso/pull/7181#issuecomment-251498276","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/7181","id":251498276,"user":{"login":"aduth","id":1779930,"avatar_url":"https://avatars.githubusercontent.com/u/1779930?v=3","gravatar_id":"","url":"https://api.github.com/users/aduth","html_url":"https://github.com/aduth","followers_url":"https://api.github.com/users/aduth/followers","following_url":"https://api.github.com/users/aduth/following{/other_user}","gists_url":"https://api.github.com/users/aduth/gists{/gist_id}","starred_url":"https://api.github.com/users/aduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduth/subscriptions","organizations_url":"https://api.github.com/users/aduth/orgs","repos_url":"https://api.github.com/users/aduth/repos","events_url":"https://api.github.com/users/aduth/events{/privacy}","received_events_url":"https://api.github.com/users/aduth/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T20:09:06Z","updated_at":"2016-10-04T20:09:06Z","body":"I'd still like to revisit this, since I don't like that we treat preferences as totally distinct from current user settings (when they're simply a key on the `/me/settings` endpoint). That said, there's been significant refactoring to the preferences in other pull requests (#7566), so this will be a difficult rebase. I'll try to circle back around to this later or create a new branch."}}
{"actor":{"display_login":"aduth"}}