{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7897","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7897/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7897/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7897/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/7897","id":331921590,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTI5NjYx","number":7897,"title":"Issue/7892 save locally dialog","user":{"login":"malinajirka","id":2261188,"node_id":"MDQ6VXNlcjIyNjExODg=","avatar_url":"https://avatars3.githubusercontent.com/u/2261188?v=4","gravatar_id":"","url":"https://api.github.com/users/malinajirka","html_url":"https://github.com/malinajirka","followers_url":"https://api.github.com/users/malinajirka/followers","following_url":"https://api.github.com/users/malinajirka/following{/other_user}","gists_url":"https://api.github.com/users/malinajirka/gists{/gist_id}","starred_url":"https://api.github.com/users/malinajirka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malinajirka/subscriptions","organizations_url":"https://api.github.com/users/malinajirka/orgs","repos_url":"https://api.github.com/users/malinajirka/repos","events_url":"https://api.github.com/users/malinajirka/events{/privacy}","received_events_url":"https://api.github.com/users/malinajirka/received_events","type":"User","site_admin":false},"labels":[{"id":88251544,"node_id":"MDU6TGFiZWw4ODI1MTU0NA==","url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Reader","name":"Reader","color":"006b75","default":false},{"id":211243162,"node_id":"MDU6TGFiZWwyMTEyNDMxNjI=","url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/[Status]%20Needs%20Code%20Review","name":"[Status] Needs Code Review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"khaykov","id":728822,"node_id":"MDQ6VXNlcjcyODgyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/728822?v=4","gravatar_id":"","url":"https://api.github.com/users/khaykov","html_url":"https://github.com/khaykov","followers_url":"https://api.github.com/users/khaykov/followers","following_url":"https://api.github.com/users/khaykov/following{/other_user}","gists_url":"https://api.github.com/users/khaykov/gists{/gist_id}","starred_url":"https://api.github.com/users/khaykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khaykov/subscriptions","organizations_url":"https://api.github.com/users/khaykov/orgs","repos_url":"https://api.github.com/users/khaykov/repos","events_url":"https://api.github.com/users/khaykov/events{/privacy}","received_events_url":"https://api.github.com/users/khaykov/received_events","type":"User","site_admin":false},"assignees":[{"login":"khaykov","id":728822,"node_id":"MDQ6VXNlcjcyODgyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/728822?v=4","gravatar_id":"","url":"https://api.github.com/users/khaykov","html_url":"https://github.com/khaykov","followers_url":"https://api.github.com/users/khaykov/followers","following_url":"https://api.github.com/users/khaykov/following{/other_user}","gists_url":"https://api.github.com/users/khaykov/gists{/gist_id}","starred_url":"https://api.github.com/users/khaykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khaykov/subscriptions","organizations_url":"https://api.github.com/users/khaykov/orgs","repos_url":"https://api.github.com/users/khaykov/repos","events_url":"https://api.github.com/users/khaykov/events{/privacy}","received_events_url":"https://api.github.com/users/khaykov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/milestones/122","html_url":"https://github.com/wordpress-mobile/WordPress-Android/milestone/122","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/milestones/122/labels","id":3256179,"node_id":"MDk6TWlsZXN0b25lMzI1NjE3OQ==","number":122,"title":"10.2","description":"","creator":{"login":"maxme","id":40213,"node_id":"MDQ6VXNlcjQwMjEz","avatar_url":"https://avatars2.githubusercontent.com/u/40213?v=4","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":7,"state":"open","created_at":"2018-04-10T15:06:16Z","updated_at":"2018-06-14T11:20:36Z","due_on":"2018-06-18T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-06-13T09:51:04Z","updated_at":"2018-06-14T15:53:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/pulls/7897","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/7897","diff_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/7897.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/7897.patch"},"body":"Fixes #7892 \r\n\r\nShow a warning dialog informing the user that posts are saved just locally when they save a post for the first time.\r\n\r\n![screenshot_1528880124](https://user-images.githubusercontent.com/2261188/41343847-f352343c-6eff-11e8-86da-54ce7b6ae049.png)\r\n\r\nTo test:\r\n1. Login\r\n2. Go to reader\r\n3. Click on the \"save post\" button\r\n4. Dialog should be shown\r\n5. Click on the \"save post\" button of another post\r\n6. Dialog should not be shown\r\n---\r\n1. Clear app data\r\n2. Go to reader\r\n3. Open a post detail\r\n4. Click on the \"save post\" button\r\n5. Dialog should be shown\r\n\r\nNote:\r\nDialog in the Reader list is not retained after configuration changes - ReaderFragment extends native android fragment instead of support fragment, so we can't use the BasicDialogFragment. \r\nRetaining basic alert dialog is also tricky, since we recreate the fragment from scratch after configuration change (without using savedInstanceState). \r\n\r\n\r\ncc @iamthomasbishop "},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/comments/397345404","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/7897#issuecomment-397345404","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/7897","id":397345404,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzM0NTQwNA==","user":{"login":"michelleweber","id":9468843,"node_id":"MDQ6VXNlcjk0Njg4NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/9468843?v=4","gravatar_id":"","url":"https://api.github.com/users/michelleweber","html_url":"https://github.com/michelleweber","followers_url":"https://api.github.com/users/michelleweber/followers","following_url":"https://api.github.com/users/michelleweber/following{/other_user}","gists_url":"https://api.github.com/users/michelleweber/gists{/gist_id}","starred_url":"https://api.github.com/users/michelleweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelleweber/subscriptions","organizations_url":"https://api.github.com/users/michelleweber/orgs","repos_url":"https://api.github.com/users/michelleweber/repos","events_url":"https://api.github.com/users/michelleweber/events{/privacy}","received_events_url":"https://api.github.com/users/michelleweber/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T15:53:15Z","updated_at":"2018-06-14T15:53:15Z","author_association":"NONE","body":"+1! Clearer -- good suggestion."}}
{"actor":{"display_login":"michelleweber"}}