{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4686","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4686/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4686/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4686/events","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4686","id":126745818,"number":4686,"title":"Today Widget unconfigured state UX - FINALLY","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},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/Stats","name":"Stats","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/51","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/milestones/6.0","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/51/labels","id":1465750,"number":51,"title":"6.0","description":null,"creator":{"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},"open_issues":19,"closed_issues":54,"state":"open","created_at":"2015-12-17T21:05:13Z","updated_at":"2016-01-18T22:30:55Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-01-14T20:53:46Z","updated_at":"2016-01-19T01:15:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/4686","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4686","diff_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4686.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4686.patch"},"body":"Closes #2641 \r\n\r\nThis PR creates a UI for the today widget when it hasn't been configured yet. This unconfigured state will only occur in these scenarios:\r\n1. Fresh install and haven't logged in yet.\r\n2. Logged in, but not using a WordPress.com account or Jetpack-enabled site.\r\n3. The app hasn't auto-configured the widget upon launch because of a bug where the default blog hasn't been set.\r\n\r\nPreviously when the widget wasn't configured the widget would self-hide. As time has passed since today extensions have been out this has become the non-preferred way of handling things. The widget will now show the following information when unconfigured:\r\n\r\n![new widget ui](https://cloud.githubusercontent.com/assets/373903/12337162/fe38000e-bacd-11e5-8d5e-23d71397a550.png)\r\n\r\n**Testing:**\r\nCheck the widget in the following scenarios:\r\n* Fresh install (after logging out if already installed).\r\n* Log out, show widget going unconfigured.\r\n* Log in with WordPress.com - widget goes configured after tapping Today in stats (bug mentioned above is fixed in release/5.9 not develop).\r\n* Please also test on iPad.\r\n\r\n**Notes:**\r\n* Debugging the today widget is a pain in the rear. There are some weird constraint-like resizing issues I'm seeing but I'm at a loss at how to fix. I might open another issue for those.\r\n\r\nNeeds Review: @aerych, @jleandroperez, @mattmiklic \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/172697247","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/4686#issuecomment-172697247","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/4686","id":172697247,"user":{"login":"mattmiklic","id":1396552,"avatar_url":"https://avatars.githubusercontent.com/u/1396552?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmiklic","html_url":"https://github.com/mattmiklic","followers_url":"https://api.github.com/users/mattmiklic/followers","following_url":"https://api.github.com/users/mattmiklic/following{/other_user}","gists_url":"https://api.github.com/users/mattmiklic/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmiklic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmiklic/subscriptions","organizations_url":"https://api.github.com/users/mattmiklic/orgs","repos_url":"https://api.github.com/users/mattmiklic/repos","events_url":"https://api.github.com/users/mattmiklic/events{/privacy}","received_events_url":"https://api.github.com/users/mattmiklic/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T01:15:18Z","updated_at":"2016-01-19T01:15:18Z","body":"Looking good to me now. Not sure if you missed it or saw it and disagreed but I suggested changing the button text to \"Open WordPress\", as I think \"open\" is the more common verb used in the OS."}}