{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4208","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4208/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4208/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4208/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4208","id":159446559,"number":4208,"title":"Display AMP version of posts","user":{"login":"hypest","id":1032913,"avatar_url":"https://avatars.githubusercontent.com/u/1032913?v=3","gravatar_id":"","url":"https://api.github.com/users/hypest","html_url":"https://github.com/hypest","followers_url":"https://api.github.com/users/hypest/followers","following_url":"https://api.github.com/users/hypest/following{/other_user}","gists_url":"https://api.github.com/users/hypest/gists{/gist_id}","starred_url":"https://api.github.com/users/hypest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypest/subscriptions","organizations_url":"https://api.github.com/users/hypest/orgs","repos_url":"https://api.github.com/users/hypest/repos","events_url":"https://api.github.com/users/hypest/events{/privacy}","received_events_url":"https://api.github.com/users/hypest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-09T16:04:52Z","updated_at":"2016-06-09T16:13:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/pulls/4208","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4208","diff_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4208.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4208.patch"},"body":"Fixes #4175 \r\n\r\nThis PR introduces the usage of AMP (Accelerated Mobile Pages) for viewing posts in the Posts List.\r\n\r\nUsing AMP is by default disabled and governed by a switch in the App Settings which the user can control.\r\n\r\nFor now, AMP can only be used for WordPress.com posts.\r\n\r\nTo test:\r\n* Enable \"AMP\" in App Settings\r\n* Got to the site's post list and tap \"View\" to open the post in the in-app browser\r\n* Notice the simplified post content, missing (among other things) the comments section at the bottom\r\n* Tap the \"globe\" icon in the ActionBar to open the post in the system browser\r\n* Notice that the post is still simplified in system's browser as well. Also notice how fast the post is generally opened.\r\n* Tap back to return to the app and this time tap the \"Open non AMP version\" menu action to open the post in the system browser again\r\n* Notice the post having the \"non-AMP\" layout and content\r\n\r\n\r\nHere's a screen video of the feature in action: https://cloudup.com/idL3qPQz6yc\r\n\r\nNeeds review: I'm thinking: @nbradbury"},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/comments/224945466","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/4208#issuecomment-224945466","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/4208","id":224945466,"user":{"login":"hypest","id":1032913,"avatar_url":"https://avatars.githubusercontent.com/u/1032913?v=3","gravatar_id":"","url":"https://api.github.com/users/hypest","html_url":"https://github.com/hypest","followers_url":"https://api.github.com/users/hypest/followers","following_url":"https://api.github.com/users/hypest/following{/other_user}","gists_url":"https://api.github.com/users/hypest/gists{/gist_id}","starred_url":"https://api.github.com/users/hypest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypest/subscriptions","organizations_url":"https://api.github.com/users/hypest/orgs","repos_url":"https://api.github.com/users/hypest/repos","events_url":"https://api.github.com/users/hypest/events{/privacy}","received_events_url":"https://api.github.com/users/hypest/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T16:13:05Z","updated_at":"2016-06-09T16:13:05Z","body":"Thanks @kwonye !\r\n\r\nGood question about the default being disabled. I think that the simplified AMP form of a post can leave the user confused and prolly trying to find out why the post no longer has all the sections it is supposed to have. In other words, the feature will need some better introduction than just enabling it out of the box.\r\n\r\nI do expect the default to change to \"enabled\" though after a few releases, after we have \"educated\" the users enough, probably through other channels.\r\n\r\nIt can be just me though, being too conservative here. Happy to revise! :)"}}
{"actor":{"display_login":"hypest"}}