{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dart-pad/issues/188","labels_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/188/comments","events_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/188/events","html_url":"https://github.com/dart-lang/dart-pad/issues/188","id":64996910,"number":188,"title":"Gradually go from Dart => HTML => CSS","user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-28T22:21:32Z","updated_at":"2015-03-28T22:21:39Z","closed_at":null,"body":"I don't know if I'm typical user, but I very very rarely use HTML and CSS in Dart Pad. The UI isn't \"gradual\", it assumes I want HTML and CSS.\r\n\r\nAllow me to opt-in to HTML and CSS. Start with just Dart code, but make it easy to add HTML, and then make it easy to add CSS.\r\n\r\nI assume that not having HTML and CSS will make Dart Pad run a bit quicker for pure Dart pads. That is a nice benefit, but not the primary motivator.\r\n\r\nThere's a feedback weirdness which can be fixed if we opt-into HTML/CSS (or allow a developer to remove a HTML / CSS file). If I have a pure Dart pad, I still see \"Hello, world!\" printed on my screen. That's pretty weird. I never even looked at the HTML file, why does it print out?  (I know why, but perhaps new users won't know why :)\r\n\r\nSuggestion:\r\n\r\nKeep the three tabs (Dart, HTML, CSS) but only default to the Dart tab. Allow a user to activate HTML and CSS from those tabs, or deactivate them. If not activated, gray them out and add a PLUS sign. If activated, they have white text (as they do now) and they have a MINUS sign. The Dart tab always remains."},"comment":{"url":"https://api.github.com/repos/dart-lang/dart-pad/issues/comments/87323398","html_url":"https://github.com/dart-lang/dart-pad/issues/188#issuecomment-87323398","issue_url":"https://api.github.com/repos/dart-lang/dart-pad/issues/188","id":87323398,"user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T22:21:39Z","updated_at":"2015-03-28T22:21:39Z","body":"BTW thanks!"}}