{"action":"created","issue":{"url":"https://api.github.com/repos/brave/browser-laptop/issues/4771","repository_url":"https://api.github.com/repos/brave/browser-laptop","labels_url":"https://api.github.com/repos/brave/browser-laptop/issues/4771/labels{/name}","comments_url":"https://api.github.com/repos/brave/browser-laptop/issues/4771/comments","events_url":"https://api.github.com/repos/brave/browser-laptop/issues/4771/events","html_url":"https://github.com/brave/browser-laptop/pull/4771","id":183000991,"number":4771,"title":"Replace Payment History CSV export with Contribution Statement PDF ","user":{"login":"willy-b","id":6969859,"avatar_url":"https://avatars.githubusercontent.com/u/6969859?v=3","gravatar_id":"","url":"https://api.github.com/users/willy-b","html_url":"https://github.com/willy-b","followers_url":"https://api.github.com/users/willy-b/followers","following_url":"https://api.github.com/users/willy-b/following{/other_user}","gists_url":"https://api.github.com/users/willy-b/gists{/gist_id}","starred_url":"https://api.github.com/users/willy-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willy-b/subscriptions","organizations_url":"https://api.github.com/users/willy-b/orgs","repos_url":"https://api.github.com/users/willy-b/repos","events_url":"https://api.github.com/users/willy-b/events{/privacy}","received_events_url":"https://api.github.com/users/willy-b/received_events","type":"User","site_admin":false},"labels":[{"id":408464251,"url":"https://api.github.com/repos/brave/browser-laptop/labels/feature/ledger","name":"feature/ledger","color":"ff5000","default":false}],"state":"open","locked":false,"assignee":{"login":"bsclifton","id":4733304,"avatar_url":"https://avatars.githubusercontent.com/u/4733304?v=3","gravatar_id":"","url":"https://api.github.com/users/bsclifton","html_url":"https://github.com/bsclifton","followers_url":"https://api.github.com/users/bsclifton/followers","following_url":"https://api.github.com/users/bsclifton/following{/other_user}","gists_url":"https://api.github.com/users/bsclifton/gists{/gist_id}","starred_url":"https://api.github.com/users/bsclifton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsclifton/subscriptions","organizations_url":"https://api.github.com/users/bsclifton/orgs","repos_url":"https://api.github.com/users/bsclifton/repos","events_url":"https://api.github.com/users/bsclifton/events{/privacy}","received_events_url":"https://api.github.com/users/bsclifton/received_events","type":"User","site_admin":false},"assignees":[{"login":"bsclifton","id":4733304,"avatar_url":"https://avatars.githubusercontent.com/u/4733304?v=3","gravatar_id":"","url":"https://api.github.com/users/bsclifton","html_url":"https://github.com/bsclifton","followers_url":"https://api.github.com/users/bsclifton/followers","following_url":"https://api.github.com/users/bsclifton/following{/other_user}","gists_url":"https://api.github.com/users/bsclifton/gists{/gist_id}","starred_url":"https://api.github.com/users/bsclifton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsclifton/subscriptions","organizations_url":"https://api.github.com/users/bsclifton/orgs","repos_url":"https://api.github.com/users/bsclifton/repos","events_url":"https://api.github.com/users/bsclifton/events{/privacy}","received_events_url":"https://api.github.com/users/bsclifton/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/brave/browser-laptop/milestones/49","html_url":"https://github.com/brave/browser-laptop/milestones/0.13.1","labels_url":"https://api.github.com/repos/brave/browser-laptop/milestones/49/labels","id":2149957,"number":49,"title":"0.13.1","description":"Freeze Dec 2","creator":{"login":"bbondy","id":831718,"avatar_url":"https://avatars.githubusercontent.com/u/831718?v=3","gravatar_id":"","url":"https://api.github.com/users/bbondy","html_url":"https://github.com/bbondy","followers_url":"https://api.github.com/users/bbondy/followers","following_url":"https://api.github.com/users/bbondy/following{/other_user}","gists_url":"https://api.github.com/users/bbondy/gists{/gist_id}","starred_url":"https://api.github.com/users/bbondy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbondy/subscriptions","organizations_url":"https://api.github.com/users/bbondy/orgs","repos_url":"https://api.github.com/users/bbondy/repos","events_url":"https://api.github.com/users/bbondy/events{/privacy}","received_events_url":"https://api.github.com/users/bbondy/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":0,"state":"open","created_at":"2016-11-21T21:21:42Z","updated_at":"2016-11-29T15:59:47Z","due_on":"2016-12-07T00:00:00Z","closed_at":null},"comments":9,"created_at":"2016-10-14T09:15:14Z","updated_at":"2016-11-29T16:34:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/brave/browser-laptop/pulls/4771","html_url":"https://github.com/brave/browser-laptop/pull/4771","diff_url":"https://github.com/brave/browser-laptop/pull/4771.diff","patch_url":"https://github.com/brave/browser-laptop/pull/4771.patch"},"body":"This is a Work-In-Progress PR, implementing #4769, so feel free to ignore, critique, fix, or replace with your own solution as you please.\r\n- [x] Submitted a [ticket](https://github.com/brave/browser-laptop/issues) for my issue if one did not already exist. (issue #4769 )\r\n- [ ] Used Github [auto-closing keywords](https://help.github.com/articles/closing-issues-via-commit-messages/) in the commit message. (This is WIP, will be rebased)\r\n- [x] Added/updated tests for this change (for new code or code which already has tests).\r\n- [ ] Ran `git rebase -i` to squash commits (This is WIP, will be rebased)\r\n\r\nTest Plan:\r\n1. Open Brave\r\n2. Open Preferences -> Payments, and ensure it is enabled\r\n3. If you don't have a Payment History, you can generate a fake one at terminal with `npm run add-simulated-payment-history`\r\n4. Click \"Show Payment History\"\r\n5. Observe \"Receipt Link\" column now has links ending in \".pdf\"\r\n6. Click a receipt link, and confirm that a Save dialog opens and suggested filename is same as the one displayed in Receipt Link column\r\n7. Click \"Save\", and observe that the PDF is downloaded and appears in the Downloads bar at bottom of screen\r\n8. Double click the downloaded file\r\n9. Check PDF against mockup \r\n"},"comment":{"url":"https://api.github.com/repos/brave/browser-laptop/issues/comments/263622430","html_url":"https://github.com/brave/browser-laptop/pull/4771#issuecomment-263622430","issue_url":"https://api.github.com/repos/brave/browser-laptop/issues/4771","id":263622430,"user":{"login":"bsclifton","id":4733304,"avatar_url":"https://avatars.githubusercontent.com/u/4733304?v=3","gravatar_id":"","url":"https://api.github.com/users/bsclifton","html_url":"https://github.com/bsclifton","followers_url":"https://api.github.com/users/bsclifton/followers","following_url":"https://api.github.com/users/bsclifton/following{/other_user}","gists_url":"https://api.github.com/users/bsclifton/gists{/gist_id}","starred_url":"https://api.github.com/users/bsclifton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsclifton/subscriptions","organizations_url":"https://api.github.com/users/bsclifton/orgs","repos_url":"https://api.github.com/users/bsclifton/repos","events_url":"https://api.github.com/users/bsclifton/events{/privacy}","received_events_url":"https://api.github.com/users/bsclifton/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T16:34:29Z","updated_at":"2016-11-29T16:34:29Z","body":"Rebasing it right now... I should be able to push a rebase to your remote, @willy-b :smile: "}}
{"actor":{"display_login":"bsclifton"}}