{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dart-pad/issues/488","labels_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/488/comments","events_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/488/events","html_url":"https://github.com/dart-lang/dart-pad/issues/488","id":87399371,"number":488,"title":"UX regression: Pads using HTML don't display HTML OUTPUT by default","user":{"login":"lukechurch","id":2978182,"avatar_url":"https://avatars.githubusercontent.com/u/2978182?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechurch","html_url":"https://github.com/lukechurch","followers_url":"https://api.github.com/users/lukechurch/followers","following_url":"https://api.github.com/users/lukechurch/following{/other_user}","gists_url":"https://api.github.com/users/lukechurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechurch/subscriptions","organizations_url":"https://api.github.com/users/lukechurch/orgs","repos_url":"https://api.github.com/users/lukechurch/repos","events_url":"https://api.github.com/users/lukechurch/events{/privacy}","received_events_url":"https://api.github.com/users/lukechurch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/dart-pad/labels/p0","name":"p0","color":"e11d21"},{"url":"https://api.github.com/repos/dart-lang/dart-pad/labels/ui%20punchlist","name":"ui punchlist","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"Georgehe4","id":3150228,"avatar_url":"https://avatars.githubusercontent.com/u/3150228?v=3","gravatar_id":"","url":"https://api.github.com/users/Georgehe4","html_url":"https://github.com/Georgehe4","followers_url":"https://api.github.com/users/Georgehe4/followers","following_url":"https://api.github.com/users/Georgehe4/following{/other_user}","gists_url":"https://api.github.com/users/Georgehe4/gists{/gist_id}","starred_url":"https://api.github.com/users/Georgehe4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Georgehe4/subscriptions","organizations_url":"https://api.github.com/users/Georgehe4/orgs","repos_url":"https://api.github.com/users/Georgehe4/repos","events_url":"https://api.github.com/users/Georgehe4/events{/privacy}","received_events_url":"https://api.github.com/users/Georgehe4/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-11T16:14:30Z","updated_at":"2015-06-11T17:12:14Z","closed_at":null,"body":"This is a UX regression, the problem is that you follow a link to an HTML pad, e.g. https://dartpad.dartlang.org/778c6a64c71c474dde71 and hit run, and nothing appears.\r\n\r\nThis gives the impression that DartPad is broken, it's pretty difficult to discover the need to click \"HTML OUTPUT' and even when you discover it, it can be difficult to remember to do. I've made the same mistake a number of times in the past hour.\r\n\r\nCan we look at bringing back automatically showing the HTML OUTPUT tab by default pads with HTML."},"comment":{"url":"https://api.github.com/repos/dart-lang/dart-pad/issues/comments/111210214","html_url":"https://github.com/dart-lang/dart-pad/issues/488#issuecomment-111210214","issue_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/488","id":111210214,"user":{"login":"Georgehe4","id":3150228,"avatar_url":"https://avatars.githubusercontent.com/u/3150228?v=3","gravatar_id":"","url":"https://api.github.com/users/Georgehe4","html_url":"https://github.com/Georgehe4","followers_url":"https://api.github.com/users/Georgehe4/followers","following_url":"https://api.github.com/users/Georgehe4/following{/other_user}","gists_url":"https://api.github.com/users/Georgehe4/gists{/gist_id}","starred_url":"https://api.github.com/users/Georgehe4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Georgehe4/subscriptions","organizations_url":"https://api.github.com/users/Georgehe4/orgs","repos_url":"https://api.github.com/users/Georgehe4/repos","events_url":"https://api.github.com/users/Georgehe4/events{/privacy}","received_events_url":"https://api.github.com/users/Georgehe4/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T17:12:14Z","updated_at":"2015-06-11T17:12:14Z","body":"Yeah. We have a few trade-offs to consider.\r\nWe definitely want to do auto-switching based off of Luke's observations.\r\nOne possibility presents itself:\r\n-Checking of console output is null. If it is, switch to html.\r\n-Check if there is any html. If there is not, switch to console.\r\n-If both are present, don't do anything.\r\nI will work towards this. Lmk if you have any other suggestions."}}