{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5058","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5058/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5058/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5058/events","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5058","id":144694402,"number":5058,"title":"Gravatar: Interface Layer","user":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels//Me","name":"/Me","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"astralbodies","id":373903,"avatar_url":"https://avatars.githubusercontent.com/u/373903?v=3","gravatar_id":"","url":"https://api.github.com/users/astralbodies","html_url":"https://github.com/astralbodies","followers_url":"https://api.github.com/users/astralbodies/followers","following_url":"https://api.github.com/users/astralbodies/following{/other_user}","gists_url":"https://api.github.com/users/astralbodies/gists{/gist_id}","starred_url":"https://api.github.com/users/astralbodies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astralbodies/subscriptions","organizations_url":"https://api.github.com/users/astralbodies/orgs","repos_url":"https://api.github.com/users/astralbodies/repos","events_url":"https://api.github.com/users/astralbodies/events{/privacy}","received_events_url":"https://api.github.com/users/astralbodies/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/53","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/milestones/6.2","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/53/labels","id":1562508,"number":53,"title":"6.2","description":"","creator":{"login":"sendhil","id":437043,"avatar_url":"https://avatars.githubusercontent.com/u/437043?v=3","gravatar_id":"","url":"https://api.github.com/users/sendhil","html_url":"https://github.com/sendhil","followers_url":"https://api.github.com/users/sendhil/followers","following_url":"https://api.github.com/users/sendhil/following{/other_user}","gists_url":"https://api.github.com/users/sendhil/gists{/gist_id}","starred_url":"https://api.github.com/users/sendhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendhil/subscriptions","organizations_url":"https://api.github.com/users/sendhil/orgs","repos_url":"https://api.github.com/users/sendhil/repos","events_url":"https://api.github.com/users/sendhil/events{/privacy}","received_events_url":"https://api.github.com/users/sendhil/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":77,"state":"open","created_at":"2016-02-04T04:45:23Z","updated_at":"2016-04-11T23:18:57Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-03-30T19:20:23Z","updated_at":"2016-04-12T15:06:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5058","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5058","diff_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5058.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5058.patch"},"body":"**Note:** This PR is dependant on [this MediaPicker PR](https://github.com/wordpress-mobile/MediaPicker-iOS/pull/107). Let's hold until that is reviewed / merged.\r\n\r\nCloses #3492\r\n\r\n#### Scenario: Happy Path\r\n1. Log into your WordPress.com account\r\n2. Tap over the `Me` tab\r\n3. Tap over the Gravatar\r\n4. Pick an existing image / take a new one\r\n6. Resize / Crop, as needed\r\n7. Tap over the top right button (`Use`)\r\n\r\nAs a result, the app should begin uploading the new image immediately, and a spinner should show up on top of the gravatar. Once the spinner is gone, both, **Gravatar.com** and **WPiOS** should display your new image.\r\n\r\n#### Scenario: Relaunch\r\n1. Log into your WordPress.com account\r\n2. Tap over the `Me` tab\r\n3. Tap over the Gravatar\r\n4. Pick an existing image / take a new one\r\n6. Resize / Crop, as needed\r\n7. Tap over the top right button (`Use`)\r\n8. Once the upload finishes, please, kill the app, and relaunch.\r\n\r\nAfter relaunch, both, **WPiOS** and **Gravatar.com** should display the same asset.\r\n \r\n#### Scenario: Multiple Accounts\r\n1. Log into `Account A`, and update its gravatar\r\n2. Log out\r\n3. Log into `Account B`. Verify that `B`'s gravatar is displayed\r\n4. Update `Account B`'s gravatar\r\n5. Log out\r\n6. Log into `Account A`, and verify its gravatar. \r\n\r\n**Please:** Test both iPhone / iPad devices.\r\n\r\nNeeds review: @astralbodies "},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/208952140","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5058#issuecomment-208952140","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5058","id":208952140,"user":{"login":"astralbodies","id":373903,"avatar_url":"https://avatars.githubusercontent.com/u/373903?v=3","gravatar_id":"","url":"https://api.github.com/users/astralbodies","html_url":"https://github.com/astralbodies","followers_url":"https://api.github.com/users/astralbodies/followers","following_url":"https://api.github.com/users/astralbodies/following{/other_user}","gists_url":"https://api.github.com/users/astralbodies/gists{/gist_id}","starred_url":"https://api.github.com/users/astralbodies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astralbodies/subscriptions","organizations_url":"https://api.github.com/users/astralbodies/orgs","repos_url":"https://api.github.com/users/astralbodies/repos","events_url":"https://api.github.com/users/astralbodies/events{/privacy}","received_events_url":"https://api.github.com/users/astralbodies/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T15:06:02Z","updated_at":"2016-04-12T15:06:02Z","body":"This looks super solid to me @jleandroperez. \r\n\r\n:shipit:!!!"}}