{"action":"created","issue":{"url":"https://api.github.com/repos/inspirehep/record-editor/issues/66","repository_url":"https://api.github.com/repos/inspirehep/record-editor","labels_url":"https://api.github.com/repos/inspirehep/record-editor/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/inspirehep/record-editor/issues/66/comments","events_url":"https://api.github.com/repos/inspirehep/record-editor/issues/66/events","html_url":"https://github.com/inspirehep/record-editor/pull/66","id":172694659,"number":66,"title":"Implement basic previewer component to display pdf","user":{"login":"harunurhan","id":4868667,"avatar_url":"https://avatars.githubusercontent.com/u/4868667?v=3","gravatar_id":"","url":"https://api.github.com/users/harunurhan","html_url":"https://github.com/harunurhan","followers_url":"https://api.github.com/users/harunurhan/followers","following_url":"https://api.github.com/users/harunurhan/following{/other_user}","gists_url":"https://api.github.com/users/harunurhan/gists{/gist_id}","starred_url":"https://api.github.com/users/harunurhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harunurhan/subscriptions","organizations_url":"https://api.github.com/users/harunurhan/orgs","repos_url":"https://api.github.com/users/harunurhan/repos","events_url":"https://api.github.com/users/harunurhan/events{/privacy}","received_events_url":"https://api.github.com/users/harunurhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T13:09:56Z","updated_at":"2016-08-23T13:15:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/inspirehep/record-editor/pulls/66","html_url":"https://github.com/inspirehep/record-editor/pull/66","diff_url":"https://github.com/inspirehep/record-editor/pull/66.diff","patch_url":"https://github.com/inspirehep/record-editor/pull/66.patch"},"body":"* Add previewer component to display previews.\r\n\r\n* Add pdf handling to previewer.\r\n\r\n* Add x_editor_previews extension to schema.\r\n\r\n* Fix minor errors.\r\n\r\n* Add documentation for x_editor_previews.\r\n\r\n* Add styling for previewer component.\r\n\r\n* Fix README typo\r\n\r\n* Change LICENSE name in README and package.json\r\n\r\n\r\n### GIF\r\n\r\n![previewer-pdf](https://cloud.githubusercontent.com/assets/4868667/17892855/992ab95c-6943-11e6-9cff-74a77245dff0.gif)\r\n\r\n### Example:\r\n\r\nin schema:\r\n```\r\n\"x_editor_previews\" : [\r\n    {\r\n        \"type\": \"pdf\",\r\n        \"name\": \"article-pdf\",\r\n        \"url_path\": \"urls.0.value\"\r\n    }\r\n]\r\n```\r\nso it grabs the `urls.0.value` from the record, which is supposed to be link to a pdf file.\r\n```\r\n\"urls\": [\r\n        {\r\n            \"value\": \"http://inspirehep.net/record/1404685/files/arXiv:1511.04200.pdf\"\r\n        }\r\n    ]\r\n```"},"comment":{"url":"https://api.github.com/repos/inspirehep/record-editor/issues/comments/241726233","html_url":"https://github.com/inspirehep/record-editor/pull/66#issuecomment-241726233","issue_url":"https://api.github.com/repos/inspirehep/record-editor/issues/66","id":241726233,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T13:15:37Z","updated_at":"2016-08-23T13:15:37Z","body":"\n[![Coverage Status](https://coveralls.io/builds/7568202/badge)](https://coveralls.io/builds/7568202)\n\nCoverage remained the same at 90.96% when pulling **001106ff71e95dc847ab86f68ae6da579792a67c on harunurhan:previewer** into **a6bd5ad57d06f61317af82e1c0ae8773b553bce8 on inspirehep:master**.\n"}}
{"actor":{"display_login":"coveralls"}}