{"action":"created","issue":{"url":"https://api.github.com/repos/getredash/redash/issues/2890","repository_url":"https://api.github.com/repos/getredash/redash","labels_url":"https://api.github.com/repos/getredash/redash/issues/2890/labels{/name}","comments_url":"https://api.github.com/repos/getredash/redash/issues/2890/comments","events_url":"https://api.github.com/repos/getredash/redash/issues/2890/events","html_url":"https://github.com/getredash/redash/pull/2890","id":366280835,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTkzODIz","number":2890,"title":"WIP: Add Dashboard PDF download ","user":{"login":"dignati","id":1379753,"node_id":"MDQ6VXNlcjEzNzk3NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1379753?v=4","gravatar_id":"","url":"https://api.github.com/users/dignati","html_url":"https://github.com/dignati","followers_url":"https://api.github.com/users/dignati/followers","following_url":"https://api.github.com/users/dignati/following{/other_user}","gists_url":"https://api.github.com/users/dignati/gists{/gist_id}","starred_url":"https://api.github.com/users/dignati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dignati/subscriptions","organizations_url":"https://api.github.com/users/dignati/orgs","repos_url":"https://api.github.com/users/dignati/repos","events_url":"https://api.github.com/users/dignati/events{/privacy}","received_events_url":"https://api.github.com/users/dignati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-03T10:54:46Z","updated_at":"2018-10-14T07:47:37Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/getredash/redash/pulls/2890","html_url":"https://github.com/getredash/redash/pull/2890","diff_url":"https://github.com/getredash/redash/pull/2890.diff","patch_url":"https://github.com/getredash/redash/pull/2890.patch"},"body":"Heavy WIP implementation of #2861 because I want to get some early feedback and open a discussion. I'm very inexperienced in Angular and Python so any comments are appreciated.\r\n\r\n- [ ] UI\r\n  - [x] Download Button\r\n  - [ ] Maybe progress indicator in case PDF generation takes a while\r\n- [x] API call\r\n- [ ] Backend Service\r\n- [ ] Tests\r\n\r\nThe next step would be to use [puppeteer](https://github.com/GoogleChrome/puppeteer) to create a backend service that can be called from the API endpoint to actually generate the PDF. I would be happy to get some suggestions on how this should look. Probably a docker container with puppeteer and a tiny http API that takes a URL and returns a PDF? Or we could start the docker container in the API every time it is needed?\r\n"},"comment":{"url":"https://api.github.com/repos/getredash/redash/issues/comments/429604256","html_url":"https://github.com/getredash/redash/pull/2890#issuecomment-429604256","issue_url":"https://api.github.com/repos/getredash/redash/issues/2890","id":429604256,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYwNDI1Ng==","user":{"login":"arikfr","id":71468,"node_id":"MDQ6VXNlcjcxNDY4","avatar_url":"https://avatars2.githubusercontent.com/u/71468?v=4","gravatar_id":"","url":"https://api.github.com/users/arikfr","html_url":"https://github.com/arikfr","followers_url":"https://api.github.com/users/arikfr/followers","following_url":"https://api.github.com/users/arikfr/following{/other_user}","gists_url":"https://api.github.com/users/arikfr/gists{/gist_id}","starred_url":"https://api.github.com/users/arikfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arikfr/subscriptions","organizations_url":"https://api.github.com/users/arikfr/orgs","repos_url":"https://api.github.com/users/arikfr/repos","events_url":"https://api.github.com/users/arikfr/events{/privacy}","received_events_url":"https://api.github.com/users/arikfr/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T07:47:37Z","updated_at":"2018-10-14T07:47:37Z","author_association":"MEMBER","body":"> Okay, I'm having trouble using the User API key. \r\n\r\nWhat is the issue?\r\n\r\n> Do I understand correctly that the snap service should be able to set HTTP Header Authorization to Key $user_api_key and then \"see\" the dashboard page?\r\n\r\nYes."}}
{"actor":{"display_login":"arikfr"}}