{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.io/issues/1450","repository_url":"https://api.github.com/repos/angular/angular.io","labels_url":"https://api.github.com/repos/angular/angular.io/issues/1450/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.io/issues/1450/comments","events_url":"https://api.github.com/repos/angular/angular.io/issues/1450/events","html_url":"https://github.com/angular/angular.io/pull/1450","id":155994368,"number":1450,"title":"docs(style-guide): add testing harness","user":{"login":"Foxandxss","id":1087957,"avatar_url":"https://avatars.githubusercontent.com/u/1087957?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxandxss","html_url":"https://github.com/Foxandxss","followers_url":"https://api.github.com/users/Foxandxss/followers","following_url":"https://api.github.com/users/Foxandxss/following{/other_user}","gists_url":"https://api.github.com/users/Foxandxss/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxandxss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxandxss/subscriptions","organizations_url":"https://api.github.com/users/Foxandxss/orgs","repos_url":"https://api.github.com/users/Foxandxss/repos","events_url":"https://api.github.com/users/Foxandxss/events{/privacy}","received_events_url":"https://api.github.com/users/Foxandxss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.io/labels/CLA:%20yes","name":"CLA: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-20T15:51:38Z","updated_at":"2016-05-21T05:58:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular/angular.io/pulls/1450","html_url":"https://github.com/angular/angular.io/pull/1450","diff_url":"https://github.com/angular/angular.io/pull/1450.diff","patch_url":"https://github.com/angular/angular.io/pull/1450.patch"},"body":"Testing harness for the style guide (no actual tests just yet).\r\n\r\nThe philosophy in here was to have each style to \"output\" an `app.component.ts` file that will be used to \"route\" to that style.\r\n\r\nHere, each route renders one style.\r\n\r\nThe style pages are simply \"printing out\" what the style code does. So there are a lot of pages that only prints `...` because that is what the style's component has as a template.\r\n\r\nI had to modify some style codes to at least print \"something\", but those changes won't appear on the style guide. Also added some extra code to make the examples work (some `moduleId`, fix some template / style urls...)\r\n\r\nSo as TL;DR, made lot of changes, but they don't have impact on the guide itself (except if I fixed typos). Each style page prints \"something\" and that is enough. On the test we test that we have that \"something\" on the screen. We don't need more, that will assert that our example codes compile successfully and are able to run and print something.\r\n\r\n/cc @wardbell @johnpapa "},"comment":{"url":"https://api.github.com/repos/angular/angular.io/issues/comments/220760741","html_url":"https://github.com/angular/angular.io/pull/1450#issuecomment-220760741","issue_url":"https://api.github.com/repos/angular/angular.io/issues/1450","id":220760741,"user":{"login":"wardbell","id":129061,"avatar_url":"https://avatars.githubusercontent.com/u/129061?v=3","gravatar_id":"","url":"https://api.github.com/users/wardbell","html_url":"https://github.com/wardbell","followers_url":"https://api.github.com/users/wardbell/followers","following_url":"https://api.github.com/users/wardbell/following{/other_user}","gists_url":"https://api.github.com/users/wardbell/gists{/gist_id}","starred_url":"https://api.github.com/users/wardbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardbell/subscriptions","organizations_url":"https://api.github.com/users/wardbell/orgs","repos_url":"https://api.github.com/users/wardbell/repos","events_url":"https://api.github.com/users/wardbell/events{/privacy}","received_events_url":"https://api.github.com/users/wardbell/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T05:58:04Z","updated_at":"2016-05-21T05:58:04Z","body":"Is it ready to merge?"}}
{"actor":{"display_login":"wardbell"}}