{"action":"created","issue":{"url":"https://api.github.com/repos/buildbot/buildbot/issues/1639","labels_url":"https://api.github.com/repos/buildbot/buildbot/issues/1639/labels{/name}","comments_url":"https://api.github.com/repos/buildbot/buildbot/issues/1639/comments","events_url":"https://api.github.com/repos/buildbot/buildbot/issues/1639/events","html_url":"https://github.com/buildbot/buildbot/pull/1639","id":70008168,"number":1639,"title":"[WIP] MD: the about page","user":{"login":"shanzi","id":557294,"avatar_url":"https://avatars.githubusercontent.com/u/557294?v=3","gravatar_id":"","url":"https://api.github.com/users/shanzi","html_url":"https://github.com/shanzi","followers_url":"https://api.github.com/users/shanzi/followers","following_url":"https://api.github.com/users/shanzi/following{/other_user}","gists_url":"https://api.github.com/users/shanzi/gists{/gist_id}","starred_url":"https://api.github.com/users/shanzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanzi/subscriptions","organizations_url":"https://api.github.com/users/shanzi/orgs","repos_url":"https://api.github.com/users/shanzi/repos","events_url":"https://api.github.com/users/shanzi/events{/privacy}","received_events_url":"https://api.github.com/users/shanzi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/buildbot/buildbot/labels/needs%20more%20review","name":"needs more review","color":"bfe5bf"},{"url":"https://api.github.com/repos/buildbot/buildbot/labels/needs%20work","name":"needs work","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-22T03:06:52Z","updated_at":"2015-04-22T13:47:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/buildbot/buildbot/pulls/1639","html_url":"https://github.com/buildbot/buildbot/pull/1639","diff_url":"https://github.com/buildbot/buildbot/pull/1639.diff","patch_url":"https://github.com/buildbot/buildbot/pull/1639.patch"},"body":"Here is the about page, half finished.\r\n\r\nThe page is responsive to the width of page. When it is thin:\r\n\r\n![aboutview-thin](https://cloud.githubusercontent.com/assets/557294/7266578/93904322-e8de-11e4-8a8b-ea7846c8f411.png)\r\n\r\nwhen it is fat:\r\n\r\n![aboutview-fat](https://cloud.githubusercontent.com/assets/557294/7266582/9a5a3a96-e8de-11e4-8208-9af4995f2967.png)\r\n\r\nI wrote a directive to displaying objects like the old `rawdata` directive, but is more elegant and clean. I omitted the nested displaying function, but using `JSON.stringify` for a better view of the value. The field can be collapsed or expanded displaying JSON in different indention.\r\n\r\nField collapsed:\r\n\r\n![field-collapsed](https://cloud.githubusercontent.com/assets/557294/7266602/eaef4a14-e8de-11e4-8c30-f4fd7e5cfc7a.png)\r\n\r\nField expanded:\r\n\r\n![field-expanded](https://cloud.githubusercontent.com/assets/557294/7266610/f615439e-e8de-11e4-93b6-f2ecb3ee2d43.png)\r\n\r\nLive demo at: http://buildbot.apps.io-meter.com/#/about\r\n\r\n**NOTE**: as displaying the api specs depend on `buildbotService`, it has not been added yet.\r\n\r\n### TODO\r\n- [x] tests for `inpectdata` directive\r\n- [ ] add animation when collapse and expand field\r\n- [ ] displaying API spec\r\n"},"comment":{"url":"https://api.github.com/repos/buildbot/buildbot/issues/comments/95184357","html_url":"https://github.com/buildbot/buildbot/pull/1639#issuecomment-95184357","issue_url":"https://api.github.com/repos/buildbot/buildbot/issues/1639","id":95184357,"user":{"login":"shanzi","id":557294,"avatar_url":"https://avatars.githubusercontent.com/u/557294?v=3","gravatar_id":"","url":"https://api.github.com/users/shanzi","html_url":"https://github.com/shanzi","followers_url":"https://api.github.com/users/shanzi/followers","following_url":"https://api.github.com/users/shanzi/following{/other_user}","gists_url":"https://api.github.com/users/shanzi/gists{/gist_id}","starred_url":"https://api.github.com/users/shanzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanzi/subscriptions","organizations_url":"https://api.github.com/users/shanzi/orgs","repos_url":"https://api.github.com/users/shanzi/repos","events_url":"https://api.github.com/users/shanzi/events{/privacy}","received_events_url":"https://api.github.com/users/shanzi/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T13:47:49Z","updated_at":"2015-04-22T13:47:49Z","body":"Added tests for `inspectdata` and some styles improvements.\r\n\r\nFollowed @tothandras 's suggestions about `bindToController` for the directive."}}